Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for libXext 1.0.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='libXext'
    730 PACKAGE_TARNAME='libXext'
    731 PACKAGE_VERSION='1.0.4'
    732 PACKAGE_STRING='libXext 1.0.4'
    733 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    734 
    735 ac_unique_file="Makefile.am"
    736 # Factoring default headers for most tests.
    737 ac_includes_default="\
    738 #include <stdio.h>
    739 #ifdef HAVE_SYS_TYPES_H
    740 # include <sys/types.h>
    741 #endif
    742 #ifdef HAVE_SYS_STAT_H
    743 # include <sys/stat.h>
    744 #endif
    745 #ifdef STDC_HEADERS
    746 # include <stdlib.h>
    747 # include <stddef.h>
    748 #else
    749 # ifdef HAVE_STDLIB_H
    750 #  include <stdlib.h>
    751 # endif
    752 #endif
    753 #ifdef HAVE_STRING_H
    754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    755 #  include <memory.h>
    756 # endif
    757 # include <string.h>
    758 #endif
    759 #ifdef HAVE_STRINGS_H
    760 # include <strings.h>
    761 #endif
    762 #ifdef HAVE_INTTYPES_H
    763 # include <inttypes.h>
    764 #endif
    765 #ifdef HAVE_STDINT_H
    766 # include <stdint.h>
    767 #endif
    768 #ifdef HAVE_UNISTD_H
    769 # include <unistd.h>
    770 #endif"
    771 
    772 ac_subst_vars='SHELL
    773 PATH_SEPARATOR
    774 PACKAGE_NAME
    775 PACKAGE_TARNAME
    776 PACKAGE_VERSION
    777 PACKAGE_STRING
    778 PACKAGE_BUGREPORT
    779 exec_prefix
    780 prefix
    781 program_transform_name
    782 bindir
    783 sbindir
    784 libexecdir
    785 datarootdir
    786 datadir
    787 sysconfdir
    788 sharedstatedir
    789 localstatedir
    790 includedir
    791 oldincludedir
    792 docdir
    793 infodir
    794 htmldir
    795 dvidir
    796 pdfdir
    797 psdir
    798 libdir
    799 localedir
    800 mandir
    801 DEFS
    802 ECHO_C
    803 ECHO_N
    804 ECHO_T
    805 LIBS
    806 build_alias
    807 host_alias
    808 target_alias
    809 INSTALL_PROGRAM
    810 INSTALL_SCRIPT
    811 INSTALL_DATA
    812 am__isrc
    813 CYGPATH_W
    814 PACKAGE
    815 VERSION
    816 ACLOCAL
    817 AUTOCONF
    818 AUTOMAKE
    819 AUTOHEADER
    820 MAKEINFO
    821 install_sh
    822 STRIP
    823 INSTALL_STRIP_PROGRAM
    824 mkdir_p
    825 AWK
    826 SET_MAKE
    827 am__leading_dot
    828 AMTAR
    829 am__tar
    830 am__untar
    831 MAINTAINER_MODE_TRUE
    832 MAINTAINER_MODE_FALSE
    833 MAINT
    834 build
    835 build_cpu
    836 build_vendor
    837 build_os
    838 host
    839 host_cpu
    840 host_vendor
    841 host_os
    842 XEXT_SOREV
    843 CC
    844 CFLAGS
    845 LDFLAGS
    846 CPPFLAGS
    847 ac_ct_CC
    848 EXEEXT
    849 OBJEXT
    850 DEPDIR
    851 am__include
    852 am__quote
    853 AMDEP_TRUE
    854 AMDEP_FALSE
    855 AMDEPBACKSLASH
    856 CCDEPMODE
    857 am__fastdepCC_TRUE
    858 am__fastdepCC_FALSE
    859 GREP
    860 EGREP
    861 LN_S
    862 ECHO
    863 AR
    864 RANLIB
    865 CPP
    866 CXX
    867 CXXFLAGS
    868 ac_ct_CXX
    869 CXXDEPMODE
    870 am__fastdepCXX_TRUE
    871 am__fastdepCXX_FALSE
    872 CXXCPP
    873 F77
    874 FFLAGS
    875 ac_ct_F77
    876 LIBTOOL
    877 PKG_CONFIG
    878 XEXT_CFLAGS
    879 XEXT_LIBS
    880 MALLOC_ZERO_CFLAGS
    881 XMALLOC_ZERO_CFLAGS
    882 XTMALLOC_ZERO_CFLAGS
    883 RAWCPP
    884 RAWCPPFLAGS
    885 APP_MAN_SUFFIX
    886 LIB_MAN_SUFFIX
    887 FILE_MAN_SUFFIX
    888 MISC_MAN_SUFFIX
    889 DRIVER_MAN_SUFFIX
    890 ADMIN_MAN_SUFFIX
    891 APP_MAN_DIR
    892 LIB_MAN_DIR
    893 FILE_MAN_DIR
    894 MISC_MAN_DIR
    895 DRIVER_MAN_DIR
    896 ADMIN_MAN_DIR
    897 LINT
    898 LINT_FLAGS
    899 LINT_TRUE
    900 LINT_FALSE
    901 LINTLIB
    902 MAKE_LINT_LIB_TRUE
    903 MAKE_LINT_LIB_FALSE
    904 LIBOBJS
    905 LTLIBOBJS'
    906 ac_subst_files=''
    907       ac_precious_vars='build_alias
    908 host_alias
    909 target_alias
    910 CC
    911 CFLAGS
    912 LDFLAGS
    913 LIBS
    914 CPPFLAGS
    915 CPP
    916 CXX
    917 CXXFLAGS
    918 CCC
    919 CXXCPP
    920 F77
    921 FFLAGS
    922 PKG_CONFIG
    923 XEXT_CFLAGS
    924 XEXT_LIBS'
    925 
    926 
    927 # Initialize some variables set by options.
    928 ac_init_help=
    929 ac_init_version=false
    930 # The variables have the same names as the options, with
    931 # dashes changed to underlines.
    932 cache_file=/dev/null
    933 exec_prefix=NONE
    934 no_create=
    935 no_recursion=
    936 prefix=NONE
    937 program_prefix=NONE
    938 program_suffix=NONE
    939 program_transform_name=s,x,x,
    940 silent=
    941 site=
    942 srcdir=
    943 verbose=
    944 x_includes=NONE
    945 x_libraries=NONE
    946 
    947 # Installation directory options.
    948 # These are left unexpanded so users can "make install exec_prefix=/foo"
    949 # and all the variables that are supposed to be based on exec_prefix
    950 # by default will actually change.
    951 # Use braces instead of parens because sh, perl, etc. also accept them.
    952 # (The list follows the same order as the GNU Coding Standards.)
    953 bindir='${exec_prefix}/bin'
    954 sbindir='${exec_prefix}/sbin'
    955 libexecdir='${exec_prefix}/libexec'
    956 datarootdir='${prefix}/share'
    957 datadir='${datarootdir}'
    958 sysconfdir='${prefix}/etc'
    959 sharedstatedir='${prefix}/com'
    960 localstatedir='${prefix}/var'
    961 includedir='${prefix}/include'
    962 oldincludedir='/usr/include'
    963 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    964 infodir='${datarootdir}/info'
    965 htmldir='${docdir}'
    966 dvidir='${docdir}'
    967 pdfdir='${docdir}'
    968 psdir='${docdir}'
    969 libdir='${exec_prefix}/lib'
    970 localedir='${datarootdir}/locale'
    971 mandir='${datarootdir}/man'
    972 
    973 ac_prev=
    974 ac_dashdash=
    975 for ac_option
    976 do
    977   # If the previous option needs an argument, assign it.
    978   if test -n "$ac_prev"; then
    979     eval $ac_prev=\$ac_option
    980     ac_prev=
    981     continue
    982   fi
    983 
    984   case $ac_option in
    985   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    986   *)	ac_optarg=yes ;;
    987   esac
    988 
    989   # Accept the important Cygnus configure options, so we can diagnose typos.
    990 
    991   case $ac_dashdash$ac_option in
    992   --)
    993     ac_dashdash=yes ;;
    994 
    995   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    996     ac_prev=bindir ;;
    997   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    998     bindir=$ac_optarg ;;
    999 
   1000   -build | --build | --buil | --bui | --bu)
   1001     ac_prev=build_alias ;;
   1002   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1003     build_alias=$ac_optarg ;;
   1004 
   1005   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1006   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1007     ac_prev=cache_file ;;
   1008   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1009   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1010     cache_file=$ac_optarg ;;
   1011 
   1012   --config-cache | -C)
   1013     cache_file=config.cache ;;
   1014 
   1015   -datadir | --datadir | --datadi | --datad)
   1016     ac_prev=datadir ;;
   1017   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1018     datadir=$ac_optarg ;;
   1019 
   1020   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1021   | --dataroo | --dataro | --datar)
   1022     ac_prev=datarootdir ;;
   1023   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1024   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1025     datarootdir=$ac_optarg ;;
   1026 
   1027   -disable-* | --disable-*)
   1028     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1029     # Reject names that are not valid shell variable names.
   1030     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1031       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1032    { (exit 1); exit 1; }; }
   1033     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1034     eval enable_$ac_feature=no ;;
   1035 
   1036   -docdir | --docdir | --docdi | --doc | --do)
   1037     ac_prev=docdir ;;
   1038   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1039     docdir=$ac_optarg ;;
   1040 
   1041   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1042     ac_prev=dvidir ;;
   1043   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1044     dvidir=$ac_optarg ;;
   1045 
   1046   -enable-* | --enable-*)
   1047     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1048     # Reject names that are not valid shell variable names.
   1049     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1050       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1051    { (exit 1); exit 1; }; }
   1052     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1053     eval enable_$ac_feature=\$ac_optarg ;;
   1054 
   1055   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1056   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1057   | --exec | --exe | --ex)
   1058     ac_prev=exec_prefix ;;
   1059   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1060   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1061   | --exec=* | --exe=* | --ex=*)
   1062     exec_prefix=$ac_optarg ;;
   1063 
   1064   -gas | --gas | --ga | --g)
   1065     # Obsolete; use --with-gas.
   1066     with_gas=yes ;;
   1067 
   1068   -help | --help | --hel | --he | -h)
   1069     ac_init_help=long ;;
   1070   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1071     ac_init_help=recursive ;;
   1072   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1073     ac_init_help=short ;;
   1074 
   1075   -host | --host | --hos | --ho)
   1076     ac_prev=host_alias ;;
   1077   -host=* | --host=* | --hos=* | --ho=*)
   1078     host_alias=$ac_optarg ;;
   1079 
   1080   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1081     ac_prev=htmldir ;;
   1082   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1083   | --ht=*)
   1084     htmldir=$ac_optarg ;;
   1085 
   1086   -includedir | --includedir | --includedi | --included | --include \
   1087   | --includ | --inclu | --incl | --inc)
   1088     ac_prev=includedir ;;
   1089   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1090   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1091     includedir=$ac_optarg ;;
   1092 
   1093   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1094     ac_prev=infodir ;;
   1095   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1096     infodir=$ac_optarg ;;
   1097 
   1098   -libdir | --libdir | --libdi | --libd)
   1099     ac_prev=libdir ;;
   1100   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1101     libdir=$ac_optarg ;;
   1102 
   1103   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1104   | --libexe | --libex | --libe)
   1105     ac_prev=libexecdir ;;
   1106   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1107   | --libexe=* | --libex=* | --libe=*)
   1108     libexecdir=$ac_optarg ;;
   1109 
   1110   -localedir | --localedir | --localedi | --localed | --locale)
   1111     ac_prev=localedir ;;
   1112   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1113     localedir=$ac_optarg ;;
   1114 
   1115   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1116   | --localstate | --localstat | --localsta | --localst | --locals)
   1117     ac_prev=localstatedir ;;
   1118   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1119   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1120     localstatedir=$ac_optarg ;;
   1121 
   1122   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1123     ac_prev=mandir ;;
   1124   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1125     mandir=$ac_optarg ;;
   1126 
   1127   -nfp | --nfp | --nf)
   1128     # Obsolete; use --without-fp.
   1129     with_fp=no ;;
   1130 
   1131   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1132   | --no-cr | --no-c | -n)
   1133     no_create=yes ;;
   1134 
   1135   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1136   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1137     no_recursion=yes ;;
   1138 
   1139   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1140   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1141   | --oldin | --oldi | --old | --ol | --o)
   1142     ac_prev=oldincludedir ;;
   1143   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1144   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1145   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1146     oldincludedir=$ac_optarg ;;
   1147 
   1148   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1149     ac_prev=prefix ;;
   1150   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1151     prefix=$ac_optarg ;;
   1152 
   1153   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1154   | --program-pre | --program-pr | --program-p)
   1155     ac_prev=program_prefix ;;
   1156   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1157   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1158     program_prefix=$ac_optarg ;;
   1159 
   1160   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1161   | --program-suf | --program-su | --program-s)
   1162     ac_prev=program_suffix ;;
   1163   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1164   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1165     program_suffix=$ac_optarg ;;
   1166 
   1167   -program-transform-name | --program-transform-name \
   1168   | --program-transform-nam | --program-transform-na \
   1169   | --program-transform-n | --program-transform- \
   1170   | --program-transform | --program-transfor \
   1171   | --program-transfo | --program-transf \
   1172   | --program-trans | --program-tran \
   1173   | --progr-tra | --program-tr | --program-t)
   1174     ac_prev=program_transform_name ;;
   1175   -program-transform-name=* | --program-transform-name=* \
   1176   | --program-transform-nam=* | --program-transform-na=* \
   1177   | --program-transform-n=* | --program-transform-=* \
   1178   | --program-transform=* | --program-transfor=* \
   1179   | --program-transfo=* | --program-transf=* \
   1180   | --program-trans=* | --program-tran=* \
   1181   | --progr-tra=* | --program-tr=* | --program-t=*)
   1182     program_transform_name=$ac_optarg ;;
   1183 
   1184   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1185     ac_prev=pdfdir ;;
   1186   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1187     pdfdir=$ac_optarg ;;
   1188 
   1189   -psdir | --psdir | --psdi | --psd | --ps)
   1190     ac_prev=psdir ;;
   1191   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1192     psdir=$ac_optarg ;;
   1193 
   1194   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1195   | -silent | --silent | --silen | --sile | --sil)
   1196     silent=yes ;;
   1197 
   1198   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1199     ac_prev=sbindir ;;
   1200   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1201   | --sbi=* | --sb=*)
   1202     sbindir=$ac_optarg ;;
   1203 
   1204   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1205   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1206   | --sharedst | --shareds | --shared | --share | --shar \
   1207   | --sha | --sh)
   1208     ac_prev=sharedstatedir ;;
   1209   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1210   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1211   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1212   | --sha=* | --sh=*)
   1213     sharedstatedir=$ac_optarg ;;
   1214 
   1215   -site | --site | --sit)
   1216     ac_prev=site ;;
   1217   -site=* | --site=* | --sit=*)
   1218     site=$ac_optarg ;;
   1219 
   1220   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1221     ac_prev=srcdir ;;
   1222   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1223     srcdir=$ac_optarg ;;
   1224 
   1225   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1226   | --syscon | --sysco | --sysc | --sys | --sy)
   1227     ac_prev=sysconfdir ;;
   1228   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1229   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1230     sysconfdir=$ac_optarg ;;
   1231 
   1232   -target | --target | --targe | --targ | --tar | --ta | --t)
   1233     ac_prev=target_alias ;;
   1234   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1235     target_alias=$ac_optarg ;;
   1236 
   1237   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1238     verbose=yes ;;
   1239 
   1240   -version | --version | --versio | --versi | --vers | -V)
   1241     ac_init_version=: ;;
   1242 
   1243   -with-* | --with-*)
   1244     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1245     # Reject names that are not valid shell variable names.
   1246     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1247       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1248    { (exit 1); exit 1; }; }
   1249     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1250     eval with_$ac_package=\$ac_optarg ;;
   1251 
   1252   -without-* | --without-*)
   1253     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1254     # Reject names that are not valid shell variable names.
   1255     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1256       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1257    { (exit 1); exit 1; }; }
   1258     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1259     eval with_$ac_package=no ;;
   1260 
   1261   --x)
   1262     # Obsolete; use --with-x.
   1263     with_x=yes ;;
   1264 
   1265   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1266   | --x-incl | --x-inc | --x-in | --x-i)
   1267     ac_prev=x_includes ;;
   1268   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1269   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1270     x_includes=$ac_optarg ;;
   1271 
   1272   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1273   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1274     ac_prev=x_libraries ;;
   1275   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1276   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1277     x_libraries=$ac_optarg ;;
   1278 
   1279   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1280 Try \`$0 --help' for more information." >&2
   1281    { (exit 1); exit 1; }; }
   1282     ;;
   1283 
   1284   *=*)
   1285     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1286     # Reject names that are not valid shell variable names.
   1287     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1288       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1289    { (exit 1); exit 1; }; }
   1290     eval $ac_envvar=\$ac_optarg
   1291     export $ac_envvar ;;
   1292 
   1293   *)
   1294     # FIXME: should be removed in autoconf 3.0.
   1295     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1296     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1297       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1298     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1299     ;;
   1300 
   1301   esac
   1302 done
   1303 
   1304 if test -n "$ac_prev"; then
   1305   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1306   { echo "$as_me: error: missing argument to $ac_option" >&2
   1307    { (exit 1); exit 1; }; }
   1308 fi
   1309 
   1310 # Be sure to have absolute directory names.
   1311 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1312 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1313 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1314 		libdir localedir mandir
   1315 do
   1316   eval ac_val=\$$ac_var
   1317   case $ac_val in
   1318     [\\/$]* | ?:[\\/]* )  continue;;
   1319     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1320   esac
   1321   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1322    { (exit 1); exit 1; }; }
   1323 done
   1324 
   1325 # There might be people who depend on the old broken behavior: `$host'
   1326 # used to hold the argument of --host etc.
   1327 # FIXME: To remove some day.
   1328 build=$build_alias
   1329 host=$host_alias
   1330 target=$target_alias
   1331 
   1332 # FIXME: To remove some day.
   1333 if test "x$host_alias" != x; then
   1334   if test "x$build_alias" = x; then
   1335     cross_compiling=maybe
   1336     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1337     If a cross compiler is detected then cross compile mode will be used." >&2
   1338   elif test "x$build_alias" != "x$host_alias"; then
   1339     cross_compiling=yes
   1340   fi
   1341 fi
   1342 
   1343 ac_tool_prefix=
   1344 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1345 
   1346 test "$silent" = yes && exec 6>/dev/null
   1347 
   1348 
   1349 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1350 ac_ls_di=`ls -di .` &&
   1351 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1352   { echo "$as_me: error: Working directory cannot be determined" >&2
   1353    { (exit 1); exit 1; }; }
   1354 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1355   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1356    { (exit 1); exit 1; }; }
   1357 
   1358 
   1359 # Find the source files, if location was not specified.
   1360 if test -z "$srcdir"; then
   1361   ac_srcdir_defaulted=yes
   1362   # Try the directory containing this script, then the parent directory.
   1363   ac_confdir=`$as_dirname -- "$0" ||
   1364 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1365 	 X"$0" : 'X\(//\)[^/]' \| \
   1366 	 X"$0" : 'X\(//\)$' \| \
   1367 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1368 echo X"$0" |
   1369     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1370 	    s//\1/
   1371 	    q
   1372 	  }
   1373 	  /^X\(\/\/\)[^/].*/{
   1374 	    s//\1/
   1375 	    q
   1376 	  }
   1377 	  /^X\(\/\/\)$/{
   1378 	    s//\1/
   1379 	    q
   1380 	  }
   1381 	  /^X\(\/\).*/{
   1382 	    s//\1/
   1383 	    q
   1384 	  }
   1385 	  s/.*/./; q'`
   1386   srcdir=$ac_confdir
   1387   if test ! -r "$srcdir/$ac_unique_file"; then
   1388     srcdir=..
   1389   fi
   1390 else
   1391   ac_srcdir_defaulted=no
   1392 fi
   1393 if test ! -r "$srcdir/$ac_unique_file"; then
   1394   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1395   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1396    { (exit 1); exit 1; }; }
   1397 fi
   1398 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1399 ac_abs_confdir=`(
   1400 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1401    { (exit 1); exit 1; }; }
   1402 	pwd)`
   1403 # When building in place, set srcdir=.
   1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1405   srcdir=.
   1406 fi
   1407 # Remove unnecessary trailing slashes from srcdir.
   1408 # Double slashes in file names in object file debugging info
   1409 # mess up M-x gdb in Emacs.
   1410 case $srcdir in
   1411 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1412 esac
   1413 for ac_var in $ac_precious_vars; do
   1414   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1415   eval ac_env_${ac_var}_value=\$${ac_var}
   1416   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1417   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1418 done
   1419 
   1420 #
   1421 # Report the --help message.
   1422 #
   1423 if test "$ac_init_help" = "long"; then
   1424   # Omit some internal or obsolete options to make the list less imposing.
   1425   # This message is too long to be a string in the A/UX 3.1 sh.
   1426   cat <<_ACEOF
   1427 \`configure' configures libXext 1.0.4 to adapt to many kinds of systems.
   1428 
   1429 Usage: $0 [OPTION]... [VAR=VALUE]...
   1430 
   1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1432 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1433 
   1434 Defaults for the options are specified in brackets.
   1435 
   1436 Configuration:
   1437   -h, --help              display this help and exit
   1438       --help=short        display options specific to this package
   1439       --help=recursive    display the short help of all the included packages
   1440   -V, --version           display version information and exit
   1441   -q, --quiet, --silent   do not print \`checking...' messages
   1442       --cache-file=FILE   cache test results in FILE [disabled]
   1443   -C, --config-cache      alias for \`--cache-file=config.cache'
   1444   -n, --no-create         do not create output files
   1445       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1446 
   1447 Installation directories:
   1448   --prefix=PREFIX         install architecture-independent files in PREFIX
   1449 			  [$ac_default_prefix]
   1450   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1451 			  [PREFIX]
   1452 
   1453 By default, \`make install' will install all the files in
   1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1456 for instance \`--prefix=\$HOME'.
   1457 
   1458 For better control, use the options below.
   1459 
   1460 Fine tuning of the installation directories:
   1461   --bindir=DIR           user executables [EPREFIX/bin]
   1462   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1463   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1464   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1465   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1466   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1467   --libdir=DIR           object code libraries [EPREFIX/lib]
   1468   --includedir=DIR       C header files [PREFIX/include]
   1469   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1470   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1471   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1472   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1473   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1474   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1475   --docdir=DIR           documentation root [DATAROOTDIR/doc/libXext]
   1476   --htmldir=DIR          html documentation [DOCDIR]
   1477   --dvidir=DIR           dvi documentation [DOCDIR]
   1478   --pdfdir=DIR           pdf documentation [DOCDIR]
   1479   --psdir=DIR            ps documentation [DOCDIR]
   1480 _ACEOF
   1481 
   1482   cat <<\_ACEOF
   1483 
   1484 Program names:
   1485   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1486   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1487   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1488 
   1489 System types:
   1490   --build=BUILD     configure for building on BUILD [guessed]
   1491   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1492 _ACEOF
   1493 fi
   1494 
   1495 if test -n "$ac_init_help"; then
   1496   case $ac_init_help in
   1497      short | recursive ) echo "Configuration of libXext 1.0.4:";;
   1498    esac
   1499   cat <<\_ACEOF
   1500 
   1501 Optional Features:
   1502   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1503   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1504   --enable-maintainer-mode  enable make rules and dependencies not useful
   1505 			  (and sometimes confusing) to the casual installer
   1506   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1507   --enable-static[=PKGS]  build static libraries [default=yes]
   1508   --enable-fast-install[=PKGS]
   1509                           optimize for fast installation [default=yes]
   1510   --disable-dependency-tracking  speeds up one-time build
   1511   --enable-dependency-tracking   do not reject slow dependency extractors
   1512   --disable-libtool-lock  avoid locking (might break parallel builds)
   1513   --enable-malloc0returnsnull
   1514                           malloc(0) returns NULL (default: auto)
   1515   --enable-lint-library   Create lint library (default: disabled)
   1516 
   1517 Optional Packages:
   1518   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1519   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1520   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1521   --with-pic              try to use only PIC/non-PIC objects [default=use
   1522                           both]
   1523   --with-tags[=TAGS]      include additional configurations [automatic]
   1524   --with-release-version=STRING
   1525                           Use release version string in package name
   1526   --with-lint             Use a lint-style source code checker (default:
   1527                           disabled)
   1528 
   1529 Some influential environment variables:
   1530   CC          C compiler command
   1531   CFLAGS      C compiler flags
   1532   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1533               nonstandard directory <lib dir>
   1534   LIBS        libraries to pass to the linker, e.g. -l<library>
   1535   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1536               you have headers in a nonstandard directory <include dir>
   1537   CPP         C preprocessor
   1538   CXX         C++ compiler command
   1539   CXXFLAGS    C++ compiler flags
   1540   CXXCPP      C++ preprocessor
   1541   F77         Fortran 77 compiler command
   1542   FFLAGS      Fortran 77 compiler flags
   1543   PKG_CONFIG  path to pkg-config utility
   1544   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1545   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1546 
   1547 Use these variables to override the choices made by `configure' or to help
   1548 it to find libraries and programs with nonstandard names/locations.
   1549 
   1550 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1551 _ACEOF
   1552 ac_status=$?
   1553 fi
   1554 
   1555 if test "$ac_init_help" = "recursive"; then
   1556   # If there are subdirs, report their specific --help.
   1557   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1558     test -d "$ac_dir" || continue
   1559     ac_builddir=.
   1560 
   1561 case "$ac_dir" in
   1562 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1563 *)
   1564   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1565   # A ".." for each directory in $ac_dir_suffix.
   1566   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1567   case $ac_top_builddir_sub in
   1568   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1569   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1570   esac ;;
   1571 esac
   1572 ac_abs_top_builddir=$ac_pwd
   1573 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1574 # for backward compatibility:
   1575 ac_top_builddir=$ac_top_build_prefix
   1576 
   1577 case $srcdir in
   1578   .)  # We are building in place.
   1579     ac_srcdir=.
   1580     ac_top_srcdir=$ac_top_builddir_sub
   1581     ac_abs_top_srcdir=$ac_pwd ;;
   1582   [\\/]* | ?:[\\/]* )  # Absolute name.
   1583     ac_srcdir=$srcdir$ac_dir_suffix;
   1584     ac_top_srcdir=$srcdir
   1585     ac_abs_top_srcdir=$srcdir ;;
   1586   *) # Relative name.
   1587     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1588     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1589     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1590 esac
   1591 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1592 
   1593     cd "$ac_dir" || { ac_status=$?; continue; }
   1594     # Check for guested configure.
   1595     if test -f "$ac_srcdir/configure.gnu"; then
   1596       echo &&
   1597       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1598     elif test -f "$ac_srcdir/configure"; then
   1599       echo &&
   1600       $SHELL "$ac_srcdir/configure" --help=recursive
   1601     else
   1602       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1603     fi || ac_status=$?
   1604     cd "$ac_pwd" || { ac_status=$?; break; }
   1605   done
   1606 fi
   1607 
   1608 test -n "$ac_init_help" && exit $ac_status
   1609 if $ac_init_version; then
   1610   cat <<\_ACEOF
   1611 libXext configure 1.0.4
   1612 generated by GNU Autoconf 2.61
   1613 
   1614 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1615 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1616 This configure script is free software; the Free Software Foundation
   1617 gives unlimited permission to copy, distribute and modify it.
   1618 _ACEOF
   1619   exit
   1620 fi
   1621 cat >config.log <<_ACEOF
   1622 This file contains any messages produced by compilers while
   1623 running configure, to aid debugging if configure makes a mistake.
   1624 
   1625 It was created by libXext $as_me 1.0.4, which was
   1626 generated by GNU Autoconf 2.61.  Invocation command line was
   1627 
   1628   $ $0 $@
   1629 
   1630 _ACEOF
   1631 exec 5>>config.log
   1632 {
   1633 cat <<_ASUNAME
   1634 ## --------- ##
   1635 ## Platform. ##
   1636 ## --------- ##
   1637 
   1638 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1639 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1640 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1641 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1642 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1643 
   1644 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1645 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1646 
   1647 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1648 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1649 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1650 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1651 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1652 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1653 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1654 
   1655 _ASUNAME
   1656 
   1657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1658 for as_dir in $PATH
   1659 do
   1660   IFS=$as_save_IFS
   1661   test -z "$as_dir" && as_dir=.
   1662   echo "PATH: $as_dir"
   1663 done
   1664 IFS=$as_save_IFS
   1665 
   1666 } >&5
   1667 
   1668 cat >&5 <<_ACEOF
   1669 
   1670 
   1671 ## ----------- ##
   1672 ## Core tests. ##
   1673 ## ----------- ##
   1674 
   1675 _ACEOF
   1676 
   1677 
   1678 # Keep a trace of the command line.
   1679 # Strip out --no-create and --no-recursion so they do not pile up.
   1680 # Strip out --silent because we don't want to record it for future runs.
   1681 # Also quote any args containing shell meta-characters.
   1682 # Make two passes to allow for proper duplicate-argument suppression.
   1683 ac_configure_args=
   1684 ac_configure_args0=
   1685 ac_configure_args1=
   1686 ac_must_keep_next=false
   1687 for ac_pass in 1 2
   1688 do
   1689   for ac_arg
   1690   do
   1691     case $ac_arg in
   1692     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1693     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1694     | -silent | --silent | --silen | --sile | --sil)
   1695       continue ;;
   1696     *\'*)
   1697       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1698     esac
   1699     case $ac_pass in
   1700     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1701     2)
   1702       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1703       if test $ac_must_keep_next = true; then
   1704 	ac_must_keep_next=false # Got value, back to normal.
   1705       else
   1706 	case $ac_arg in
   1707 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1708 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1709 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1710 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1711 	    case "$ac_configure_args0 " in
   1712 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1713 	    esac
   1714 	    ;;
   1715 	  -* ) ac_must_keep_next=true ;;
   1716 	esac
   1717       fi
   1718       ac_configure_args="$ac_configure_args '$ac_arg'"
   1719       ;;
   1720     esac
   1721   done
   1722 done
   1723 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1724 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1725 
   1726 # When interrupted or exit'd, cleanup temporary files, and complete
   1727 # config.log.  We remove comments because anyway the quotes in there
   1728 # would cause problems or look ugly.
   1729 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1730 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1731 trap 'exit_status=$?
   1732   # Save into config.log some information that might help in debugging.
   1733   {
   1734     echo
   1735 
   1736     cat <<\_ASBOX
   1737 ## ---------------- ##
   1738 ## Cache variables. ##
   1739 ## ---------------- ##
   1740 _ASBOX
   1741     echo
   1742     # The following way of writing the cache mishandles newlines in values,
   1743 (
   1744   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1745     eval ac_val=\$$ac_var
   1746     case $ac_val in #(
   1747     *${as_nl}*)
   1748       case $ac_var in #(
   1749       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1750 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1751       esac
   1752       case $ac_var in #(
   1753       _ | IFS | as_nl) ;; #(
   1754       *) $as_unset $ac_var ;;
   1755       esac ;;
   1756     esac
   1757   done
   1758   (set) 2>&1 |
   1759     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1760     *${as_nl}ac_space=\ *)
   1761       sed -n \
   1762 	"s/'\''/'\''\\\\'\'''\''/g;
   1763 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1764       ;; #(
   1765     *)
   1766       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1767       ;;
   1768     esac |
   1769     sort
   1770 )
   1771     echo
   1772 
   1773     cat <<\_ASBOX
   1774 ## ----------------- ##
   1775 ## Output variables. ##
   1776 ## ----------------- ##
   1777 _ASBOX
   1778     echo
   1779     for ac_var in $ac_subst_vars
   1780     do
   1781       eval ac_val=\$$ac_var
   1782       case $ac_val in
   1783       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1784       esac
   1785       echo "$ac_var='\''$ac_val'\''"
   1786     done | sort
   1787     echo
   1788 
   1789     if test -n "$ac_subst_files"; then
   1790       cat <<\_ASBOX
   1791 ## ------------------- ##
   1792 ## File substitutions. ##
   1793 ## ------------------- ##
   1794 _ASBOX
   1795       echo
   1796       for ac_var in $ac_subst_files
   1797       do
   1798 	eval ac_val=\$$ac_var
   1799 	case $ac_val in
   1800 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1801 	esac
   1802 	echo "$ac_var='\''$ac_val'\''"
   1803       done | sort
   1804       echo
   1805     fi
   1806 
   1807     if test -s confdefs.h; then
   1808       cat <<\_ASBOX
   1809 ## ----------- ##
   1810 ## confdefs.h. ##
   1811 ## ----------- ##
   1812 _ASBOX
   1813       echo
   1814       cat confdefs.h
   1815       echo
   1816     fi
   1817     test "$ac_signal" != 0 &&
   1818       echo "$as_me: caught signal $ac_signal"
   1819     echo "$as_me: exit $exit_status"
   1820   } >&5
   1821   rm -f core *.core core.conftest.* &&
   1822     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1823     exit $exit_status
   1824 ' 0
   1825 for ac_signal in 1 2 13 15; do
   1826   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1827 done
   1828 ac_signal=0
   1829 
   1830 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1831 rm -f -r conftest* confdefs.h
   1832 
   1833 # Predefined preprocessor variables.
   1834 
   1835 cat >>confdefs.h <<_ACEOF
   1836 #define PACKAGE_NAME "$PACKAGE_NAME"
   1837 _ACEOF
   1838 
   1839 
   1840 cat >>confdefs.h <<_ACEOF
   1841 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1842 _ACEOF
   1843 
   1844 
   1845 cat >>confdefs.h <<_ACEOF
   1846 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1847 _ACEOF
   1848 
   1849 
   1850 cat >>confdefs.h <<_ACEOF
   1851 #define PACKAGE_STRING "$PACKAGE_STRING"
   1852 _ACEOF
   1853 
   1854 
   1855 cat >>confdefs.h <<_ACEOF
   1856 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1857 _ACEOF
   1858 
   1859 
   1860 # Let the site file select an alternate cache file if it wants to.
   1861 # Prefer explicitly selected file to automatically selected ones.
   1862 if test -n "$CONFIG_SITE"; then
   1863   set x "$CONFIG_SITE"
   1864 elif test "x$prefix" != xNONE; then
   1865   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1866 else
   1867   set x "$ac_default_prefix/share/config.site" \
   1868 	"$ac_default_prefix/etc/config.site"
   1869 fi
   1870 shift
   1871 for ac_site_file
   1872 do
   1873   if test -r "$ac_site_file"; then
   1874     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1875 echo "$as_me: loading site script $ac_site_file" >&6;}
   1876     sed 's/^/| /' "$ac_site_file" >&5
   1877     . "$ac_site_file"
   1878   fi
   1879 done
   1880 
   1881 if test -r "$cache_file"; then
   1882   # Some versions of bash will fail to source /dev/null (special
   1883   # files actually), so we avoid doing that.
   1884   if test -f "$cache_file"; then
   1885     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1886 echo "$as_me: loading cache $cache_file" >&6;}
   1887     case $cache_file in
   1888       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1889       *)                      . "./$cache_file";;
   1890     esac
   1891   fi
   1892 else
   1893   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1894 echo "$as_me: creating cache $cache_file" >&6;}
   1895   >$cache_file
   1896 fi
   1897 
   1898 # Check that the precious variables saved in the cache have kept the same
   1899 # value.
   1900 ac_cache_corrupted=false
   1901 for ac_var in $ac_precious_vars; do
   1902   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1903   eval ac_new_set=\$ac_env_${ac_var}_set
   1904   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1905   eval ac_new_val=\$ac_env_${ac_var}_value
   1906   case $ac_old_set,$ac_new_set in
   1907     set,)
   1908       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1909 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1910       ac_cache_corrupted=: ;;
   1911     ,set)
   1912       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1913 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1914       ac_cache_corrupted=: ;;
   1915     ,);;
   1916     *)
   1917       if test "x$ac_old_val" != "x$ac_new_val"; then
   1918 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1919 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1920 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1921 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1922 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1923 echo "$as_me:   current value: $ac_new_val" >&2;}
   1924 	ac_cache_corrupted=:
   1925       fi;;
   1926   esac
   1927   # Pass precious variables to config.status.
   1928   if test "$ac_new_set" = set; then
   1929     case $ac_new_val in
   1930     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1931     *) ac_arg=$ac_var=$ac_new_val ;;
   1932     esac
   1933     case " $ac_configure_args " in
   1934       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1935       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1936     esac
   1937   fi
   1938 done
   1939 if $ac_cache_corrupted; then
   1940   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1941 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1942   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1943 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1944    { (exit 1); exit 1; }; }
   1945 fi
   1946 
   1947 
   1948 
   1949 
   1950 
   1951 
   1952 
   1953 
   1954 
   1955 
   1956 
   1957 
   1958 
   1959 
   1960 
   1961 
   1962 
   1963 
   1964 
   1965 
   1966 
   1967 
   1968 
   1969 
   1970 
   1971 ac_ext=c
   1972 ac_cpp='$CPP $CPPFLAGS'
   1973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1976 
   1977 
   1978 
   1979 
   1980 am__api_version='1.10'
   1981 
   1982 ac_aux_dir=
   1983 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   1984   if test -f "$ac_dir/install-sh"; then
   1985     ac_aux_dir=$ac_dir
   1986     ac_install_sh="$ac_aux_dir/install-sh -c"
   1987     break
   1988   elif test -f "$ac_dir/install.sh"; then
   1989     ac_aux_dir=$ac_dir
   1990     ac_install_sh="$ac_aux_dir/install.sh -c"
   1991     break
   1992   elif test -f "$ac_dir/shtool"; then
   1993     ac_aux_dir=$ac_dir
   1994     ac_install_sh="$ac_aux_dir/shtool install -c"
   1995     break
   1996   fi
   1997 done
   1998 if test -z "$ac_aux_dir"; then
   1999   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2000 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2001    { (exit 1); exit 1; }; }
   2002 fi
   2003 
   2004 # These three variables are undocumented and unsupported,
   2005 # and are intended to be withdrawn in a future Autoconf release.
   2006 # They can cause serious problems if a builder's source tree is in a directory
   2007 # whose full name contains unusual characters.
   2008 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2009 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2010 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2011 
   2012 
   2013 # Find a good install program.  We prefer a C program (faster),
   2014 # so one script is as good as another.  But avoid the broken or
   2015 # incompatible versions:
   2016 # SysV /etc/install, /usr/sbin/install
   2017 # SunOS /usr/etc/install
   2018 # IRIX /sbin/install
   2019 # AIX /bin/install
   2020 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2021 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2022 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2023 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2024 # OS/2's system install, which has a completely different semantic
   2025 # ./install, which can be erroneously created by make from ./install.sh.
   2026 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2027 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2028 if test -z "$INSTALL"; then
   2029 if test "${ac_cv_path_install+set}" = set; then
   2030   echo $ECHO_N "(cached) $ECHO_C" >&6
   2031 else
   2032   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2033 for as_dir in $PATH
   2034 do
   2035   IFS=$as_save_IFS
   2036   test -z "$as_dir" && as_dir=.
   2037   # Account for people who put trailing slashes in PATH elements.
   2038 case $as_dir/ in
   2039   ./ | .// | /cC/* | \
   2040   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2041   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2042   /usr/ucb/* ) ;;
   2043   *)
   2044     # OSF1 and SCO ODT 3.0 have their own names for install.
   2045     # Don't use installbsd from OSF since it installs stuff as root
   2046     # by default.
   2047     for ac_prog in ginstall scoinst install; do
   2048       for ac_exec_ext in '' $ac_executable_extensions; do
   2049 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2050 	  if test $ac_prog = install &&
   2051 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2052 	    # AIX install.  It has an incompatible calling convention.
   2053 	    :
   2054 	  elif test $ac_prog = install &&
   2055 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2056 	    # program-specific install script used by HP pwplus--don't use.
   2057 	    :
   2058 	  else
   2059 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2060 	    break 3
   2061 	  fi
   2062 	fi
   2063       done
   2064     done
   2065     ;;
   2066 esac
   2067 done
   2068 IFS=$as_save_IFS
   2069 
   2070 
   2071 fi
   2072   if test "${ac_cv_path_install+set}" = set; then
   2073     INSTALL=$ac_cv_path_install
   2074   else
   2075     # As a last resort, use the slow shell script.  Don't cache a
   2076     # value for INSTALL within a source directory, because that will
   2077     # break other packages using the cache if that directory is
   2078     # removed, or if the value is a relative name.
   2079     INSTALL=$ac_install_sh
   2080   fi
   2081 fi
   2082 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2083 echo "${ECHO_T}$INSTALL" >&6; }
   2084 
   2085 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2086 # It thinks the first close brace ends the variable substitution.
   2087 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2088 
   2089 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2090 
   2091 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2092 
   2093 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2094 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2095 # Just in case
   2096 sleep 1
   2097 echo timestamp > conftest.file
   2098 # Do `set' in a subshell so we don't clobber the current shell's
   2099 # arguments.  Must try -L first in case configure is actually a
   2100 # symlink; some systems play weird games with the mod time of symlinks
   2101 # (eg FreeBSD returns the mod time of the symlink's containing
   2102 # directory).
   2103 if (
   2104    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2105    if test "$*" = "X"; then
   2106       # -L didn't work.
   2107       set X `ls -t $srcdir/configure conftest.file`
   2108    fi
   2109    rm -f conftest.file
   2110    if test "$*" != "X $srcdir/configure conftest.file" \
   2111       && test "$*" != "X conftest.file $srcdir/configure"; then
   2112 
   2113       # If neither matched, then we have a broken ls.  This can happen
   2114       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2115       # broken ls alias from the environment.  This has actually
   2116       # happened.  Such a system could not be considered "sane".
   2117       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2118 alias in your environment" >&5
   2119 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2120 alias in your environment" >&2;}
   2121    { (exit 1); exit 1; }; }
   2122    fi
   2123 
   2124    test "$2" = conftest.file
   2125    )
   2126 then
   2127    # Ok.
   2128    :
   2129 else
   2130    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2131 Check your system clock" >&5
   2132 echo "$as_me: error: newly created file is older than distributed files!
   2133 Check your system clock" >&2;}
   2134    { (exit 1); exit 1; }; }
   2135 fi
   2136 { echo "$as_me:$LINENO: result: yes" >&5
   2137 echo "${ECHO_T}yes" >&6; }
   2138 test "$program_prefix" != NONE &&
   2139   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2140 # Use a double $ so make ignores it.
   2141 test "$program_suffix" != NONE &&
   2142   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2143 # Double any \ or $.  echo might interpret backslashes.
   2144 # By default was `s,x,x', remove it if useless.
   2145 cat <<\_ACEOF >conftest.sed
   2146 s/[\\$]/&&/g;s/;s,x,x,$//
   2147 _ACEOF
   2148 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2149 rm -f conftest.sed
   2150 
   2151 # expand $ac_aux_dir to an absolute path
   2152 am_aux_dir=`cd $ac_aux_dir && pwd`
   2153 
   2154 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2155 # Use eval to expand $SHELL
   2156 if eval "$MISSING --run true"; then
   2157   am_missing_run="$MISSING --run "
   2158 else
   2159   am_missing_run=
   2160   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2161 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2162 fi
   2163 
   2164 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2165 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2166 if test -z "$MKDIR_P"; then
   2167   if test "${ac_cv_path_mkdir+set}" = set; then
   2168   echo $ECHO_N "(cached) $ECHO_C" >&6
   2169 else
   2170   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2171 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2172 do
   2173   IFS=$as_save_IFS
   2174   test -z "$as_dir" && as_dir=.
   2175   for ac_prog in mkdir gmkdir; do
   2176 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2177 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2178 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2179 	     'mkdir (GNU coreutils) '* | \
   2180 	     'mkdir (coreutils) '* | \
   2181 	     'mkdir (fileutils) '4.1*)
   2182 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2183 	       break 3;;
   2184 	   esac
   2185 	 done
   2186        done
   2187 done
   2188 IFS=$as_save_IFS
   2189 
   2190 fi
   2191 
   2192   if test "${ac_cv_path_mkdir+set}" = set; then
   2193     MKDIR_P="$ac_cv_path_mkdir -p"
   2194   else
   2195     # As a last resort, use the slow shell script.  Don't cache a
   2196     # value for MKDIR_P within a source directory, because that will
   2197     # break other packages using the cache if that directory is
   2198     # removed, or if the value is a relative name.
   2199     test -d ./--version && rmdir ./--version
   2200     MKDIR_P="$ac_install_sh -d"
   2201   fi
   2202 fi
   2203 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2204 echo "${ECHO_T}$MKDIR_P" >&6; }
   2205 
   2206 mkdir_p="$MKDIR_P"
   2207 case $mkdir_p in
   2208   [\\/$]* | ?:[\\/]*) ;;
   2209   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2210 esac
   2211 
   2212 for ac_prog in gawk mawk nawk awk
   2213 do
   2214   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2215 set dummy $ac_prog; ac_word=$2
   2216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2218 if test "${ac_cv_prog_AWK+set}" = set; then
   2219   echo $ECHO_N "(cached) $ECHO_C" >&6
   2220 else
   2221   if test -n "$AWK"; then
   2222   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2223 else
   2224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2225 for as_dir in $PATH
   2226 do
   2227   IFS=$as_save_IFS
   2228   test -z "$as_dir" && as_dir=.
   2229   for ac_exec_ext in '' $ac_executable_extensions; do
   2230   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2231     ac_cv_prog_AWK="$ac_prog"
   2232     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2233     break 2
   2234   fi
   2235 done
   2236 done
   2237 IFS=$as_save_IFS
   2238 
   2239 fi
   2240 fi
   2241 AWK=$ac_cv_prog_AWK
   2242 if test -n "$AWK"; then
   2243   { echo "$as_me:$LINENO: result: $AWK" >&5
   2244 echo "${ECHO_T}$AWK" >&6; }
   2245 else
   2246   { echo "$as_me:$LINENO: result: no" >&5
   2247 echo "${ECHO_T}no" >&6; }
   2248 fi
   2249 
   2250 
   2251   test -n "$AWK" && break
   2252 done
   2253 
   2254 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2255 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2256 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2257 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2258   echo $ECHO_N "(cached) $ECHO_C" >&6
   2259 else
   2260   cat >conftest.make <<\_ACEOF
   2261 SHELL = /bin/sh
   2262 all:
   2263 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2264 _ACEOF
   2265 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2266 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2267   *@@@%%%=?*=@@@%%%*)
   2268     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2269   *)
   2270     eval ac_cv_prog_make_${ac_make}_set=no;;
   2271 esac
   2272 rm -f conftest.make
   2273 fi
   2274 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2275   { echo "$as_me:$LINENO: result: yes" >&5
   2276 echo "${ECHO_T}yes" >&6; }
   2277   SET_MAKE=
   2278 else
   2279   { echo "$as_me:$LINENO: result: no" >&5
   2280 echo "${ECHO_T}no" >&6; }
   2281   SET_MAKE="MAKE=${MAKE-make}"
   2282 fi
   2283 
   2284 rm -rf .tst 2>/dev/null
   2285 mkdir .tst 2>/dev/null
   2286 if test -d .tst; then
   2287   am__leading_dot=.
   2288 else
   2289   am__leading_dot=_
   2290 fi
   2291 rmdir .tst 2>/dev/null
   2292 
   2293 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2294   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2295   # is not polluted with repeated "-I."
   2296   am__isrc=' -I$(srcdir)'
   2297   # test to see if srcdir already configured
   2298   if test -f $srcdir/config.status; then
   2299     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2300 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2301    { (exit 1); exit 1; }; }
   2302   fi
   2303 fi
   2304 
   2305 # test whether we have cygpath
   2306 if test -z "$CYGPATH_W"; then
   2307   if (cygpath --version) >/dev/null 2>/dev/null; then
   2308     CYGPATH_W='cygpath -w'
   2309   else
   2310     CYGPATH_W=echo
   2311   fi
   2312 fi
   2313 
   2314 
   2315 # Define the identity of the package.
   2316  PACKAGE='libXext'
   2317  VERSION='1.0.4'
   2318 
   2319 
   2320 cat >>confdefs.h <<_ACEOF
   2321 #define PACKAGE "$PACKAGE"
   2322 _ACEOF
   2323 
   2324 
   2325 cat >>confdefs.h <<_ACEOF
   2326 #define VERSION "$VERSION"
   2327 _ACEOF
   2328 
   2329 # Some tools Automake needs.
   2330 
   2331 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2332 
   2333 
   2334 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2335 
   2336 
   2337 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2338 
   2339 
   2340 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2341 
   2342 
   2343 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2344 
   2345 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2346 
   2347 # Installed binaries are usually stripped using `strip' when the user
   2348 # run `make install-strip'.  However `strip' might not be the right
   2349 # tool to use in cross-compilation environments, therefore Automake
   2350 # will honor the `STRIP' environment variable to overrule this program.
   2351 if test "$cross_compiling" != no; then
   2352   if test -n "$ac_tool_prefix"; then
   2353   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2354 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2357 if test "${ac_cv_prog_STRIP+set}" = set; then
   2358   echo $ECHO_N "(cached) $ECHO_C" >&6
   2359 else
   2360   if test -n "$STRIP"; then
   2361   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2362 else
   2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2364 for as_dir in $PATH
   2365 do
   2366   IFS=$as_save_IFS
   2367   test -z "$as_dir" && as_dir=.
   2368   for ac_exec_ext in '' $ac_executable_extensions; do
   2369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2370     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2371     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2372     break 2
   2373   fi
   2374 done
   2375 done
   2376 IFS=$as_save_IFS
   2377 
   2378 fi
   2379 fi
   2380 STRIP=$ac_cv_prog_STRIP
   2381 if test -n "$STRIP"; then
   2382   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2383 echo "${ECHO_T}$STRIP" >&6; }
   2384 else
   2385   { echo "$as_me:$LINENO: result: no" >&5
   2386 echo "${ECHO_T}no" >&6; }
   2387 fi
   2388 
   2389 
   2390 fi
   2391 if test -z "$ac_cv_prog_STRIP"; then
   2392   ac_ct_STRIP=$STRIP
   2393   # Extract the first word of "strip", so it can be a program name with args.
   2394 set dummy strip; ac_word=$2
   2395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2397 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2398   echo $ECHO_N "(cached) $ECHO_C" >&6
   2399 else
   2400   if test -n "$ac_ct_STRIP"; then
   2401   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2402 else
   2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2404 for as_dir in $PATH
   2405 do
   2406   IFS=$as_save_IFS
   2407   test -z "$as_dir" && as_dir=.
   2408   for ac_exec_ext in '' $ac_executable_extensions; do
   2409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2410     ac_cv_prog_ac_ct_STRIP="strip"
   2411     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2412     break 2
   2413   fi
   2414 done
   2415 done
   2416 IFS=$as_save_IFS
   2417 
   2418 fi
   2419 fi
   2420 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2421 if test -n "$ac_ct_STRIP"; then
   2422   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2423 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2424 else
   2425   { echo "$as_me:$LINENO: result: no" >&5
   2426 echo "${ECHO_T}no" >&6; }
   2427 fi
   2428 
   2429   if test "x$ac_ct_STRIP" = x; then
   2430     STRIP=":"
   2431   else
   2432     case $cross_compiling:$ac_tool_warned in
   2433 yes:)
   2434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2435 whose name does not start with the host triplet.  If you think this
   2436 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2438 whose name does not start with the host triplet.  If you think this
   2439 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2440 ac_tool_warned=yes ;;
   2441 esac
   2442     STRIP=$ac_ct_STRIP
   2443   fi
   2444 else
   2445   STRIP="$ac_cv_prog_STRIP"
   2446 fi
   2447 
   2448 fi
   2449 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2450 
   2451 # We need awk for the "check" target.  The system "awk" is bad on
   2452 # some platforms.
   2453 # Always define AMTAR for backward compatibility.
   2454 
   2455 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2456 
   2457 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2458 
   2459 
   2460 
   2461 
   2462 
   2463 
   2464 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2465 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2466     # Check whether --enable-maintainer-mode was given.
   2467 if test "${enable_maintainer_mode+set}" = set; then
   2468   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2469 else
   2470   USE_MAINTAINER_MODE=no
   2471 fi
   2472 
   2473   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2474 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2475    if test $USE_MAINTAINER_MODE = yes; then
   2476   MAINTAINER_MODE_TRUE=
   2477   MAINTAINER_MODE_FALSE='#'
   2478 else
   2479   MAINTAINER_MODE_TRUE='#'
   2480   MAINTAINER_MODE_FALSE=
   2481 fi
   2482 
   2483   MAINT=$MAINTAINER_MODE_TRUE
   2484 
   2485 
   2486 
   2487 ac_config_headers="$ac_config_headers config.h"
   2488 
   2489 
   2490 # Require xorg-macros version 1.1.0 or newer for XORG_WITH_LINT macro
   2491 
   2492 
   2493 	XORG_MACROS_needed_version=1.1
   2494 	XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
   2495 	XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
   2496 	{ echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5
   2497 echo $ECHO_N "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... $ECHO_C" >&6; }
   2498 	XORG_MACROS_version=1.1.5
   2499 	XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
   2500 	XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
   2501 	if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
   2502 		{ { echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5
   2503 echo "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;}
   2504    { (exit 1); exit 1; }; }
   2505 	fi
   2506 	if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
   2507 		{ { echo "$as_me:$LINENO: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&5
   2508 echo "$as_me: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&2;}
   2509    { (exit 1); exit 1; }; }
   2510 	fi
   2511 	{ echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5
   2512 echo "${ECHO_T}yes, $XORG_MACROS_version" >&6; }
   2513 
   2514 
   2515 # Determine .so library version per platform
   2516 # based on SharedXextRev in monolith xc/config/cf/*Lib.tmpl
   2517 # Make sure we can run config.sub.
   2518 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2519   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2520 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2521    { (exit 1); exit 1; }; }
   2522 
   2523 { echo "$as_me:$LINENO: checking build system type" >&5
   2524 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   2525 if test "${ac_cv_build+set}" = set; then
   2526   echo $ECHO_N "(cached) $ECHO_C" >&6
   2527 else
   2528   ac_build_alias=$build_alias
   2529 test "x$ac_build_alias" = x &&
   2530   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2531 test "x$ac_build_alias" = x &&
   2532   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2533 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2534    { (exit 1); exit 1; }; }
   2535 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2536   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2537 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2538    { (exit 1); exit 1; }; }
   2539 
   2540 fi
   2541 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2542 echo "${ECHO_T}$ac_cv_build" >&6; }
   2543 case $ac_cv_build in
   2544 *-*-*) ;;
   2545 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2546 echo "$as_me: error: invalid value of canonical build" >&2;}
   2547    { (exit 1); exit 1; }; };;
   2548 esac
   2549 build=$ac_cv_build
   2550 ac_save_IFS=$IFS; IFS='-'
   2551 set x $ac_cv_build
   2552 shift
   2553 build_cpu=$1
   2554 build_vendor=$2
   2555 shift; shift
   2556 # Remember, the first character of IFS is used to create $*,
   2557 # except with old shells:
   2558 build_os=$*
   2559 IFS=$ac_save_IFS
   2560 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2561 
   2562 
   2563 { echo "$as_me:$LINENO: checking host system type" >&5
   2564 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   2565 if test "${ac_cv_host+set}" = set; then
   2566   echo $ECHO_N "(cached) $ECHO_C" >&6
   2567 else
   2568   if test "x$host_alias" = x; then
   2569   ac_cv_host=$ac_cv_build
   2570 else
   2571   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2572     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2573 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2574    { (exit 1); exit 1; }; }
   2575 fi
   2576 
   2577 fi
   2578 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2579 echo "${ECHO_T}$ac_cv_host" >&6; }
   2580 case $ac_cv_host in
   2581 *-*-*) ;;
   2582 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2583 echo "$as_me: error: invalid value of canonical host" >&2;}
   2584    { (exit 1); exit 1; }; };;
   2585 esac
   2586 host=$ac_cv_host
   2587 ac_save_IFS=$IFS; IFS='-'
   2588 set x $ac_cv_host
   2589 shift
   2590 host_cpu=$1
   2591 host_vendor=$2
   2592 shift; shift
   2593 # Remember, the first character of IFS is used to create $*,
   2594 # except with old shells:
   2595 host_os=$*
   2596 IFS=$ac_save_IFS
   2597 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2598 
   2599 
   2600 if test "x$XEXT_SOREV" = "x" ; then
   2601     case $host_os in
   2602 	openbsd*)	XEXT_SOREV=8:0 		;;
   2603 	solaris*)       XEXT_SOREV=0 		;;
   2604 	*)              XEXT_SOREV=6:4:0 	;;
   2605     esac
   2606 fi
   2607 
   2608 
   2609 # Checks for programs.
   2610 # Check whether --enable-shared was given.
   2611 if test "${enable_shared+set}" = set; then
   2612   enableval=$enable_shared; p=${PACKAGE-default}
   2613     case $enableval in
   2614     yes) enable_shared=yes ;;
   2615     no) enable_shared=no ;;
   2616     *)
   2617       enable_shared=no
   2618       # Look at the argument we got.  We use all the common list separators.
   2619       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2620       for pkg in $enableval; do
   2621 	IFS="$lt_save_ifs"
   2622 	if test "X$pkg" = "X$p"; then
   2623 	  enable_shared=yes
   2624 	fi
   2625       done
   2626       IFS="$lt_save_ifs"
   2627       ;;
   2628     esac
   2629 else
   2630   enable_shared=yes
   2631 fi
   2632 
   2633 
   2634 # Check whether --enable-static was given.
   2635 if test "${enable_static+set}" = set; then
   2636   enableval=$enable_static; p=${PACKAGE-default}
   2637     case $enableval in
   2638     yes) enable_static=yes ;;
   2639     no) enable_static=no ;;
   2640     *)
   2641      enable_static=no
   2642       # Look at the argument we got.  We use all the common list separators.
   2643       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2644       for pkg in $enableval; do
   2645 	IFS="$lt_save_ifs"
   2646 	if test "X$pkg" = "X$p"; then
   2647 	  enable_static=yes
   2648 	fi
   2649       done
   2650       IFS="$lt_save_ifs"
   2651       ;;
   2652     esac
   2653 else
   2654   enable_static=yes
   2655 fi
   2656 
   2657 
   2658 # Check whether --enable-fast-install was given.
   2659 if test "${enable_fast_install+set}" = set; then
   2660   enableval=$enable_fast_install; p=${PACKAGE-default}
   2661     case $enableval in
   2662     yes) enable_fast_install=yes ;;
   2663     no) enable_fast_install=no ;;
   2664     *)
   2665       enable_fast_install=no
   2666       # Look at the argument we got.  We use all the common list separators.
   2667       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2668       for pkg in $enableval; do
   2669 	IFS="$lt_save_ifs"
   2670 	if test "X$pkg" = "X$p"; then
   2671 	  enable_fast_install=yes
   2672 	fi
   2673       done
   2674       IFS="$lt_save_ifs"
   2675       ;;
   2676     esac
   2677 else
   2678   enable_fast_install=yes
   2679 fi
   2680 
   2681 
   2682 DEPDIR="${am__leading_dot}deps"
   2683 
   2684 ac_config_commands="$ac_config_commands depfiles"
   2685 
   2686 
   2687 am_make=${MAKE-make}
   2688 cat > confinc << 'END'
   2689 am__doit:
   2690 	@echo done
   2691 .PHONY: am__doit
   2692 END
   2693 # If we don't find an include directive, just comment out the code.
   2694 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2695 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   2696 am__include="#"
   2697 am__quote=
   2698 _am_result=none
   2699 # First try GNU make style include.
   2700 echo "include confinc" > confmf
   2701 # We grep out `Entering directory' and `Leaving directory'
   2702 # messages which can occur if `w' ends up in MAKEFLAGS.
   2703 # In particular we don't look at `^make:' because GNU make might
   2704 # be invoked under some other name (usually "gmake"), in which
   2705 # case it prints its new name instead of `make'.
   2706 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2707    am__include=include
   2708    am__quote=
   2709    _am_result=GNU
   2710 fi
   2711 # Now try BSD make style include.
   2712 if test "$am__include" = "#"; then
   2713    echo '.include "confinc"' > confmf
   2714    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2715       am__include=.include
   2716       am__quote="\""
   2717       _am_result=BSD
   2718    fi
   2719 fi
   2720 
   2721 
   2722 { echo "$as_me:$LINENO: result: $_am_result" >&5
   2723 echo "${ECHO_T}$_am_result" >&6; }
   2724 rm -f confinc confmf
   2725 
   2726 # Check whether --enable-dependency-tracking was given.
   2727 if test "${enable_dependency_tracking+set}" = set; then
   2728   enableval=$enable_dependency_tracking;
   2729 fi
   2730 
   2731 if test "x$enable_dependency_tracking" != xno; then
   2732   am_depcomp="$ac_aux_dir/depcomp"
   2733   AMDEPBACKSLASH='\'
   2734 fi
   2735  if test "x$enable_dependency_tracking" != xno; then
   2736   AMDEP_TRUE=
   2737   AMDEP_FALSE='#'
   2738 else
   2739   AMDEP_TRUE='#'
   2740   AMDEP_FALSE=
   2741 fi
   2742 
   2743 
   2744 ac_ext=c
   2745 ac_cpp='$CPP $CPPFLAGS'
   2746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2749 if test -n "$ac_tool_prefix"; then
   2750   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2751 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2754 if test "${ac_cv_prog_CC+set}" = set; then
   2755   echo $ECHO_N "(cached) $ECHO_C" >&6
   2756 else
   2757   if test -n "$CC"; then
   2758   ac_cv_prog_CC="$CC" # Let the user override the test.
   2759 else
   2760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2761 for as_dir in $PATH
   2762 do
   2763   IFS=$as_save_IFS
   2764   test -z "$as_dir" && as_dir=.
   2765   for ac_exec_ext in '' $ac_executable_extensions; do
   2766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2767     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2768     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2769     break 2
   2770   fi
   2771 done
   2772 done
   2773 IFS=$as_save_IFS
   2774 
   2775 fi
   2776 fi
   2777 CC=$ac_cv_prog_CC
   2778 if test -n "$CC"; then
   2779   { echo "$as_me:$LINENO: result: $CC" >&5
   2780 echo "${ECHO_T}$CC" >&6; }
   2781 else
   2782   { echo "$as_me:$LINENO: result: no" >&5
   2783 echo "${ECHO_T}no" >&6; }
   2784 fi
   2785 
   2786 
   2787 fi
   2788 if test -z "$ac_cv_prog_CC"; then
   2789   ac_ct_CC=$CC
   2790   # Extract the first word of "gcc", so it can be a program name with args.
   2791 set dummy gcc; ac_word=$2
   2792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2794 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2795   echo $ECHO_N "(cached) $ECHO_C" >&6
   2796 else
   2797   if test -n "$ac_ct_CC"; then
   2798   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2799 else
   2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2801 for as_dir in $PATH
   2802 do
   2803   IFS=$as_save_IFS
   2804   test -z "$as_dir" && as_dir=.
   2805   for ac_exec_ext in '' $ac_executable_extensions; do
   2806   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2807     ac_cv_prog_ac_ct_CC="gcc"
   2808     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2809     break 2
   2810   fi
   2811 done
   2812 done
   2813 IFS=$as_save_IFS
   2814 
   2815 fi
   2816 fi
   2817 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2818 if test -n "$ac_ct_CC"; then
   2819   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2820 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2821 else
   2822   { echo "$as_me:$LINENO: result: no" >&5
   2823 echo "${ECHO_T}no" >&6; }
   2824 fi
   2825 
   2826   if test "x$ac_ct_CC" = x; then
   2827     CC=""
   2828   else
   2829     case $cross_compiling:$ac_tool_warned in
   2830 yes:)
   2831 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2832 whose name does not start with the host triplet.  If you think this
   2833 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2834 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2835 whose name does not start with the host triplet.  If you think this
   2836 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2837 ac_tool_warned=yes ;;
   2838 esac
   2839     CC=$ac_ct_CC
   2840   fi
   2841 else
   2842   CC="$ac_cv_prog_CC"
   2843 fi
   2844 
   2845 if test -z "$CC"; then
   2846           if test -n "$ac_tool_prefix"; then
   2847     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2848 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2851 if test "${ac_cv_prog_CC+set}" = set; then
   2852   echo $ECHO_N "(cached) $ECHO_C" >&6
   2853 else
   2854   if test -n "$CC"; then
   2855   ac_cv_prog_CC="$CC" # Let the user override the test.
   2856 else
   2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2858 for as_dir in $PATH
   2859 do
   2860   IFS=$as_save_IFS
   2861   test -z "$as_dir" && as_dir=.
   2862   for ac_exec_ext in '' $ac_executable_extensions; do
   2863   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2864     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2865     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2866     break 2
   2867   fi
   2868 done
   2869 done
   2870 IFS=$as_save_IFS
   2871 
   2872 fi
   2873 fi
   2874 CC=$ac_cv_prog_CC
   2875 if test -n "$CC"; then
   2876   { echo "$as_me:$LINENO: result: $CC" >&5
   2877 echo "${ECHO_T}$CC" >&6; }
   2878 else
   2879   { echo "$as_me:$LINENO: result: no" >&5
   2880 echo "${ECHO_T}no" >&6; }
   2881 fi
   2882 
   2883 
   2884   fi
   2885 fi
   2886 if test -z "$CC"; then
   2887   # Extract the first word of "cc", so it can be a program name with args.
   2888 set dummy cc; ac_word=$2
   2889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2891 if test "${ac_cv_prog_CC+set}" = set; then
   2892   echo $ECHO_N "(cached) $ECHO_C" >&6
   2893 else
   2894   if test -n "$CC"; then
   2895   ac_cv_prog_CC="$CC" # Let the user override the test.
   2896 else
   2897   ac_prog_rejected=no
   2898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2899 for as_dir in $PATH
   2900 do
   2901   IFS=$as_save_IFS
   2902   test -z "$as_dir" && as_dir=.
   2903   for ac_exec_ext in '' $ac_executable_extensions; do
   2904   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2905     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2906        ac_prog_rejected=yes
   2907        continue
   2908      fi
   2909     ac_cv_prog_CC="cc"
   2910     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2911     break 2
   2912   fi
   2913 done
   2914 done
   2915 IFS=$as_save_IFS
   2916 
   2917 if test $ac_prog_rejected = yes; then
   2918   # We found a bogon in the path, so make sure we never use it.
   2919   set dummy $ac_cv_prog_CC
   2920   shift
   2921   if test $# != 0; then
   2922     # We chose a different compiler from the bogus one.
   2923     # However, it has the same basename, so the bogon will be chosen
   2924     # first if we set CC to just the basename; use the full file name.
   2925     shift
   2926     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2927   fi
   2928 fi
   2929 fi
   2930 fi
   2931 CC=$ac_cv_prog_CC
   2932 if test -n "$CC"; then
   2933   { echo "$as_me:$LINENO: result: $CC" >&5
   2934 echo "${ECHO_T}$CC" >&6; }
   2935 else
   2936   { echo "$as_me:$LINENO: result: no" >&5
   2937 echo "${ECHO_T}no" >&6; }
   2938 fi
   2939 
   2940 
   2941 fi
   2942 if test -z "$CC"; then
   2943   if test -n "$ac_tool_prefix"; then
   2944   for ac_prog in cl.exe
   2945   do
   2946     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2947 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2950 if test "${ac_cv_prog_CC+set}" = set; then
   2951   echo $ECHO_N "(cached) $ECHO_C" >&6
   2952 else
   2953   if test -n "$CC"; then
   2954   ac_cv_prog_CC="$CC" # Let the user override the test.
   2955 else
   2956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2957 for as_dir in $PATH
   2958 do
   2959   IFS=$as_save_IFS
   2960   test -z "$as_dir" && as_dir=.
   2961   for ac_exec_ext in '' $ac_executable_extensions; do
   2962   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2963     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2964     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2965     break 2
   2966   fi
   2967 done
   2968 done
   2969 IFS=$as_save_IFS
   2970 
   2971 fi
   2972 fi
   2973 CC=$ac_cv_prog_CC
   2974 if test -n "$CC"; then
   2975   { echo "$as_me:$LINENO: result: $CC" >&5
   2976 echo "${ECHO_T}$CC" >&6; }
   2977 else
   2978   { echo "$as_me:$LINENO: result: no" >&5
   2979 echo "${ECHO_T}no" >&6; }
   2980 fi
   2981 
   2982 
   2983     test -n "$CC" && break
   2984   done
   2985 fi
   2986 if test -z "$CC"; then
   2987   ac_ct_CC=$CC
   2988   for ac_prog in cl.exe
   2989 do
   2990   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2991 set dummy $ac_prog; ac_word=$2
   2992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2994 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2995   echo $ECHO_N "(cached) $ECHO_C" >&6
   2996 else
   2997   if test -n "$ac_ct_CC"; then
   2998   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2999 else
   3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3001 for as_dir in $PATH
   3002 do
   3003   IFS=$as_save_IFS
   3004   test -z "$as_dir" && as_dir=.
   3005   for ac_exec_ext in '' $ac_executable_extensions; do
   3006   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3007     ac_cv_prog_ac_ct_CC="$ac_prog"
   3008     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3009     break 2
   3010   fi
   3011 done
   3012 done
   3013 IFS=$as_save_IFS
   3014 
   3015 fi
   3016 fi
   3017 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3018 if test -n "$ac_ct_CC"; then
   3019   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3020 echo "${ECHO_T}$ac_ct_CC" >&6; }
   3021 else
   3022   { echo "$as_me:$LINENO: result: no" >&5
   3023 echo "${ECHO_T}no" >&6; }
   3024 fi
   3025 
   3026 
   3027   test -n "$ac_ct_CC" && break
   3028 done
   3029 
   3030   if test "x$ac_ct_CC" = x; then
   3031     CC=""
   3032   else
   3033     case $cross_compiling:$ac_tool_warned in
   3034 yes:)
   3035 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   3036 whose name does not start with the host triplet.  If you think this
   3037 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   3038 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   3039 whose name does not start with the host triplet.  If you think this
   3040 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   3041 ac_tool_warned=yes ;;
   3042 esac
   3043     CC=$ac_ct_CC
   3044   fi
   3045 fi
   3046 
   3047 fi
   3048 
   3049 
   3050 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3051 See \`config.log' for more details." >&5
   3052 echo "$as_me: error: no acceptable C compiler found in \$PATH
   3053 See \`config.log' for more details." >&2;}
   3054    { (exit 1); exit 1; }; }
   3055 
   3056 # Provide some information about the compiler.
   3057 echo "$as_me:$LINENO: checking for C compiler version" >&5
   3058 ac_compiler=`set X $ac_compile; echo $2`
   3059 { (ac_try="$ac_compiler --version >&5"
   3060 case "(($ac_try" in
   3061   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3062   *) ac_try_echo=$ac_try;;
   3063 esac
   3064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3065   (eval "$ac_compiler --version >&5") 2>&5
   3066   ac_status=$?
   3067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3068   (exit $ac_status); }
   3069 { (ac_try="$ac_compiler -v >&5"
   3070 case "(($ac_try" in
   3071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3072   *) ac_try_echo=$ac_try;;
   3073 esac
   3074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3075   (eval "$ac_compiler -v >&5") 2>&5
   3076   ac_status=$?
   3077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3078   (exit $ac_status); }
   3079 { (ac_try="$ac_compiler -V >&5"
   3080 case "(($ac_try" in
   3081   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3082   *) ac_try_echo=$ac_try;;
   3083 esac
   3084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3085   (eval "$ac_compiler -V >&5") 2>&5
   3086   ac_status=$?
   3087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3088   (exit $ac_status); }
   3089 
   3090 cat >conftest.$ac_ext <<_ACEOF
   3091 /* confdefs.h.  */
   3092 _ACEOF
   3093 cat confdefs.h >>conftest.$ac_ext
   3094 cat >>conftest.$ac_ext <<_ACEOF
   3095 /* end confdefs.h.  */
   3096 
   3097 int
   3098 main ()
   3099 {
   3100 
   3101   ;
   3102   return 0;
   3103 }
   3104 _ACEOF
   3105 ac_clean_files_save=$ac_clean_files
   3106 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   3107 # Try to create an executable without -o first, disregard a.out.
   3108 # It will help us diagnose broken compilers, and finding out an intuition
   3109 # of exeext.
   3110 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3111 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   3112 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3113 #
   3114 # List of possible output files, starting from the most likely.
   3115 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   3116 # only as a last resort.  b.out is created by i960 compilers.
   3117 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   3118 #
   3119 # The IRIX 6 linker writes into existing files which may not be
   3120 # executable, retaining their permissions.  Remove them first so a
   3121 # subsequent execution test works.
   3122 ac_rmfiles=
   3123 for ac_file in $ac_files
   3124 do
   3125   case $ac_file in
   3126     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3127     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3128   esac
   3129 done
   3130 rm -f $ac_rmfiles
   3131 
   3132 if { (ac_try="$ac_link_default"
   3133 case "(($ac_try" in
   3134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3135   *) ac_try_echo=$ac_try;;
   3136 esac
   3137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3138   (eval "$ac_link_default") 2>&5
   3139   ac_status=$?
   3140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3141   (exit $ac_status); }; then
   3142   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3143 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3144 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3145 # so that the user can short-circuit this test for compilers unknown to
   3146 # Autoconf.
   3147 for ac_file in $ac_files ''
   3148 do
   3149   test -f "$ac_file" || continue
   3150   case $ac_file in
   3151     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   3152 	;;
   3153     [ab].out )
   3154 	# We found the default executable, but exeext='' is most
   3155 	# certainly right.
   3156 	break;;
   3157     *.* )
   3158         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3159 	then :; else
   3160 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3161 	fi
   3162 	# We set ac_cv_exeext here because the later test for it is not
   3163 	# safe: cross compilers may not add the suffix if given an `-o'
   3164 	# argument, so we may need to know it at that point already.
   3165 	# Even if this section looks crufty: it has the advantage of
   3166 	# actually working.
   3167 	break;;
   3168     * )
   3169 	break;;
   3170   esac
   3171 done
   3172 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3173 
   3174 else
   3175   ac_file=''
   3176 fi
   3177 
   3178 { echo "$as_me:$LINENO: result: $ac_file" >&5
   3179 echo "${ECHO_T}$ac_file" >&6; }
   3180 if test -z "$ac_file"; then
   3181   echo "$as_me: failed program was:" >&5
   3182 sed 's/^/| /' conftest.$ac_ext >&5
   3183 
   3184 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   3185 See \`config.log' for more details." >&5
   3186 echo "$as_me: error: C compiler cannot create executables
   3187 See \`config.log' for more details." >&2;}
   3188    { (exit 77); exit 77; }; }
   3189 fi
   3190 
   3191 ac_exeext=$ac_cv_exeext
   3192 
   3193 # Check that the compiler produces executables we can run.  If not, either
   3194 # the compiler is broken, or we cross compile.
   3195 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3196 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   3197 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3198 # If not cross compiling, check that we can run a simple program.
   3199 if test "$cross_compiling" != yes; then
   3200   if { ac_try='./$ac_file'
   3201   { (case "(($ac_try" in
   3202   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3203   *) ac_try_echo=$ac_try;;
   3204 esac
   3205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3206   (eval "$ac_try") 2>&5
   3207   ac_status=$?
   3208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3209   (exit $ac_status); }; }; then
   3210     cross_compiling=no
   3211   else
   3212     if test "$cross_compiling" = maybe; then
   3213 	cross_compiling=yes
   3214     else
   3215 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3216 If you meant to cross compile, use \`--host'.
   3217 See \`config.log' for more details." >&5
   3218 echo "$as_me: error: cannot run C compiled programs.
   3219 If you meant to cross compile, use \`--host'.
   3220 See \`config.log' for more details." >&2;}
   3221    { (exit 1); exit 1; }; }
   3222     fi
   3223   fi
   3224 fi
   3225 { echo "$as_me:$LINENO: result: yes" >&5
   3226 echo "${ECHO_T}yes" >&6; }
   3227 
   3228 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   3229 ac_clean_files=$ac_clean_files_save
   3230 # Check that the compiler produces executables we can run.  If not, either
   3231 # the compiler is broken, or we cross compile.
   3232 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3233 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   3234 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3235 echo "${ECHO_T}$cross_compiling" >&6; }
   3236 
   3237 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3238 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   3239 if { (ac_try="$ac_link"
   3240 case "(($ac_try" in
   3241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3242   *) ac_try_echo=$ac_try;;
   3243 esac
   3244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3245   (eval "$ac_link") 2>&5
   3246   ac_status=$?
   3247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3248   (exit $ac_status); }; then
   3249   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3250 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3251 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3252 # `rm'.
   3253 for ac_file in conftest.exe conftest conftest.*; do
   3254   test -f "$ac_file" || continue
   3255   case $ac_file in
   3256     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3257     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3258 	  break;;
   3259     * ) break;;
   3260   esac
   3261 done
   3262 else
   3263   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3264 See \`config.log' for more details." >&5
   3265 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3266 See \`config.log' for more details." >&2;}
   3267    { (exit 1); exit 1; }; }
   3268 fi
   3269 
   3270 rm -f conftest$ac_cv_exeext
   3271 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3272 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3273 
   3274 rm -f conftest.$ac_ext
   3275 EXEEXT=$ac_cv_exeext
   3276 ac_exeext=$EXEEXT
   3277 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3278 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3279 if test "${ac_cv_objext+set}" = set; then
   3280   echo $ECHO_N "(cached) $ECHO_C" >&6
   3281 else
   3282   cat >conftest.$ac_ext <<_ACEOF
   3283 /* confdefs.h.  */
   3284 _ACEOF
   3285 cat confdefs.h >>conftest.$ac_ext
   3286 cat >>conftest.$ac_ext <<_ACEOF
   3287 /* end confdefs.h.  */
   3288 
   3289 int
   3290 main ()
   3291 {
   3292 
   3293   ;
   3294   return 0;
   3295 }
   3296 _ACEOF
   3297 rm -f conftest.o conftest.obj
   3298 if { (ac_try="$ac_compile"
   3299 case "(($ac_try" in
   3300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3301   *) ac_try_echo=$ac_try;;
   3302 esac
   3303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3304   (eval "$ac_compile") 2>&5
   3305   ac_status=$?
   3306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3307   (exit $ac_status); }; then
   3308   for ac_file in conftest.o conftest.obj conftest.*; do
   3309   test -f "$ac_file" || continue;
   3310   case $ac_file in
   3311     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3312     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3313        break;;
   3314   esac
   3315 done
   3316 else
   3317   echo "$as_me: failed program was:" >&5
   3318 sed 's/^/| /' conftest.$ac_ext >&5
   3319 
   3320 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3321 See \`config.log' for more details." >&5
   3322 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3323 See \`config.log' for more details." >&2;}
   3324    { (exit 1); exit 1; }; }
   3325 fi
   3326 
   3327 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3328 fi
   3329 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3330 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3331 OBJEXT=$ac_cv_objext
   3332 ac_objext=$OBJEXT
   3333 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3334 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3335 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3336   echo $ECHO_N "(cached) $ECHO_C" >&6
   3337 else
   3338   cat >conftest.$ac_ext <<_ACEOF
   3339 /* confdefs.h.  */
   3340 _ACEOF
   3341 cat confdefs.h >>conftest.$ac_ext
   3342 cat >>conftest.$ac_ext <<_ACEOF
   3343 /* end confdefs.h.  */
   3344 
   3345 int
   3346 main ()
   3347 {
   3348 #ifndef __GNUC__
   3349        choke me
   3350 #endif
   3351 
   3352   ;
   3353   return 0;
   3354 }
   3355 _ACEOF
   3356 rm -f conftest.$ac_objext
   3357 if { (ac_try="$ac_compile"
   3358 case "(($ac_try" in
   3359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3360   *) ac_try_echo=$ac_try;;
   3361 esac
   3362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3363   (eval "$ac_compile") 2>conftest.er1
   3364   ac_status=$?
   3365   grep -v '^ *+' conftest.er1 >conftest.err
   3366   rm -f conftest.er1
   3367   cat conftest.err >&5
   3368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3369   (exit $ac_status); } && {
   3370 	 test -z "$ac_c_werror_flag" ||
   3371 	 test ! -s conftest.err
   3372        } && test -s conftest.$ac_objext; then
   3373   ac_compiler_gnu=yes
   3374 else
   3375   echo "$as_me: failed program was:" >&5
   3376 sed 's/^/| /' conftest.$ac_ext >&5
   3377 
   3378 	ac_compiler_gnu=no
   3379 fi
   3380 
   3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3382 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3383 
   3384 fi
   3385 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3386 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3387 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3388 ac_test_CFLAGS=${CFLAGS+set}
   3389 ac_save_CFLAGS=$CFLAGS
   3390 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3391 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3392 if test "${ac_cv_prog_cc_g+set}" = set; then
   3393   echo $ECHO_N "(cached) $ECHO_C" >&6
   3394 else
   3395   ac_save_c_werror_flag=$ac_c_werror_flag
   3396    ac_c_werror_flag=yes
   3397    ac_cv_prog_cc_g=no
   3398    CFLAGS="-g"
   3399    cat >conftest.$ac_ext <<_ACEOF
   3400 /* confdefs.h.  */
   3401 _ACEOF
   3402 cat confdefs.h >>conftest.$ac_ext
   3403 cat >>conftest.$ac_ext <<_ACEOF
   3404 /* end confdefs.h.  */
   3405 
   3406 int
   3407 main ()
   3408 {
   3409 
   3410   ;
   3411   return 0;
   3412 }
   3413 _ACEOF
   3414 rm -f conftest.$ac_objext
   3415 if { (ac_try="$ac_compile"
   3416 case "(($ac_try" in
   3417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3418   *) ac_try_echo=$ac_try;;
   3419 esac
   3420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3421   (eval "$ac_compile") 2>conftest.er1
   3422   ac_status=$?
   3423   grep -v '^ *+' conftest.er1 >conftest.err
   3424   rm -f conftest.er1
   3425   cat conftest.err >&5
   3426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3427   (exit $ac_status); } && {
   3428 	 test -z "$ac_c_werror_flag" ||
   3429 	 test ! -s conftest.err
   3430        } && test -s conftest.$ac_objext; then
   3431   ac_cv_prog_cc_g=yes
   3432 else
   3433   echo "$as_me: failed program was:" >&5
   3434 sed 's/^/| /' conftest.$ac_ext >&5
   3435 
   3436 	CFLAGS=""
   3437       cat >conftest.$ac_ext <<_ACEOF
   3438 /* confdefs.h.  */
   3439 _ACEOF
   3440 cat confdefs.h >>conftest.$ac_ext
   3441 cat >>conftest.$ac_ext <<_ACEOF
   3442 /* end confdefs.h.  */
   3443 
   3444 int
   3445 main ()
   3446 {
   3447 
   3448   ;
   3449   return 0;
   3450 }
   3451 _ACEOF
   3452 rm -f conftest.$ac_objext
   3453 if { (ac_try="$ac_compile"
   3454 case "(($ac_try" in
   3455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3456   *) ac_try_echo=$ac_try;;
   3457 esac
   3458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3459   (eval "$ac_compile") 2>conftest.er1
   3460   ac_status=$?
   3461   grep -v '^ *+' conftest.er1 >conftest.err
   3462   rm -f conftest.er1
   3463   cat conftest.err >&5
   3464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3465   (exit $ac_status); } && {
   3466 	 test -z "$ac_c_werror_flag" ||
   3467 	 test ! -s conftest.err
   3468        } && test -s conftest.$ac_objext; then
   3469   :
   3470 else
   3471   echo "$as_me: failed program was:" >&5
   3472 sed 's/^/| /' conftest.$ac_ext >&5
   3473 
   3474 	ac_c_werror_flag=$ac_save_c_werror_flag
   3475 	 CFLAGS="-g"
   3476 	 cat >conftest.$ac_ext <<_ACEOF
   3477 /* confdefs.h.  */
   3478 _ACEOF
   3479 cat confdefs.h >>conftest.$ac_ext
   3480 cat >>conftest.$ac_ext <<_ACEOF
   3481 /* end confdefs.h.  */
   3482 
   3483 int
   3484 main ()
   3485 {
   3486 
   3487   ;
   3488   return 0;
   3489 }
   3490 _ACEOF
   3491 rm -f conftest.$ac_objext
   3492 if { (ac_try="$ac_compile"
   3493 case "(($ac_try" in
   3494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3495   *) ac_try_echo=$ac_try;;
   3496 esac
   3497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3498   (eval "$ac_compile") 2>conftest.er1
   3499   ac_status=$?
   3500   grep -v '^ *+' conftest.er1 >conftest.err
   3501   rm -f conftest.er1
   3502   cat conftest.err >&5
   3503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3504   (exit $ac_status); } && {
   3505 	 test -z "$ac_c_werror_flag" ||
   3506 	 test ! -s conftest.err
   3507        } && test -s conftest.$ac_objext; then
   3508   ac_cv_prog_cc_g=yes
   3509 else
   3510   echo "$as_me: failed program was:" >&5
   3511 sed 's/^/| /' conftest.$ac_ext >&5
   3512 
   3513 
   3514 fi
   3515 
   3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3517 fi
   3518 
   3519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3520 fi
   3521 
   3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3523    ac_c_werror_flag=$ac_save_c_werror_flag
   3524 fi
   3525 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3526 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3527 if test "$ac_test_CFLAGS" = set; then
   3528   CFLAGS=$ac_save_CFLAGS
   3529 elif test $ac_cv_prog_cc_g = yes; then
   3530   if test "$GCC" = yes; then
   3531     CFLAGS="-g -O2"
   3532   else
   3533     CFLAGS="-g"
   3534   fi
   3535 else
   3536   if test "$GCC" = yes; then
   3537     CFLAGS="-O2"
   3538   else
   3539     CFLAGS=
   3540   fi
   3541 fi
   3542 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3543 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3544 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3545   echo $ECHO_N "(cached) $ECHO_C" >&6
   3546 else
   3547   ac_cv_prog_cc_c89=no
   3548 ac_save_CC=$CC
   3549 cat >conftest.$ac_ext <<_ACEOF
   3550 /* confdefs.h.  */
   3551 _ACEOF
   3552 cat confdefs.h >>conftest.$ac_ext
   3553 cat >>conftest.$ac_ext <<_ACEOF
   3554 /* end confdefs.h.  */
   3555 #include <stdarg.h>
   3556 #include <stdio.h>
   3557 #include <sys/types.h>
   3558 #include <sys/stat.h>
   3559 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3560 struct buf { int x; };
   3561 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3562 static char *e (p, i)
   3563      char **p;
   3564      int i;
   3565 {
   3566   return p[i];
   3567 }
   3568 static char *f (char * (*g) (char **, int), char **p, ...)
   3569 {
   3570   char *s;
   3571   va_list v;
   3572   va_start (v,p);
   3573   s = g (p, va_arg (v,int));
   3574   va_end (v);
   3575   return s;
   3576 }
   3577 
   3578 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3579    function prototypes and stuff, but not '\xHH' hex character constants.
   3580    These don't provoke an error unfortunately, instead are silently treated
   3581    as 'x'.  The following induces an error, until -std is added to get
   3582    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3583    array size at least.  It's necessary to write '\x00'==0 to get something
   3584    that's true only with -std.  */
   3585 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3586 
   3587 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3588    inside strings and character constants.  */
   3589 #define FOO(x) 'x'
   3590 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3591 
   3592 int test (int i, double x);
   3593 struct s1 {int (*f) (int a);};
   3594 struct s2 {int (*f) (double a);};
   3595 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3596 int argc;
   3597 char **argv;
   3598 int
   3599 main ()
   3600 {
   3601 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3602   ;
   3603   return 0;
   3604 }
   3605 _ACEOF
   3606 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3607 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3608 do
   3609   CC="$ac_save_CC $ac_arg"
   3610   rm -f conftest.$ac_objext
   3611 if { (ac_try="$ac_compile"
   3612 case "(($ac_try" in
   3613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3614   *) ac_try_echo=$ac_try;;
   3615 esac
   3616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3617   (eval "$ac_compile") 2>conftest.er1
   3618   ac_status=$?
   3619   grep -v '^ *+' conftest.er1 >conftest.err
   3620   rm -f conftest.er1
   3621   cat conftest.err >&5
   3622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3623   (exit $ac_status); } && {
   3624 	 test -z "$ac_c_werror_flag" ||
   3625 	 test ! -s conftest.err
   3626        } && test -s conftest.$ac_objext; then
   3627   ac_cv_prog_cc_c89=$ac_arg
   3628 else
   3629   echo "$as_me: failed program was:" >&5
   3630 sed 's/^/| /' conftest.$ac_ext >&5
   3631 
   3632 
   3633 fi
   3634 
   3635 rm -f core conftest.err conftest.$ac_objext
   3636   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3637 done
   3638 rm -f conftest.$ac_ext
   3639 CC=$ac_save_CC
   3640 
   3641 fi
   3642 # AC_CACHE_VAL
   3643 case "x$ac_cv_prog_cc_c89" in
   3644   x)
   3645     { echo "$as_me:$LINENO: result: none needed" >&5
   3646 echo "${ECHO_T}none needed" >&6; } ;;
   3647   xno)
   3648     { echo "$as_me:$LINENO: result: unsupported" >&5
   3649 echo "${ECHO_T}unsupported" >&6; } ;;
   3650   *)
   3651     CC="$CC $ac_cv_prog_cc_c89"
   3652     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3653 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3654 esac
   3655 
   3656 
   3657 ac_ext=c
   3658 ac_cpp='$CPP $CPPFLAGS'
   3659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3662 
   3663 depcc="$CC"   am_compiler_list=
   3664 
   3665 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3666 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3667 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3668   echo $ECHO_N "(cached) $ECHO_C" >&6
   3669 else
   3670   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3671   # We make a subdir and do the tests there.  Otherwise we can end up
   3672   # making bogus files that we don't know about and never remove.  For
   3673   # instance it was reported that on HP-UX the gcc test will end up
   3674   # making a dummy file named `D' -- because `-MD' means `put the output
   3675   # in D'.
   3676   mkdir conftest.dir
   3677   # Copy depcomp to subdir because otherwise we won't find it if we're
   3678   # using a relative directory.
   3679   cp "$am_depcomp" conftest.dir
   3680   cd conftest.dir
   3681   # We will build objects and dependencies in a subdirectory because
   3682   # it helps to detect inapplicable dependency modes.  For instance
   3683   # both Tru64's cc and ICC support -MD to output dependencies as a
   3684   # side effect of compilation, but ICC will put the dependencies in
   3685   # the current directory while Tru64 will put them in the object
   3686   # directory.
   3687   mkdir sub
   3688 
   3689   am_cv_CC_dependencies_compiler_type=none
   3690   if test "$am_compiler_list" = ""; then
   3691      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3692   fi
   3693   for depmode in $am_compiler_list; do
   3694     # Setup a source with many dependencies, because some compilers
   3695     # like to wrap large dependency lists on column 80 (with \), and
   3696     # we should not choose a depcomp mode which is confused by this.
   3697     #
   3698     # We need to recreate these files for each test, as the compiler may
   3699     # overwrite some of them when testing with obscure command lines.
   3700     # This happens at least with the AIX C compiler.
   3701     : > sub/conftest.c
   3702     for i in 1 2 3 4 5 6; do
   3703       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3704       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3705       # Solaris 8's {/usr,}/bin/sh.
   3706       touch sub/conftst$i.h
   3707     done
   3708     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3709 
   3710     case $depmode in
   3711     nosideeffect)
   3712       # after this tag, mechanisms are not by side-effect, so they'll
   3713       # only be used when explicitly requested
   3714       if test "x$enable_dependency_tracking" = xyes; then
   3715 	continue
   3716       else
   3717 	break
   3718       fi
   3719       ;;
   3720     none) break ;;
   3721     esac
   3722     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3723     # mode.  It turns out that the SunPro C++ compiler does not properly
   3724     # handle `-M -o', and we need to detect this.
   3725     if depmode=$depmode \
   3726        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3727        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3728        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3729          >/dev/null 2>conftest.err &&
   3730        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3731        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3732        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3733        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3734       # icc doesn't choke on unknown options, it will just issue warnings
   3735       # or remarks (even with -Werror).  So we grep stderr for any message
   3736       # that says an option was ignored or not supported.
   3737       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3738       #   icc: Command line warning: ignoring option '-M'; no argument required
   3739       # The diagnosis changed in icc 8.0:
   3740       #   icc: Command line remark: option '-MP' not supported
   3741       if (grep 'ignoring option' conftest.err ||
   3742           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3743         am_cv_CC_dependencies_compiler_type=$depmode
   3744         break
   3745       fi
   3746     fi
   3747   done
   3748 
   3749   cd ..
   3750   rm -rf conftest.dir
   3751 else
   3752   am_cv_CC_dependencies_compiler_type=none
   3753 fi
   3754 
   3755 fi
   3756 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3757 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3758 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3759 
   3760  if
   3761   test "x$enable_dependency_tracking" != xno \
   3762   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3763   am__fastdepCC_TRUE=
   3764   am__fastdepCC_FALSE='#'
   3765 else
   3766   am__fastdepCC_TRUE='#'
   3767   am__fastdepCC_FALSE=
   3768 fi
   3769 
   3770 
   3771 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3772 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3773 if test "${lt_cv_path_SED+set}" = set; then
   3774   echo $ECHO_N "(cached) $ECHO_C" >&6
   3775 else
   3776   # Loop through the user's path and test for sed and gsed.
   3777 # Then use that list of sed's as ones to test for truncation.
   3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3779 for as_dir in $PATH
   3780 do
   3781   IFS=$as_save_IFS
   3782   test -z "$as_dir" && as_dir=.
   3783   for lt_ac_prog in sed gsed; do
   3784     for ac_exec_ext in '' $ac_executable_extensions; do
   3785       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   3786         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3787       fi
   3788     done
   3789   done
   3790 done
   3791 lt_ac_max=0
   3792 lt_ac_count=0
   3793 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3794 # along with /bin/sed that truncates output.
   3795 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3796   test ! -f $lt_ac_sed && continue
   3797   cat /dev/null > conftest.in
   3798   lt_ac_count=0
   3799   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3800   # Check for GNU sed and select it if it is found.
   3801   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3802     lt_cv_path_SED=$lt_ac_sed
   3803     break
   3804   fi
   3805   while true; do
   3806     cat conftest.in conftest.in >conftest.tmp
   3807     mv conftest.tmp conftest.in
   3808     cp conftest.in conftest.nl
   3809     echo >>conftest.nl
   3810     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3811     cmp -s conftest.out conftest.nl || break
   3812     # 10000 chars as input seems more than enough
   3813     test $lt_ac_count -gt 10 && break
   3814     lt_ac_count=`expr $lt_ac_count + 1`
   3815     if test $lt_ac_count -gt $lt_ac_max; then
   3816       lt_ac_max=$lt_ac_count
   3817       lt_cv_path_SED=$lt_ac_sed
   3818     fi
   3819   done
   3820 done
   3821 
   3822 fi
   3823 
   3824 SED=$lt_cv_path_SED
   3825 { echo "$as_me:$LINENO: result: $SED" >&5
   3826 echo "${ECHO_T}$SED" >&6; }
   3827 
   3828 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3829 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3830 if test "${ac_cv_path_GREP+set}" = set; then
   3831   echo $ECHO_N "(cached) $ECHO_C" >&6
   3832 else
   3833   # Extract the first word of "grep ggrep" to use in msg output
   3834 if test -z "$GREP"; then
   3835 set dummy grep ggrep; ac_prog_name=$2
   3836 if test "${ac_cv_path_GREP+set}" = set; then
   3837   echo $ECHO_N "(cached) $ECHO_C" >&6
   3838 else
   3839   ac_path_GREP_found=false
   3840 # Loop through the user's path and test for each of PROGNAME-LIST
   3841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3842 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3843 do
   3844   IFS=$as_save_IFS
   3845   test -z "$as_dir" && as_dir=.
   3846   for ac_prog in grep ggrep; do
   3847   for ac_exec_ext in '' $ac_executable_extensions; do
   3848     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3849     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3850     # Check for GNU ac_path_GREP and select it if it is found.
   3851   # Check for GNU $ac_path_GREP
   3852 case `"$ac_path_GREP" --version 2>&1` in
   3853 *GNU*)
   3854   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3855 *)
   3856   ac_count=0
   3857   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3858   while :
   3859   do
   3860     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3861     mv "conftest.tmp" "conftest.in"
   3862     cp "conftest.in" "conftest.nl"
   3863     echo 'GREP' >> "conftest.nl"
   3864     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3865     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3866     ac_count=`expr $ac_count + 1`
   3867     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3868       # Best one so far, save it but keep looking for a better one
   3869       ac_cv_path_GREP="$ac_path_GREP"
   3870       ac_path_GREP_max=$ac_count
   3871     fi
   3872     # 10*(2^10) chars as input seems more than enough
   3873     test $ac_count -gt 10 && break
   3874   done
   3875   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3876 esac
   3877 
   3878 
   3879     $ac_path_GREP_found && break 3
   3880   done
   3881 done
   3882 
   3883 done
   3884 IFS=$as_save_IFS
   3885 
   3886 
   3887 fi
   3888 
   3889 GREP="$ac_cv_path_GREP"
   3890 if test -z "$GREP"; then
   3891   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3892 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3893    { (exit 1); exit 1; }; }
   3894 fi
   3895 
   3896 else
   3897   ac_cv_path_GREP=$GREP
   3898 fi
   3899 
   3900 
   3901 fi
   3902 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3903 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3904  GREP="$ac_cv_path_GREP"
   3905 
   3906 
   3907 { echo "$as_me:$LINENO: checking for egrep" >&5
   3908 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3909 if test "${ac_cv_path_EGREP+set}" = set; then
   3910   echo $ECHO_N "(cached) $ECHO_C" >&6
   3911 else
   3912   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3913    then ac_cv_path_EGREP="$GREP -E"
   3914    else
   3915      # Extract the first word of "egrep" to use in msg output
   3916 if test -z "$EGREP"; then
   3917 set dummy egrep; ac_prog_name=$2
   3918 if test "${ac_cv_path_EGREP+set}" = set; then
   3919   echo $ECHO_N "(cached) $ECHO_C" >&6
   3920 else
   3921   ac_path_EGREP_found=false
   3922 # Loop through the user's path and test for each of PROGNAME-LIST
   3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3924 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3925 do
   3926   IFS=$as_save_IFS
   3927   test -z "$as_dir" && as_dir=.
   3928   for ac_prog in egrep; do
   3929   for ac_exec_ext in '' $ac_executable_extensions; do
   3930     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3931     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3932     # Check for GNU ac_path_EGREP and select it if it is found.
   3933   # Check for GNU $ac_path_EGREP
   3934 case `"$ac_path_EGREP" --version 2>&1` in
   3935 *GNU*)
   3936   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3937 *)
   3938   ac_count=0
   3939   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3940   while :
   3941   do
   3942     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3943     mv "conftest.tmp" "conftest.in"
   3944     cp "conftest.in" "conftest.nl"
   3945     echo 'EGREP' >> "conftest.nl"
   3946     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3947     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3948     ac_count=`expr $ac_count + 1`
   3949     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3950       # Best one so far, save it but keep looking for a better one
   3951       ac_cv_path_EGREP="$ac_path_EGREP"
   3952       ac_path_EGREP_max=$ac_count
   3953     fi
   3954     # 10*(2^10) chars as input seems more than enough
   3955     test $ac_count -gt 10 && break
   3956   done
   3957   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3958 esac
   3959 
   3960 
   3961     $ac_path_EGREP_found && break 3
   3962   done
   3963 done
   3964 
   3965 done
   3966 IFS=$as_save_IFS
   3967 
   3968 
   3969 fi
   3970 
   3971 EGREP="$ac_cv_path_EGREP"
   3972 if test -z "$EGREP"; then
   3973   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3974 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3975    { (exit 1); exit 1; }; }
   3976 fi
   3977 
   3978 else
   3979   ac_cv_path_EGREP=$EGREP
   3980 fi
   3981 
   3982 
   3983    fi
   3984 fi
   3985 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3986 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3987  EGREP="$ac_cv_path_EGREP"
   3988 
   3989 
   3990 
   3991 # Check whether --with-gnu-ld was given.
   3992 if test "${with_gnu_ld+set}" = set; then
   3993   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   3994 else
   3995   with_gnu_ld=no
   3996 fi
   3997 
   3998 ac_prog=ld
   3999 if test "$GCC" = yes; then
   4000   # Check if gcc -print-prog-name=ld gives a path.
   4001   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4002 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   4003   case $host in
   4004   *-*-mingw*)
   4005     # gcc leaves a trailing carriage return which upsets mingw
   4006     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4007   *)
   4008     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4009   esac
   4010   case $ac_prog in
   4011     # Accept absolute paths.
   4012     [\\/]* | ?:[\\/]*)
   4013       re_direlt='/[^/][^/]*/\.\./'
   4014       # Canonicalize the pathname of ld
   4015       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4016       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4017 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4018       done
   4019       test -z "$LD" && LD="$ac_prog"
   4020       ;;
   4021   "")
   4022     # If it fails, then pretend we aren't using GCC.
   4023     ac_prog=ld
   4024     ;;
   4025   *)
   4026     # If it is relative, then search for the first ld in PATH.
   4027     with_gnu_ld=unknown
   4028     ;;
   4029   esac
   4030 elif test "$with_gnu_ld" = yes; then
   4031   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4032 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4033 else
   4034   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4035 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4036 fi
   4037 if test "${lt_cv_path_LD+set}" = set; then
   4038   echo $ECHO_N "(cached) $ECHO_C" >&6
   4039 else
   4040   if test -z "$LD"; then
   4041   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4042   for ac_dir in $PATH; do
   4043     IFS="$lt_save_ifs"
   4044     test -z "$ac_dir" && ac_dir=.
   4045     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4046       lt_cv_path_LD="$ac_dir/$ac_prog"
   4047       # Check to see if the program is GNU ld.  I'd rather use --version,
   4048       # but apparently some variants of GNU ld only accept -v.
   4049       # Break only if it was the GNU/non-GNU ld that we prefer.
   4050       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4051       *GNU* | *'with BFD'*)
   4052 	test "$with_gnu_ld" != no && break
   4053 	;;
   4054       *)
   4055 	test "$with_gnu_ld" != yes && break
   4056 	;;
   4057       esac
   4058     fi
   4059   done
   4060   IFS="$lt_save_ifs"
   4061 else
   4062   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4063 fi
   4064 fi
   4065 
   4066 LD="$lt_cv_path_LD"
   4067 if test -n "$LD"; then
   4068   { echo "$as_me:$LINENO: result: $LD" >&5
   4069 echo "${ECHO_T}$LD" >&6; }
   4070 else
   4071   { echo "$as_me:$LINENO: result: no" >&5
   4072 echo "${ECHO_T}no" >&6; }
   4073 fi
   4074 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4075 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4076    { (exit 1); exit 1; }; }
   4077 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4078 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4079 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4080   echo $ECHO_N "(cached) $ECHO_C" >&6
   4081 else
   4082   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4083 case `$LD -v 2>&1 </dev/null` in
   4084 *GNU* | *'with BFD'*)
   4085   lt_cv_prog_gnu_ld=yes
   4086   ;;
   4087 *)
   4088   lt_cv_prog_gnu_ld=no
   4089   ;;
   4090 esac
   4091 fi
   4092 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4093 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4094 with_gnu_ld=$lt_cv_prog_gnu_ld
   4095 
   4096 
   4097 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4098 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4099 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4100   echo $ECHO_N "(cached) $ECHO_C" >&6
   4101 else
   4102   lt_cv_ld_reload_flag='-r'
   4103 fi
   4104 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4105 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4106 reload_flag=$lt_cv_ld_reload_flag
   4107 case $reload_flag in
   4108 "" | " "*) ;;
   4109 *) reload_flag=" $reload_flag" ;;
   4110 esac
   4111 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4112 case $host_os in
   4113   darwin*)
   4114     if test "$GCC" = yes; then
   4115       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4116     else
   4117       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4118     fi
   4119     ;;
   4120 esac
   4121 
   4122 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4123 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4124 if test "${lt_cv_path_NM+set}" = set; then
   4125   echo $ECHO_N "(cached) $ECHO_C" >&6
   4126 else
   4127   if test -n "$NM"; then
   4128   # Let the user override the test.
   4129   lt_cv_path_NM="$NM"
   4130 else
   4131   lt_nm_to_check="${ac_tool_prefix}nm"
   4132   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4133     lt_nm_to_check="$lt_nm_to_check nm"
   4134   fi
   4135   for lt_tmp_nm in $lt_nm_to_check; do
   4136     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4137     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4138       IFS="$lt_save_ifs"
   4139       test -z "$ac_dir" && ac_dir=.
   4140       tmp_nm="$ac_dir/$lt_tmp_nm"
   4141       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4142 	# Check to see if the nm accepts a BSD-compat flag.
   4143 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4144 	#   nm: unknown option "B" ignored
   4145 	# Tru64's nm complains that /dev/null is an invalid object file
   4146 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4147 	*/dev/null* | *'Invalid file or object type'*)
   4148 	  lt_cv_path_NM="$tmp_nm -B"
   4149 	  break
   4150 	  ;;
   4151 	*)
   4152 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4153 	  */dev/null*)
   4154 	    lt_cv_path_NM="$tmp_nm -p"
   4155 	    break
   4156 	    ;;
   4157 	  *)
   4158 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4159 	    continue # so that we can try to find one that supports BSD flags
   4160 	    ;;
   4161 	  esac
   4162 	  ;;
   4163 	esac
   4164       fi
   4165     done
   4166     IFS="$lt_save_ifs"
   4167   done
   4168   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4169 fi
   4170 fi
   4171 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4172 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4173 NM="$lt_cv_path_NM"
   4174 
   4175 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4176 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4177 LN_S=$as_ln_s
   4178 if test "$LN_S" = "ln -s"; then
   4179   { echo "$as_me:$LINENO: result: yes" >&5
   4180 echo "${ECHO_T}yes" >&6; }
   4181 else
   4182   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4183 echo "${ECHO_T}no, using $LN_S" >&6; }
   4184 fi
   4185 
   4186 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   4187 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
   4188 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4189   echo $ECHO_N "(cached) $ECHO_C" >&6
   4190 else
   4191   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4192 lt_cv_file_magic_test_file=
   4193 lt_cv_deplibs_check_method='unknown'
   4194 # Need to set the preceding variable on all platforms that support
   4195 # interlibrary dependencies.
   4196 # 'none' -- dependencies not supported.
   4197 # `unknown' -- same as none, but documents that we really don't know.
   4198 # 'pass_all' -- all dependencies passed with no checks.
   4199 # 'test_compile' -- check by making test program.
   4200 # 'file_magic [[regex]]' -- check by looking for files in library path
   4201 # which responds to the $file_magic_cmd with a given extended regex.
   4202 # If you have `file' or equivalent on your system and you're not sure
   4203 # whether `pass_all' will *always* work, you probably want this one.
   4204 
   4205 case $host_os in
   4206 aix4* | aix5*)
   4207   lt_cv_deplibs_check_method=pass_all
   4208   ;;
   4209 
   4210 beos*)
   4211   lt_cv_deplibs_check_method=pass_all
   4212   ;;
   4213 
   4214 bsdi[45]*)
   4215   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4216   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4217   lt_cv_file_magic_test_file=/shlib/libc.so
   4218   ;;
   4219 
   4220 cygwin*)
   4221   # func_win32_libid is a shell function defined in ltmain.sh
   4222   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4223   lt_cv_file_magic_cmd='func_win32_libid'
   4224   ;;
   4225 
   4226 mingw* | pw32*)
   4227   # Base MSYS/MinGW do not provide the 'file' command needed by
   4228   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   4229   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4230   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4231   ;;
   4232 
   4233 darwin* | rhapsody*)
   4234   lt_cv_deplibs_check_method=pass_all
   4235   ;;
   4236 
   4237 freebsd* | kfreebsd*-gnu | dragonfly*)
   4238   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4239     case $host_cpu in
   4240     i*86 )
   4241       # Not sure whether the presence of OpenBSD here was a mistake.
   4242       # Let's accept both of them until this is cleared up.
   4243       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4244       lt_cv_file_magic_cmd=/usr/bin/file
   4245       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4246       ;;
   4247     esac
   4248   else
   4249     lt_cv_deplibs_check_method=pass_all
   4250   fi
   4251   ;;
   4252 
   4253 gnu*)
   4254   lt_cv_deplibs_check_method=pass_all
   4255   ;;
   4256 
   4257 hpux10.20* | hpux11*)
   4258   lt_cv_file_magic_cmd=/usr/bin/file
   4259   case $host_cpu in
   4260   ia64*)
   4261     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4262     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4263     ;;
   4264   hppa*64*)
   4265     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   4266     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4267     ;;
   4268   *)
   4269     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4270     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4271     ;;
   4272   esac
   4273   ;;
   4274 
   4275 interix3*)
   4276   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4277   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4278   ;;
   4279 
   4280 irix5* | irix6* | nonstopux*)
   4281   case $LD in
   4282   *-32|*"-32 ") libmagic=32-bit;;
   4283   *-n32|*"-n32 ") libmagic=N32;;
   4284   *-64|*"-64 ") libmagic=64-bit;;
   4285   *) libmagic=never-match;;
   4286   esac
   4287   lt_cv_deplibs_check_method=pass_all
   4288   ;;
   4289 
   4290 # This must be Linux ELF.
   4291 linux*)
   4292   lt_cv_deplibs_check_method=pass_all
   4293   ;;
   4294 
   4295 netbsd*)
   4296   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4297     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4298   else
   4299     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4300   fi
   4301   ;;
   4302 
   4303 newos6*)
   4304   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4305   lt_cv_file_magic_cmd=/usr/bin/file
   4306   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4307   ;;
   4308 
   4309 nto-qnx*)
   4310   lt_cv_deplibs_check_method=unknown
   4311   ;;
   4312 
   4313 openbsd*)
   4314   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4315     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4316   else
   4317     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4318   fi
   4319   ;;
   4320 
   4321 osf3* | osf4* | osf5*)
   4322   lt_cv_deplibs_check_method=pass_all
   4323   ;;
   4324 
   4325 solaris*)
   4326   lt_cv_deplibs_check_method=pass_all
   4327   ;;
   4328 
   4329 sysv4 | sysv4.3*)
   4330   case $host_vendor in
   4331   motorola)
   4332     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]'
   4333     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4334     ;;
   4335   ncr)
   4336     lt_cv_deplibs_check_method=pass_all
   4337     ;;
   4338   sequent)
   4339     lt_cv_file_magic_cmd='/bin/file'
   4340     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4341     ;;
   4342   sni)
   4343     lt_cv_file_magic_cmd='/bin/file'
   4344     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4345     lt_cv_file_magic_test_file=/lib/libc.so
   4346     ;;
   4347   siemens)
   4348     lt_cv_deplibs_check_method=pass_all
   4349     ;;
   4350   pc)
   4351     lt_cv_deplibs_check_method=pass_all
   4352     ;;
   4353   esac
   4354   ;;
   4355 
   4356 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4357   lt_cv_deplibs_check_method=pass_all
   4358   ;;
   4359 esac
   4360 
   4361 fi
   4362 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4363 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4364 file_magic_cmd=$lt_cv_file_magic_cmd
   4365 deplibs_check_method=$lt_cv_deplibs_check_method
   4366 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4367 
   4368 
   4369 
   4370 
   4371 # If no C compiler was specified, use CC.
   4372 LTCC=${LTCC-"$CC"}
   4373 
   4374 # If no C compiler flags were specified, use CFLAGS.
   4375 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4376 
   4377 # Allow CC to be a program name with arguments.
   4378 compiler=$CC
   4379 
   4380 
   4381 # Check whether --enable-libtool-lock was given.
   4382 if test "${enable_libtool_lock+set}" = set; then
   4383   enableval=$enable_libtool_lock;
   4384 fi
   4385 
   4386 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4387 
   4388 # Some flags need to be propagated to the compiler or linker for good
   4389 # libtool support.
   4390 case $host in
   4391 ia64-*-hpux*)
   4392   # Find out which ABI we are using.
   4393   echo 'int i;' > conftest.$ac_ext
   4394   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4395   (eval $ac_compile) 2>&5
   4396   ac_status=$?
   4397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4398   (exit $ac_status); }; then
   4399     case `/usr/bin/file conftest.$ac_objext` in
   4400     *ELF-32*)
   4401       HPUX_IA64_MODE="32"
   4402       ;;
   4403     *ELF-64*)
   4404       HPUX_IA64_MODE="64"
   4405       ;;
   4406     esac
   4407   fi
   4408   rm -rf conftest*
   4409   ;;
   4410 *-*-irix6*)
   4411   # Find out which ABI we are using.
   4412   echo '#line 4412 "configure"' > conftest.$ac_ext
   4413   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4414   (eval $ac_compile) 2>&5
   4415   ac_status=$?
   4416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4417   (exit $ac_status); }; then
   4418    if test "$lt_cv_prog_gnu_ld" = yes; then
   4419     case `/usr/bin/file conftest.$ac_objext` in
   4420     *32-bit*)
   4421       LD="${LD-ld} -melf32bsmip"
   4422       ;;
   4423     *N32*)
   4424       LD="${LD-ld} -melf32bmipn32"
   4425       ;;
   4426     *64-bit*)
   4427       LD="${LD-ld} -melf64bmip"
   4428       ;;
   4429     esac
   4430    else
   4431     case `/usr/bin/file conftest.$ac_objext` in
   4432     *32-bit*)
   4433       LD="${LD-ld} -32"
   4434       ;;
   4435     *N32*)
   4436       LD="${LD-ld} -n32"
   4437       ;;
   4438     *64-bit*)
   4439       LD="${LD-ld} -64"
   4440       ;;
   4441     esac
   4442    fi
   4443   fi
   4444   rm -rf conftest*
   4445   ;;
   4446 
   4447 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   4448   # Find out which ABI we are using.
   4449   echo 'int i;' > conftest.$ac_ext
   4450   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4451   (eval $ac_compile) 2>&5
   4452   ac_status=$?
   4453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4454   (exit $ac_status); }; then
   4455     case `/usr/bin/file conftest.o` in
   4456     *32-bit*)
   4457       case $host in
   4458         x86_64-*linux*)
   4459           LD="${LD-ld} -m elf_i386"
   4460           ;;
   4461         ppc64-*linux*|powerpc64-*linux*)
   4462           LD="${LD-ld} -m elf32ppclinux"
   4463           ;;
   4464         s390x-*linux*)
   4465           LD="${LD-ld} -m elf_s390"
   4466           ;;
   4467         sparc64-*linux*)
   4468           LD="${LD-ld} -m elf32_sparc"
   4469           ;;
   4470       esac
   4471       ;;
   4472     *64-bit*)
   4473       case $host in
   4474         x86_64-*linux*)
   4475           LD="${LD-ld} -m elf_x86_64"
   4476           ;;
   4477         ppc*-*linux*|powerpc*-*linux*)
   4478           LD="${LD-ld} -m elf64ppc"
   4479           ;;
   4480         s390*-*linux*)
   4481           LD="${LD-ld} -m elf64_s390"
   4482           ;;
   4483         sparc*-*linux*)
   4484           LD="${LD-ld} -m elf64_sparc"
   4485           ;;
   4486       esac
   4487       ;;
   4488     esac
   4489   fi
   4490   rm -rf conftest*
   4491   ;;
   4492 
   4493 *-*-sco3.2v5*)
   4494   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4495   SAVE_CFLAGS="$CFLAGS"
   4496   CFLAGS="$CFLAGS -belf"
   4497   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4498 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4499 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4500   echo $ECHO_N "(cached) $ECHO_C" >&6
   4501 else
   4502   ac_ext=c
   4503 ac_cpp='$CPP $CPPFLAGS'
   4504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4507 
   4508      cat >conftest.$ac_ext <<_ACEOF
   4509 /* confdefs.h.  */
   4510 _ACEOF
   4511 cat confdefs.h >>conftest.$ac_ext
   4512 cat >>conftest.$ac_ext <<_ACEOF
   4513 /* end confdefs.h.  */
   4514 
   4515 int
   4516 main ()
   4517 {
   4518 
   4519   ;
   4520   return 0;
   4521 }
   4522 _ACEOF
   4523 rm -f conftest.$ac_objext conftest$ac_exeext
   4524 if { (ac_try="$ac_link"
   4525 case "(($ac_try" in
   4526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4527   *) ac_try_echo=$ac_try;;
   4528 esac
   4529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4530   (eval "$ac_link") 2>conftest.er1
   4531   ac_status=$?
   4532   grep -v '^ *+' conftest.er1 >conftest.err
   4533   rm -f conftest.er1
   4534   cat conftest.err >&5
   4535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4536   (exit $ac_status); } && {
   4537 	 test -z "$ac_c_werror_flag" ||
   4538 	 test ! -s conftest.err
   4539        } && test -s conftest$ac_exeext &&
   4540        $as_test_x conftest$ac_exeext; then
   4541   lt_cv_cc_needs_belf=yes
   4542 else
   4543   echo "$as_me: failed program was:" >&5
   4544 sed 's/^/| /' conftest.$ac_ext >&5
   4545 
   4546 	lt_cv_cc_needs_belf=no
   4547 fi
   4548 
   4549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4550       conftest$ac_exeext conftest.$ac_ext
   4551      ac_ext=c
   4552 ac_cpp='$CPP $CPPFLAGS'
   4553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4556 
   4557 fi
   4558 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4559 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4560   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4561     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4562     CFLAGS="$SAVE_CFLAGS"
   4563   fi
   4564   ;;
   4565 sparc*-*solaris*)
   4566   # Find out which ABI we are using.
   4567   echo 'int i;' > conftest.$ac_ext
   4568   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4569   (eval $ac_compile) 2>&5
   4570   ac_status=$?
   4571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4572   (exit $ac_status); }; then
   4573     case `/usr/bin/file conftest.o` in
   4574     *64-bit*)
   4575       case $lt_cv_prog_gnu_ld in
   4576       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4577       *)    LD="${LD-ld} -64" ;;
   4578       esac
   4579       ;;
   4580     esac
   4581   fi
   4582   rm -rf conftest*
   4583   ;;
   4584 
   4585 
   4586 esac
   4587 
   4588 need_locks="$enable_libtool_lock"
   4589 
   4590 
   4591 ac_ext=c
   4592 ac_cpp='$CPP $CPPFLAGS'
   4593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4596 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4597 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4598 # On Suns, sometimes $CPP names a directory.
   4599 if test -n "$CPP" && test -d "$CPP"; then
   4600   CPP=
   4601 fi
   4602 if test -z "$CPP"; then
   4603   if test "${ac_cv_prog_CPP+set}" = set; then
   4604   echo $ECHO_N "(cached) $ECHO_C" >&6
   4605 else
   4606       # Double quotes because CPP needs to be expanded
   4607     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4608     do
   4609       ac_preproc_ok=false
   4610 for ac_c_preproc_warn_flag in '' yes
   4611 do
   4612   # Use a header file that comes with gcc, so configuring glibc
   4613   # with a fresh cross-compiler works.
   4614   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4615   # <limits.h> exists even on freestanding compilers.
   4616   # On the NeXT, cc -E runs the code through the compiler's parser,
   4617   # not just through cpp. "Syntax error" is here to catch this case.
   4618   cat >conftest.$ac_ext <<_ACEOF
   4619 /* confdefs.h.  */
   4620 _ACEOF
   4621 cat confdefs.h >>conftest.$ac_ext
   4622 cat >>conftest.$ac_ext <<_ACEOF
   4623 /* end confdefs.h.  */
   4624 #ifdef __STDC__
   4625 # include <limits.h>
   4626 #else
   4627 # include <assert.h>
   4628 #endif
   4629 		     Syntax error
   4630 _ACEOF
   4631 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4632 case "(($ac_try" in
   4633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4634   *) ac_try_echo=$ac_try;;
   4635 esac
   4636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4637   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4638   ac_status=$?
   4639   grep -v '^ *+' conftest.er1 >conftest.err
   4640   rm -f conftest.er1
   4641   cat conftest.err >&5
   4642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4643   (exit $ac_status); } >/dev/null && {
   4644 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4645 	 test ! -s conftest.err
   4646        }; then
   4647   :
   4648 else
   4649   echo "$as_me: failed program was:" >&5
   4650 sed 's/^/| /' conftest.$ac_ext >&5
   4651 
   4652   # Broken: fails on valid input.
   4653 continue
   4654 fi
   4655 
   4656 rm -f conftest.err conftest.$ac_ext
   4657 
   4658   # OK, works on sane cases.  Now check whether nonexistent headers
   4659   # can be detected and how.
   4660   cat >conftest.$ac_ext <<_ACEOF
   4661 /* confdefs.h.  */
   4662 _ACEOF
   4663 cat confdefs.h >>conftest.$ac_ext
   4664 cat >>conftest.$ac_ext <<_ACEOF
   4665 /* end confdefs.h.  */
   4666 #include <ac_nonexistent.h>
   4667 _ACEOF
   4668 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4669 case "(($ac_try" in
   4670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4671   *) ac_try_echo=$ac_try;;
   4672 esac
   4673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4674   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4675   ac_status=$?
   4676   grep -v '^ *+' conftest.er1 >conftest.err
   4677   rm -f conftest.er1
   4678   cat conftest.err >&5
   4679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4680   (exit $ac_status); } >/dev/null && {
   4681 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4682 	 test ! -s conftest.err
   4683        }; then
   4684   # Broken: success on invalid input.
   4685 continue
   4686 else
   4687   echo "$as_me: failed program was:" >&5
   4688 sed 's/^/| /' conftest.$ac_ext >&5
   4689 
   4690   # Passes both tests.
   4691 ac_preproc_ok=:
   4692 break
   4693 fi
   4694 
   4695 rm -f conftest.err conftest.$ac_ext
   4696 
   4697 done
   4698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4699 rm -f conftest.err conftest.$ac_ext
   4700 if $ac_preproc_ok; then
   4701   break
   4702 fi
   4703 
   4704     done
   4705     ac_cv_prog_CPP=$CPP
   4706 
   4707 fi
   4708   CPP=$ac_cv_prog_CPP
   4709 else
   4710   ac_cv_prog_CPP=$CPP
   4711 fi
   4712 { echo "$as_me:$LINENO: result: $CPP" >&5
   4713 echo "${ECHO_T}$CPP" >&6; }
   4714 ac_preproc_ok=false
   4715 for ac_c_preproc_warn_flag in '' yes
   4716 do
   4717   # Use a header file that comes with gcc, so configuring glibc
   4718   # with a fresh cross-compiler works.
   4719   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4720   # <limits.h> exists even on freestanding compilers.
   4721   # On the NeXT, cc -E runs the code through the compiler's parser,
   4722   # not just through cpp. "Syntax error" is here to catch this case.
   4723   cat >conftest.$ac_ext <<_ACEOF
   4724 /* confdefs.h.  */
   4725 _ACEOF
   4726 cat confdefs.h >>conftest.$ac_ext
   4727 cat >>conftest.$ac_ext <<_ACEOF
   4728 /* end confdefs.h.  */
   4729 #ifdef __STDC__
   4730 # include <limits.h>
   4731 #else
   4732 # include <assert.h>
   4733 #endif
   4734 		     Syntax error
   4735 _ACEOF
   4736 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4737 case "(($ac_try" in
   4738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4739   *) ac_try_echo=$ac_try;;
   4740 esac
   4741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4742   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4743   ac_status=$?
   4744   grep -v '^ *+' conftest.er1 >conftest.err
   4745   rm -f conftest.er1
   4746   cat conftest.err >&5
   4747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4748   (exit $ac_status); } >/dev/null && {
   4749 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4750 	 test ! -s conftest.err
   4751        }; then
   4752   :
   4753 else
   4754   echo "$as_me: failed program was:" >&5
   4755 sed 's/^/| /' conftest.$ac_ext >&5
   4756 
   4757   # Broken: fails on valid input.
   4758 continue
   4759 fi
   4760 
   4761 rm -f conftest.err conftest.$ac_ext
   4762 
   4763   # OK, works on sane cases.  Now check whether nonexistent headers
   4764   # can be detected and how.
   4765   cat >conftest.$ac_ext <<_ACEOF
   4766 /* confdefs.h.  */
   4767 _ACEOF
   4768 cat confdefs.h >>conftest.$ac_ext
   4769 cat >>conftest.$ac_ext <<_ACEOF
   4770 /* end confdefs.h.  */
   4771 #include <ac_nonexistent.h>
   4772 _ACEOF
   4773 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4774 case "(($ac_try" in
   4775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4776   *) ac_try_echo=$ac_try;;
   4777 esac
   4778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4779   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4780   ac_status=$?
   4781   grep -v '^ *+' conftest.er1 >conftest.err
   4782   rm -f conftest.er1
   4783   cat conftest.err >&5
   4784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4785   (exit $ac_status); } >/dev/null && {
   4786 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4787 	 test ! -s conftest.err
   4788        }; then
   4789   # Broken: success on invalid input.
   4790 continue
   4791 else
   4792   echo "$as_me: failed program was:" >&5
   4793 sed 's/^/| /' conftest.$ac_ext >&5
   4794 
   4795   # Passes both tests.
   4796 ac_preproc_ok=:
   4797 break
   4798 fi
   4799 
   4800 rm -f conftest.err conftest.$ac_ext
   4801 
   4802 done
   4803 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4804 rm -f conftest.err conftest.$ac_ext
   4805 if $ac_preproc_ok; then
   4806   :
   4807 else
   4808   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4809 See \`config.log' for more details." >&5
   4810 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4811 See \`config.log' for more details." >&2;}
   4812    { (exit 1); exit 1; }; }
   4813 fi
   4814 
   4815 ac_ext=c
   4816 ac_cpp='$CPP $CPPFLAGS'
   4817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4820 
   4821 
   4822 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4823 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4824 if test "${ac_cv_header_stdc+set}" = set; then
   4825   echo $ECHO_N "(cached) $ECHO_C" >&6
   4826 else
   4827   cat >conftest.$ac_ext <<_ACEOF
   4828 /* confdefs.h.  */
   4829 _ACEOF
   4830 cat confdefs.h >>conftest.$ac_ext
   4831 cat >>conftest.$ac_ext <<_ACEOF
   4832 /* end confdefs.h.  */
   4833 #include <stdlib.h>
   4834 #include <stdarg.h>
   4835 #include <string.h>
   4836 #include <float.h>
   4837 
   4838 int
   4839 main ()
   4840 {
   4841 
   4842   ;
   4843   return 0;
   4844 }
   4845 _ACEOF
   4846 rm -f conftest.$ac_objext
   4847 if { (ac_try="$ac_compile"
   4848 case "(($ac_try" in
   4849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4850   *) ac_try_echo=$ac_try;;
   4851 esac
   4852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4853   (eval "$ac_compile") 2>conftest.er1
   4854   ac_status=$?
   4855   grep -v '^ *+' conftest.er1 >conftest.err
   4856   rm -f conftest.er1
   4857   cat conftest.err >&5
   4858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4859   (exit $ac_status); } && {
   4860 	 test -z "$ac_c_werror_flag" ||
   4861 	 test ! -s conftest.err
   4862        } && test -s conftest.$ac_objext; then
   4863   ac_cv_header_stdc=yes
   4864 else
   4865   echo "$as_me: failed program was:" >&5
   4866 sed 's/^/| /' conftest.$ac_ext >&5
   4867 
   4868 	ac_cv_header_stdc=no
   4869 fi
   4870 
   4871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4872 
   4873 if test $ac_cv_header_stdc = yes; then
   4874   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4875   cat >conftest.$ac_ext <<_ACEOF
   4876 /* confdefs.h.  */
   4877 _ACEOF
   4878 cat confdefs.h >>conftest.$ac_ext
   4879 cat >>conftest.$ac_ext <<_ACEOF
   4880 /* end confdefs.h.  */
   4881 #include <string.h>
   4882 
   4883 _ACEOF
   4884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4885   $EGREP "memchr" >/dev/null 2>&1; then
   4886   :
   4887 else
   4888   ac_cv_header_stdc=no
   4889 fi
   4890 rm -f conftest*
   4891 
   4892 fi
   4893 
   4894 if test $ac_cv_header_stdc = yes; then
   4895   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4896   cat >conftest.$ac_ext <<_ACEOF
   4897 /* confdefs.h.  */
   4898 _ACEOF
   4899 cat confdefs.h >>conftest.$ac_ext
   4900 cat >>conftest.$ac_ext <<_ACEOF
   4901 /* end confdefs.h.  */
   4902 #include <stdlib.h>
   4903 
   4904 _ACEOF
   4905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4906   $EGREP "free" >/dev/null 2>&1; then
   4907   :
   4908 else
   4909   ac_cv_header_stdc=no
   4910 fi
   4911 rm -f conftest*
   4912 
   4913 fi
   4914 
   4915 if test $ac_cv_header_stdc = yes; then
   4916   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4917   if test "$cross_compiling" = yes; then
   4918   :
   4919 else
   4920   cat >conftest.$ac_ext <<_ACEOF
   4921 /* confdefs.h.  */
   4922 _ACEOF
   4923 cat confdefs.h >>conftest.$ac_ext
   4924 cat >>conftest.$ac_ext <<_ACEOF
   4925 /* end confdefs.h.  */
   4926 #include <ctype.h>
   4927 #include <stdlib.h>
   4928 #if ((' ' & 0x0FF) == 0x020)
   4929 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4930 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4931 #else
   4932 # define ISLOWER(c) \
   4933 		   (('a' <= (c) && (c) <= 'i') \
   4934 		     || ('j' <= (c) && (c) <= 'r') \
   4935 		     || ('s' <= (c) && (c) <= 'z'))
   4936 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4937 #endif
   4938 
   4939 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4940 int
   4941 main ()
   4942 {
   4943   int i;
   4944   for (i = 0; i < 256; i++)
   4945     if (XOR (islower (i), ISLOWER (i))
   4946 	|| toupper (i) != TOUPPER (i))
   4947       return 2;
   4948   return 0;
   4949 }
   4950 _ACEOF
   4951 rm -f conftest$ac_exeext
   4952 if { (ac_try="$ac_link"
   4953 case "(($ac_try" in
   4954   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4955   *) ac_try_echo=$ac_try;;
   4956 esac
   4957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4958   (eval "$ac_link") 2>&5
   4959   ac_status=$?
   4960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4961   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4962   { (case "(($ac_try" in
   4963   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4964   *) ac_try_echo=$ac_try;;
   4965 esac
   4966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4967   (eval "$ac_try") 2>&5
   4968   ac_status=$?
   4969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4970   (exit $ac_status); }; }; then
   4971   :
   4972 else
   4973   echo "$as_me: program exited with status $ac_status" >&5
   4974 echo "$as_me: failed program was:" >&5
   4975 sed 's/^/| /' conftest.$ac_ext >&5
   4976 
   4977 ( exit $ac_status )
   4978 ac_cv_header_stdc=no
   4979 fi
   4980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4981 fi
   4982 
   4983 
   4984 fi
   4985 fi
   4986 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4987 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   4988 if test $ac_cv_header_stdc = yes; then
   4989 
   4990 cat >>confdefs.h <<\_ACEOF
   4991 #define STDC_HEADERS 1
   4992 _ACEOF
   4993 
   4994 fi
   4995 
   4996 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5007 		  inttypes.h stdint.h unistd.h
   5008 do
   5009 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5010 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5012 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5013   echo $ECHO_N "(cached) $ECHO_C" >&6
   5014 else
   5015   cat >conftest.$ac_ext <<_ACEOF
   5016 /* confdefs.h.  */
   5017 _ACEOF
   5018 cat confdefs.h >>conftest.$ac_ext
   5019 cat >>conftest.$ac_ext <<_ACEOF
   5020 /* end confdefs.h.  */
   5021 $ac_includes_default
   5022 
   5023 #include <$ac_header>
   5024 _ACEOF
   5025 rm -f conftest.$ac_objext
   5026 if { (ac_try="$ac_compile"
   5027 case "(($ac_try" in
   5028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5029   *) ac_try_echo=$ac_try;;
   5030 esac
   5031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5032   (eval "$ac_compile") 2>conftest.er1
   5033   ac_status=$?
   5034   grep -v '^ *+' conftest.er1 >conftest.err
   5035   rm -f conftest.er1
   5036   cat conftest.err >&5
   5037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5038   (exit $ac_status); } && {
   5039 	 test -z "$ac_c_werror_flag" ||
   5040 	 test ! -s conftest.err
   5041        } && test -s conftest.$ac_objext; then
   5042   eval "$as_ac_Header=yes"
   5043 else
   5044   echo "$as_me: failed program was:" >&5
   5045 sed 's/^/| /' conftest.$ac_ext >&5
   5046 
   5047 	eval "$as_ac_Header=no"
   5048 fi
   5049 
   5050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5051 fi
   5052 ac_res=`eval echo '${'$as_ac_Header'}'`
   5053 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5054 echo "${ECHO_T}$ac_res" >&6; }
   5055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5056   cat >>confdefs.h <<_ACEOF
   5057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5058 _ACEOF
   5059 
   5060 fi
   5061 
   5062 done
   5063 
   5064 
   5065 
   5066 for ac_header in dlfcn.h
   5067 do
   5068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5069 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5070   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5072 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5073   echo $ECHO_N "(cached) $ECHO_C" >&6
   5074 fi
   5075 ac_res=`eval echo '${'$as_ac_Header'}'`
   5076 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5077 echo "${ECHO_T}$ac_res" >&6; }
   5078 else
   5079   # Is the header compilable?
   5080 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5081 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5082 cat >conftest.$ac_ext <<_ACEOF
   5083 /* confdefs.h.  */
   5084 _ACEOF
   5085 cat confdefs.h >>conftest.$ac_ext
   5086 cat >>conftest.$ac_ext <<_ACEOF
   5087 /* end confdefs.h.  */
   5088 $ac_includes_default
   5089 #include <$ac_header>
   5090 _ACEOF
   5091 rm -f conftest.$ac_objext
   5092 if { (ac_try="$ac_compile"
   5093 case "(($ac_try" in
   5094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5095   *) ac_try_echo=$ac_try;;
   5096 esac
   5097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5098   (eval "$ac_compile") 2>conftest.er1
   5099   ac_status=$?
   5100   grep -v '^ *+' conftest.er1 >conftest.err
   5101   rm -f conftest.er1
   5102   cat conftest.err >&5
   5103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5104   (exit $ac_status); } && {
   5105 	 test -z "$ac_c_werror_flag" ||
   5106 	 test ! -s conftest.err
   5107        } && test -s conftest.$ac_objext; then
   5108   ac_header_compiler=yes
   5109 else
   5110   echo "$as_me: failed program was:" >&5
   5111 sed 's/^/| /' conftest.$ac_ext >&5
   5112 
   5113 	ac_header_compiler=no
   5114 fi
   5115 
   5116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5117 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5118 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5119 
   5120 # Is the header present?
   5121 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5122 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5123 cat >conftest.$ac_ext <<_ACEOF
   5124 /* confdefs.h.  */
   5125 _ACEOF
   5126 cat confdefs.h >>conftest.$ac_ext
   5127 cat >>conftest.$ac_ext <<_ACEOF
   5128 /* end confdefs.h.  */
   5129 #include <$ac_header>
   5130 _ACEOF
   5131 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5132 case "(($ac_try" in
   5133   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5134   *) ac_try_echo=$ac_try;;
   5135 esac
   5136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5137   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5138   ac_status=$?
   5139   grep -v '^ *+' conftest.er1 >conftest.err
   5140   rm -f conftest.er1
   5141   cat conftest.err >&5
   5142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5143   (exit $ac_status); } >/dev/null && {
   5144 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5145 	 test ! -s conftest.err
   5146        }; then
   5147   ac_header_preproc=yes
   5148 else
   5149   echo "$as_me: failed program was:" >&5
   5150 sed 's/^/| /' conftest.$ac_ext >&5
   5151 
   5152   ac_header_preproc=no
   5153 fi
   5154 
   5155 rm -f conftest.err conftest.$ac_ext
   5156 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5157 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5158 
   5159 # So?  What about this header?
   5160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5161   yes:no: )
   5162     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5163 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5164     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5165 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5166     ac_header_preproc=yes
   5167     ;;
   5168   no:yes:* )
   5169     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5170 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5171     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5172 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5173     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5174 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5175     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5176 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5177     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5178 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5179     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5180 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5181     ( cat <<\_ASBOX
   5182 ## ---------------------------------------------------------------------- ##
   5183 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5184 ## ---------------------------------------------------------------------- ##
   5185 _ASBOX
   5186      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5187     ;;
   5188 esac
   5189 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5191 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5192   echo $ECHO_N "(cached) $ECHO_C" >&6
   5193 else
   5194   eval "$as_ac_Header=\$ac_header_preproc"
   5195 fi
   5196 ac_res=`eval echo '${'$as_ac_Header'}'`
   5197 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5198 echo "${ECHO_T}$ac_res" >&6; }
   5199 
   5200 fi
   5201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5202   cat >>confdefs.h <<_ACEOF
   5203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5204 _ACEOF
   5205 
   5206 fi
   5207 
   5208 done
   5209 
   5210 ac_ext=cpp
   5211 ac_cpp='$CXXCPP $CPPFLAGS'
   5212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5215 if test -z "$CXX"; then
   5216   if test -n "$CCC"; then
   5217     CXX=$CCC
   5218   else
   5219     if test -n "$ac_tool_prefix"; then
   5220   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5221   do
   5222     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5223 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5226 if test "${ac_cv_prog_CXX+set}" = set; then
   5227   echo $ECHO_N "(cached) $ECHO_C" >&6
   5228 else
   5229   if test -n "$CXX"; then
   5230   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5231 else
   5232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5233 for as_dir in $PATH
   5234 do
   5235   IFS=$as_save_IFS
   5236   test -z "$as_dir" && as_dir=.
   5237   for ac_exec_ext in '' $ac_executable_extensions; do
   5238   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5239     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5240     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5241     break 2
   5242   fi
   5243 done
   5244 done
   5245 IFS=$as_save_IFS
   5246 
   5247 fi
   5248 fi
   5249 CXX=$ac_cv_prog_CXX
   5250 if test -n "$CXX"; then
   5251   { echo "$as_me:$LINENO: result: $CXX" >&5
   5252 echo "${ECHO_T}$CXX" >&6; }
   5253 else
   5254   { echo "$as_me:$LINENO: result: no" >&5
   5255 echo "${ECHO_T}no" >&6; }
   5256 fi
   5257 
   5258 
   5259     test -n "$CXX" && break
   5260   done
   5261 fi
   5262 if test -z "$CXX"; then
   5263   ac_ct_CXX=$CXX
   5264   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5265 do
   5266   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5267 set dummy $ac_prog; ac_word=$2
   5268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5270 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5271   echo $ECHO_N "(cached) $ECHO_C" >&6
   5272 else
   5273   if test -n "$ac_ct_CXX"; then
   5274   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5275 else
   5276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5277 for as_dir in $PATH
   5278 do
   5279   IFS=$as_save_IFS
   5280   test -z "$as_dir" && as_dir=.
   5281   for ac_exec_ext in '' $ac_executable_extensions; do
   5282   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5283     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5284     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5285     break 2
   5286   fi
   5287 done
   5288 done
   5289 IFS=$as_save_IFS
   5290 
   5291 fi
   5292 fi
   5293 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5294 if test -n "$ac_ct_CXX"; then
   5295   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5296 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5297 else
   5298   { echo "$as_me:$LINENO: result: no" >&5
   5299 echo "${ECHO_T}no" >&6; }
   5300 fi
   5301 
   5302 
   5303   test -n "$ac_ct_CXX" && break
   5304 done
   5305 
   5306   if test "x$ac_ct_CXX" = x; then
   5307     CXX="g++"
   5308   else
   5309     case $cross_compiling:$ac_tool_warned in
   5310 yes:)
   5311 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5312 whose name does not start with the host triplet.  If you think this
   5313 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5314 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5315 whose name does not start with the host triplet.  If you think this
   5316 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5317 ac_tool_warned=yes ;;
   5318 esac
   5319     CXX=$ac_ct_CXX
   5320   fi
   5321 fi
   5322 
   5323   fi
   5324 fi
   5325 # Provide some information about the compiler.
   5326 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5327 ac_compiler=`set X $ac_compile; echo $2`
   5328 { (ac_try="$ac_compiler --version >&5"
   5329 case "(($ac_try" in
   5330   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5331   *) ac_try_echo=$ac_try;;
   5332 esac
   5333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5334   (eval "$ac_compiler --version >&5") 2>&5
   5335   ac_status=$?
   5336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5337   (exit $ac_status); }
   5338 { (ac_try="$ac_compiler -v >&5"
   5339 case "(($ac_try" in
   5340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5341   *) ac_try_echo=$ac_try;;
   5342 esac
   5343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5344   (eval "$ac_compiler -v >&5") 2>&5
   5345   ac_status=$?
   5346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5347   (exit $ac_status); }
   5348 { (ac_try="$ac_compiler -V >&5"
   5349 case "(($ac_try" in
   5350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5351   *) ac_try_echo=$ac_try;;
   5352 esac
   5353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5354   (eval "$ac_compiler -V >&5") 2>&5
   5355   ac_status=$?
   5356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5357   (exit $ac_status); }
   5358 
   5359 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5360 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5361 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5362   echo $ECHO_N "(cached) $ECHO_C" >&6
   5363 else
   5364   cat >conftest.$ac_ext <<_ACEOF
   5365 /* confdefs.h.  */
   5366 _ACEOF
   5367 cat confdefs.h >>conftest.$ac_ext
   5368 cat >>conftest.$ac_ext <<_ACEOF
   5369 /* end confdefs.h.  */
   5370 
   5371 int
   5372 main ()
   5373 {
   5374 #ifndef __GNUC__
   5375        choke me
   5376 #endif
   5377 
   5378   ;
   5379   return 0;
   5380 }
   5381 _ACEOF
   5382 rm -f conftest.$ac_objext
   5383 if { (ac_try="$ac_compile"
   5384 case "(($ac_try" in
   5385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5386   *) ac_try_echo=$ac_try;;
   5387 esac
   5388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5389   (eval "$ac_compile") 2>conftest.er1
   5390   ac_status=$?
   5391   grep -v '^ *+' conftest.er1 >conftest.err
   5392   rm -f conftest.er1
   5393   cat conftest.err >&5
   5394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5395   (exit $ac_status); } && {
   5396 	 test -z "$ac_cxx_werror_flag" ||
   5397 	 test ! -s conftest.err
   5398        } && test -s conftest.$ac_objext; then
   5399   ac_compiler_gnu=yes
   5400 else
   5401   echo "$as_me: failed program was:" >&5
   5402 sed 's/^/| /' conftest.$ac_ext >&5
   5403 
   5404 	ac_compiler_gnu=no
   5405 fi
   5406 
   5407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5408 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5409 
   5410 fi
   5411 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5412 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5413 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5414 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5415 ac_save_CXXFLAGS=$CXXFLAGS
   5416 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5417 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5418 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5419   echo $ECHO_N "(cached) $ECHO_C" >&6
   5420 else
   5421   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5422    ac_cxx_werror_flag=yes
   5423    ac_cv_prog_cxx_g=no
   5424    CXXFLAGS="-g"
   5425    cat >conftest.$ac_ext <<_ACEOF
   5426 /* confdefs.h.  */
   5427 _ACEOF
   5428 cat confdefs.h >>conftest.$ac_ext
   5429 cat >>conftest.$ac_ext <<_ACEOF
   5430 /* end confdefs.h.  */
   5431 
   5432 int
   5433 main ()
   5434 {
   5435 
   5436   ;
   5437   return 0;
   5438 }
   5439 _ACEOF
   5440 rm -f conftest.$ac_objext
   5441 if { (ac_try="$ac_compile"
   5442 case "(($ac_try" in
   5443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5444   *) ac_try_echo=$ac_try;;
   5445 esac
   5446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5447   (eval "$ac_compile") 2>conftest.er1
   5448   ac_status=$?
   5449   grep -v '^ *+' conftest.er1 >conftest.err
   5450   rm -f conftest.er1
   5451   cat conftest.err >&5
   5452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5453   (exit $ac_status); } && {
   5454 	 test -z "$ac_cxx_werror_flag" ||
   5455 	 test ! -s conftest.err
   5456        } && test -s conftest.$ac_objext; then
   5457   ac_cv_prog_cxx_g=yes
   5458 else
   5459   echo "$as_me: failed program was:" >&5
   5460 sed 's/^/| /' conftest.$ac_ext >&5
   5461 
   5462 	CXXFLAGS=""
   5463       cat >conftest.$ac_ext <<_ACEOF
   5464 /* confdefs.h.  */
   5465 _ACEOF
   5466 cat confdefs.h >>conftest.$ac_ext
   5467 cat >>conftest.$ac_ext <<_ACEOF
   5468 /* end confdefs.h.  */
   5469 
   5470 int
   5471 main ()
   5472 {
   5473 
   5474   ;
   5475   return 0;
   5476 }
   5477 _ACEOF
   5478 rm -f conftest.$ac_objext
   5479 if { (ac_try="$ac_compile"
   5480 case "(($ac_try" in
   5481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5482   *) ac_try_echo=$ac_try;;
   5483 esac
   5484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5485   (eval "$ac_compile") 2>conftest.er1
   5486   ac_status=$?
   5487   grep -v '^ *+' conftest.er1 >conftest.err
   5488   rm -f conftest.er1
   5489   cat conftest.err >&5
   5490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5491   (exit $ac_status); } && {
   5492 	 test -z "$ac_cxx_werror_flag" ||
   5493 	 test ! -s conftest.err
   5494        } && test -s conftest.$ac_objext; then
   5495   :
   5496 else
   5497   echo "$as_me: failed program was:" >&5
   5498 sed 's/^/| /' conftest.$ac_ext >&5
   5499 
   5500 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5501 	 CXXFLAGS="-g"
   5502 	 cat >conftest.$ac_ext <<_ACEOF
   5503 /* confdefs.h.  */
   5504 _ACEOF
   5505 cat confdefs.h >>conftest.$ac_ext
   5506 cat >>conftest.$ac_ext <<_ACEOF
   5507 /* end confdefs.h.  */
   5508 
   5509 int
   5510 main ()
   5511 {
   5512 
   5513   ;
   5514   return 0;
   5515 }
   5516 _ACEOF
   5517 rm -f conftest.$ac_objext
   5518 if { (ac_try="$ac_compile"
   5519 case "(($ac_try" in
   5520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5521   *) ac_try_echo=$ac_try;;
   5522 esac
   5523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5524   (eval "$ac_compile") 2>conftest.er1
   5525   ac_status=$?
   5526   grep -v '^ *+' conftest.er1 >conftest.err
   5527   rm -f conftest.er1
   5528   cat conftest.err >&5
   5529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5530   (exit $ac_status); } && {
   5531 	 test -z "$ac_cxx_werror_flag" ||
   5532 	 test ! -s conftest.err
   5533        } && test -s conftest.$ac_objext; then
   5534   ac_cv_prog_cxx_g=yes
   5535 else
   5536   echo "$as_me: failed program was:" >&5
   5537 sed 's/^/| /' conftest.$ac_ext >&5
   5538 
   5539 
   5540 fi
   5541 
   5542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5543 fi
   5544 
   5545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5546 fi
   5547 
   5548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5549    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5550 fi
   5551 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5552 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5553 if test "$ac_test_CXXFLAGS" = set; then
   5554   CXXFLAGS=$ac_save_CXXFLAGS
   5555 elif test $ac_cv_prog_cxx_g = yes; then
   5556   if test "$GXX" = yes; then
   5557     CXXFLAGS="-g -O2"
   5558   else
   5559     CXXFLAGS="-g"
   5560   fi
   5561 else
   5562   if test "$GXX" = yes; then
   5563     CXXFLAGS="-O2"
   5564   else
   5565     CXXFLAGS=
   5566   fi
   5567 fi
   5568 ac_ext=cpp
   5569 ac_cpp='$CXXCPP $CPPFLAGS'
   5570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5573 
   5574 depcc="$CXX"  am_compiler_list=
   5575 
   5576 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5577 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5578 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5579   echo $ECHO_N "(cached) $ECHO_C" >&6
   5580 else
   5581   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5582   # We make a subdir and do the tests there.  Otherwise we can end up
   5583   # making bogus files that we don't know about and never remove.  For
   5584   # instance it was reported that on HP-UX the gcc test will end up
   5585   # making a dummy file named `D' -- because `-MD' means `put the output
   5586   # in D'.
   5587   mkdir conftest.dir
   5588   # Copy depcomp to subdir because otherwise we won't find it if we're
   5589   # using a relative directory.
   5590   cp "$am_depcomp" conftest.dir
   5591   cd conftest.dir
   5592   # We will build objects and dependencies in a subdirectory because
   5593   # it helps to detect inapplicable dependency modes.  For instance
   5594   # both Tru64's cc and ICC support -MD to output dependencies as a
   5595   # side effect of compilation, but ICC will put the dependencies in
   5596   # the current directory while Tru64 will put them in the object
   5597   # directory.
   5598   mkdir sub
   5599 
   5600   am_cv_CXX_dependencies_compiler_type=none
   5601   if test "$am_compiler_list" = ""; then
   5602      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5603   fi
   5604   for depmode in $am_compiler_list; do
   5605     # Setup a source with many dependencies, because some compilers
   5606     # like to wrap large dependency lists on column 80 (with \), and
   5607     # we should not choose a depcomp mode which is confused by this.
   5608     #
   5609     # We need to recreate these files for each test, as the compiler may
   5610     # overwrite some of them when testing with obscure command lines.
   5611     # This happens at least with the AIX C compiler.
   5612     : > sub/conftest.c
   5613     for i in 1 2 3 4 5 6; do
   5614       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5615       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5616       # Solaris 8's {/usr,}/bin/sh.
   5617       touch sub/conftst$i.h
   5618     done
   5619     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5620 
   5621     case $depmode in
   5622     nosideeffect)
   5623       # after this tag, mechanisms are not by side-effect, so they'll
   5624       # only be used when explicitly requested
   5625       if test "x$enable_dependency_tracking" = xyes; then
   5626 	continue
   5627       else
   5628 	break
   5629       fi
   5630       ;;
   5631     none) break ;;
   5632     esac
   5633     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5634     # mode.  It turns out that the SunPro C++ compiler does not properly
   5635     # handle `-M -o', and we need to detect this.
   5636     if depmode=$depmode \
   5637        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5638        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5639        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5640          >/dev/null 2>conftest.err &&
   5641        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5642        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5643        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5644        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5645       # icc doesn't choke on unknown options, it will just issue warnings
   5646       # or remarks (even with -Werror).  So we grep stderr for any message
   5647       # that says an option was ignored or not supported.
   5648       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5649       #   icc: Command line warning: ignoring option '-M'; no argument required
   5650       # The diagnosis changed in icc 8.0:
   5651       #   icc: Command line remark: option '-MP' not supported
   5652       if (grep 'ignoring option' conftest.err ||
   5653           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5654         am_cv_CXX_dependencies_compiler_type=$depmode
   5655         break
   5656       fi
   5657     fi
   5658   done
   5659 
   5660   cd ..
   5661   rm -rf conftest.dir
   5662 else
   5663   am_cv_CXX_dependencies_compiler_type=none
   5664 fi
   5665 
   5666 fi
   5667 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5668 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5669 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5670 
   5671  if
   5672   test "x$enable_dependency_tracking" != xno \
   5673   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5674   am__fastdepCXX_TRUE=
   5675   am__fastdepCXX_FALSE='#'
   5676 else
   5677   am__fastdepCXX_TRUE='#'
   5678   am__fastdepCXX_FALSE=
   5679 fi
   5680 
   5681 
   5682 
   5683 
   5684 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5685     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5686     (test "X$CXX" != "Xg++"))) ; then
   5687   ac_ext=cpp
   5688 ac_cpp='$CXXCPP $CPPFLAGS'
   5689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5692 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5693 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5694 if test -z "$CXXCPP"; then
   5695   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5696   echo $ECHO_N "(cached) $ECHO_C" >&6
   5697 else
   5698       # Double quotes because CXXCPP needs to be expanded
   5699     for CXXCPP in "$CXX -E" "/lib/cpp"
   5700     do
   5701       ac_preproc_ok=false
   5702 for ac_cxx_preproc_warn_flag in '' yes
   5703 do
   5704   # Use a header file that comes with gcc, so configuring glibc
   5705   # with a fresh cross-compiler works.
   5706   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5707   # <limits.h> exists even on freestanding compilers.
   5708   # On the NeXT, cc -E runs the code through the compiler's parser,
   5709   # not just through cpp. "Syntax error" is here to catch this case.
   5710   cat >conftest.$ac_ext <<_ACEOF
   5711 /* confdefs.h.  */
   5712 _ACEOF
   5713 cat confdefs.h >>conftest.$ac_ext
   5714 cat >>conftest.$ac_ext <<_ACEOF
   5715 /* end confdefs.h.  */
   5716 #ifdef __STDC__
   5717 # include <limits.h>
   5718 #else
   5719 # include <assert.h>
   5720 #endif
   5721 		     Syntax error
   5722 _ACEOF
   5723 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5724 case "(($ac_try" in
   5725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5726   *) ac_try_echo=$ac_try;;
   5727 esac
   5728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5729   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5730   ac_status=$?
   5731   grep -v '^ *+' conftest.er1 >conftest.err
   5732   rm -f conftest.er1
   5733   cat conftest.err >&5
   5734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5735   (exit $ac_status); } >/dev/null && {
   5736 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5737 	 test ! -s conftest.err
   5738        }; then
   5739   :
   5740 else
   5741   echo "$as_me: failed program was:" >&5
   5742 sed 's/^/| /' conftest.$ac_ext >&5
   5743 
   5744   # Broken: fails on valid input.
   5745 continue
   5746 fi
   5747 
   5748 rm -f conftest.err conftest.$ac_ext
   5749 
   5750   # OK, works on sane cases.  Now check whether nonexistent headers
   5751   # can be detected and how.
   5752   cat >conftest.$ac_ext <<_ACEOF
   5753 /* confdefs.h.  */
   5754 _ACEOF
   5755 cat confdefs.h >>conftest.$ac_ext
   5756 cat >>conftest.$ac_ext <<_ACEOF
   5757 /* end confdefs.h.  */
   5758 #include <ac_nonexistent.h>
   5759 _ACEOF
   5760 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5761 case "(($ac_try" in
   5762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5763   *) ac_try_echo=$ac_try;;
   5764 esac
   5765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5766   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5767   ac_status=$?
   5768   grep -v '^ *+' conftest.er1 >conftest.err
   5769   rm -f conftest.er1
   5770   cat conftest.err >&5
   5771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5772   (exit $ac_status); } >/dev/null && {
   5773 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5774 	 test ! -s conftest.err
   5775        }; then
   5776   # Broken: success on invalid input.
   5777 continue
   5778 else
   5779   echo "$as_me: failed program was:" >&5
   5780 sed 's/^/| /' conftest.$ac_ext >&5
   5781 
   5782   # Passes both tests.
   5783 ac_preproc_ok=:
   5784 break
   5785 fi
   5786 
   5787 rm -f conftest.err conftest.$ac_ext
   5788 
   5789 done
   5790 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5791 rm -f conftest.err conftest.$ac_ext
   5792 if $ac_preproc_ok; then
   5793   break
   5794 fi
   5795 
   5796     done
   5797     ac_cv_prog_CXXCPP=$CXXCPP
   5798 
   5799 fi
   5800   CXXCPP=$ac_cv_prog_CXXCPP
   5801 else
   5802   ac_cv_prog_CXXCPP=$CXXCPP
   5803 fi
   5804 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5805 echo "${ECHO_T}$CXXCPP" >&6; }
   5806 ac_preproc_ok=false
   5807 for ac_cxx_preproc_warn_flag in '' yes
   5808 do
   5809   # Use a header file that comes with gcc, so configuring glibc
   5810   # with a fresh cross-compiler works.
   5811   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5812   # <limits.h> exists even on freestanding compilers.
   5813   # On the NeXT, cc -E runs the code through the compiler's parser,
   5814   # not just through cpp. "Syntax error" is here to catch this case.
   5815   cat >conftest.$ac_ext <<_ACEOF
   5816 /* confdefs.h.  */
   5817 _ACEOF
   5818 cat confdefs.h >>conftest.$ac_ext
   5819 cat >>conftest.$ac_ext <<_ACEOF
   5820 /* end confdefs.h.  */
   5821 #ifdef __STDC__
   5822 # include <limits.h>
   5823 #else
   5824 # include <assert.h>
   5825 #endif
   5826 		     Syntax error
   5827 _ACEOF
   5828 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5829 case "(($ac_try" in
   5830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5831   *) ac_try_echo=$ac_try;;
   5832 esac
   5833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5834   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5835   ac_status=$?
   5836   grep -v '^ *+' conftest.er1 >conftest.err
   5837   rm -f conftest.er1
   5838   cat conftest.err >&5
   5839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5840   (exit $ac_status); } >/dev/null && {
   5841 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5842 	 test ! -s conftest.err
   5843        }; then
   5844   :
   5845 else
   5846   echo "$as_me: failed program was:" >&5
   5847 sed 's/^/| /' conftest.$ac_ext >&5
   5848 
   5849   # Broken: fails on valid input.
   5850 continue
   5851 fi
   5852 
   5853 rm -f conftest.err conftest.$ac_ext
   5854 
   5855   # OK, works on sane cases.  Now check whether nonexistent headers
   5856   # can be detected and how.
   5857   cat >conftest.$ac_ext <<_ACEOF
   5858 /* confdefs.h.  */
   5859 _ACEOF
   5860 cat confdefs.h >>conftest.$ac_ext
   5861 cat >>conftest.$ac_ext <<_ACEOF
   5862 /* end confdefs.h.  */
   5863 #include <ac_nonexistent.h>
   5864 _ACEOF
   5865 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5866 case "(($ac_try" in
   5867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5868   *) ac_try_echo=$ac_try;;
   5869 esac
   5870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5871   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5872   ac_status=$?
   5873   grep -v '^ *+' conftest.er1 >conftest.err
   5874   rm -f conftest.er1
   5875   cat conftest.err >&5
   5876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5877   (exit $ac_status); } >/dev/null && {
   5878 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5879 	 test ! -s conftest.err
   5880        }; then
   5881   # Broken: success on invalid input.
   5882 continue
   5883 else
   5884   echo "$as_me: failed program was:" >&5
   5885 sed 's/^/| /' conftest.$ac_ext >&5
   5886 
   5887   # Passes both tests.
   5888 ac_preproc_ok=:
   5889 break
   5890 fi
   5891 
   5892 rm -f conftest.err conftest.$ac_ext
   5893 
   5894 done
   5895 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5896 rm -f conftest.err conftest.$ac_ext
   5897 if $ac_preproc_ok; then
   5898   :
   5899 else
   5900   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5901 See \`config.log' for more details." >&5
   5902 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5903 See \`config.log' for more details." >&2;}
   5904    { (exit 1); exit 1; }; }
   5905 fi
   5906 
   5907 ac_ext=cpp
   5908 ac_cpp='$CXXCPP $CPPFLAGS'
   5909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5912 
   5913 fi
   5914 
   5915 
   5916 ac_ext=f
   5917 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5918 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5919 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5920 if test -n "$ac_tool_prefix"; then
   5921   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
   5922   do
   5923     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5924 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5927 if test "${ac_cv_prog_F77+set}" = set; then
   5928   echo $ECHO_N "(cached) $ECHO_C" >&6
   5929 else
   5930   if test -n "$F77"; then
   5931   ac_cv_prog_F77="$F77" # Let the user override the test.
   5932 else
   5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5934 for as_dir in $PATH
   5935 do
   5936   IFS=$as_save_IFS
   5937   test -z "$as_dir" && as_dir=.
   5938   for ac_exec_ext in '' $ac_executable_extensions; do
   5939   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5940     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5941     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5942     break 2
   5943   fi
   5944 done
   5945 done
   5946 IFS=$as_save_IFS
   5947 
   5948 fi
   5949 fi
   5950 F77=$ac_cv_prog_F77
   5951 if test -n "$F77"; then
   5952   { echo "$as_me:$LINENO: result: $F77" >&5
   5953 echo "${ECHO_T}$F77" >&6; }
   5954 else
   5955   { echo "$as_me:$LINENO: result: no" >&5
   5956 echo "${ECHO_T}no" >&6; }
   5957 fi
   5958 
   5959 
   5960     test -n "$F77" && break
   5961   done
   5962 fi
   5963 if test -z "$F77"; then
   5964   ac_ct_F77=$F77
   5965   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
   5966 do
   5967   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5968 set dummy $ac_prog; ac_word=$2
   5969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5971 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5972   echo $ECHO_N "(cached) $ECHO_C" >&6
   5973 else
   5974   if test -n "$ac_ct_F77"; then
   5975   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5976 else
   5977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5978 for as_dir in $PATH
   5979 do
   5980   IFS=$as_save_IFS
   5981   test -z "$as_dir" && as_dir=.
   5982   for ac_exec_ext in '' $ac_executable_extensions; do
   5983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5984     ac_cv_prog_ac_ct_F77="$ac_prog"
   5985     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5986     break 2
   5987   fi
   5988 done
   5989 done
   5990 IFS=$as_save_IFS
   5991 
   5992 fi
   5993 fi
   5994 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   5995 if test -n "$ac_ct_F77"; then
   5996   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   5997 echo "${ECHO_T}$ac_ct_F77" >&6; }
   5998 else
   5999   { echo "$as_me:$LINENO: result: no" >&5
   6000 echo "${ECHO_T}no" >&6; }
   6001 fi
   6002 
   6003 
   6004   test -n "$ac_ct_F77" && break
   6005 done
   6006 
   6007   if test "x$ac_ct_F77" = x; then
   6008     F77=""
   6009   else
   6010     case $cross_compiling:$ac_tool_warned in
   6011 yes:)
   6012 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6013 whose name does not start with the host triplet.  If you think this
   6014 configuration is useful to you, please write to autoconf@gnu.org." >&5
   6015 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6016 whose name does not start with the host triplet.  If you think this
   6017 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6018 ac_tool_warned=yes ;;
   6019 esac
   6020     F77=$ac_ct_F77
   6021   fi
   6022 fi
   6023 
   6024 
   6025 # Provide some information about the compiler.
   6026 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6027 ac_compiler=`set X $ac_compile; echo $2`
   6028 { (ac_try="$ac_compiler --version >&5"
   6029 case "(($ac_try" in
   6030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6031   *) ac_try_echo=$ac_try;;
   6032 esac
   6033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6034   (eval "$ac_compiler --version >&5") 2>&5
   6035   ac_status=$?
   6036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6037   (exit $ac_status); }
   6038 { (ac_try="$ac_compiler -v >&5"
   6039 case "(($ac_try" in
   6040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6041   *) ac_try_echo=$ac_try;;
   6042 esac
   6043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6044   (eval "$ac_compiler -v >&5") 2>&5
   6045   ac_status=$?
   6046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6047   (exit $ac_status); }
   6048 { (ac_try="$ac_compiler -V >&5"
   6049 case "(($ac_try" in
   6050   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6051   *) ac_try_echo=$ac_try;;
   6052 esac
   6053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6054   (eval "$ac_compiler -V >&5") 2>&5
   6055   ac_status=$?
   6056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6057   (exit $ac_status); }
   6058 rm -f a.out
   6059 
   6060 # If we don't use `.F' as extension, the preprocessor is not run on the
   6061 # input file.  (Note that this only needs to work for GNU compilers.)
   6062 ac_save_ext=$ac_ext
   6063 ac_ext=F
   6064 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6065 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6066 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6067   echo $ECHO_N "(cached) $ECHO_C" >&6
   6068 else
   6069   cat >conftest.$ac_ext <<_ACEOF
   6070       program main
   6071 #ifndef __GNUC__
   6072        choke me
   6073 #endif
   6074 
   6075       end
   6076 _ACEOF
   6077 rm -f conftest.$ac_objext
   6078 if { (ac_try="$ac_compile"
   6079 case "(($ac_try" in
   6080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6081   *) ac_try_echo=$ac_try;;
   6082 esac
   6083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6084   (eval "$ac_compile") 2>conftest.er1
   6085   ac_status=$?
   6086   grep -v '^ *+' conftest.er1 >conftest.err
   6087   rm -f conftest.er1
   6088   cat conftest.err >&5
   6089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6090   (exit $ac_status); } && {
   6091 	 test -z "$ac_f77_werror_flag" ||
   6092 	 test ! -s conftest.err
   6093        } && test -s conftest.$ac_objext; then
   6094   ac_compiler_gnu=yes
   6095 else
   6096   echo "$as_me: failed program was:" >&5
   6097 sed 's/^/| /' conftest.$ac_ext >&5
   6098 
   6099 	ac_compiler_gnu=no
   6100 fi
   6101 
   6102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6103 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6104 
   6105 fi
   6106 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6107 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6108 ac_ext=$ac_save_ext
   6109 ac_test_FFLAGS=${FFLAGS+set}
   6110 ac_save_FFLAGS=$FFLAGS
   6111 FFLAGS=
   6112 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6113 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6114 if test "${ac_cv_prog_f77_g+set}" = set; then
   6115   echo $ECHO_N "(cached) $ECHO_C" >&6
   6116 else
   6117   FFLAGS=-g
   6118 cat >conftest.$ac_ext <<_ACEOF
   6119       program main
   6120 
   6121       end
   6122 _ACEOF
   6123 rm -f conftest.$ac_objext
   6124 if { (ac_try="$ac_compile"
   6125 case "(($ac_try" in
   6126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6127   *) ac_try_echo=$ac_try;;
   6128 esac
   6129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6130   (eval "$ac_compile") 2>conftest.er1
   6131   ac_status=$?
   6132   grep -v '^ *+' conftest.er1 >conftest.err
   6133   rm -f conftest.er1
   6134   cat conftest.err >&5
   6135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6136   (exit $ac_status); } && {
   6137 	 test -z "$ac_f77_werror_flag" ||
   6138 	 test ! -s conftest.err
   6139        } && test -s conftest.$ac_objext; then
   6140   ac_cv_prog_f77_g=yes
   6141 else
   6142   echo "$as_me: failed program was:" >&5
   6143 sed 's/^/| /' conftest.$ac_ext >&5
   6144 
   6145 	ac_cv_prog_f77_g=no
   6146 fi
   6147 
   6148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6149 
   6150 fi
   6151 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6152 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6153 if test "$ac_test_FFLAGS" = set; then
   6154   FFLAGS=$ac_save_FFLAGS
   6155 elif test $ac_cv_prog_f77_g = yes; then
   6156   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6157     FFLAGS="-g -O2"
   6158   else
   6159     FFLAGS="-g"
   6160   fi
   6161 else
   6162   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6163     FFLAGS="-O2"
   6164   else
   6165     FFLAGS=
   6166   fi
   6167 fi
   6168 
   6169 G77=`test $ac_compiler_gnu = yes && echo yes`
   6170 ac_ext=c
   6171 ac_cpp='$CPP $CPPFLAGS'
   6172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6175 
   6176 
   6177 
   6178 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6179 
   6180 # find the maximum length of command line arguments
   6181 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6182 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6183 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6184   echo $ECHO_N "(cached) $ECHO_C" >&6
   6185 else
   6186     i=0
   6187   teststring="ABCD"
   6188 
   6189   case $build_os in
   6190   msdosdjgpp*)
   6191     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6192     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6193     # during glob expansion).  Even if it were fixed, the result of this
   6194     # check would be larger than it should be.
   6195     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6196     ;;
   6197 
   6198   gnu*)
   6199     # Under GNU Hurd, this test is not required because there is
   6200     # no limit to the length of command line arguments.
   6201     # Libtool will interpret -1 as no limit whatsoever
   6202     lt_cv_sys_max_cmd_len=-1;
   6203     ;;
   6204 
   6205   cygwin* | mingw*)
   6206     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6207     # about 5 minutes as the teststring grows exponentially.
   6208     # Worse, since 9x/ME are not pre-emptively multitasking,
   6209     # you end up with a "frozen" computer, even though with patience
   6210     # the test eventually succeeds (with a max line length of 256k).
   6211     # Instead, let's just punt: use the minimum linelength reported by
   6212     # all of the supported platforms: 8192 (on NT/2K/XP).
   6213     lt_cv_sys_max_cmd_len=8192;
   6214     ;;
   6215 
   6216   amigaos*)
   6217     # On AmigaOS with pdksh, this test takes hours, literally.
   6218     # So we just punt and use a minimum line length of 8192.
   6219     lt_cv_sys_max_cmd_len=8192;
   6220     ;;
   6221 
   6222   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6223     # This has been around since 386BSD, at least.  Likely further.
   6224     if test -x /sbin/sysctl; then
   6225       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6226     elif test -x /usr/sbin/sysctl; then
   6227       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6228     else
   6229       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6230     fi
   6231     # And add a safety zone
   6232     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6233     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6234     ;;
   6235 
   6236   interix*)
   6237     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6238     lt_cv_sys_max_cmd_len=196608
   6239     ;;
   6240 
   6241   osf*)
   6242     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6243     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6244     # nice to cause kernel panics so lets avoid the loop below.
   6245     # First set a reasonable default.
   6246     lt_cv_sys_max_cmd_len=16384
   6247     #
   6248     if test -x /sbin/sysconfig; then
   6249       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6250         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6251       esac
   6252     fi
   6253     ;;
   6254   sco3.2v5*)
   6255     lt_cv_sys_max_cmd_len=102400
   6256     ;;
   6257   sysv5* | sco5v6* | sysv4.2uw2*)
   6258     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6259     if test -n "$kargmax"; then
   6260       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6261     else
   6262       lt_cv_sys_max_cmd_len=32768
   6263     fi
   6264     ;;
   6265   *)
   6266     # If test is not a shell built-in, we'll probably end up computing a
   6267     # maximum length that is only half of the actual maximum length, but
   6268     # we can't tell.
   6269     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6270     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6271 	       = "XX$teststring") >/dev/null 2>&1 &&
   6272 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6273 	    lt_cv_sys_max_cmd_len=$new_result &&
   6274 	    test $i != 17 # 1/2 MB should be enough
   6275     do
   6276       i=`expr $i + 1`
   6277       teststring=$teststring$teststring
   6278     done
   6279     teststring=
   6280     # Add a significant safety factor because C++ compilers can tack on massive
   6281     # amounts of additional arguments before passing them to the linker.
   6282     # It appears as though 1/2 is a usable value.
   6283     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6284     ;;
   6285   esac
   6286 
   6287 fi
   6288 
   6289 if test -n $lt_cv_sys_max_cmd_len ; then
   6290   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6291 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6292 else
   6293   { echo "$as_me:$LINENO: result: none" >&5
   6294 echo "${ECHO_T}none" >&6; }
   6295 fi
   6296 
   6297 
   6298 
   6299 
   6300 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6301 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6302 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6303 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6304   echo $ECHO_N "(cached) $ECHO_C" >&6
   6305 else
   6306 
   6307 # These are sane defaults that work on at least a few old systems.
   6308 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6309 
   6310 # Character class describing NM global symbol codes.
   6311 symcode='[BCDEGRST]'
   6312 
   6313 # Regexp to match symbols that can be accessed directly from C.
   6314 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6315 
   6316 # Transform an extracted symbol line into a proper C declaration
   6317 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6318 
   6319 # Transform an extracted symbol line into symbol name and symbol address
   6320 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'"
   6321 
   6322 # Define system-specific variables.
   6323 case $host_os in
   6324 aix*)
   6325   symcode='[BCDT]'
   6326   ;;
   6327 cygwin* | mingw* | pw32*)
   6328   symcode='[ABCDGISTW]'
   6329   ;;
   6330 hpux*) # Its linker distinguishes data from code symbols
   6331   if test "$host_cpu" = ia64; then
   6332     symcode='[ABCDEGRST]'
   6333   fi
   6334   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6335   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'"
   6336   ;;
   6337 linux*)
   6338   if test "$host_cpu" = ia64; then
   6339     symcode='[ABCDGIRSTW]'
   6340     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6341     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'"
   6342   fi
   6343   ;;
   6344 irix* | nonstopux*)
   6345   symcode='[BCDEGRST]'
   6346   ;;
   6347 osf*)
   6348   symcode='[BCDEGQRST]'
   6349   ;;
   6350 solaris*)
   6351   symcode='[BDRT]'
   6352   ;;
   6353 sco3.2v5*)
   6354   symcode='[DT]'
   6355   ;;
   6356 sysv4.2uw2*)
   6357   symcode='[DT]'
   6358   ;;
   6359 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6360   symcode='[ABDT]'
   6361   ;;
   6362 sysv4)
   6363   symcode='[DFNSTU]'
   6364   ;;
   6365 esac
   6366 
   6367 # Handle CRLF in mingw tool chain
   6368 opt_cr=
   6369 case $build_os in
   6370 mingw*)
   6371   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6372   ;;
   6373 esac
   6374 
   6375 # If we're using GNU nm, then use its standard symbol codes.
   6376 case `$NM -V 2>&1` in
   6377 *GNU* | *'with BFD'*)
   6378   symcode='[ABCDGIRSTW]' ;;
   6379 esac
   6380 
   6381 # Try without a prefix undercore, then with it.
   6382 for ac_symprfx in "" "_"; do
   6383 
   6384   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6385   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6386 
   6387   # Write the raw and C identifiers.
   6388   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6389 
   6390   # Check to see that the pipe works correctly.
   6391   pipe_works=no
   6392 
   6393   rm -f conftest*
   6394   cat > conftest.$ac_ext <<EOF
   6395 #ifdef __cplusplus
   6396 extern "C" {
   6397 #endif
   6398 char nm_test_var;
   6399 void nm_test_func(){}
   6400 #ifdef __cplusplus
   6401 }
   6402 #endif
   6403 int main(){nm_test_var='a';nm_test_func();return(0);}
   6404 EOF
   6405 
   6406   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6407   (eval $ac_compile) 2>&5
   6408   ac_status=$?
   6409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6410   (exit $ac_status); }; then
   6411     # Now try to grab the symbols.
   6412     nlist=conftest.nm
   6413     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6414   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6415   ac_status=$?
   6416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6417   (exit $ac_status); } && test -s "$nlist"; then
   6418       # Try sorting and uniquifying the output.
   6419       if sort "$nlist" | uniq > "$nlist"T; then
   6420 	mv -f "$nlist"T "$nlist"
   6421       else
   6422 	rm -f "$nlist"T
   6423       fi
   6424 
   6425       # Make sure that we snagged all the symbols we need.
   6426       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6427 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6428 	  cat <<EOF > conftest.$ac_ext
   6429 #ifdef __cplusplus
   6430 extern "C" {
   6431 #endif
   6432 
   6433 EOF
   6434 	  # Now generate the symbol file.
   6435 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6436 
   6437 	  cat <<EOF >> conftest.$ac_ext
   6438 #if defined (__STDC__) && __STDC__
   6439 # define lt_ptr_t void *
   6440 #else
   6441 # define lt_ptr_t char *
   6442 # define const
   6443 #endif
   6444 
   6445 /* The mapping between symbol names and symbols. */
   6446 const struct {
   6447   const char *name;
   6448   lt_ptr_t address;
   6449 }
   6450 lt_preloaded_symbols[] =
   6451 {
   6452 EOF
   6453 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6454 	  cat <<\EOF >> conftest.$ac_ext
   6455   {0, (lt_ptr_t) 0}
   6456 };
   6457 
   6458 #ifdef __cplusplus
   6459 }
   6460 #endif
   6461 EOF
   6462 	  # Now try linking the two files.
   6463 	  mv conftest.$ac_objext conftstm.$ac_objext
   6464 	  lt_save_LIBS="$LIBS"
   6465 	  lt_save_CFLAGS="$CFLAGS"
   6466 	  LIBS="conftstm.$ac_objext"
   6467 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6468 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6469   (eval $ac_link) 2>&5
   6470   ac_status=$?
   6471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6472   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6473 	    pipe_works=yes
   6474 	  fi
   6475 	  LIBS="$lt_save_LIBS"
   6476 	  CFLAGS="$lt_save_CFLAGS"
   6477 	else
   6478 	  echo "cannot find nm_test_func in $nlist" >&5
   6479 	fi
   6480       else
   6481 	echo "cannot find nm_test_var in $nlist" >&5
   6482       fi
   6483     else
   6484       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6485     fi
   6486   else
   6487     echo "$progname: failed program was:" >&5
   6488     cat conftest.$ac_ext >&5
   6489   fi
   6490   rm -f conftest* conftst*
   6491 
   6492   # Do not use the global_symbol_pipe unless it works.
   6493   if test "$pipe_works" = yes; then
   6494     break
   6495   else
   6496     lt_cv_sys_global_symbol_pipe=
   6497   fi
   6498 done
   6499 
   6500 fi
   6501 
   6502 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6503   lt_cv_sys_global_symbol_to_cdecl=
   6504 fi
   6505 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6506   { echo "$as_me:$LINENO: result: failed" >&5
   6507 echo "${ECHO_T}failed" >&6; }
   6508 else
   6509   { echo "$as_me:$LINENO: result: ok" >&5
   6510 echo "${ECHO_T}ok" >&6; }
   6511 fi
   6512 
   6513 { echo "$as_me:$LINENO: checking for objdir" >&5
   6514 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6515 if test "${lt_cv_objdir+set}" = set; then
   6516   echo $ECHO_N "(cached) $ECHO_C" >&6
   6517 else
   6518   rm -f .libs 2>/dev/null
   6519 mkdir .libs 2>/dev/null
   6520 if test -d .libs; then
   6521   lt_cv_objdir=.libs
   6522 else
   6523   # MS-DOS does not allow filenames that begin with a dot.
   6524   lt_cv_objdir=_libs
   6525 fi
   6526 rmdir .libs 2>/dev/null
   6527 fi
   6528 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6529 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6530 objdir=$lt_cv_objdir
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 case $host_os in
   6537 aix3*)
   6538   # AIX sometimes has problems with the GCC collect2 program.  For some
   6539   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6540   # vanish in a puff of smoke.
   6541   if test "X${COLLECT_NAMES+set}" != Xset; then
   6542     COLLECT_NAMES=
   6543     export COLLECT_NAMES
   6544   fi
   6545   ;;
   6546 esac
   6547 
   6548 # Sed substitution that helps us do robust quoting.  It backslashifies
   6549 # metacharacters that are still active within double-quoted strings.
   6550 Xsed='sed -e 1s/^X//'
   6551 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6552 
   6553 # Same as above, but do not quote variable references.
   6554 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6555 
   6556 # Sed substitution to delay expansion of an escaped shell variable in a
   6557 # double_quote_subst'ed string.
   6558 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6559 
   6560 # Sed substitution to avoid accidental globbing in evaled expressions
   6561 no_glob_subst='s/\*/\\\*/g'
   6562 
   6563 # Constants:
   6564 rm="rm -f"
   6565 
   6566 # Global variables:
   6567 default_ofile=libtool
   6568 can_build_shared=yes
   6569 
   6570 # All known linkers require a `.a' archive for static linking (except MSVC,
   6571 # which needs '.lib').
   6572 libext=a
   6573 ltmain="$ac_aux_dir/ltmain.sh"
   6574 ofile="$default_ofile"
   6575 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6576 
   6577 if test -n "$ac_tool_prefix"; then
   6578   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6579 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6582 if test "${ac_cv_prog_AR+set}" = set; then
   6583   echo $ECHO_N "(cached) $ECHO_C" >&6
   6584 else
   6585   if test -n "$AR"; then
   6586   ac_cv_prog_AR="$AR" # Let the user override the test.
   6587 else
   6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6589 for as_dir in $PATH
   6590 do
   6591   IFS=$as_save_IFS
   6592   test -z "$as_dir" && as_dir=.
   6593   for ac_exec_ext in '' $ac_executable_extensions; do
   6594   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6595     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6596     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6597     break 2
   6598   fi
   6599 done
   6600 done
   6601 IFS=$as_save_IFS
   6602 
   6603 fi
   6604 fi
   6605 AR=$ac_cv_prog_AR
   6606 if test -n "$AR"; then
   6607   { echo "$as_me:$LINENO: result: $AR" >&5
   6608 echo "${ECHO_T}$AR" >&6; }
   6609 else
   6610   { echo "$as_me:$LINENO: result: no" >&5
   6611 echo "${ECHO_T}no" >&6; }
   6612 fi
   6613 
   6614 
   6615 fi
   6616 if test -z "$ac_cv_prog_AR"; then
   6617   ac_ct_AR=$AR
   6618   # Extract the first word of "ar", so it can be a program name with args.
   6619 set dummy ar; ac_word=$2
   6620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6622 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6623   echo $ECHO_N "(cached) $ECHO_C" >&6
   6624 else
   6625   if test -n "$ac_ct_AR"; then
   6626   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6627 else
   6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6629 for as_dir in $PATH
   6630 do
   6631   IFS=$as_save_IFS
   6632   test -z "$as_dir" && as_dir=.
   6633   for ac_exec_ext in '' $ac_executable_extensions; do
   6634   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6635     ac_cv_prog_ac_ct_AR="ar"
   6636     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6637     break 2
   6638   fi
   6639 done
   6640 done
   6641 IFS=$as_save_IFS
   6642 
   6643 fi
   6644 fi
   6645 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6646 if test -n "$ac_ct_AR"; then
   6647   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6648 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6649 else
   6650   { echo "$as_me:$LINENO: result: no" >&5
   6651 echo "${ECHO_T}no" >&6; }
   6652 fi
   6653 
   6654   if test "x$ac_ct_AR" = x; then
   6655     AR="false"
   6656   else
   6657     case $cross_compiling:$ac_tool_warned in
   6658 yes:)
   6659 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6660 whose name does not start with the host triplet.  If you think this
   6661 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6662 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6663 whose name does not start with the host triplet.  If you think this
   6664 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6665 ac_tool_warned=yes ;;
   6666 esac
   6667     AR=$ac_ct_AR
   6668   fi
   6669 else
   6670   AR="$ac_cv_prog_AR"
   6671 fi
   6672 
   6673 if test -n "$ac_tool_prefix"; then
   6674   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6675 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6678 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6679   echo $ECHO_N "(cached) $ECHO_C" >&6
   6680 else
   6681   if test -n "$RANLIB"; then
   6682   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6683 else
   6684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6685 for as_dir in $PATH
   6686 do
   6687   IFS=$as_save_IFS
   6688   test -z "$as_dir" && as_dir=.
   6689   for ac_exec_ext in '' $ac_executable_extensions; do
   6690   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6691     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6692     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6693     break 2
   6694   fi
   6695 done
   6696 done
   6697 IFS=$as_save_IFS
   6698 
   6699 fi
   6700 fi
   6701 RANLIB=$ac_cv_prog_RANLIB
   6702 if test -n "$RANLIB"; then
   6703   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6704 echo "${ECHO_T}$RANLIB" >&6; }
   6705 else
   6706   { echo "$as_me:$LINENO: result: no" >&5
   6707 echo "${ECHO_T}no" >&6; }
   6708 fi
   6709 
   6710 
   6711 fi
   6712 if test -z "$ac_cv_prog_RANLIB"; then
   6713   ac_ct_RANLIB=$RANLIB
   6714   # Extract the first word of "ranlib", so it can be a program name with args.
   6715 set dummy ranlib; ac_word=$2
   6716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6718 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6719   echo $ECHO_N "(cached) $ECHO_C" >&6
   6720 else
   6721   if test -n "$ac_ct_RANLIB"; then
   6722   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6723 else
   6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6725 for as_dir in $PATH
   6726 do
   6727   IFS=$as_save_IFS
   6728   test -z "$as_dir" && as_dir=.
   6729   for ac_exec_ext in '' $ac_executable_extensions; do
   6730   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6731     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6732     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6733     break 2
   6734   fi
   6735 done
   6736 done
   6737 IFS=$as_save_IFS
   6738 
   6739 fi
   6740 fi
   6741 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6742 if test -n "$ac_ct_RANLIB"; then
   6743   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6744 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6745 else
   6746   { echo "$as_me:$LINENO: result: no" >&5
   6747 echo "${ECHO_T}no" >&6; }
   6748 fi
   6749 
   6750   if test "x$ac_ct_RANLIB" = x; then
   6751     RANLIB=":"
   6752   else
   6753     case $cross_compiling:$ac_tool_warned in
   6754 yes:)
   6755 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6756 whose name does not start with the host triplet.  If you think this
   6757 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6758 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6759 whose name does not start with the host triplet.  If you think this
   6760 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6761 ac_tool_warned=yes ;;
   6762 esac
   6763     RANLIB=$ac_ct_RANLIB
   6764   fi
   6765 else
   6766   RANLIB="$ac_cv_prog_RANLIB"
   6767 fi
   6768 
   6769 if test -n "$ac_tool_prefix"; then
   6770   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6771 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6774 if test "${ac_cv_prog_STRIP+set}" = set; then
   6775   echo $ECHO_N "(cached) $ECHO_C" >&6
   6776 else
   6777   if test -n "$STRIP"; then
   6778   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6779 else
   6780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6781 for as_dir in $PATH
   6782 do
   6783   IFS=$as_save_IFS
   6784   test -z "$as_dir" && as_dir=.
   6785   for ac_exec_ext in '' $ac_executable_extensions; do
   6786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6787     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6788     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6789     break 2
   6790   fi
   6791 done
   6792 done
   6793 IFS=$as_save_IFS
   6794 
   6795 fi
   6796 fi
   6797 STRIP=$ac_cv_prog_STRIP
   6798 if test -n "$STRIP"; then
   6799   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6800 echo "${ECHO_T}$STRIP" >&6; }
   6801 else
   6802   { echo "$as_me:$LINENO: result: no" >&5
   6803 echo "${ECHO_T}no" >&6; }
   6804 fi
   6805 
   6806 
   6807 fi
   6808 if test -z "$ac_cv_prog_STRIP"; then
   6809   ac_ct_STRIP=$STRIP
   6810   # Extract the first word of "strip", so it can be a program name with args.
   6811 set dummy strip; ac_word=$2
   6812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6814 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6815   echo $ECHO_N "(cached) $ECHO_C" >&6
   6816 else
   6817   if test -n "$ac_ct_STRIP"; then
   6818   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6819 else
   6820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6821 for as_dir in $PATH
   6822 do
   6823   IFS=$as_save_IFS
   6824   test -z "$as_dir" && as_dir=.
   6825   for ac_exec_ext in '' $ac_executable_extensions; do
   6826   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6827     ac_cv_prog_ac_ct_STRIP="strip"
   6828     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6829     break 2
   6830   fi
   6831 done
   6832 done
   6833 IFS=$as_save_IFS
   6834 
   6835 fi
   6836 fi
   6837 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6838 if test -n "$ac_ct_STRIP"; then
   6839   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6840 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6841 else
   6842   { echo "$as_me:$LINENO: result: no" >&5
   6843 echo "${ECHO_T}no" >&6; }
   6844 fi
   6845 
   6846   if test "x$ac_ct_STRIP" = x; then
   6847     STRIP=":"
   6848   else
   6849     case $cross_compiling:$ac_tool_warned in
   6850 yes:)
   6851 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6852 whose name does not start with the host triplet.  If you think this
   6853 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6854 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6855 whose name does not start with the host triplet.  If you think this
   6856 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6857 ac_tool_warned=yes ;;
   6858 esac
   6859     STRIP=$ac_ct_STRIP
   6860   fi
   6861 else
   6862   STRIP="$ac_cv_prog_STRIP"
   6863 fi
   6864 
   6865 
   6866 old_CC="$CC"
   6867 old_CFLAGS="$CFLAGS"
   6868 
   6869 # Set sane defaults for various variables
   6870 test -z "$AR" && AR=ar
   6871 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6872 test -z "$AS" && AS=as
   6873 test -z "$CC" && CC=cc
   6874 test -z "$LTCC" && LTCC=$CC
   6875 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6876 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6877 test -z "$LD" && LD=ld
   6878 test -z "$LN_S" && LN_S="ln -s"
   6879 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6880 test -z "$NM" && NM=nm
   6881 test -z "$SED" && SED=sed
   6882 test -z "$OBJDUMP" && OBJDUMP=objdump
   6883 test -z "$RANLIB" && RANLIB=:
   6884 test -z "$STRIP" && STRIP=:
   6885 test -z "$ac_objext" && ac_objext=o
   6886 
   6887 # Determine commands to create old-style static archives.
   6888 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   6889 old_postinstall_cmds='chmod 644 $oldlib'
   6890 old_postuninstall_cmds=
   6891 
   6892 if test -n "$RANLIB"; then
   6893   case $host_os in
   6894   openbsd*)
   6895     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6896     ;;
   6897   *)
   6898     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6899     ;;
   6900   esac
   6901   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6902 fi
   6903 
   6904 for cc_temp in $compiler""; do
   6905   case $cc_temp in
   6906     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6907     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6908     \-*) ;;
   6909     *) break;;
   6910   esac
   6911 done
   6912 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6913 
   6914 
   6915 # Only perform the check for file, if the check method requires it
   6916 case $deplibs_check_method in
   6917 file_magic*)
   6918   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6919     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6920 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   6921 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6922   echo $ECHO_N "(cached) $ECHO_C" >&6
   6923 else
   6924   case $MAGIC_CMD in
   6925 [\\/*] |  ?:[\\/]*)
   6926   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6927   ;;
   6928 *)
   6929   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6930   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6931   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6932   for ac_dir in $ac_dummy; do
   6933     IFS="$lt_save_ifs"
   6934     test -z "$ac_dir" && ac_dir=.
   6935     if test -f $ac_dir/${ac_tool_prefix}file; then
   6936       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6937       if test -n "$file_magic_test_file"; then
   6938 	case $deplibs_check_method in
   6939 	"file_magic "*)
   6940 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6941 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6942 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6943 	    $EGREP "$file_magic_regex" > /dev/null; then
   6944 	    :
   6945 	  else
   6946 	    cat <<EOF 1>&2
   6947 
   6948 *** Warning: the command libtool uses to detect shared libraries,
   6949 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6950 *** The result is that libtool may fail to recognize shared libraries
   6951 *** as such.  This will affect the creation of libtool libraries that
   6952 *** depend on shared libraries, but programs linked with such libtool
   6953 *** libraries will work regardless of this problem.  Nevertheless, you
   6954 *** may want to report the problem to your system manager and/or to
   6955 *** bug-libtool@gnu.org
   6956 
   6957 EOF
   6958 	  fi ;;
   6959 	esac
   6960       fi
   6961       break
   6962     fi
   6963   done
   6964   IFS="$lt_save_ifs"
   6965   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6966   ;;
   6967 esac
   6968 fi
   6969 
   6970 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6971 if test -n "$MAGIC_CMD"; then
   6972   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6973 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6974 else
   6975   { echo "$as_me:$LINENO: result: no" >&5
   6976 echo "${ECHO_T}no" >&6; }
   6977 fi
   6978 
   6979 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6980   if test -n "$ac_tool_prefix"; then
   6981     { echo "$as_me:$LINENO: checking for file" >&5
   6982 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   6983 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6984   echo $ECHO_N "(cached) $ECHO_C" >&6
   6985 else
   6986   case $MAGIC_CMD in
   6987 [\\/*] |  ?:[\\/]*)
   6988   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6989   ;;
   6990 *)
   6991   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6992   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6993   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6994   for ac_dir in $ac_dummy; do
   6995     IFS="$lt_save_ifs"
   6996     test -z "$ac_dir" && ac_dir=.
   6997     if test -f $ac_dir/file; then
   6998       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   6999       if test -n "$file_magic_test_file"; then
   7000 	case $deplibs_check_method in
   7001 	"file_magic "*)
   7002 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7003 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7004 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7005 	    $EGREP "$file_magic_regex" > /dev/null; then
   7006 	    :
   7007 	  else
   7008 	    cat <<EOF 1>&2
   7009 
   7010 *** Warning: the command libtool uses to detect shared libraries,
   7011 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7012 *** The result is that libtool may fail to recognize shared libraries
   7013 *** as such.  This will affect the creation of libtool libraries that
   7014 *** depend on shared libraries, but programs linked with such libtool
   7015 *** libraries will work regardless of this problem.  Nevertheless, you
   7016 *** may want to report the problem to your system manager and/or to
   7017 *** bug-libtool@gnu.org
   7018 
   7019 EOF
   7020 	  fi ;;
   7021 	esac
   7022       fi
   7023       break
   7024     fi
   7025   done
   7026   IFS="$lt_save_ifs"
   7027   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7028   ;;
   7029 esac
   7030 fi
   7031 
   7032 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7033 if test -n "$MAGIC_CMD"; then
   7034   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7035 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7036 else
   7037   { echo "$as_me:$LINENO: result: no" >&5
   7038 echo "${ECHO_T}no" >&6; }
   7039 fi
   7040 
   7041   else
   7042     MAGIC_CMD=:
   7043   fi
   7044 fi
   7045 
   7046   fi
   7047   ;;
   7048 esac
   7049 
   7050 enable_dlopen=no
   7051 enable_win32_dll=no
   7052 
   7053 # Check whether --enable-libtool-lock was given.
   7054 if test "${enable_libtool_lock+set}" = set; then
   7055   enableval=$enable_libtool_lock;
   7056 fi
   7057 
   7058 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7059 
   7060 
   7061 # Check whether --with-pic was given.
   7062 if test "${with_pic+set}" = set; then
   7063   withval=$with_pic; pic_mode="$withval"
   7064 else
   7065   pic_mode=default
   7066 fi
   7067 
   7068 test -z "$pic_mode" && pic_mode=default
   7069 
   7070 # Use C for the default configuration in the libtool script
   7071 tagname=
   7072 lt_save_CC="$CC"
   7073 ac_ext=c
   7074 ac_cpp='$CPP $CPPFLAGS'
   7075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7078 
   7079 
   7080 # Source file extension for C test sources.
   7081 ac_ext=c
   7082 
   7083 # Object file extension for compiled C test sources.
   7084 objext=o
   7085 objext=$objext
   7086 
   7087 # Code to be used in simple compile tests
   7088 lt_simple_compile_test_code="int some_variable = 0;\n"
   7089 
   7090 # Code to be used in simple link tests
   7091 lt_simple_link_test_code='int main(){return(0);}\n'
   7092 
   7093 
   7094 # If no C compiler was specified, use CC.
   7095 LTCC=${LTCC-"$CC"}
   7096 
   7097 # If no C compiler flags were specified, use CFLAGS.
   7098 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7099 
   7100 # Allow CC to be a program name with arguments.
   7101 compiler=$CC
   7102 
   7103 
   7104 # save warnings/boilerplate of simple test code
   7105 ac_outfile=conftest.$ac_objext
   7106 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   7107 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7108 _lt_compiler_boilerplate=`cat conftest.err`
   7109 $rm conftest*
   7110 
   7111 ac_outfile=conftest.$ac_objext
   7112 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   7113 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7114 _lt_linker_boilerplate=`cat conftest.err`
   7115 $rm conftest*
   7116 
   7117 
   7118 
   7119 lt_prog_compiler_no_builtin_flag=
   7120 
   7121 if test "$GCC" = yes; then
   7122   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7123 
   7124 
   7125 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7126 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7127 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7128   echo $ECHO_N "(cached) $ECHO_C" >&6
   7129 else
   7130   lt_cv_prog_compiler_rtti_exceptions=no
   7131   ac_outfile=conftest.$ac_objext
   7132    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7133    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7134    # Insert the option either (1) after the last *FLAGS variable, or
   7135    # (2) before a word containing "conftest.", or (3) at the end.
   7136    # Note that $ac_compile itself does not contain backslashes and begins
   7137    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7138    # The option is referenced via a variable to avoid confusing sed.
   7139    lt_compile=`echo "$ac_compile" | $SED \
   7140    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7141    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7142    -e 's:$: $lt_compiler_flag:'`
   7143    (eval echo "\"\$as_me:7143: $lt_compile\"" >&5)
   7144    (eval "$lt_compile" 2>conftest.err)
   7145    ac_status=$?
   7146    cat conftest.err >&5
   7147    echo "$as_me:7147: \$? = $ac_status" >&5
   7148    if (exit $ac_status) && test -s "$ac_outfile"; then
   7149      # The compiler can only warn and ignore the option if not recognized
   7150      # So say no if there are warnings other than the usual output.
   7151      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7152      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7153      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7154        lt_cv_prog_compiler_rtti_exceptions=yes
   7155      fi
   7156    fi
   7157    $rm conftest*
   7158 
   7159 fi
   7160 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7161 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7162 
   7163 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7164     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7165 else
   7166     :
   7167 fi
   7168 
   7169 fi
   7170 
   7171 lt_prog_compiler_wl=
   7172 lt_prog_compiler_pic=
   7173 lt_prog_compiler_static=
   7174 
   7175 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7176 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7177 
   7178   if test "$GCC" = yes; then
   7179     lt_prog_compiler_wl='-Wl,'
   7180     lt_prog_compiler_static='-static'
   7181 
   7182     case $host_os in
   7183       aix*)
   7184       # All AIX code is PIC.
   7185       if test "$host_cpu" = ia64; then
   7186 	# AIX 5 now supports IA64 processor
   7187 	lt_prog_compiler_static='-Bstatic'
   7188       fi
   7189       ;;
   7190 
   7191     amigaos*)
   7192       # FIXME: we need at least 68020 code to build shared libraries, but
   7193       # adding the `-m68020' flag to GCC prevents building anything better,
   7194       # like `-m68040'.
   7195       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7196       ;;
   7197 
   7198     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7199       # PIC is the default for these OSes.
   7200       ;;
   7201 
   7202     mingw* | pw32* | os2*)
   7203       # This hack is so that the source file can tell whether it is being
   7204       # built for inclusion in a dll (and should export symbols for example).
   7205       lt_prog_compiler_pic='-DDLL_EXPORT'
   7206       ;;
   7207 
   7208     darwin* | rhapsody*)
   7209       # PIC is the default on this platform
   7210       # Common symbols not allowed in MH_DYLIB files
   7211       lt_prog_compiler_pic='-fno-common'
   7212       ;;
   7213 
   7214     interix3*)
   7215       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7216       # Instead, we relocate shared libraries at runtime.
   7217       ;;
   7218 
   7219     msdosdjgpp*)
   7220       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7221       # on systems that don't support them.
   7222       lt_prog_compiler_can_build_shared=no
   7223       enable_shared=no
   7224       ;;
   7225 
   7226     sysv4*MP*)
   7227       if test -d /usr/nec; then
   7228 	lt_prog_compiler_pic=-Kconform_pic
   7229       fi
   7230       ;;
   7231 
   7232     hpux*)
   7233       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7234       # not for PA HP-UX.
   7235       case $host_cpu in
   7236       hppa*64*|ia64*)
   7237 	# +Z the default
   7238 	;;
   7239       *)
   7240 	lt_prog_compiler_pic='-fPIC'
   7241 	;;
   7242       esac
   7243       ;;
   7244 
   7245     *)
   7246       lt_prog_compiler_pic='-fPIC'
   7247       ;;
   7248     esac
   7249   else
   7250     # PORTME Check for flag to pass linker flags through the system compiler.
   7251     case $host_os in
   7252     aix*)
   7253       lt_prog_compiler_wl='-Wl,'
   7254       if test "$host_cpu" = ia64; then
   7255 	# AIX 5 now supports IA64 processor
   7256 	lt_prog_compiler_static='-Bstatic'
   7257       else
   7258 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7259       fi
   7260       ;;
   7261       darwin*)
   7262         # PIC is the default on this platform
   7263         # Common symbols not allowed in MH_DYLIB files
   7264        case $cc_basename in
   7265          xlc*)
   7266          lt_prog_compiler_pic='-qnocommon'
   7267          lt_prog_compiler_wl='-Wl,'
   7268          ;;
   7269        esac
   7270        ;;
   7271 
   7272     mingw* | pw32* | os2*)
   7273       # This hack is so that the source file can tell whether it is being
   7274       # built for inclusion in a dll (and should export symbols for example).
   7275       lt_prog_compiler_pic='-DDLL_EXPORT'
   7276       ;;
   7277 
   7278     hpux9* | hpux10* | hpux11*)
   7279       lt_prog_compiler_wl='-Wl,'
   7280       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7281       # not for PA HP-UX.
   7282       case $host_cpu in
   7283       hppa*64*|ia64*)
   7284 	# +Z the default
   7285 	;;
   7286       *)
   7287 	lt_prog_compiler_pic='+Z'
   7288 	;;
   7289       esac
   7290       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7291       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7292       ;;
   7293 
   7294     irix5* | irix6* | nonstopux*)
   7295       lt_prog_compiler_wl='-Wl,'
   7296       # PIC (with -KPIC) is the default.
   7297       lt_prog_compiler_static='-non_shared'
   7298       ;;
   7299 
   7300     newsos6)
   7301       lt_prog_compiler_pic='-KPIC'
   7302       lt_prog_compiler_static='-Bstatic'
   7303       ;;
   7304 
   7305     linux*)
   7306       case $cc_basename in
   7307       icc* | ecc*)
   7308 	lt_prog_compiler_wl='-Wl,'
   7309 	lt_prog_compiler_pic='-KPIC'
   7310 	lt_prog_compiler_static='-static'
   7311         ;;
   7312       pgcc* | pgf77* | pgf90* | pgf95*)
   7313         # Portland Group compilers (*not* the Pentium gcc compiler,
   7314 	# which looks to be a dead project)
   7315 	lt_prog_compiler_wl='-Wl,'
   7316 	lt_prog_compiler_pic='-fpic'
   7317 	lt_prog_compiler_static='-Bstatic'
   7318         ;;
   7319       ccc*)
   7320         lt_prog_compiler_wl='-Wl,'
   7321         # All Alpha code is PIC.
   7322         lt_prog_compiler_static='-non_shared'
   7323         ;;
   7324       esac
   7325       ;;
   7326 
   7327     osf3* | osf4* | osf5*)
   7328       lt_prog_compiler_wl='-Wl,'
   7329       # All OSF/1 code is PIC.
   7330       lt_prog_compiler_static='-non_shared'
   7331       ;;
   7332 
   7333     solaris*)
   7334       lt_prog_compiler_pic='-KPIC'
   7335       lt_prog_compiler_static='-Bstatic'
   7336       case $cc_basename in
   7337       f77* | f90* | f95*)
   7338 	lt_prog_compiler_wl='-Qoption ld ';;
   7339       *)
   7340 	lt_prog_compiler_wl='-Wl,';;
   7341       esac
   7342       ;;
   7343 
   7344     sunos4*)
   7345       lt_prog_compiler_wl='-Qoption ld '
   7346       lt_prog_compiler_pic='-PIC'
   7347       lt_prog_compiler_static='-Bstatic'
   7348       ;;
   7349 
   7350     sysv4 | sysv4.2uw2* | sysv4.3*)
   7351       lt_prog_compiler_wl='-Wl,'
   7352       lt_prog_compiler_pic='-KPIC'
   7353       lt_prog_compiler_static='-Bstatic'
   7354       ;;
   7355 
   7356     sysv4*MP*)
   7357       if test -d /usr/nec ;then
   7358 	lt_prog_compiler_pic='-Kconform_pic'
   7359 	lt_prog_compiler_static='-Bstatic'
   7360       fi
   7361       ;;
   7362 
   7363     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7364       lt_prog_compiler_wl='-Wl,'
   7365       lt_prog_compiler_pic='-KPIC'
   7366       lt_prog_compiler_static='-Bstatic'
   7367       ;;
   7368 
   7369     unicos*)
   7370       lt_prog_compiler_wl='-Wl,'
   7371       lt_prog_compiler_can_build_shared=no
   7372       ;;
   7373 
   7374     uts4*)
   7375       lt_prog_compiler_pic='-pic'
   7376       lt_prog_compiler_static='-Bstatic'
   7377       ;;
   7378 
   7379     *)
   7380       lt_prog_compiler_can_build_shared=no
   7381       ;;
   7382     esac
   7383   fi
   7384 
   7385 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7386 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7387 
   7388 #
   7389 # Check to make sure the PIC flag actually works.
   7390 #
   7391 if test -n "$lt_prog_compiler_pic"; then
   7392 
   7393 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7394 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7395 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7396   echo $ECHO_N "(cached) $ECHO_C" >&6
   7397 else
   7398   lt_prog_compiler_pic_works=no
   7399   ac_outfile=conftest.$ac_objext
   7400    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7401    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7402    # Insert the option either (1) after the last *FLAGS variable, or
   7403    # (2) before a word containing "conftest.", or (3) at the end.
   7404    # Note that $ac_compile itself does not contain backslashes and begins
   7405    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7406    # The option is referenced via a variable to avoid confusing sed.
   7407    lt_compile=`echo "$ac_compile" | $SED \
   7408    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7409    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7410    -e 's:$: $lt_compiler_flag:'`
   7411    (eval echo "\"\$as_me:7411: $lt_compile\"" >&5)
   7412    (eval "$lt_compile" 2>conftest.err)
   7413    ac_status=$?
   7414    cat conftest.err >&5
   7415    echo "$as_me:7415: \$? = $ac_status" >&5
   7416    if (exit $ac_status) && test -s "$ac_outfile"; then
   7417      # The compiler can only warn and ignore the option if not recognized
   7418      # So say no if there are warnings other than the usual output.
   7419      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7420      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7421      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7422        lt_prog_compiler_pic_works=yes
   7423      fi
   7424    fi
   7425    $rm conftest*
   7426 
   7427 fi
   7428 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7429 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7430 
   7431 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7432     case $lt_prog_compiler_pic in
   7433      "" | " "*) ;;
   7434      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7435      esac
   7436 else
   7437     lt_prog_compiler_pic=
   7438      lt_prog_compiler_can_build_shared=no
   7439 fi
   7440 
   7441 fi
   7442 case $host_os in
   7443   # For platforms which do not support PIC, -DPIC is meaningless:
   7444   *djgpp*)
   7445     lt_prog_compiler_pic=
   7446     ;;
   7447   *)
   7448     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7449     ;;
   7450 esac
   7451 
   7452 #
   7453 # Check to make sure the static flag actually works.
   7454 #
   7455 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7456 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7457 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7458 if test "${lt_prog_compiler_static_works+set}" = set; then
   7459   echo $ECHO_N "(cached) $ECHO_C" >&6
   7460 else
   7461   lt_prog_compiler_static_works=no
   7462    save_LDFLAGS="$LDFLAGS"
   7463    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7464    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   7465    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7466      # The linker can only warn and ignore the option if not recognized
   7467      # So say no if there are warnings
   7468      if test -s conftest.err; then
   7469        # Append any errors to the config.log.
   7470        cat conftest.err 1>&5
   7471        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7472        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7473        if diff conftest.exp conftest.er2 >/dev/null; then
   7474          lt_prog_compiler_static_works=yes
   7475        fi
   7476      else
   7477        lt_prog_compiler_static_works=yes
   7478      fi
   7479    fi
   7480    $rm conftest*
   7481    LDFLAGS="$save_LDFLAGS"
   7482 
   7483 fi
   7484 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7485 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7486 
   7487 if test x"$lt_prog_compiler_static_works" = xyes; then
   7488     :
   7489 else
   7490     lt_prog_compiler_static=
   7491 fi
   7492 
   7493 
   7494 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7495 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7496 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7497   echo $ECHO_N "(cached) $ECHO_C" >&6
   7498 else
   7499   lt_cv_prog_compiler_c_o=no
   7500    $rm -r conftest 2>/dev/null
   7501    mkdir conftest
   7502    cd conftest
   7503    mkdir out
   7504    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7505 
   7506    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7507    # Insert the option either (1) after the last *FLAGS variable, or
   7508    # (2) before a word containing "conftest.", or (3) at the end.
   7509    # Note that $ac_compile itself does not contain backslashes and begins
   7510    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7511    lt_compile=`echo "$ac_compile" | $SED \
   7512    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7513    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7514    -e 's:$: $lt_compiler_flag:'`
   7515    (eval echo "\"\$as_me:7515: $lt_compile\"" >&5)
   7516    (eval "$lt_compile" 2>out/conftest.err)
   7517    ac_status=$?
   7518    cat out/conftest.err >&5
   7519    echo "$as_me:7519: \$? = $ac_status" >&5
   7520    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7521    then
   7522      # The compiler can only warn and ignore the option if not recognized
   7523      # So say no if there are warnings
   7524      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7525      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7526      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7527        lt_cv_prog_compiler_c_o=yes
   7528      fi
   7529    fi
   7530    chmod u+w . 2>&5
   7531    $rm conftest*
   7532    # SGI C++ compiler will create directory out/ii_files/ for
   7533    # template instantiation
   7534    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7535    $rm out/* && rmdir out
   7536    cd ..
   7537    rmdir conftest
   7538    $rm conftest*
   7539 
   7540 fi
   7541 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7542 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7543 
   7544 
   7545 hard_links="nottested"
   7546 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7547   # do not overwrite the value of need_locks provided by the user
   7548   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7549 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7550   hard_links=yes
   7551   $rm conftest*
   7552   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7553   touch conftest.a
   7554   ln conftest.a conftest.b 2>&5 || hard_links=no
   7555   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7556   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7557 echo "${ECHO_T}$hard_links" >&6; }
   7558   if test "$hard_links" = no; then
   7559     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7560 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7561     need_locks=warn
   7562   fi
   7563 else
   7564   need_locks=no
   7565 fi
   7566 
   7567 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7568 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7569 
   7570   runpath_var=
   7571   allow_undefined_flag=
   7572   enable_shared_with_static_runtimes=no
   7573   archive_cmds=
   7574   archive_expsym_cmds=
   7575   old_archive_From_new_cmds=
   7576   old_archive_from_expsyms_cmds=
   7577   export_dynamic_flag_spec=
   7578   whole_archive_flag_spec=
   7579   thread_safe_flag_spec=
   7580   hardcode_libdir_flag_spec=
   7581   hardcode_libdir_flag_spec_ld=
   7582   hardcode_libdir_separator=
   7583   hardcode_direct=no
   7584   hardcode_minus_L=no
   7585   hardcode_shlibpath_var=unsupported
   7586   link_all_deplibs=unknown
   7587   hardcode_automatic=no
   7588   module_cmds=
   7589   module_expsym_cmds=
   7590   always_export_symbols=no
   7591   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7592   # include_expsyms should be a list of space-separated symbols to be *always*
   7593   # included in the symbol list
   7594   include_expsyms=
   7595   # exclude_expsyms can be an extended regexp of symbols to exclude
   7596   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7597   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7598   # as well as any symbol that contains `d'.
   7599   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7600   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7601   # platforms (ab)use it in PIC code, but their linkers get confused if
   7602   # the symbol is explicitly referenced.  Since portable code cannot
   7603   # rely on this symbol name, it's probably fine to never include it in
   7604   # preloaded symbol tables.
   7605   extract_expsyms_cmds=
   7606   # Just being paranoid about ensuring that cc_basename is set.
   7607   for cc_temp in $compiler""; do
   7608   case $cc_temp in
   7609     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7610     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7611     \-*) ;;
   7612     *) break;;
   7613   esac
   7614 done
   7615 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7616 
   7617   case $host_os in
   7618   cygwin* | mingw* | pw32*)
   7619     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7620     # When not using gcc, we currently assume that we are using
   7621     # Microsoft Visual C++.
   7622     if test "$GCC" != yes; then
   7623       with_gnu_ld=no
   7624     fi
   7625     ;;
   7626   interix*)
   7627     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7628     with_gnu_ld=yes
   7629     ;;
   7630   openbsd*)
   7631     with_gnu_ld=no
   7632     ;;
   7633   esac
   7634 
   7635   ld_shlibs=yes
   7636   if test "$with_gnu_ld" = yes; then
   7637     # If archive_cmds runs LD, not CC, wlarc should be empty
   7638     wlarc='${wl}'
   7639 
   7640     # Set some defaults for GNU ld with shared library support. These
   7641     # are reset later if shared libraries are not supported. Putting them
   7642     # here allows them to be overridden if necessary.
   7643     runpath_var=LD_RUN_PATH
   7644     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7645     export_dynamic_flag_spec='${wl}--export-dynamic'
   7646     # ancient GNU ld didn't support --whole-archive et. al.
   7647     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7648 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7649       else
   7650   	whole_archive_flag_spec=
   7651     fi
   7652     supports_anon_versioning=no
   7653     case `$LD -v 2>/dev/null` in
   7654       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7655       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7656       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7657       *\ 2.11.*) ;; # other 2.11 versions
   7658       *) supports_anon_versioning=yes ;;
   7659     esac
   7660 
   7661     # See if GNU ld supports shared libraries.
   7662     case $host_os in
   7663     aix3* | aix4* | aix5*)
   7664       # On AIX/PPC, the GNU linker is very broken
   7665       if test "$host_cpu" != ia64; then
   7666 	ld_shlibs=no
   7667 	cat <<EOF 1>&2
   7668 
   7669 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7670 *** to be unable to reliably create shared libraries on AIX.
   7671 *** Therefore, libtool is disabling shared libraries support.  If you
   7672 *** really care for shared libraries, you may want to modify your PATH
   7673 *** so that a non-GNU linker is found, and then restart.
   7674 
   7675 EOF
   7676       fi
   7677       ;;
   7678 
   7679     amigaos*)
   7680       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)'
   7681       hardcode_libdir_flag_spec='-L$libdir'
   7682       hardcode_minus_L=yes
   7683 
   7684       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7685       # that the semantics of dynamic libraries on AmigaOS, at least up
   7686       # to version 4, is to share data among multiple programs linked
   7687       # with the same dynamic library.  Since this doesn't match the
   7688       # behavior of shared libraries on other platforms, we can't use
   7689       # them.
   7690       ld_shlibs=no
   7691       ;;
   7692 
   7693     beos*)
   7694       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7695 	allow_undefined_flag=unsupported
   7696 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7697 	# support --undefined.  This deserves some investigation.  FIXME
   7698 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7699       else
   7700 	ld_shlibs=no
   7701       fi
   7702       ;;
   7703 
   7704     cygwin* | mingw* | pw32*)
   7705       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7706       # as there is no search path for DLLs.
   7707       hardcode_libdir_flag_spec='-L$libdir'
   7708       allow_undefined_flag=unsupported
   7709       always_export_symbols=no
   7710       enable_shared_with_static_runtimes=yes
   7711       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   7712 
   7713       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   7714         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7715 	# If the export-symbols file already is a .def file (1st line
   7716 	# is EXPORTS), use it as is; otherwise, prepend...
   7717 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7718 	  cp $export_symbols $output_objdir/$soname.def;
   7719 	else
   7720 	  echo EXPORTS > $output_objdir/$soname.def;
   7721 	  cat $export_symbols >> $output_objdir/$soname.def;
   7722 	fi~
   7723 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7724       else
   7725 	ld_shlibs=no
   7726       fi
   7727       ;;
   7728 
   7729     interix3*)
   7730       hardcode_direct=no
   7731       hardcode_shlibpath_var=no
   7732       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7733       export_dynamic_flag_spec='${wl}-E'
   7734       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7735       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7736       # default) and relocated if they conflict, which is a slow very memory
   7737       # consuming and fragmenting process.  To avoid this, we pick a random,
   7738       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7739       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7740       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7741       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'
   7742       ;;
   7743 
   7744     linux*)
   7745       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7746 	tmp_addflag=
   7747 	case $cc_basename,$host_cpu in
   7748 	pgcc*)				# Portland Group C compiler
   7749 	  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'
   7750 	  tmp_addflag=' $pic_flag'
   7751 	  ;;
   7752 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7753 	  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'
   7754 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7755 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   7756 	  tmp_addflag=' -i_dynamic' ;;
   7757 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7758 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7759 	ifc* | ifort*)			# Intel Fortran compiler
   7760 	  tmp_addflag=' -nofor_main' ;;
   7761 	esac
   7762 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7763 
   7764 	if test $supports_anon_versioning = yes; then
   7765 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   7766   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7767   $echo "local: *; };" >> $output_objdir/$libname.ver~
   7768 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7769 	fi
   7770       else
   7771 	ld_shlibs=no
   7772       fi
   7773       ;;
   7774 
   7775     netbsd*)
   7776       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7777 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7778 	wlarc=
   7779       else
   7780 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7781 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7782       fi
   7783       ;;
   7784 
   7785     solaris*)
   7786       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   7787 	ld_shlibs=no
   7788 	cat <<EOF 1>&2
   7789 
   7790 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7791 *** create shared libraries on Solaris systems.  Therefore, libtool
   7792 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7793 *** binutils to release 2.9.1 or newer.  Another option is to modify
   7794 *** your PATH or compiler configuration so that the native linker is
   7795 *** used, and then restart.
   7796 
   7797 EOF
   7798       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7799 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7800 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7801       else
   7802 	ld_shlibs=no
   7803       fi
   7804       ;;
   7805 
   7806     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7807       case `$LD -v 2>&1` in
   7808         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7809 	ld_shlibs=no
   7810 	cat <<_LT_EOF 1>&2
   7811 
   7812 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7813 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7814 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7815 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7816 *** your PATH or compiler configuration so that the native linker is
   7817 *** used, and then restart.
   7818 
   7819 _LT_EOF
   7820 	;;
   7821 	*)
   7822 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7823 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   7824 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   7825 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   7826 	  else
   7827 	    ld_shlibs=no
   7828 	  fi
   7829 	;;
   7830       esac
   7831       ;;
   7832 
   7833     sunos4*)
   7834       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7835       wlarc=
   7836       hardcode_direct=yes
   7837       hardcode_shlibpath_var=no
   7838       ;;
   7839 
   7840     *)
   7841       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7842 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7843 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7844       else
   7845 	ld_shlibs=no
   7846       fi
   7847       ;;
   7848     esac
   7849 
   7850     if test "$ld_shlibs" = no; then
   7851       runpath_var=
   7852       hardcode_libdir_flag_spec=
   7853       export_dynamic_flag_spec=
   7854       whole_archive_flag_spec=
   7855     fi
   7856   else
   7857     # PORTME fill in a description of your system's linker (not GNU ld)
   7858     case $host_os in
   7859     aix3*)
   7860       allow_undefined_flag=unsupported
   7861       always_export_symbols=yes
   7862       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'
   7863       # Note: this linker hardcodes the directories in LIBPATH if there
   7864       # are no directories specified by -L.
   7865       hardcode_minus_L=yes
   7866       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7867 	# Neither direct hardcoding nor static linking is supported with a
   7868 	# broken collect2.
   7869 	hardcode_direct=unsupported
   7870       fi
   7871       ;;
   7872 
   7873     aix4* | aix5*)
   7874       if test "$host_cpu" = ia64; then
   7875 	# On IA64, the linker does run time linking by default, so we don't
   7876 	# have to do anything special.
   7877 	aix_use_runtimelinking=no
   7878 	exp_sym_flag='-Bexport'
   7879 	no_entry_flag=""
   7880       else
   7881 	# If we're using GNU nm, then we don't want the "-C" option.
   7882 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7883 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   7884 	  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'
   7885 	else
   7886 	  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'
   7887 	fi
   7888 	aix_use_runtimelinking=no
   7889 
   7890 	# Test if we are trying to use run time linking or normal
   7891 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7892 	# need to do runtime linking.
   7893 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   7894 	  for ld_flag in $LDFLAGS; do
   7895   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7896   	    aix_use_runtimelinking=yes
   7897   	    break
   7898   	  fi
   7899 	  done
   7900 	  ;;
   7901 	esac
   7902 
   7903 	exp_sym_flag='-bexport'
   7904 	no_entry_flag='-bnoentry'
   7905       fi
   7906 
   7907       # When large executables or shared objects are built, AIX ld can
   7908       # have problems creating the table of contents.  If linking a library
   7909       # or program results in "error TOC overflow" add -mminimal-toc to
   7910       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7911       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7912 
   7913       archive_cmds=''
   7914       hardcode_direct=yes
   7915       hardcode_libdir_separator=':'
   7916       link_all_deplibs=yes
   7917 
   7918       if test "$GCC" = yes; then
   7919 	case $host_os in aix4.[012]|aix4.[012].*)
   7920 	# We only want to do this on AIX 4.2 and lower, the check
   7921 	# below for broken collect2 doesn't work under 4.3+
   7922 	  collect2name=`${CC} -print-prog-name=collect2`
   7923 	  if test -f "$collect2name" && \
   7924   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   7925 	  then
   7926   	  # We have reworked collect2
   7927   	  hardcode_direct=yes
   7928 	  else
   7929   	  # We have old collect2
   7930   	  hardcode_direct=unsupported
   7931   	  # It fails to find uninstalled libraries when the uninstalled
   7932   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   7933   	  # to unsupported forces relinking
   7934   	  hardcode_minus_L=yes
   7935   	  hardcode_libdir_flag_spec='-L$libdir'
   7936   	  hardcode_libdir_separator=
   7937 	  fi
   7938 	  ;;
   7939 	esac
   7940 	shared_flag='-shared'
   7941 	if test "$aix_use_runtimelinking" = yes; then
   7942 	  shared_flag="$shared_flag "'${wl}-G'
   7943 	fi
   7944       else
   7945 	# not using gcc
   7946 	if test "$host_cpu" = ia64; then
   7947   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   7948   	# chokes on -Wl,-G. The following line is correct:
   7949 	  shared_flag='-G'
   7950 	else
   7951 	  if test "$aix_use_runtimelinking" = yes; then
   7952 	    shared_flag='${wl}-G'
   7953 	  else
   7954 	    shared_flag='${wl}-bM:SRE'
   7955 	  fi
   7956 	fi
   7957       fi
   7958 
   7959       # It seems that -bexpall does not export symbols beginning with
   7960       # underscore (_), so it is better to generate a list of symbols to export.
   7961       always_export_symbols=yes
   7962       if test "$aix_use_runtimelinking" = yes; then
   7963 	# Warning - without using the other runtime loading flags (-brtl),
   7964 	# -berok will link without error, but may produce a broken library.
   7965 	allow_undefined_flag='-berok'
   7966        # Determine the default libpath from the value encoded in an empty executable.
   7967        cat >conftest.$ac_ext <<_ACEOF
   7968 /* confdefs.h.  */
   7969 _ACEOF
   7970 cat confdefs.h >>conftest.$ac_ext
   7971 cat >>conftest.$ac_ext <<_ACEOF
   7972 /* end confdefs.h.  */
   7973 
   7974 int
   7975 main ()
   7976 {
   7977 
   7978   ;
   7979   return 0;
   7980 }
   7981 _ACEOF
   7982 rm -f conftest.$ac_objext conftest$ac_exeext
   7983 if { (ac_try="$ac_link"
   7984 case "(($ac_try" in
   7985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7986   *) ac_try_echo=$ac_try;;
   7987 esac
   7988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7989   (eval "$ac_link") 2>conftest.er1
   7990   ac_status=$?
   7991   grep -v '^ *+' conftest.er1 >conftest.err
   7992   rm -f conftest.er1
   7993   cat conftest.err >&5
   7994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7995   (exit $ac_status); } && {
   7996 	 test -z "$ac_c_werror_flag" ||
   7997 	 test ! -s conftest.err
   7998        } && test -s conftest$ac_exeext &&
   7999        $as_test_x conftest$ac_exeext; then
   8000 
   8001 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8002 }'`
   8003 # Check for a 64-bit object if we didn't find anything.
   8004 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; }
   8005 }'`; fi
   8006 else
   8007   echo "$as_me: failed program was:" >&5
   8008 sed 's/^/| /' conftest.$ac_ext >&5
   8009 
   8010 
   8011 fi
   8012 
   8013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8014       conftest$ac_exeext conftest.$ac_ext
   8015 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8016 
   8017        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8018 	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"
   8019        else
   8020 	if test "$host_cpu" = ia64; then
   8021 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8022 	  allow_undefined_flag="-z nodefs"
   8023 	  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"
   8024 	else
   8025 	 # Determine the default libpath from the value encoded in an empty executable.
   8026 	 cat >conftest.$ac_ext <<_ACEOF
   8027 /* confdefs.h.  */
   8028 _ACEOF
   8029 cat confdefs.h >>conftest.$ac_ext
   8030 cat >>conftest.$ac_ext <<_ACEOF
   8031 /* end confdefs.h.  */
   8032 
   8033 int
   8034 main ()
   8035 {
   8036 
   8037   ;
   8038   return 0;
   8039 }
   8040 _ACEOF
   8041 rm -f conftest.$ac_objext conftest$ac_exeext
   8042 if { (ac_try="$ac_link"
   8043 case "(($ac_try" in
   8044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8045   *) ac_try_echo=$ac_try;;
   8046 esac
   8047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8048   (eval "$ac_link") 2>conftest.er1
   8049   ac_status=$?
   8050   grep -v '^ *+' conftest.er1 >conftest.err
   8051   rm -f conftest.er1
   8052   cat conftest.err >&5
   8053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8054   (exit $ac_status); } && {
   8055 	 test -z "$ac_c_werror_flag" ||
   8056 	 test ! -s conftest.err
   8057        } && test -s conftest$ac_exeext &&
   8058        $as_test_x conftest$ac_exeext; then
   8059 
   8060 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8061 }'`
   8062 # Check for a 64-bit object if we didn't find anything.
   8063 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; }
   8064 }'`; fi
   8065 else
   8066   echo "$as_me: failed program was:" >&5
   8067 sed 's/^/| /' conftest.$ac_ext >&5
   8068 
   8069 
   8070 fi
   8071 
   8072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8073       conftest$ac_exeext conftest.$ac_ext
   8074 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8075 
   8076 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8077 	  # Warning - without using the other run time loading flags,
   8078 	  # -berok will link without error, but may produce a broken library.
   8079 	  no_undefined_flag=' ${wl}-bernotok'
   8080 	  allow_undefined_flag=' ${wl}-berok'
   8081 	  # Exported symbols can be pulled into shared objects from archives
   8082 	  whole_archive_flag_spec='$convenience'
   8083 	  archive_cmds_need_lc=yes
   8084 	  # This is similar to how AIX traditionally builds its shared libraries.
   8085 	  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'
   8086 	fi
   8087       fi
   8088       ;;
   8089 
   8090     amigaos*)
   8091       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)'
   8092       hardcode_libdir_flag_spec='-L$libdir'
   8093       hardcode_minus_L=yes
   8094       # see comment about different semantics on the GNU ld section
   8095       ld_shlibs=no
   8096       ;;
   8097 
   8098     bsdi[45]*)
   8099       export_dynamic_flag_spec=-rdynamic
   8100       ;;
   8101 
   8102     cygwin* | mingw* | pw32*)
   8103       # When not using gcc, we currently assume that we are using
   8104       # Microsoft Visual C++.
   8105       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8106       # no search path for DLLs.
   8107       hardcode_libdir_flag_spec=' '
   8108       allow_undefined_flag=unsupported
   8109       # Tell ltmain to make .lib files, not .a files.
   8110       libext=lib
   8111       # Tell ltmain to make .dll files, not .so files.
   8112       shrext_cmds=".dll"
   8113       # FIXME: Setting linknames here is a bad hack.
   8114       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8115       # The linker will automatically build a .lib file if we build a DLL.
   8116       old_archive_From_new_cmds='true'
   8117       # FIXME: Should let the user specify the lib program.
   8118       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   8119       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8120       enable_shared_with_static_runtimes=yes
   8121       ;;
   8122 
   8123     darwin* | rhapsody*)
   8124       case $host_os in
   8125         rhapsody* | darwin1.[012])
   8126          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8127          ;;
   8128        *) # Darwin 1.3 on
   8129          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8130            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8131          else
   8132            case ${MACOSX_DEPLOYMENT_TARGET} in
   8133              10.[012])
   8134                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8135                ;;
   8136              10.*)
   8137                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8138                ;;
   8139            esac
   8140          fi
   8141          ;;
   8142       esac
   8143       archive_cmds_need_lc=no
   8144       hardcode_direct=no
   8145       hardcode_automatic=yes
   8146       hardcode_shlibpath_var=unsupported
   8147       whole_archive_flag_spec=''
   8148       link_all_deplibs=yes
   8149     if test "$GCC" = yes ; then
   8150     	output_verbose_link_cmd='echo'
   8151         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8152       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8153       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8154       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}'
   8155       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}'
   8156     else
   8157       case $cc_basename in
   8158         xlc*)
   8159          output_verbose_link_cmd='echo'
   8160          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   8161          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8162           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8163          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}'
   8164           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}'
   8165           ;;
   8166        *)
   8167          ld_shlibs=no
   8168           ;;
   8169       esac
   8170     fi
   8171       ;;
   8172 
   8173     dgux*)
   8174       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8175       hardcode_libdir_flag_spec='-L$libdir'
   8176       hardcode_shlibpath_var=no
   8177       ;;
   8178 
   8179     freebsd1*)
   8180       ld_shlibs=no
   8181       ;;
   8182 
   8183     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8184     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8185     # does not break anything, and helps significantly (at the cost of a little
   8186     # extra space).
   8187     freebsd2.2*)
   8188       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8189       hardcode_libdir_flag_spec='-R$libdir'
   8190       hardcode_direct=yes
   8191       hardcode_shlibpath_var=no
   8192       ;;
   8193 
   8194     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8195     freebsd2*)
   8196       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8197       hardcode_direct=yes
   8198       hardcode_minus_L=yes
   8199       hardcode_shlibpath_var=no
   8200       ;;
   8201 
   8202     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8203     freebsd* | kfreebsd*-gnu | dragonfly*)
   8204       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8205       hardcode_libdir_flag_spec='-R$libdir'
   8206       hardcode_direct=yes
   8207       hardcode_shlibpath_var=no
   8208       ;;
   8209 
   8210     hpux9*)
   8211       if test "$GCC" = yes; then
   8212 	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'
   8213       else
   8214 	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'
   8215       fi
   8216       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8217       hardcode_libdir_separator=:
   8218       hardcode_direct=yes
   8219 
   8220       # hardcode_minus_L: Not really in the search PATH,
   8221       # but as the default location of the library.
   8222       hardcode_minus_L=yes
   8223       export_dynamic_flag_spec='${wl}-E'
   8224       ;;
   8225 
   8226     hpux10*)
   8227       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8228 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8229       else
   8230 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8231       fi
   8232       if test "$with_gnu_ld" = no; then
   8233 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8234 	hardcode_libdir_separator=:
   8235 
   8236 	hardcode_direct=yes
   8237 	export_dynamic_flag_spec='${wl}-E'
   8238 
   8239 	# hardcode_minus_L: Not really in the search PATH,
   8240 	# but as the default location of the library.
   8241 	hardcode_minus_L=yes
   8242       fi
   8243       ;;
   8244 
   8245     hpux11*)
   8246       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8247 	case $host_cpu in
   8248 	hppa*64*)
   8249 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8250 	  ;;
   8251 	ia64*)
   8252 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8253 	  ;;
   8254 	*)
   8255 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8256 	  ;;
   8257 	esac
   8258       else
   8259 	case $host_cpu in
   8260 	hppa*64*)
   8261 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8262 	  ;;
   8263 	ia64*)
   8264 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8265 	  ;;
   8266 	*)
   8267 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8268 	  ;;
   8269 	esac
   8270       fi
   8271       if test "$with_gnu_ld" = no; then
   8272 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8273 	hardcode_libdir_separator=:
   8274 
   8275 	case $host_cpu in
   8276 	hppa*64*|ia64*)
   8277 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8278 	  hardcode_direct=no
   8279 	  hardcode_shlibpath_var=no
   8280 	  ;;
   8281 	*)
   8282 	  hardcode_direct=yes
   8283 	  export_dynamic_flag_spec='${wl}-E'
   8284 
   8285 	  # hardcode_minus_L: Not really in the search PATH,
   8286 	  # but as the default location of the library.
   8287 	  hardcode_minus_L=yes
   8288 	  ;;
   8289 	esac
   8290       fi
   8291       ;;
   8292 
   8293     irix5* | irix6* | nonstopux*)
   8294       if test "$GCC" = yes; then
   8295 	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'
   8296       else
   8297 	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'
   8298 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8299       fi
   8300       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8301       hardcode_libdir_separator=:
   8302       link_all_deplibs=yes
   8303       ;;
   8304 
   8305     netbsd*)
   8306       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8307 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8308       else
   8309 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8310       fi
   8311       hardcode_libdir_flag_spec='-R$libdir'
   8312       hardcode_direct=yes
   8313       hardcode_shlibpath_var=no
   8314       ;;
   8315 
   8316     newsos6)
   8317       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8318       hardcode_direct=yes
   8319       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8320       hardcode_libdir_separator=:
   8321       hardcode_shlibpath_var=no
   8322       ;;
   8323 
   8324     openbsd*)
   8325       hardcode_direct=yes
   8326       hardcode_shlibpath_var=no
   8327       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8328 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8329 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8330 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8331 	export_dynamic_flag_spec='${wl}-E'
   8332       else
   8333        case $host_os in
   8334 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8335 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8336 	   hardcode_libdir_flag_spec='-R$libdir'
   8337 	   ;;
   8338 	 *)
   8339 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8340 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8341 	   ;;
   8342        esac
   8343       fi
   8344       ;;
   8345 
   8346     os2*)
   8347       hardcode_libdir_flag_spec='-L$libdir'
   8348       hardcode_minus_L=yes
   8349       allow_undefined_flag=unsupported
   8350       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'
   8351       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8352       ;;
   8353 
   8354     osf3*)
   8355       if test "$GCC" = yes; then
   8356 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8357 	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'
   8358       else
   8359 	allow_undefined_flag=' -expect_unresolved \*'
   8360 	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'
   8361       fi
   8362       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8363       hardcode_libdir_separator=:
   8364       ;;
   8365 
   8366     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8367       if test "$GCC" = yes; then
   8368 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8369 	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'
   8370 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8371       else
   8372 	allow_undefined_flag=' -expect_unresolved \*'
   8373 	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'
   8374 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8375 	$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'
   8376 
   8377 	# Both c and cxx compiler support -rpath directly
   8378 	hardcode_libdir_flag_spec='-rpath $libdir'
   8379       fi
   8380       hardcode_libdir_separator=:
   8381       ;;
   8382 
   8383     solaris*)
   8384       no_undefined_flag=' -z text'
   8385       if test "$GCC" = yes; then
   8386 	wlarc='${wl}'
   8387 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8388 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8389 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8390       else
   8391 	wlarc=''
   8392 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8393 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8394   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8395       fi
   8396       hardcode_libdir_flag_spec='-R$libdir'
   8397       hardcode_shlibpath_var=no
   8398       case $host_os in
   8399       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8400       *)
   8401  	# The compiler driver will combine linker options so we
   8402  	# cannot just pass the convience library names through
   8403  	# without $wl, iff we do not link with $LD.
   8404  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   8405  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8406  	case $wlarc in
   8407  	'')
   8408  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   8409  	*)
   8410  	  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' ;;
   8411  	esac ;;
   8412       esac
   8413       link_all_deplibs=yes
   8414       ;;
   8415 
   8416     sunos4*)
   8417       if test "x$host_vendor" = xsequent; then
   8418 	# Use $CC to link under sequent, because it throws in some extra .o
   8419 	# files that make .init and .fini sections work.
   8420 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8421       else
   8422 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8423       fi
   8424       hardcode_libdir_flag_spec='-L$libdir'
   8425       hardcode_direct=yes
   8426       hardcode_minus_L=yes
   8427       hardcode_shlibpath_var=no
   8428       ;;
   8429 
   8430     sysv4)
   8431       case $host_vendor in
   8432 	sni)
   8433 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8434 	  hardcode_direct=yes # is this really true???
   8435 	;;
   8436 	siemens)
   8437 	  ## LD is ld it makes a PLAMLIB
   8438 	  ## CC just makes a GrossModule.
   8439 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8440 	  reload_cmds='$CC -r -o $output$reload_objs'
   8441 	  hardcode_direct=no
   8442         ;;
   8443 	motorola)
   8444 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8445 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8446 	;;
   8447       esac
   8448       runpath_var='LD_RUN_PATH'
   8449       hardcode_shlibpath_var=no
   8450       ;;
   8451 
   8452     sysv4.3*)
   8453       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8454       hardcode_shlibpath_var=no
   8455       export_dynamic_flag_spec='-Bexport'
   8456       ;;
   8457 
   8458     sysv4*MP*)
   8459       if test -d /usr/nec; then
   8460 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8461 	hardcode_shlibpath_var=no
   8462 	runpath_var=LD_RUN_PATH
   8463 	hardcode_runpath_var=yes
   8464 	ld_shlibs=yes
   8465       fi
   8466       ;;
   8467 
   8468     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   8469       no_undefined_flag='${wl}-z,text'
   8470       archive_cmds_need_lc=no
   8471       hardcode_shlibpath_var=no
   8472       runpath_var='LD_RUN_PATH'
   8473 
   8474       if test "$GCC" = yes; then
   8475 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8476 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8477       else
   8478 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8479 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8480       fi
   8481       ;;
   8482 
   8483     sysv5* | sco3.2v5* | sco5v6*)
   8484       # Note: We can NOT use -z defs as we might desire, because we do not
   8485       # link with -lc, and that would cause any symbols used from libc to
   8486       # always be unresolved, which means just about no library would
   8487       # ever link correctly.  If we're not using GNU ld we use -z text
   8488       # though, which does catch some bad symbols but isn't as heavy-handed
   8489       # as -z defs.
   8490       no_undefined_flag='${wl}-z,text'
   8491       allow_undefined_flag='${wl}-z,nodefs'
   8492       archive_cmds_need_lc=no
   8493       hardcode_shlibpath_var=no
   8494       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8495       hardcode_libdir_separator=':'
   8496       link_all_deplibs=yes
   8497       export_dynamic_flag_spec='${wl}-Bexport'
   8498       runpath_var='LD_RUN_PATH'
   8499 
   8500       if test "$GCC" = yes; then
   8501 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8502 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8503       else
   8504 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8505 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8506       fi
   8507       ;;
   8508 
   8509     uts4*)
   8510       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8511       hardcode_libdir_flag_spec='-L$libdir'
   8512       hardcode_shlibpath_var=no
   8513       ;;
   8514 
   8515     *)
   8516       ld_shlibs=no
   8517       ;;
   8518     esac
   8519   fi
   8520 
   8521 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8522 echo "${ECHO_T}$ld_shlibs" >&6; }
   8523 test "$ld_shlibs" = no && can_build_shared=no
   8524 
   8525 #
   8526 # Do we need to explicitly link libc?
   8527 #
   8528 case "x$archive_cmds_need_lc" in
   8529 x|xyes)
   8530   # Assume -lc should be added
   8531   archive_cmds_need_lc=yes
   8532 
   8533   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8534     case $archive_cmds in
   8535     *'~'*)
   8536       # FIXME: we may have to deal with multi-command sequences.
   8537       ;;
   8538     '$CC '*)
   8539       # Test whether the compiler implicitly links with -lc since on some
   8540       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8541       # to ld, don't add -lc before -lgcc.
   8542       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8543 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8544       $rm conftest*
   8545       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8546 
   8547       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8548   (eval $ac_compile) 2>&5
   8549   ac_status=$?
   8550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8551   (exit $ac_status); } 2>conftest.err; then
   8552         soname=conftest
   8553         lib=conftest
   8554         libobjs=conftest.$ac_objext
   8555         deplibs=
   8556         wl=$lt_prog_compiler_wl
   8557 	pic_flag=$lt_prog_compiler_pic
   8558         compiler_flags=-v
   8559         linker_flags=-v
   8560         verstring=
   8561         output_objdir=.
   8562         libname=conftest
   8563         lt_save_allow_undefined_flag=$allow_undefined_flag
   8564         allow_undefined_flag=
   8565         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8566   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8567   ac_status=$?
   8568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8569   (exit $ac_status); }
   8570         then
   8571 	  archive_cmds_need_lc=no
   8572         else
   8573 	  archive_cmds_need_lc=yes
   8574         fi
   8575         allow_undefined_flag=$lt_save_allow_undefined_flag
   8576       else
   8577         cat conftest.err 1>&5
   8578       fi
   8579       $rm conftest*
   8580       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8581 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8582       ;;
   8583     esac
   8584   fi
   8585   ;;
   8586 esac
   8587 
   8588 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8589 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8590 library_names_spec=
   8591 libname_spec='lib$name'
   8592 soname_spec=
   8593 shrext_cmds=".so"
   8594 postinstall_cmds=
   8595 postuninstall_cmds=
   8596 finish_cmds=
   8597 finish_eval=
   8598 shlibpath_var=
   8599 shlibpath_overrides_runpath=unknown
   8600 version_type=none
   8601 dynamic_linker="$host_os ld.so"
   8602 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8603 if test "$GCC" = yes; then
   8604   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8605   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   8606     # if the path contains ";" then we assume it to be the separator
   8607     # otherwise default to the standard path separator (i.e. ":") - it is
   8608     # assumed that no part of a normal pathname contains ";" but that should
   8609     # okay in the real world where ";" in dirpaths is itself problematic.
   8610     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8611   else
   8612     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8613   fi
   8614 else
   8615   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8616 fi
   8617 need_lib_prefix=unknown
   8618 hardcode_into_libs=no
   8619 
   8620 # when you set need_version to no, make sure it does not cause -set_version
   8621 # flags to be left without arguments
   8622 need_version=unknown
   8623 
   8624 case $host_os in
   8625 aix3*)
   8626   version_type=linux
   8627   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8628   shlibpath_var=LIBPATH
   8629 
   8630   # AIX 3 has no versioning support, so we append a major version to the name.
   8631   soname_spec='${libname}${release}${shared_ext}$major'
   8632   ;;
   8633 
   8634 aix4* | aix5*)
   8635   version_type=linux
   8636   need_lib_prefix=no
   8637   need_version=no
   8638   hardcode_into_libs=yes
   8639   if test "$host_cpu" = ia64; then
   8640     # AIX 5 supports IA64
   8641     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8642     shlibpath_var=LD_LIBRARY_PATH
   8643   else
   8644     # With GCC up to 2.95.x, collect2 would create an import file
   8645     # for dependence libraries.  The import file would start with
   8646     # the line `#! .'.  This would cause the generated library to
   8647     # depend on `.', always an invalid library.  This was fixed in
   8648     # development snapshots of GCC prior to 3.0.
   8649     case $host_os in
   8650       aix4 | aix4.[01] | aix4.[01].*)
   8651       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8652 	   echo ' yes '
   8653 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8654 	:
   8655       else
   8656 	can_build_shared=no
   8657       fi
   8658       ;;
   8659     esac
   8660     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8661     # soname into executable. Probably we can add versioning support to
   8662     # collect2, so additional links can be useful in future.
   8663     if test "$aix_use_runtimelinking" = yes; then
   8664       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8665       # instead of lib<name>.a to let people know that these are not
   8666       # typical AIX shared libraries.
   8667       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8668     else
   8669       # We preserve .a as extension for shared libraries through AIX4.2
   8670       # and later when we are not doing run time linking.
   8671       library_names_spec='${libname}${release}.a $libname.a'
   8672       soname_spec='${libname}${release}${shared_ext}$major'
   8673     fi
   8674     shlibpath_var=LIBPATH
   8675   fi
   8676   ;;
   8677 
   8678 amigaos*)
   8679   library_names_spec='$libname.ixlibrary $libname.a'
   8680   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   8681   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'
   8682   ;;
   8683 
   8684 beos*)
   8685   library_names_spec='${libname}${shared_ext}'
   8686   dynamic_linker="$host_os ld.so"
   8687   shlibpath_var=LIBRARY_PATH
   8688   ;;
   8689 
   8690 bsdi[45]*)
   8691   version_type=linux
   8692   need_version=no
   8693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8694   soname_spec='${libname}${release}${shared_ext}$major'
   8695   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   8696   shlibpath_var=LD_LIBRARY_PATH
   8697   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   8698   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   8699   # the default ld.so.conf also contains /usr/contrib/lib and
   8700   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   8701   # libtool to hard-code these into programs
   8702   ;;
   8703 
   8704 cygwin* | mingw* | pw32*)
   8705   version_type=windows
   8706   shrext_cmds=".dll"
   8707   need_version=no
   8708   need_lib_prefix=no
   8709 
   8710   case $GCC,$host_os in
   8711   yes,cygwin* | yes,mingw* | yes,pw32*)
   8712     library_names_spec='$libname.dll.a'
   8713     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   8714     postinstall_cmds='base_file=`basename \${file}`~
   8715       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   8716       dldir=$destdir/`dirname \$dlpath`~
   8717       test -d \$dldir || mkdir -p \$dldir~
   8718       $install_prog $dir/$dlname \$dldir/$dlname~
   8719       chmod a+x \$dldir/$dlname'
   8720     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   8721       dlpath=$dir/\$dldll~
   8722        $rm \$dlpath'
   8723     shlibpath_overrides_runpath=yes
   8724 
   8725     case $host_os in
   8726     cygwin*)
   8727       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   8728       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8729       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   8730       ;;
   8731     mingw*)
   8732       # MinGW DLLs use traditional 'lib' prefix
   8733       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8734       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8735       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   8736         # It is most probably a Windows format PATH printed by
   8737         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   8738         # path with ; separators, and with drive letters. We can handle the
   8739         # drive letters (cygwin fileutils understands them), so leave them,
   8740         # especially as we might pass files found there to a mingw objdump,
   8741         # which wouldn't understand a cygwinified path. Ahh.
   8742         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8743       else
   8744         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8745       fi
   8746       ;;
   8747     pw32*)
   8748       # pw32 DLLs use 'pw' prefix rather than 'lib'
   8749       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8750       ;;
   8751     esac
   8752     ;;
   8753 
   8754   *)
   8755     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8756     ;;
   8757   esac
   8758   dynamic_linker='Win32 ld.exe'
   8759   # FIXME: first we should search . and the directory the executable is in
   8760   shlibpath_var=PATH
   8761   ;;
   8762 
   8763 darwin* | rhapsody*)
   8764   dynamic_linker="$host_os dyld"
   8765   version_type=darwin
   8766   need_lib_prefix=no
   8767   need_version=no
   8768   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8769   soname_spec='${libname}${release}${major}$shared_ext'
   8770   shlibpath_overrides_runpath=yes
   8771   shlibpath_var=DYLD_LIBRARY_PATH
   8772   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   8773   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   8774   if test "$GCC" = yes; then
   8775     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"`
   8776   else
   8777     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   8778   fi
   8779   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8780   ;;
   8781 
   8782 dgux*)
   8783   version_type=linux
   8784   need_lib_prefix=no
   8785   need_version=no
   8786   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8787   soname_spec='${libname}${release}${shared_ext}$major'
   8788   shlibpath_var=LD_LIBRARY_PATH
   8789   ;;
   8790 
   8791 freebsd1*)
   8792   dynamic_linker=no
   8793   ;;
   8794 
   8795 kfreebsd*-gnu)
   8796   version_type=linux
   8797   need_lib_prefix=no
   8798   need_version=no
   8799   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8800   soname_spec='${libname}${release}${shared_ext}$major'
   8801   shlibpath_var=LD_LIBRARY_PATH
   8802   shlibpath_overrides_runpath=no
   8803   hardcode_into_libs=yes
   8804   dynamic_linker='GNU ld.so'
   8805   ;;
   8806 
   8807 freebsd* | dragonfly*)
   8808   # DragonFly does not have aout.  When/if they implement a new
   8809   # versioning mechanism, adjust this.
   8810   if test -x /usr/bin/objformat; then
   8811     objformat=`/usr/bin/objformat`
   8812   else
   8813     case $host_os in
   8814     freebsd[123]*) objformat=aout ;;
   8815     *) objformat=elf ;;
   8816     esac
   8817   fi
   8818   version_type=freebsd-$objformat
   8819   case $version_type in
   8820     freebsd-elf*)
   8821       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8822       need_version=no
   8823       need_lib_prefix=no
   8824       ;;
   8825     freebsd-*)
   8826       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8827       need_version=yes
   8828       ;;
   8829   esac
   8830   shlibpath_var=LD_LIBRARY_PATH
   8831   case $host_os in
   8832   freebsd2*)
   8833     shlibpath_overrides_runpath=yes
   8834     ;;
   8835   freebsd3.[01]* | freebsdelf3.[01]*)
   8836     shlibpath_overrides_runpath=yes
   8837     hardcode_into_libs=yes
   8838     ;;
   8839   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8840   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8841     shlibpath_overrides_runpath=no
   8842     hardcode_into_libs=yes
   8843     ;;
   8844   freebsd*) # from 4.6 on
   8845     shlibpath_overrides_runpath=yes
   8846     hardcode_into_libs=yes
   8847     ;;
   8848   esac
   8849   ;;
   8850 
   8851 gnu*)
   8852   version_type=linux
   8853   need_lib_prefix=no
   8854   need_version=no
   8855   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8856   soname_spec='${libname}${release}${shared_ext}$major'
   8857   shlibpath_var=LD_LIBRARY_PATH
   8858   hardcode_into_libs=yes
   8859   ;;
   8860 
   8861 hpux9* | hpux10* | hpux11*)
   8862   # Give a soname corresponding to the major version so that dld.sl refuses to
   8863   # link against other versions.
   8864   version_type=sunos
   8865   need_lib_prefix=no
   8866   need_version=no
   8867   case $host_cpu in
   8868   ia64*)
   8869     shrext_cmds='.so'
   8870     hardcode_into_libs=yes
   8871     dynamic_linker="$host_os dld.so"
   8872     shlibpath_var=LD_LIBRARY_PATH
   8873     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8874     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8875     soname_spec='${libname}${release}${shared_ext}$major'
   8876     if test "X$HPUX_IA64_MODE" = X32; then
   8877       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8878     else
   8879       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8880     fi
   8881     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8882     ;;
   8883    hppa*64*)
   8884      shrext_cmds='.sl'
   8885      hardcode_into_libs=yes
   8886      dynamic_linker="$host_os dld.sl"
   8887      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8888      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8889      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8890      soname_spec='${libname}${release}${shared_ext}$major'
   8891      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   8892      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8893      ;;
   8894    *)
   8895     shrext_cmds='.sl'
   8896     dynamic_linker="$host_os dld.sl"
   8897     shlibpath_var=SHLIB_PATH
   8898     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   8899     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8900     soname_spec='${libname}${release}${shared_ext}$major'
   8901     ;;
   8902   esac
   8903   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   8904   postinstall_cmds='chmod 555 $lib'
   8905   ;;
   8906 
   8907 interix3*)
   8908   version_type=linux
   8909   need_lib_prefix=no
   8910   need_version=no
   8911   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8912   soname_spec='${libname}${release}${shared_ext}$major'
   8913   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   8914   shlibpath_var=LD_LIBRARY_PATH
   8915   shlibpath_overrides_runpath=no
   8916   hardcode_into_libs=yes
   8917   ;;
   8918 
   8919 irix5* | irix6* | nonstopux*)
   8920   case $host_os in
   8921     nonstopux*) version_type=nonstopux ;;
   8922     *)
   8923 	if test "$lt_cv_prog_gnu_ld" = yes; then
   8924 		version_type=linux
   8925 	else
   8926 		version_type=irix
   8927 	fi ;;
   8928   esac
   8929   need_lib_prefix=no
   8930   need_version=no
   8931   soname_spec='${libname}${release}${shared_ext}$major'
   8932   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   8933   case $host_os in
   8934   irix5* | nonstopux*)
   8935     libsuff= shlibsuff=
   8936     ;;
   8937   *)
   8938     case $LD in # libtool.m4 will add one of these switches to LD
   8939     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   8940       libsuff= shlibsuff= libmagic=32-bit;;
   8941     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   8942       libsuff=32 shlibsuff=N32 libmagic=N32;;
   8943     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   8944       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   8945     *) libsuff= shlibsuff= libmagic=never-match;;
   8946     esac
   8947     ;;
   8948   esac
   8949   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   8950   shlibpath_overrides_runpath=no
   8951   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   8952   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   8953   hardcode_into_libs=yes
   8954   ;;
   8955 
   8956 # No shared lib support for Linux oldld, aout, or coff.
   8957 linux*oldld* | linux*aout* | linux*coff*)
   8958   dynamic_linker=no
   8959   ;;
   8960 
   8961 # This must be Linux ELF.
   8962 linux*)
   8963   version_type=linux
   8964   need_lib_prefix=no
   8965   need_version=no
   8966   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8967   soname_spec='${libname}${release}${shared_ext}$major'
   8968   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   8969   shlibpath_var=LD_LIBRARY_PATH
   8970   shlibpath_overrides_runpath=no
   8971   # This implies no fast_install, which is unacceptable.
   8972   # Some rework will be needed to allow for fast_install
   8973   # before this can be enabled.
   8974   hardcode_into_libs=yes
   8975 
   8976   # Append ld.so.conf contents to the search path
   8977   if test -f /etc/ld.so.conf; then
   8978     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' ' '`
   8979     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   8980   fi
   8981 
   8982   # We used to test for /lib/ld.so.1 and disable shared libraries on
   8983   # powerpc, because MkLinux only supported shared libraries with the
   8984   # GNU dynamic linker.  Since this was broken with cross compilers,
   8985   # most powerpc-linux boxes support dynamic linking these days and
   8986   # people can always --disable-shared, the test was removed, and we
   8987   # assume the GNU/Linux dynamic linker is in use.
   8988   dynamic_linker='GNU/Linux ld.so'
   8989   ;;
   8990 
   8991 knetbsd*-gnu)
   8992   version_type=linux
   8993   need_lib_prefix=no
   8994   need_version=no
   8995   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8996   soname_spec='${libname}${release}${shared_ext}$major'
   8997   shlibpath_var=LD_LIBRARY_PATH
   8998   shlibpath_overrides_runpath=no
   8999   hardcode_into_libs=yes
   9000   dynamic_linker='GNU ld.so'
   9001   ;;
   9002 
   9003 netbsd*)
   9004   version_type=sunos
   9005   need_lib_prefix=no
   9006   need_version=no
   9007   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9008     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9009     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9010     dynamic_linker='NetBSD (a.out) ld.so'
   9011   else
   9012     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9013     soname_spec='${libname}${release}${shared_ext}$major'
   9014     dynamic_linker='NetBSD ld.elf_so'
   9015   fi
   9016   shlibpath_var=LD_LIBRARY_PATH
   9017   shlibpath_overrides_runpath=yes
   9018   hardcode_into_libs=yes
   9019   ;;
   9020 
   9021 newsos6)
   9022   version_type=linux
   9023   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9024   shlibpath_var=LD_LIBRARY_PATH
   9025   shlibpath_overrides_runpath=yes
   9026   ;;
   9027 
   9028 nto-qnx*)
   9029   version_type=linux
   9030   need_lib_prefix=no
   9031   need_version=no
   9032   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9033   soname_spec='${libname}${release}${shared_ext}$major'
   9034   shlibpath_var=LD_LIBRARY_PATH
   9035   shlibpath_overrides_runpath=yes
   9036   ;;
   9037 
   9038 openbsd*)
   9039   version_type=sunos
   9040   sys_lib_dlsearch_path_spec="/usr/lib"
   9041   need_lib_prefix=no
   9042   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9043   case $host_os in
   9044     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9045     *)                         need_version=no  ;;
   9046   esac
   9047   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9048   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9049   shlibpath_var=LD_LIBRARY_PATH
   9050   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9051     case $host_os in
   9052       openbsd2.[89] | openbsd2.[89].*)
   9053 	shlibpath_overrides_runpath=no
   9054 	;;
   9055       *)
   9056 	shlibpath_overrides_runpath=yes
   9057 	;;
   9058       esac
   9059   else
   9060     shlibpath_overrides_runpath=yes
   9061   fi
   9062   ;;
   9063 
   9064 os2*)
   9065   libname_spec='$name'
   9066   shrext_cmds=".dll"
   9067   need_lib_prefix=no
   9068   library_names_spec='$libname${shared_ext} $libname.a'
   9069   dynamic_linker='OS/2 ld.exe'
   9070   shlibpath_var=LIBPATH
   9071   ;;
   9072 
   9073 osf3* | osf4* | osf5*)
   9074   version_type=osf
   9075   need_lib_prefix=no
   9076   need_version=no
   9077   soname_spec='${libname}${release}${shared_ext}$major'
   9078   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9079   shlibpath_var=LD_LIBRARY_PATH
   9080   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9081   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9082   ;;
   9083 
   9084 solaris*)
   9085   version_type=linux
   9086   need_lib_prefix=no
   9087   need_version=no
   9088   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9089   soname_spec='${libname}${release}${shared_ext}$major'
   9090   shlibpath_var=LD_LIBRARY_PATH
   9091   shlibpath_overrides_runpath=yes
   9092   hardcode_into_libs=yes
   9093   # ldd complains unless libraries are executable
   9094   postinstall_cmds='chmod +x $lib'
   9095   ;;
   9096 
   9097 sunos4*)
   9098   version_type=sunos
   9099   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9100   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9101   shlibpath_var=LD_LIBRARY_PATH
   9102   shlibpath_overrides_runpath=yes
   9103   if test "$with_gnu_ld" = yes; then
   9104     need_lib_prefix=no
   9105   fi
   9106   need_version=yes
   9107   ;;
   9108 
   9109 sysv4 | sysv4.3*)
   9110   version_type=linux
   9111   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9112   soname_spec='${libname}${release}${shared_ext}$major'
   9113   shlibpath_var=LD_LIBRARY_PATH
   9114   case $host_vendor in
   9115     sni)
   9116       shlibpath_overrides_runpath=no
   9117       need_lib_prefix=no
   9118       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9119       runpath_var=LD_RUN_PATH
   9120       ;;
   9121     siemens)
   9122       need_lib_prefix=no
   9123       ;;
   9124     motorola)
   9125       need_lib_prefix=no
   9126       need_version=no
   9127       shlibpath_overrides_runpath=no
   9128       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9129       ;;
   9130   esac
   9131   ;;
   9132 
   9133 sysv4*MP*)
   9134   if test -d /usr/nec ;then
   9135     version_type=linux
   9136     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9137     soname_spec='$libname${shared_ext}.$major'
   9138     shlibpath_var=LD_LIBRARY_PATH
   9139   fi
   9140   ;;
   9141 
   9142 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9143   version_type=freebsd-elf
   9144   need_lib_prefix=no
   9145   need_version=no
   9146   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9147   soname_spec='${libname}${release}${shared_ext}$major'
   9148   shlibpath_var=LD_LIBRARY_PATH
   9149   hardcode_into_libs=yes
   9150   if test "$with_gnu_ld" = yes; then
   9151     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9152     shlibpath_overrides_runpath=no
   9153   else
   9154     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9155     shlibpath_overrides_runpath=yes
   9156     case $host_os in
   9157       sco3.2v5*)
   9158         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9159 	;;
   9160     esac
   9161   fi
   9162   sys_lib_dlsearch_path_spec='/usr/lib'
   9163   ;;
   9164 
   9165 uts4*)
   9166   version_type=linux
   9167   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9168   soname_spec='${libname}${release}${shared_ext}$major'
   9169   shlibpath_var=LD_LIBRARY_PATH
   9170   ;;
   9171 
   9172 *)
   9173   dynamic_linker=no
   9174   ;;
   9175 esac
   9176 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9177 echo "${ECHO_T}$dynamic_linker" >&6; }
   9178 test "$dynamic_linker" = no && can_build_shared=no
   9179 
   9180 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9181 if test "$GCC" = yes; then
   9182   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9183 fi
   9184 
   9185 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9186 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9187 hardcode_action=
   9188 if test -n "$hardcode_libdir_flag_spec" || \
   9189    test -n "$runpath_var" || \
   9190    test "X$hardcode_automatic" = "Xyes" ; then
   9191 
   9192   # We can hardcode non-existant directories.
   9193   if test "$hardcode_direct" != no &&
   9194      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9195      # have to relink, otherwise we might link with an installed library
   9196      # when we should be linking with a yet-to-be-installed one
   9197      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9198      test "$hardcode_minus_L" != no; then
   9199     # Linking always hardcodes the temporary library directory.
   9200     hardcode_action=relink
   9201   else
   9202     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9203     hardcode_action=immediate
   9204   fi
   9205 else
   9206   # We cannot hardcode anything, or else we can only hardcode existing
   9207   # directories.
   9208   hardcode_action=unsupported
   9209 fi
   9210 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9211 echo "${ECHO_T}$hardcode_action" >&6; }
   9212 
   9213 if test "$hardcode_action" = relink; then
   9214   # Fast installation is not supported
   9215   enable_fast_install=no
   9216 elif test "$shlibpath_overrides_runpath" = yes ||
   9217      test "$enable_shared" = no; then
   9218   # Fast installation is not necessary
   9219   enable_fast_install=needless
   9220 fi
   9221 
   9222 striplib=
   9223 old_striplib=
   9224 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9225 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9226 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9227   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9228   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9229   { echo "$as_me:$LINENO: result: yes" >&5
   9230 echo "${ECHO_T}yes" >&6; }
   9231 else
   9232 # FIXME - insert some real tests, host_os isn't really good enough
   9233   case $host_os in
   9234    darwin*)
   9235        if test -n "$STRIP" ; then
   9236          striplib="$STRIP -x"
   9237          { echo "$as_me:$LINENO: result: yes" >&5
   9238 echo "${ECHO_T}yes" >&6; }
   9239        else
   9240   { echo "$as_me:$LINENO: result: no" >&5
   9241 echo "${ECHO_T}no" >&6; }
   9242 fi
   9243        ;;
   9244    *)
   9245   { echo "$as_me:$LINENO: result: no" >&5
   9246 echo "${ECHO_T}no" >&6; }
   9247     ;;
   9248   esac
   9249 fi
   9250 
   9251 if test "x$enable_dlopen" != xyes; then
   9252   enable_dlopen=unknown
   9253   enable_dlopen_self=unknown
   9254   enable_dlopen_self_static=unknown
   9255 else
   9256   lt_cv_dlopen=no
   9257   lt_cv_dlopen_libs=
   9258 
   9259   case $host_os in
   9260   beos*)
   9261     lt_cv_dlopen="load_add_on"
   9262     lt_cv_dlopen_libs=
   9263     lt_cv_dlopen_self=yes
   9264     ;;
   9265 
   9266   mingw* | pw32*)
   9267     lt_cv_dlopen="LoadLibrary"
   9268     lt_cv_dlopen_libs=
   9269    ;;
   9270 
   9271   cygwin*)
   9272     lt_cv_dlopen="dlopen"
   9273     lt_cv_dlopen_libs=
   9274    ;;
   9275 
   9276   darwin*)
   9277   # if libdl is installed we need to link against it
   9278     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9279 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9280 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9281   echo $ECHO_N "(cached) $ECHO_C" >&6
   9282 else
   9283   ac_check_lib_save_LIBS=$LIBS
   9284 LIBS="-ldl  $LIBS"
   9285 cat >conftest.$ac_ext <<_ACEOF
   9286 /* confdefs.h.  */
   9287 _ACEOF
   9288 cat confdefs.h >>conftest.$ac_ext
   9289 cat >>conftest.$ac_ext <<_ACEOF
   9290 /* end confdefs.h.  */
   9291 
   9292 /* Override any GCC internal prototype to avoid an error.
   9293    Use char because int might match the return type of a GCC
   9294    builtin and then its argument prototype would still apply.  */
   9295 #ifdef __cplusplus
   9296 extern "C"
   9297 #endif
   9298 char dlopen ();
   9299 int
   9300 main ()
   9301 {
   9302 return dlopen ();
   9303   ;
   9304   return 0;
   9305 }
   9306 _ACEOF
   9307 rm -f conftest.$ac_objext conftest$ac_exeext
   9308 if { (ac_try="$ac_link"
   9309 case "(($ac_try" in
   9310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9311   *) ac_try_echo=$ac_try;;
   9312 esac
   9313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9314   (eval "$ac_link") 2>conftest.er1
   9315   ac_status=$?
   9316   grep -v '^ *+' conftest.er1 >conftest.err
   9317   rm -f conftest.er1
   9318   cat conftest.err >&5
   9319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9320   (exit $ac_status); } && {
   9321 	 test -z "$ac_c_werror_flag" ||
   9322 	 test ! -s conftest.err
   9323        } && test -s conftest$ac_exeext &&
   9324        $as_test_x conftest$ac_exeext; then
   9325   ac_cv_lib_dl_dlopen=yes
   9326 else
   9327   echo "$as_me: failed program was:" >&5
   9328 sed 's/^/| /' conftest.$ac_ext >&5
   9329 
   9330 	ac_cv_lib_dl_dlopen=no
   9331 fi
   9332 
   9333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9334       conftest$ac_exeext conftest.$ac_ext
   9335 LIBS=$ac_check_lib_save_LIBS
   9336 fi
   9337 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9338 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9339 if test $ac_cv_lib_dl_dlopen = yes; then
   9340   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9341 else
   9342 
   9343     lt_cv_dlopen="dyld"
   9344     lt_cv_dlopen_libs=
   9345     lt_cv_dlopen_self=yes
   9346 
   9347 fi
   9348 
   9349    ;;
   9350 
   9351   *)
   9352     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9353 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9354 if test "${ac_cv_func_shl_load+set}" = set; then
   9355   echo $ECHO_N "(cached) $ECHO_C" >&6
   9356 else
   9357   cat >conftest.$ac_ext <<_ACEOF
   9358 /* confdefs.h.  */
   9359 _ACEOF
   9360 cat confdefs.h >>conftest.$ac_ext
   9361 cat >>conftest.$ac_ext <<_ACEOF
   9362 /* end confdefs.h.  */
   9363 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9364    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9365 #define shl_load innocuous_shl_load
   9366 
   9367 /* System header to define __stub macros and hopefully few prototypes,
   9368     which can conflict with char shl_load (); below.
   9369     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9370     <limits.h> exists even on freestanding compilers.  */
   9371 
   9372 #ifdef __STDC__
   9373 # include <limits.h>
   9374 #else
   9375 # include <assert.h>
   9376 #endif
   9377 
   9378 #undef shl_load
   9379 
   9380 /* Override any GCC internal prototype to avoid an error.
   9381    Use char because int might match the return type of a GCC
   9382    builtin and then its argument prototype would still apply.  */
   9383 #ifdef __cplusplus
   9384 extern "C"
   9385 #endif
   9386 char shl_load ();
   9387 /* The GNU C library defines this for functions which it implements
   9388     to always fail with ENOSYS.  Some functions are actually named
   9389     something starting with __ and the normal name is an alias.  */
   9390 #if defined __stub_shl_load || defined __stub___shl_load
   9391 choke me
   9392 #endif
   9393 
   9394 int
   9395 main ()
   9396 {
   9397 return shl_load ();
   9398   ;
   9399   return 0;
   9400 }
   9401 _ACEOF
   9402 rm -f conftest.$ac_objext conftest$ac_exeext
   9403 if { (ac_try="$ac_link"
   9404 case "(($ac_try" in
   9405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9406   *) ac_try_echo=$ac_try;;
   9407 esac
   9408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9409   (eval "$ac_link") 2>conftest.er1
   9410   ac_status=$?
   9411   grep -v '^ *+' conftest.er1 >conftest.err
   9412   rm -f conftest.er1
   9413   cat conftest.err >&5
   9414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9415   (exit $ac_status); } && {
   9416 	 test -z "$ac_c_werror_flag" ||
   9417 	 test ! -s conftest.err
   9418        } && test -s conftest$ac_exeext &&
   9419        $as_test_x conftest$ac_exeext; then
   9420   ac_cv_func_shl_load=yes
   9421 else
   9422   echo "$as_me: failed program was:" >&5
   9423 sed 's/^/| /' conftest.$ac_ext >&5
   9424 
   9425 	ac_cv_func_shl_load=no
   9426 fi
   9427 
   9428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9429       conftest$ac_exeext conftest.$ac_ext
   9430 fi
   9431 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9432 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9433 if test $ac_cv_func_shl_load = yes; then
   9434   lt_cv_dlopen="shl_load"
   9435 else
   9436   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9437 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9438 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9439   echo $ECHO_N "(cached) $ECHO_C" >&6
   9440 else
   9441   ac_check_lib_save_LIBS=$LIBS
   9442 LIBS="-ldld  $LIBS"
   9443 cat >conftest.$ac_ext <<_ACEOF
   9444 /* confdefs.h.  */
   9445 _ACEOF
   9446 cat confdefs.h >>conftest.$ac_ext
   9447 cat >>conftest.$ac_ext <<_ACEOF
   9448 /* end confdefs.h.  */
   9449 
   9450 /* Override any GCC internal prototype to avoid an error.
   9451    Use char because int might match the return type of a GCC
   9452    builtin and then its argument prototype would still apply.  */
   9453 #ifdef __cplusplus
   9454 extern "C"
   9455 #endif
   9456 char shl_load ();
   9457 int
   9458 main ()
   9459 {
   9460 return shl_load ();
   9461   ;
   9462   return 0;
   9463 }
   9464 _ACEOF
   9465 rm -f conftest.$ac_objext conftest$ac_exeext
   9466 if { (ac_try="$ac_link"
   9467 case "(($ac_try" in
   9468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9469   *) ac_try_echo=$ac_try;;
   9470 esac
   9471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9472   (eval "$ac_link") 2>conftest.er1
   9473   ac_status=$?
   9474   grep -v '^ *+' conftest.er1 >conftest.err
   9475   rm -f conftest.er1
   9476   cat conftest.err >&5
   9477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9478   (exit $ac_status); } && {
   9479 	 test -z "$ac_c_werror_flag" ||
   9480 	 test ! -s conftest.err
   9481        } && test -s conftest$ac_exeext &&
   9482        $as_test_x conftest$ac_exeext; then
   9483   ac_cv_lib_dld_shl_load=yes
   9484 else
   9485   echo "$as_me: failed program was:" >&5
   9486 sed 's/^/| /' conftest.$ac_ext >&5
   9487 
   9488 	ac_cv_lib_dld_shl_load=no
   9489 fi
   9490 
   9491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9492       conftest$ac_exeext conftest.$ac_ext
   9493 LIBS=$ac_check_lib_save_LIBS
   9494 fi
   9495 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9496 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9497 if test $ac_cv_lib_dld_shl_load = yes; then
   9498   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9499 else
   9500   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9501 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9502 if test "${ac_cv_func_dlopen+set}" = set; then
   9503   echo $ECHO_N "(cached) $ECHO_C" >&6
   9504 else
   9505   cat >conftest.$ac_ext <<_ACEOF
   9506 /* confdefs.h.  */
   9507 _ACEOF
   9508 cat confdefs.h >>conftest.$ac_ext
   9509 cat >>conftest.$ac_ext <<_ACEOF
   9510 /* end confdefs.h.  */
   9511 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9512    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9513 #define dlopen innocuous_dlopen
   9514 
   9515 /* System header to define __stub macros and hopefully few prototypes,
   9516     which can conflict with char dlopen (); below.
   9517     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9518     <limits.h> exists even on freestanding compilers.  */
   9519 
   9520 #ifdef __STDC__
   9521 # include <limits.h>
   9522 #else
   9523 # include <assert.h>
   9524 #endif
   9525 
   9526 #undef dlopen
   9527 
   9528 /* Override any GCC internal prototype to avoid an error.
   9529    Use char because int might match the return type of a GCC
   9530    builtin and then its argument prototype would still apply.  */
   9531 #ifdef __cplusplus
   9532 extern "C"
   9533 #endif
   9534 char dlopen ();
   9535 /* The GNU C library defines this for functions which it implements
   9536     to always fail with ENOSYS.  Some functions are actually named
   9537     something starting with __ and the normal name is an alias.  */
   9538 #if defined __stub_dlopen || defined __stub___dlopen
   9539 choke me
   9540 #endif
   9541 
   9542 int
   9543 main ()
   9544 {
   9545 return dlopen ();
   9546   ;
   9547   return 0;
   9548 }
   9549 _ACEOF
   9550 rm -f conftest.$ac_objext conftest$ac_exeext
   9551 if { (ac_try="$ac_link"
   9552 case "(($ac_try" in
   9553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9554   *) ac_try_echo=$ac_try;;
   9555 esac
   9556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9557   (eval "$ac_link") 2>conftest.er1
   9558   ac_status=$?
   9559   grep -v '^ *+' conftest.er1 >conftest.err
   9560   rm -f conftest.er1
   9561   cat conftest.err >&5
   9562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9563   (exit $ac_status); } && {
   9564 	 test -z "$ac_c_werror_flag" ||
   9565 	 test ! -s conftest.err
   9566        } && test -s conftest$ac_exeext &&
   9567        $as_test_x conftest$ac_exeext; then
   9568   ac_cv_func_dlopen=yes
   9569 else
   9570   echo "$as_me: failed program was:" >&5
   9571 sed 's/^/| /' conftest.$ac_ext >&5
   9572 
   9573 	ac_cv_func_dlopen=no
   9574 fi
   9575 
   9576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9577       conftest$ac_exeext conftest.$ac_ext
   9578 fi
   9579 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   9580 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   9581 if test $ac_cv_func_dlopen = yes; then
   9582   lt_cv_dlopen="dlopen"
   9583 else
   9584   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9585 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9586 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9587   echo $ECHO_N "(cached) $ECHO_C" >&6
   9588 else
   9589   ac_check_lib_save_LIBS=$LIBS
   9590 LIBS="-ldl  $LIBS"
   9591 cat >conftest.$ac_ext <<_ACEOF
   9592 /* confdefs.h.  */
   9593 _ACEOF
   9594 cat confdefs.h >>conftest.$ac_ext
   9595 cat >>conftest.$ac_ext <<_ACEOF
   9596 /* end confdefs.h.  */
   9597 
   9598 /* Override any GCC internal prototype to avoid an error.
   9599    Use char because int might match the return type of a GCC
   9600    builtin and then its argument prototype would still apply.  */
   9601 #ifdef __cplusplus
   9602 extern "C"
   9603 #endif
   9604 char dlopen ();
   9605 int
   9606 main ()
   9607 {
   9608 return dlopen ();
   9609   ;
   9610   return 0;
   9611 }
   9612 _ACEOF
   9613 rm -f conftest.$ac_objext conftest$ac_exeext
   9614 if { (ac_try="$ac_link"
   9615 case "(($ac_try" in
   9616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9617   *) ac_try_echo=$ac_try;;
   9618 esac
   9619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9620   (eval "$ac_link") 2>conftest.er1
   9621   ac_status=$?
   9622   grep -v '^ *+' conftest.er1 >conftest.err
   9623   rm -f conftest.er1
   9624   cat conftest.err >&5
   9625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9626   (exit $ac_status); } && {
   9627 	 test -z "$ac_c_werror_flag" ||
   9628 	 test ! -s conftest.err
   9629        } && test -s conftest$ac_exeext &&
   9630        $as_test_x conftest$ac_exeext; then
   9631   ac_cv_lib_dl_dlopen=yes
   9632 else
   9633   echo "$as_me: failed program was:" >&5
   9634 sed 's/^/| /' conftest.$ac_ext >&5
   9635 
   9636 	ac_cv_lib_dl_dlopen=no
   9637 fi
   9638 
   9639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9640       conftest$ac_exeext conftest.$ac_ext
   9641 LIBS=$ac_check_lib_save_LIBS
   9642 fi
   9643 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9644 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9645 if test $ac_cv_lib_dl_dlopen = yes; then
   9646   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9647 else
   9648   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   9649 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   9650 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   9651   echo $ECHO_N "(cached) $ECHO_C" >&6
   9652 else
   9653   ac_check_lib_save_LIBS=$LIBS
   9654 LIBS="-lsvld  $LIBS"
   9655 cat >conftest.$ac_ext <<_ACEOF
   9656 /* confdefs.h.  */
   9657 _ACEOF
   9658 cat confdefs.h >>conftest.$ac_ext
   9659 cat >>conftest.$ac_ext <<_ACEOF
   9660 /* end confdefs.h.  */
   9661 
   9662 /* Override any GCC internal prototype to avoid an error.
   9663    Use char because int might match the return type of a GCC
   9664    builtin and then its argument prototype would still apply.  */
   9665 #ifdef __cplusplus
   9666 extern "C"
   9667 #endif
   9668 char dlopen ();
   9669 int
   9670 main ()
   9671 {
   9672 return dlopen ();
   9673   ;
   9674   return 0;
   9675 }
   9676 _ACEOF
   9677 rm -f conftest.$ac_objext conftest$ac_exeext
   9678 if { (ac_try="$ac_link"
   9679 case "(($ac_try" in
   9680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9681   *) ac_try_echo=$ac_try;;
   9682 esac
   9683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9684   (eval "$ac_link") 2>conftest.er1
   9685   ac_status=$?
   9686   grep -v '^ *+' conftest.er1 >conftest.err
   9687   rm -f conftest.er1
   9688   cat conftest.err >&5
   9689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9690   (exit $ac_status); } && {
   9691 	 test -z "$ac_c_werror_flag" ||
   9692 	 test ! -s conftest.err
   9693        } && test -s conftest$ac_exeext &&
   9694        $as_test_x conftest$ac_exeext; then
   9695   ac_cv_lib_svld_dlopen=yes
   9696 else
   9697   echo "$as_me: failed program was:" >&5
   9698 sed 's/^/| /' conftest.$ac_ext >&5
   9699 
   9700 	ac_cv_lib_svld_dlopen=no
   9701 fi
   9702 
   9703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9704       conftest$ac_exeext conftest.$ac_ext
   9705 LIBS=$ac_check_lib_save_LIBS
   9706 fi
   9707 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   9708 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   9709 if test $ac_cv_lib_svld_dlopen = yes; then
   9710   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   9711 else
   9712   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   9713 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   9714 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   9715   echo $ECHO_N "(cached) $ECHO_C" >&6
   9716 else
   9717   ac_check_lib_save_LIBS=$LIBS
   9718 LIBS="-ldld  $LIBS"
   9719 cat >conftest.$ac_ext <<_ACEOF
   9720 /* confdefs.h.  */
   9721 _ACEOF
   9722 cat confdefs.h >>conftest.$ac_ext
   9723 cat >>conftest.$ac_ext <<_ACEOF
   9724 /* end confdefs.h.  */
   9725 
   9726 /* Override any GCC internal prototype to avoid an error.
   9727    Use char because int might match the return type of a GCC
   9728    builtin and then its argument prototype would still apply.  */
   9729 #ifdef __cplusplus
   9730 extern "C"
   9731 #endif
   9732 char dld_link ();
   9733 int
   9734 main ()
   9735 {
   9736 return dld_link ();
   9737   ;
   9738   return 0;
   9739 }
   9740 _ACEOF
   9741 rm -f conftest.$ac_objext conftest$ac_exeext
   9742 if { (ac_try="$ac_link"
   9743 case "(($ac_try" in
   9744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9745   *) ac_try_echo=$ac_try;;
   9746 esac
   9747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9748   (eval "$ac_link") 2>conftest.er1
   9749   ac_status=$?
   9750   grep -v '^ *+' conftest.er1 >conftest.err
   9751   rm -f conftest.er1
   9752   cat conftest.err >&5
   9753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9754   (exit $ac_status); } && {
   9755 	 test -z "$ac_c_werror_flag" ||
   9756 	 test ! -s conftest.err
   9757        } && test -s conftest$ac_exeext &&
   9758        $as_test_x conftest$ac_exeext; then
   9759   ac_cv_lib_dld_dld_link=yes
   9760 else
   9761   echo "$as_me: failed program was:" >&5
   9762 sed 's/^/| /' conftest.$ac_ext >&5
   9763 
   9764 	ac_cv_lib_dld_dld_link=no
   9765 fi
   9766 
   9767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9768       conftest$ac_exeext conftest.$ac_ext
   9769 LIBS=$ac_check_lib_save_LIBS
   9770 fi
   9771 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   9772 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   9773 if test $ac_cv_lib_dld_dld_link = yes; then
   9774   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   9775 fi
   9776 
   9777 
   9778 fi
   9779 
   9780 
   9781 fi
   9782 
   9783 
   9784 fi
   9785 
   9786 
   9787 fi
   9788 
   9789 
   9790 fi
   9791 
   9792     ;;
   9793   esac
   9794 
   9795   if test "x$lt_cv_dlopen" != xno; then
   9796     enable_dlopen=yes
   9797   else
   9798     enable_dlopen=no
   9799   fi
   9800 
   9801   case $lt_cv_dlopen in
   9802   dlopen)
   9803     save_CPPFLAGS="$CPPFLAGS"
   9804     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   9805 
   9806     save_LDFLAGS="$LDFLAGS"
   9807     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   9808 
   9809     save_LIBS="$LIBS"
   9810     LIBS="$lt_cv_dlopen_libs $LIBS"
   9811 
   9812     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   9813 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   9814 if test "${lt_cv_dlopen_self+set}" = set; then
   9815   echo $ECHO_N "(cached) $ECHO_C" >&6
   9816 else
   9817   	  if test "$cross_compiling" = yes; then :
   9818   lt_cv_dlopen_self=cross
   9819 else
   9820   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9821   lt_status=$lt_dlunknown
   9822   cat > conftest.$ac_ext <<EOF
   9823 #line 9823 "configure"
   9824 #include "confdefs.h"
   9825 
   9826 #if HAVE_DLFCN_H
   9827 #include <dlfcn.h>
   9828 #endif
   9829 
   9830 #include <stdio.h>
   9831 
   9832 #ifdef RTLD_GLOBAL
   9833 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9834 #else
   9835 #  ifdef DL_GLOBAL
   9836 #    define LT_DLGLOBAL		DL_GLOBAL
   9837 #  else
   9838 #    define LT_DLGLOBAL		0
   9839 #  endif
   9840 #endif
   9841 
   9842 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9843    find out it does not work in some platform. */
   9844 #ifndef LT_DLLAZY_OR_NOW
   9845 #  ifdef RTLD_LAZY
   9846 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9847 #  else
   9848 #    ifdef DL_LAZY
   9849 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9850 #    else
   9851 #      ifdef RTLD_NOW
   9852 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9853 #      else
   9854 #        ifdef DL_NOW
   9855 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9856 #        else
   9857 #          define LT_DLLAZY_OR_NOW	0
   9858 #        endif
   9859 #      endif
   9860 #    endif
   9861 #  endif
   9862 #endif
   9863 
   9864 #ifdef __cplusplus
   9865 extern "C" void exit (int);
   9866 #endif
   9867 
   9868 void fnord() { int i=42;}
   9869 int main ()
   9870 {
   9871   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9872   int status = $lt_dlunknown;
   9873 
   9874   if (self)
   9875     {
   9876       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9877       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9878       /* dlclose (self); */
   9879     }
   9880   else
   9881     puts (dlerror ());
   9882 
   9883     exit (status);
   9884 }
   9885 EOF
   9886   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9887   (eval $ac_link) 2>&5
   9888   ac_status=$?
   9889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9890   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9891     (./conftest; exit; ) >&5 2>/dev/null
   9892     lt_status=$?
   9893     case x$lt_status in
   9894       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   9895       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   9896       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   9897     esac
   9898   else :
   9899     # compilation failed
   9900     lt_cv_dlopen_self=no
   9901   fi
   9902 fi
   9903 rm -fr conftest*
   9904 
   9905 
   9906 fi
   9907 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   9908 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   9909 
   9910     if test "x$lt_cv_dlopen_self" = xyes; then
   9911       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   9912       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   9913 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   9914 if test "${lt_cv_dlopen_self_static+set}" = set; then
   9915   echo $ECHO_N "(cached) $ECHO_C" >&6
   9916 else
   9917   	  if test "$cross_compiling" = yes; then :
   9918   lt_cv_dlopen_self_static=cross
   9919 else
   9920   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9921   lt_status=$lt_dlunknown
   9922   cat > conftest.$ac_ext <<EOF
   9923 #line 9923 "configure"
   9924 #include "confdefs.h"
   9925 
   9926 #if HAVE_DLFCN_H
   9927 #include <dlfcn.h>
   9928 #endif
   9929 
   9930 #include <stdio.h>
   9931 
   9932 #ifdef RTLD_GLOBAL
   9933 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9934 #else
   9935 #  ifdef DL_GLOBAL
   9936 #    define LT_DLGLOBAL		DL_GLOBAL
   9937 #  else
   9938 #    define LT_DLGLOBAL		0
   9939 #  endif
   9940 #endif
   9941 
   9942 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9943    find out it does not work in some platform. */
   9944 #ifndef LT_DLLAZY_OR_NOW
   9945 #  ifdef RTLD_LAZY
   9946 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9947 #  else
   9948 #    ifdef DL_LAZY
   9949 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9950 #    else
   9951 #      ifdef RTLD_NOW
   9952 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9953 #      else
   9954 #        ifdef DL_NOW
   9955 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9956 #        else
   9957 #          define LT_DLLAZY_OR_NOW	0
   9958 #        endif
   9959 #      endif
   9960 #    endif
   9961 #  endif
   9962 #endif
   9963 
   9964 #ifdef __cplusplus
   9965 extern "C" void exit (int);
   9966 #endif
   9967 
   9968 void fnord() { int i=42;}
   9969 int main ()
   9970 {
   9971   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9972   int status = $lt_dlunknown;
   9973 
   9974   if (self)
   9975     {
   9976       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9977       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9978       /* dlclose (self); */
   9979     }
   9980   else
   9981     puts (dlerror ());
   9982 
   9983     exit (status);
   9984 }
   9985 EOF
   9986   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9987   (eval $ac_link) 2>&5
   9988   ac_status=$?
   9989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9990   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9991     (./conftest; exit; ) >&5 2>/dev/null
   9992     lt_status=$?
   9993     case x$lt_status in
   9994       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   9995       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   9996       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   9997     esac
   9998   else :
   9999     # compilation failed
   10000     lt_cv_dlopen_self_static=no
   10001   fi
   10002 fi
   10003 rm -fr conftest*
   10004 
   10005 
   10006 fi
   10007 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10008 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   10009     fi
   10010 
   10011     CPPFLAGS="$save_CPPFLAGS"
   10012     LDFLAGS="$save_LDFLAGS"
   10013     LIBS="$save_LIBS"
   10014     ;;
   10015   esac
   10016 
   10017   case $lt_cv_dlopen_self in
   10018   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10019   *) enable_dlopen_self=unknown ;;
   10020   esac
   10021 
   10022   case $lt_cv_dlopen_self_static in
   10023   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10024   *) enable_dlopen_self_static=unknown ;;
   10025   esac
   10026 fi
   10027 
   10028 
   10029 # Report which library types will actually be built
   10030 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10031 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10032 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10033 echo "${ECHO_T}$can_build_shared" >&6; }
   10034 
   10035 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10036 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10037 test "$can_build_shared" = "no" && enable_shared=no
   10038 
   10039 # On AIX, shared libraries and static libraries use the same namespace, and
   10040 # are all built from PIC.
   10041 case $host_os in
   10042 aix3*)
   10043   test "$enable_shared" = yes && enable_static=no
   10044   if test -n "$RANLIB"; then
   10045     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10046     postinstall_cmds='$RANLIB $lib'
   10047   fi
   10048   ;;
   10049 
   10050 aix4* | aix5*)
   10051   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10052     test "$enable_shared" = yes && enable_static=no
   10053   fi
   10054     ;;
   10055 esac
   10056 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10057 echo "${ECHO_T}$enable_shared" >&6; }
   10058 
   10059 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10060 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10061 # Make sure either enable_shared or enable_static is yes.
   10062 test "$enable_shared" = yes || enable_static=yes
   10063 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10064 echo "${ECHO_T}$enable_static" >&6; }
   10065 
   10066 # The else clause should only fire when bootstrapping the
   10067 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10068 # with your package, and you will get complaints that there are
   10069 # no rules to generate ltmain.sh.
   10070 if test -f "$ltmain"; then
   10071   # See if we are running on zsh, and set the options which allow our commands through
   10072   # without removal of \ escapes.
   10073   if test -n "${ZSH_VERSION+set}" ; then
   10074     setopt NO_GLOB_SUBST
   10075   fi
   10076   # Now quote all the things that may contain metacharacters while being
   10077   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10078   # variables and quote the copies for generation of the libtool script.
   10079   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10080     SED SHELL STRIP \
   10081     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10082     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10083     deplibs_check_method reload_flag reload_cmds need_locks \
   10084     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10085     lt_cv_sys_global_symbol_to_c_name_address \
   10086     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10087     old_postinstall_cmds old_postuninstall_cmds \
   10088     compiler \
   10089     CC \
   10090     LD \
   10091     lt_prog_compiler_wl \
   10092     lt_prog_compiler_pic \
   10093     lt_prog_compiler_static \
   10094     lt_prog_compiler_no_builtin_flag \
   10095     export_dynamic_flag_spec \
   10096     thread_safe_flag_spec \
   10097     whole_archive_flag_spec \
   10098     enable_shared_with_static_runtimes \
   10099     old_archive_cmds \
   10100     old_archive_from_new_cmds \
   10101     predep_objects \
   10102     postdep_objects \
   10103     predeps \
   10104     postdeps \
   10105     compiler_lib_search_path \
   10106     archive_cmds \
   10107     archive_expsym_cmds \
   10108     postinstall_cmds \
   10109     postuninstall_cmds \
   10110     old_archive_from_expsyms_cmds \
   10111     allow_undefined_flag \
   10112     no_undefined_flag \
   10113     export_symbols_cmds \
   10114     hardcode_libdir_flag_spec \
   10115     hardcode_libdir_flag_spec_ld \
   10116     hardcode_libdir_separator \
   10117     hardcode_automatic \
   10118     module_cmds \
   10119     module_expsym_cmds \
   10120     lt_cv_prog_compiler_c_o \
   10121     exclude_expsyms \
   10122     include_expsyms; do
   10123 
   10124     case $var in
   10125     old_archive_cmds | \
   10126     old_archive_from_new_cmds | \
   10127     archive_cmds | \
   10128     archive_expsym_cmds | \
   10129     module_cmds | \
   10130     module_expsym_cmds | \
   10131     old_archive_from_expsyms_cmds | \
   10132     export_symbols_cmds | \
   10133     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10134     postinstall_cmds | postuninstall_cmds | \
   10135     old_postinstall_cmds | old_postuninstall_cmds | \
   10136     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10137       # Double-quote double-evaled strings.
   10138       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10139       ;;
   10140     *)
   10141       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10142       ;;
   10143     esac
   10144   done
   10145 
   10146   case $lt_echo in
   10147   *'\$0 --fallback-echo"')
   10148     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10149     ;;
   10150   esac
   10151 
   10152 cfgfile="${ofile}T"
   10153   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10154   $rm -f "$cfgfile"
   10155   { echo "$as_me:$LINENO: creating $ofile" >&5
   10156 echo "$as_me: creating $ofile" >&6;}
   10157 
   10158   cat <<__EOF__ >> "$cfgfile"
   10159 #! $SHELL
   10160 
   10161 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10162 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10163 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10164 #
   10165 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   10166 # Free Software Foundation, Inc.
   10167 #
   10168 # This file is part of GNU Libtool:
   10169 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10170 #
   10171 # This program is free software; you can redistribute it and/or modify
   10172 # it under the terms of the GNU General Public License as published by
   10173 # the Free Software Foundation; either version 2 of the License, or
   10174 # (at your option) any later version.
   10175 #
   10176 # This program is distributed in the hope that it will be useful, but
   10177 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10178 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10179 # General Public License for more details.
   10180 #
   10181 # You should have received a copy of the GNU General Public License
   10182 # along with this program; if not, write to the Free Software
   10183 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10184 #
   10185 # As a special exception to the GNU General Public License, if you
   10186 # distribute this file as part of a program that contains a
   10187 # configuration script generated by Autoconf, you may include it under
   10188 # the same distribution terms that you use for the rest of that program.
   10189 
   10190 # A sed program that does not truncate output.
   10191 SED=$lt_SED
   10192 
   10193 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10194 Xsed="$SED -e 1s/^X//"
   10195 
   10196 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10197 # if CDPATH is set.
   10198 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10199 
   10200 # The names of the tagged configurations supported by this script.
   10201 available_tags=
   10202 
   10203 # ### BEGIN LIBTOOL CONFIG
   10204 
   10205 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10206 
   10207 # Shell to use when invoking shell scripts.
   10208 SHELL=$lt_SHELL
   10209 
   10210 # Whether or not to build shared libraries.
   10211 build_libtool_libs=$enable_shared
   10212 
   10213 # Whether or not to build static libraries.
   10214 build_old_libs=$enable_static
   10215 
   10216 # Whether or not to add -lc for building shared libraries.
   10217 build_libtool_need_lc=$archive_cmds_need_lc
   10218 
   10219 # Whether or not to disallow shared libs when runtime libs are static
   10220 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10221 
   10222 # Whether or not to optimize for fast installation.
   10223 fast_install=$enable_fast_install
   10224 
   10225 # The host system.
   10226 host_alias=$host_alias
   10227 host=$host
   10228 host_os=$host_os
   10229 
   10230 # The build system.
   10231 build_alias=$build_alias
   10232 build=$build
   10233 build_os=$build_os
   10234 
   10235 # An echo program that does not interpret backslashes.
   10236 echo=$lt_echo
   10237 
   10238 # The archiver.
   10239 AR=$lt_AR
   10240 AR_FLAGS=$lt_AR_FLAGS
   10241 
   10242 # A C compiler.
   10243 LTCC=$lt_LTCC
   10244 
   10245 # LTCC compiler flags.
   10246 LTCFLAGS=$lt_LTCFLAGS
   10247 
   10248 # A language-specific compiler.
   10249 CC=$lt_compiler
   10250 
   10251 # Is the compiler the GNU C compiler?
   10252 with_gcc=$GCC
   10253 
   10254 # An ERE matcher.
   10255 EGREP=$lt_EGREP
   10256 
   10257 # The linker used to build libraries.
   10258 LD=$lt_LD
   10259 
   10260 # Whether we need hard or soft links.
   10261 LN_S=$lt_LN_S
   10262 
   10263 # A BSD-compatible nm program.
   10264 NM=$lt_NM
   10265 
   10266 # A symbol stripping program
   10267 STRIP=$lt_STRIP
   10268 
   10269 # Used to examine libraries when file_magic_cmd begins "file"
   10270 MAGIC_CMD=$MAGIC_CMD
   10271 
   10272 # Used on cygwin: DLL creation program.
   10273 DLLTOOL="$DLLTOOL"
   10274 
   10275 # Used on cygwin: object dumper.
   10276 OBJDUMP="$OBJDUMP"
   10277 
   10278 # Used on cygwin: assembler.
   10279 AS="$AS"
   10280 
   10281 # The name of the directory that contains temporary libtool files.
   10282 objdir=$objdir
   10283 
   10284 # How to create reloadable object files.
   10285 reload_flag=$lt_reload_flag
   10286 reload_cmds=$lt_reload_cmds
   10287 
   10288 # How to pass a linker flag through the compiler.
   10289 wl=$lt_lt_prog_compiler_wl
   10290 
   10291 # Object file suffix (normally "o").
   10292 objext="$ac_objext"
   10293 
   10294 # Old archive suffix (normally "a").
   10295 libext="$libext"
   10296 
   10297 # Shared library suffix (normally ".so").
   10298 shrext_cmds='$shrext_cmds'
   10299 
   10300 # Executable file suffix (normally "").
   10301 exeext="$exeext"
   10302 
   10303 # Additional compiler flags for building library objects.
   10304 pic_flag=$lt_lt_prog_compiler_pic
   10305 pic_mode=$pic_mode
   10306 
   10307 # What is the maximum length of a command?
   10308 max_cmd_len=$lt_cv_sys_max_cmd_len
   10309 
   10310 # Does compiler simultaneously support -c and -o options?
   10311 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10312 
   10313 # Must we lock files when doing compilation?
   10314 need_locks=$lt_need_locks
   10315 
   10316 # Do we need the lib prefix for modules?
   10317 need_lib_prefix=$need_lib_prefix
   10318 
   10319 # Do we need a version for libraries?
   10320 need_version=$need_version
   10321 
   10322 # Whether dlopen is supported.
   10323 dlopen_support=$enable_dlopen
   10324 
   10325 # Whether dlopen of programs is supported.
   10326 dlopen_self=$enable_dlopen_self
   10327 
   10328 # Whether dlopen of statically linked programs is supported.
   10329 dlopen_self_static=$enable_dlopen_self_static
   10330 
   10331 # Compiler flag to prevent dynamic linking.
   10332 link_static_flag=$lt_lt_prog_compiler_static
   10333 
   10334 # Compiler flag to turn off builtin functions.
   10335 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10336 
   10337 # Compiler flag to allow reflexive dlopens.
   10338 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10339 
   10340 # Compiler flag to generate shared objects directly from archives.
   10341 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10342 
   10343 # Compiler flag to generate thread-safe objects.
   10344 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10345 
   10346 # Library versioning type.
   10347 version_type=$version_type
   10348 
   10349 # Format of library name prefix.
   10350 libname_spec=$lt_libname_spec
   10351 
   10352 # List of archive names.  First name is the real one, the rest are links.
   10353 # The last name is the one that the linker finds with -lNAME.
   10354 library_names_spec=$lt_library_names_spec
   10355 
   10356 # The coded name of the library, if different from the real name.
   10357 soname_spec=$lt_soname_spec
   10358 
   10359 # Commands used to build and install an old-style archive.
   10360 RANLIB=$lt_RANLIB
   10361 old_archive_cmds=$lt_old_archive_cmds
   10362 old_postinstall_cmds=$lt_old_postinstall_cmds
   10363 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10364 
   10365 # Create an old-style archive from a shared archive.
   10366 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10367 
   10368 # Create a temporary old-style archive to link instead of a shared archive.
   10369 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10370 
   10371 # Commands used to build and install a shared archive.
   10372 archive_cmds=$lt_archive_cmds
   10373 archive_expsym_cmds=$lt_archive_expsym_cmds
   10374 postinstall_cmds=$lt_postinstall_cmds
   10375 postuninstall_cmds=$lt_postuninstall_cmds
   10376 
   10377 # Commands used to build a loadable module (assumed same as above if empty)
   10378 module_cmds=$lt_module_cmds
   10379 module_expsym_cmds=$lt_module_expsym_cmds
   10380 
   10381 # Commands to strip libraries.
   10382 old_striplib=$lt_old_striplib
   10383 striplib=$lt_striplib
   10384 
   10385 # Dependencies to place before the objects being linked to create a
   10386 # shared library.
   10387 predep_objects=$lt_predep_objects
   10388 
   10389 # Dependencies to place after the objects being linked to create a
   10390 # shared library.
   10391 postdep_objects=$lt_postdep_objects
   10392 
   10393 # Dependencies to place before the objects being linked to create a
   10394 # shared library.
   10395 predeps=$lt_predeps
   10396 
   10397 # Dependencies to place after the objects being linked to create a
   10398 # shared library.
   10399 postdeps=$lt_postdeps
   10400 
   10401 # The library search path used internally by the compiler when linking
   10402 # a shared library.
   10403 compiler_lib_search_path=$lt_compiler_lib_search_path
   10404 
   10405 # Method to check whether dependent libraries are shared objects.
   10406 deplibs_check_method=$lt_deplibs_check_method
   10407 
   10408 # Command to use when deplibs_check_method == file_magic.
   10409 file_magic_cmd=$lt_file_magic_cmd
   10410 
   10411 # Flag that allows shared libraries with undefined symbols to be built.
   10412 allow_undefined_flag=$lt_allow_undefined_flag
   10413 
   10414 # Flag that forces no undefined symbols.
   10415 no_undefined_flag=$lt_no_undefined_flag
   10416 
   10417 # Commands used to finish a libtool library installation in a directory.
   10418 finish_cmds=$lt_finish_cmds
   10419 
   10420 # Same as above, but a single script fragment to be evaled but not shown.
   10421 finish_eval=$lt_finish_eval
   10422 
   10423 # Take the output of nm and produce a listing of raw symbols and C names.
   10424 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10425 
   10426 # Transform the output of nm in a proper C declaration
   10427 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10428 
   10429 # Transform the output of nm in a C name address pair
   10430 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10431 
   10432 # This is the shared library runtime path variable.
   10433 runpath_var=$runpath_var
   10434 
   10435 # This is the shared library path variable.
   10436 shlibpath_var=$shlibpath_var
   10437 
   10438 # Is shlibpath searched before the hard-coded library search path?
   10439 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10440 
   10441 # How to hardcode a shared library path into an executable.
   10442 hardcode_action=$hardcode_action
   10443 
   10444 # Whether we should hardcode library paths into libraries.
   10445 hardcode_into_libs=$hardcode_into_libs
   10446 
   10447 # Flag to hardcode \$libdir into a binary during linking.
   10448 # This must work even if \$libdir does not exist.
   10449 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10450 
   10451 # If ld is used when linking, flag to hardcode \$libdir into
   10452 # a binary during linking. This must work even if \$libdir does
   10453 # not exist.
   10454 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10455 
   10456 # Whether we need a single -rpath flag with a separated argument.
   10457 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10458 
   10459 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10460 # resulting binary.
   10461 hardcode_direct=$hardcode_direct
   10462 
   10463 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10464 # resulting binary.
   10465 hardcode_minus_L=$hardcode_minus_L
   10466 
   10467 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10468 # the resulting binary.
   10469 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10470 
   10471 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10472 # and all subsequent libraries and executables linked against it.
   10473 hardcode_automatic=$hardcode_automatic
   10474 
   10475 # Variables whose values should be saved in libtool wrapper scripts and
   10476 # restored at relink time.
   10477 variables_saved_for_relink="$variables_saved_for_relink"
   10478 
   10479 # Whether libtool must link a program against all its dependency libraries.
   10480 link_all_deplibs=$link_all_deplibs
   10481 
   10482 # Compile-time system search path for libraries
   10483 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10484 
   10485 # Run-time system search path for libraries
   10486 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10487 
   10488 # Fix the shell variable \$srcfile for the compiler.
   10489 fix_srcfile_path="$fix_srcfile_path"
   10490 
   10491 # Set to yes if exported symbols are required.
   10492 always_export_symbols=$always_export_symbols
   10493 
   10494 # The commands to list exported symbols.
   10495 export_symbols_cmds=$lt_export_symbols_cmds
   10496 
   10497 # The commands to extract the exported symbol list from a shared archive.
   10498 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10499 
   10500 # Symbols that should not be listed in the preloaded symbols.
   10501 exclude_expsyms=$lt_exclude_expsyms
   10502 
   10503 # Symbols that must always be exported.
   10504 include_expsyms=$lt_include_expsyms
   10505 
   10506 # ### END LIBTOOL CONFIG
   10507 
   10508 __EOF__
   10509 
   10510 
   10511   case $host_os in
   10512   aix3*)
   10513     cat <<\EOF >> "$cfgfile"
   10514 
   10515 # AIX sometimes has problems with the GCC collect2 program.  For some
   10516 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10517 # vanish in a puff of smoke.
   10518 if test "X${COLLECT_NAMES+set}" != Xset; then
   10519   COLLECT_NAMES=
   10520   export COLLECT_NAMES
   10521 fi
   10522 EOF
   10523     ;;
   10524   esac
   10525 
   10526   # We use sed instead of cat because bash on DJGPP gets confused if
   10527   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10528   # text mode, it properly converts lines to CR/LF.  This bash problem
   10529   # is reportedly fixed, but why not run on old versions too?
   10530   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10531 
   10532   mv -f "$cfgfile" "$ofile" || \
   10533     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10534   chmod +x "$ofile"
   10535 
   10536 else
   10537   # If there is no Makefile yet, we rely on a make rule to execute
   10538   # `config.status --recheck' to rerun these tests and create the
   10539   # libtool script then.
   10540   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10541   if test -f "$ltmain_in"; then
   10542     test -f Makefile && make "$ltmain"
   10543   fi
   10544 fi
   10545 
   10546 
   10547 ac_ext=c
   10548 ac_cpp='$CPP $CPPFLAGS'
   10549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10552 
   10553 CC="$lt_save_CC"
   10554 
   10555 
   10556 # Check whether --with-tags was given.
   10557 if test "${with_tags+set}" = set; then
   10558   withval=$with_tags; tagnames="$withval"
   10559 fi
   10560 
   10561 
   10562 if test -f "$ltmain" && test -n "$tagnames"; then
   10563   if test ! -f "${ofile}"; then
   10564     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10565 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10566   fi
   10567 
   10568   if test -z "$LTCC"; then
   10569     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10570     if test -z "$LTCC"; then
   10571       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10572 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   10573     else
   10574       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   10575 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   10576     fi
   10577   fi
   10578   if test -z "$LTCFLAGS"; then
   10579     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   10580   fi
   10581 
   10582   # Extract list of available tagged configurations in $ofile.
   10583   # Note that this assumes the entire list is on one line.
   10584   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   10585 
   10586   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10587   for tagname in $tagnames; do
   10588     IFS="$lt_save_ifs"
   10589     # Check whether tagname contains only valid characters
   10590     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   10591     "") ;;
   10592     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   10593 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   10594    { (exit 1); exit 1; }; }
   10595 	;;
   10596     esac
   10597 
   10598     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   10599     then
   10600       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   10601 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   10602    { (exit 1); exit 1; }; }
   10603     fi
   10604 
   10605     # Update the list of available tags.
   10606     if test -n "$tagname"; then
   10607       echo appending configuration tag \"$tagname\" to $ofile
   10608 
   10609       case $tagname in
   10610       CXX)
   10611 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   10612 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   10613 	    (test "X$CXX" != "Xg++"))) ; then
   10614 	  ac_ext=cpp
   10615 ac_cpp='$CXXCPP $CPPFLAGS'
   10616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   10619 
   10620 
   10621 
   10622 
   10623 archive_cmds_need_lc_CXX=no
   10624 allow_undefined_flag_CXX=
   10625 always_export_symbols_CXX=no
   10626 archive_expsym_cmds_CXX=
   10627 export_dynamic_flag_spec_CXX=
   10628 hardcode_direct_CXX=no
   10629 hardcode_libdir_flag_spec_CXX=
   10630 hardcode_libdir_flag_spec_ld_CXX=
   10631 hardcode_libdir_separator_CXX=
   10632 hardcode_minus_L_CXX=no
   10633 hardcode_shlibpath_var_CXX=unsupported
   10634 hardcode_automatic_CXX=no
   10635 module_cmds_CXX=
   10636 module_expsym_cmds_CXX=
   10637 link_all_deplibs_CXX=unknown
   10638 old_archive_cmds_CXX=$old_archive_cmds
   10639 no_undefined_flag_CXX=
   10640 whole_archive_flag_spec_CXX=
   10641 enable_shared_with_static_runtimes_CXX=no
   10642 
   10643 # Dependencies to place before and after the object being linked:
   10644 predep_objects_CXX=
   10645 postdep_objects_CXX=
   10646 predeps_CXX=
   10647 postdeps_CXX=
   10648 compiler_lib_search_path_CXX=
   10649 
   10650 # Source file extension for C++ test sources.
   10651 ac_ext=cpp
   10652 
   10653 # Object file extension for compiled C++ test sources.
   10654 objext=o
   10655 objext_CXX=$objext
   10656 
   10657 # Code to be used in simple compile tests
   10658 lt_simple_compile_test_code="int some_variable = 0;\n"
   10659 
   10660 # Code to be used in simple link tests
   10661 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   10662 
   10663 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   10664 
   10665 # If no C compiler was specified, use CC.
   10666 LTCC=${LTCC-"$CC"}
   10667 
   10668 # If no C compiler flags were specified, use CFLAGS.
   10669 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10670 
   10671 # Allow CC to be a program name with arguments.
   10672 compiler=$CC
   10673 
   10674 
   10675 # save warnings/boilerplate of simple test code
   10676 ac_outfile=conftest.$ac_objext
   10677 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   10678 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10679 _lt_compiler_boilerplate=`cat conftest.err`
   10680 $rm conftest*
   10681 
   10682 ac_outfile=conftest.$ac_objext
   10683 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   10684 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10685 _lt_linker_boilerplate=`cat conftest.err`
   10686 $rm conftest*
   10687 
   10688 
   10689 # Allow CC to be a program name with arguments.
   10690 lt_save_CC=$CC
   10691 lt_save_LD=$LD
   10692 lt_save_GCC=$GCC
   10693 GCC=$GXX
   10694 lt_save_with_gnu_ld=$with_gnu_ld
   10695 lt_save_path_LD=$lt_cv_path_LD
   10696 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   10697   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   10698 else
   10699   $as_unset lt_cv_prog_gnu_ld
   10700 fi
   10701 if test -n "${lt_cv_path_LDCXX+set}"; then
   10702   lt_cv_path_LD=$lt_cv_path_LDCXX
   10703 else
   10704   $as_unset lt_cv_path_LD
   10705 fi
   10706 test -z "${LDCXX+set}" || LD=$LDCXX
   10707 CC=${CXX-"c++"}
   10708 compiler=$CC
   10709 compiler_CXX=$CC
   10710 for cc_temp in $compiler""; do
   10711   case $cc_temp in
   10712     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10713     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10714     \-*) ;;
   10715     *) break;;
   10716   esac
   10717 done
   10718 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10719 
   10720 
   10721 # We don't want -fno-exception wen compiling C++ code, so set the
   10722 # no_builtin_flag separately
   10723 if test "$GXX" = yes; then
   10724   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   10725 else
   10726   lt_prog_compiler_no_builtin_flag_CXX=
   10727 fi
   10728 
   10729 if test "$GXX" = yes; then
   10730   # Set up default GNU C++ configuration
   10731 
   10732 
   10733 # Check whether --with-gnu-ld was given.
   10734 if test "${with_gnu_ld+set}" = set; then
   10735   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10736 else
   10737   with_gnu_ld=no
   10738 fi
   10739 
   10740 ac_prog=ld
   10741 if test "$GCC" = yes; then
   10742   # Check if gcc -print-prog-name=ld gives a path.
   10743   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   10744 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   10745   case $host in
   10746   *-*-mingw*)
   10747     # gcc leaves a trailing carriage return which upsets mingw
   10748     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10749   *)
   10750     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10751   esac
   10752   case $ac_prog in
   10753     # Accept absolute paths.
   10754     [\\/]* | ?:[\\/]*)
   10755       re_direlt='/[^/][^/]*/\.\./'
   10756       # Canonicalize the pathname of ld
   10757       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   10758       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10759 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   10760       done
   10761       test -z "$LD" && LD="$ac_prog"
   10762       ;;
   10763   "")
   10764     # If it fails, then pretend we aren't using GCC.
   10765     ac_prog=ld
   10766     ;;
   10767   *)
   10768     # If it is relative, then search for the first ld in PATH.
   10769     with_gnu_ld=unknown
   10770     ;;
   10771   esac
   10772 elif test "$with_gnu_ld" = yes; then
   10773   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   10774 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   10775 else
   10776   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10777 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   10778 fi
   10779 if test "${lt_cv_path_LD+set}" = set; then
   10780   echo $ECHO_N "(cached) $ECHO_C" >&6
   10781 else
   10782   if test -z "$LD"; then
   10783   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10784   for ac_dir in $PATH; do
   10785     IFS="$lt_save_ifs"
   10786     test -z "$ac_dir" && ac_dir=.
   10787     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10788       lt_cv_path_LD="$ac_dir/$ac_prog"
   10789       # Check to see if the program is GNU ld.  I'd rather use --version,
   10790       # but apparently some variants of GNU ld only accept -v.
   10791       # Break only if it was the GNU/non-GNU ld that we prefer.
   10792       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10793       *GNU* | *'with BFD'*)
   10794 	test "$with_gnu_ld" != no && break
   10795 	;;
   10796       *)
   10797 	test "$with_gnu_ld" != yes && break
   10798 	;;
   10799       esac
   10800     fi
   10801   done
   10802   IFS="$lt_save_ifs"
   10803 else
   10804   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10805 fi
   10806 fi
   10807 
   10808 LD="$lt_cv_path_LD"
   10809 if test -n "$LD"; then
   10810   { echo "$as_me:$LINENO: result: $LD" >&5
   10811 echo "${ECHO_T}$LD" >&6; }
   10812 else
   10813   { echo "$as_me:$LINENO: result: no" >&5
   10814 echo "${ECHO_T}no" >&6; }
   10815 fi
   10816 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10817 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10818    { (exit 1); exit 1; }; }
   10819 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10820 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   10821 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   10822   echo $ECHO_N "(cached) $ECHO_C" >&6
   10823 else
   10824   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10825 case `$LD -v 2>&1 </dev/null` in
   10826 *GNU* | *'with BFD'*)
   10827   lt_cv_prog_gnu_ld=yes
   10828   ;;
   10829 *)
   10830   lt_cv_prog_gnu_ld=no
   10831   ;;
   10832 esac
   10833 fi
   10834 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   10835 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   10836 with_gnu_ld=$lt_cv_prog_gnu_ld
   10837 
   10838 
   10839 
   10840   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   10841   # archiving commands below assume that GNU ld is being used.
   10842   if test "$with_gnu_ld" = yes; then
   10843     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10844     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'
   10845 
   10846     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10847     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10848 
   10849     # If archive_cmds runs LD, not CC, wlarc should be empty
   10850     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   10851     #     investigate it a little bit more. (MM)
   10852     wlarc='${wl}'
   10853 
   10854     # ancient GNU ld didn't support --whole-archive et. al.
   10855     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   10856 	grep 'no-whole-archive' > /dev/null; then
   10857       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10858     else
   10859       whole_archive_flag_spec_CXX=
   10860     fi
   10861   else
   10862     with_gnu_ld=no
   10863     wlarc=
   10864 
   10865     # A generic and very simple default shared library creation
   10866     # command for GNU C++ for the case where it uses the native
   10867     # linker, instead of GNU ld.  If possible, this setting should
   10868     # overridden to take advantage of the native linker features on
   10869     # the platform it is being used on.
   10870     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10871   fi
   10872 
   10873   # Commands to make compiler produce verbose output that lists
   10874   # what "hidden" libraries, object files and flags are used when
   10875   # linking a shared library.
   10876   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10877 
   10878 else
   10879   GXX=no
   10880   with_gnu_ld=no
   10881   wlarc=
   10882 fi
   10883 
   10884 # PORTME: fill in a description of your system's C++ link characteristics
   10885 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10886 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   10887 ld_shlibs_CXX=yes
   10888 case $host_os in
   10889   aix3*)
   10890     # FIXME: insert proper C++ library support
   10891     ld_shlibs_CXX=no
   10892     ;;
   10893   aix4* | aix5*)
   10894     if test "$host_cpu" = ia64; then
   10895       # On IA64, the linker does run time linking by default, so we don't
   10896       # have to do anything special.
   10897       aix_use_runtimelinking=no
   10898       exp_sym_flag='-Bexport'
   10899       no_entry_flag=""
   10900     else
   10901       aix_use_runtimelinking=no
   10902 
   10903       # Test if we are trying to use run time linking or normal
   10904       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10905       # need to do runtime linking.
   10906       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   10907 	for ld_flag in $LDFLAGS; do
   10908 	  case $ld_flag in
   10909 	  *-brtl*)
   10910 	    aix_use_runtimelinking=yes
   10911 	    break
   10912 	    ;;
   10913 	  esac
   10914 	done
   10915 	;;
   10916       esac
   10917 
   10918       exp_sym_flag='-bexport'
   10919       no_entry_flag='-bnoentry'
   10920     fi
   10921 
   10922     # When large executables or shared objects are built, AIX ld can
   10923     # have problems creating the table of contents.  If linking a library
   10924     # or program results in "error TOC overflow" add -mminimal-toc to
   10925     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10926     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10927 
   10928     archive_cmds_CXX=''
   10929     hardcode_direct_CXX=yes
   10930     hardcode_libdir_separator_CXX=':'
   10931     link_all_deplibs_CXX=yes
   10932 
   10933     if test "$GXX" = yes; then
   10934       case $host_os in aix4.[012]|aix4.[012].*)
   10935       # We only want to do this on AIX 4.2 and lower, the check
   10936       # below for broken collect2 doesn't work under 4.3+
   10937 	collect2name=`${CC} -print-prog-name=collect2`
   10938 	if test -f "$collect2name" && \
   10939 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   10940 	then
   10941 	  # We have reworked collect2
   10942 	  hardcode_direct_CXX=yes
   10943 	else
   10944 	  # We have old collect2
   10945 	  hardcode_direct_CXX=unsupported
   10946 	  # It fails to find uninstalled libraries when the uninstalled
   10947 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10948 	  # to unsupported forces relinking
   10949 	  hardcode_minus_L_CXX=yes
   10950 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   10951 	  hardcode_libdir_separator_CXX=
   10952 	fi
   10953 	;;
   10954       esac
   10955       shared_flag='-shared'
   10956       if test "$aix_use_runtimelinking" = yes; then
   10957 	shared_flag="$shared_flag "'${wl}-G'
   10958       fi
   10959     else
   10960       # not using gcc
   10961       if test "$host_cpu" = ia64; then
   10962 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10963 	# chokes on -Wl,-G. The following line is correct:
   10964 	shared_flag='-G'
   10965       else
   10966 	if test "$aix_use_runtimelinking" = yes; then
   10967 	  shared_flag='${wl}-G'
   10968 	else
   10969 	  shared_flag='${wl}-bM:SRE'
   10970 	fi
   10971       fi
   10972     fi
   10973 
   10974     # It seems that -bexpall does not export symbols beginning with
   10975     # underscore (_), so it is better to generate a list of symbols to export.
   10976     always_export_symbols_CXX=yes
   10977     if test "$aix_use_runtimelinking" = yes; then
   10978       # Warning - without using the other runtime loading flags (-brtl),
   10979       # -berok will link without error, but may produce a broken library.
   10980       allow_undefined_flag_CXX='-berok'
   10981       # Determine the default libpath from the value encoded in an empty executable.
   10982       cat >conftest.$ac_ext <<_ACEOF
   10983 /* confdefs.h.  */
   10984 _ACEOF
   10985 cat confdefs.h >>conftest.$ac_ext
   10986 cat >>conftest.$ac_ext <<_ACEOF
   10987 /* end confdefs.h.  */
   10988 
   10989 int
   10990 main ()
   10991 {
   10992 
   10993   ;
   10994   return 0;
   10995 }
   10996 _ACEOF
   10997 rm -f conftest.$ac_objext conftest$ac_exeext
   10998 if { (ac_try="$ac_link"
   10999 case "(($ac_try" in
   11000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11001   *) ac_try_echo=$ac_try;;
   11002 esac
   11003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11004   (eval "$ac_link") 2>conftest.er1
   11005   ac_status=$?
   11006   grep -v '^ *+' conftest.er1 >conftest.err
   11007   rm -f conftest.er1
   11008   cat conftest.err >&5
   11009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11010   (exit $ac_status); } && {
   11011 	 test -z "$ac_cxx_werror_flag" ||
   11012 	 test ! -s conftest.err
   11013        } && test -s conftest$ac_exeext &&
   11014        $as_test_x conftest$ac_exeext; then
   11015 
   11016 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11017 }'`
   11018 # Check for a 64-bit object if we didn't find anything.
   11019 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; }
   11020 }'`; fi
   11021 else
   11022   echo "$as_me: failed program was:" >&5
   11023 sed 's/^/| /' conftest.$ac_ext >&5
   11024 
   11025 
   11026 fi
   11027 
   11028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11029       conftest$ac_exeext conftest.$ac_ext
   11030 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11031 
   11032       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11033 
   11034       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"
   11035      else
   11036       if test "$host_cpu" = ia64; then
   11037 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11038 	allow_undefined_flag_CXX="-z nodefs"
   11039 	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"
   11040       else
   11041 	# Determine the default libpath from the value encoded in an empty executable.
   11042 	cat >conftest.$ac_ext <<_ACEOF
   11043 /* confdefs.h.  */
   11044 _ACEOF
   11045 cat confdefs.h >>conftest.$ac_ext
   11046 cat >>conftest.$ac_ext <<_ACEOF
   11047 /* end confdefs.h.  */
   11048 
   11049 int
   11050 main ()
   11051 {
   11052 
   11053   ;
   11054   return 0;
   11055 }
   11056 _ACEOF
   11057 rm -f conftest.$ac_objext conftest$ac_exeext
   11058 if { (ac_try="$ac_link"
   11059 case "(($ac_try" in
   11060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11061   *) ac_try_echo=$ac_try;;
   11062 esac
   11063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11064   (eval "$ac_link") 2>conftest.er1
   11065   ac_status=$?
   11066   grep -v '^ *+' conftest.er1 >conftest.err
   11067   rm -f conftest.er1
   11068   cat conftest.err >&5
   11069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11070   (exit $ac_status); } && {
   11071 	 test -z "$ac_cxx_werror_flag" ||
   11072 	 test ! -s conftest.err
   11073        } && test -s conftest$ac_exeext &&
   11074        $as_test_x conftest$ac_exeext; then
   11075 
   11076 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11077 }'`
   11078 # Check for a 64-bit object if we didn't find anything.
   11079 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; }
   11080 }'`; fi
   11081 else
   11082   echo "$as_me: failed program was:" >&5
   11083 sed 's/^/| /' conftest.$ac_ext >&5
   11084 
   11085 
   11086 fi
   11087 
   11088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11089       conftest$ac_exeext conftest.$ac_ext
   11090 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11091 
   11092 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11093 	# Warning - without using the other run time loading flags,
   11094 	# -berok will link without error, but may produce a broken library.
   11095 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11096 	allow_undefined_flag_CXX=' ${wl}-berok'
   11097 	# Exported symbols can be pulled into shared objects from archives
   11098 	whole_archive_flag_spec_CXX='$convenience'
   11099 	archive_cmds_need_lc_CXX=yes
   11100 	# This is similar to how AIX traditionally builds its shared libraries.
   11101 	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'
   11102       fi
   11103     fi
   11104     ;;
   11105 
   11106   beos*)
   11107     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11108       allow_undefined_flag_CXX=unsupported
   11109       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11110       # support --undefined.  This deserves some investigation.  FIXME
   11111       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11112     else
   11113       ld_shlibs_CXX=no
   11114     fi
   11115     ;;
   11116 
   11117   chorus*)
   11118     case $cc_basename in
   11119       *)
   11120 	# FIXME: insert proper C++ library support
   11121 	ld_shlibs_CXX=no
   11122 	;;
   11123     esac
   11124     ;;
   11125 
   11126   cygwin* | mingw* | pw32*)
   11127     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11128     # as there is no search path for DLLs.
   11129     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11130     allow_undefined_flag_CXX=unsupported
   11131     always_export_symbols_CXX=no
   11132     enable_shared_with_static_runtimes_CXX=yes
   11133 
   11134     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11135       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'
   11136       # If the export-symbols file already is a .def file (1st line
   11137       # is EXPORTS), use it as is; otherwise, prepend...
   11138       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11139 	cp $export_symbols $output_objdir/$soname.def;
   11140       else
   11141 	echo EXPORTS > $output_objdir/$soname.def;
   11142 	cat $export_symbols >> $output_objdir/$soname.def;
   11143       fi~
   11144       $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'
   11145     else
   11146       ld_shlibs_CXX=no
   11147     fi
   11148   ;;
   11149       darwin* | rhapsody*)
   11150         case $host_os in
   11151         rhapsody* | darwin1.[012])
   11152          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11153          ;;
   11154        *) # Darwin 1.3 on
   11155          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11156            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11157          else
   11158            case ${MACOSX_DEPLOYMENT_TARGET} in
   11159              10.[012])
   11160                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11161                ;;
   11162              10.*)
   11163                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11164                ;;
   11165            esac
   11166          fi
   11167          ;;
   11168         esac
   11169       archive_cmds_need_lc_CXX=no
   11170       hardcode_direct_CXX=no
   11171       hardcode_automatic_CXX=yes
   11172       hardcode_shlibpath_var_CXX=unsupported
   11173       whole_archive_flag_spec_CXX=''
   11174       link_all_deplibs_CXX=yes
   11175 
   11176     if test "$GXX" = yes ; then
   11177       lt_int_apple_cc_single_mod=no
   11178       output_verbose_link_cmd='echo'
   11179       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11180        lt_int_apple_cc_single_mod=yes
   11181       fi
   11182       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11183        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11184       else
   11185           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'
   11186         fi
   11187         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11188         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11189           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11190             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}'
   11191           else
   11192             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}'
   11193           fi
   11194             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}'
   11195       else
   11196       case $cc_basename in
   11197         xlc*)
   11198          output_verbose_link_cmd='echo'
   11199           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'
   11200           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11201           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11202           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}'
   11203           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}'
   11204           ;;
   11205        *)
   11206          ld_shlibs_CXX=no
   11207           ;;
   11208       esac
   11209       fi
   11210         ;;
   11211 
   11212   dgux*)
   11213     case $cc_basename in
   11214       ec++*)
   11215 	# FIXME: insert proper C++ library support
   11216 	ld_shlibs_CXX=no
   11217 	;;
   11218       ghcx*)
   11219 	# Green Hills C++ Compiler
   11220 	# FIXME: insert proper C++ library support
   11221 	ld_shlibs_CXX=no
   11222 	;;
   11223       *)
   11224 	# FIXME: insert proper C++ library support
   11225 	ld_shlibs_CXX=no
   11226 	;;
   11227     esac
   11228     ;;
   11229   freebsd[12]*)
   11230     # C++ shared libraries reported to be fairly broken before switch to ELF
   11231     ld_shlibs_CXX=no
   11232     ;;
   11233   freebsd-elf*)
   11234     archive_cmds_need_lc_CXX=no
   11235     ;;
   11236   freebsd* | kfreebsd*-gnu | dragonfly*)
   11237     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11238     # conventions
   11239     ld_shlibs_CXX=yes
   11240     ;;
   11241   gnu*)
   11242     ;;
   11243   hpux9*)
   11244     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11245     hardcode_libdir_separator_CXX=:
   11246     export_dynamic_flag_spec_CXX='${wl}-E'
   11247     hardcode_direct_CXX=yes
   11248     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11249 				# but as the default
   11250 				# location of the library.
   11251 
   11252     case $cc_basename in
   11253     CC*)
   11254       # FIXME: insert proper C++ library support
   11255       ld_shlibs_CXX=no
   11256       ;;
   11257     aCC*)
   11258       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'
   11259       # Commands to make compiler produce verbose output that lists
   11260       # what "hidden" libraries, object files and flags are used when
   11261       # linking a shared library.
   11262       #
   11263       # There doesn't appear to be a way to prevent this compiler from
   11264       # explicitly linking system object files so we need to strip them
   11265       # from the output so that they don't get included in the library
   11266       # dependencies.
   11267       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'
   11268       ;;
   11269     *)
   11270       if test "$GXX" = yes; then
   11271         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'
   11272       else
   11273         # FIXME: insert proper C++ library support
   11274         ld_shlibs_CXX=no
   11275       fi
   11276       ;;
   11277     esac
   11278     ;;
   11279   hpux10*|hpux11*)
   11280     if test $with_gnu_ld = no; then
   11281       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11282       hardcode_libdir_separator_CXX=:
   11283 
   11284       case $host_cpu in
   11285       hppa*64*|ia64*)
   11286 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   11287         ;;
   11288       *)
   11289 	export_dynamic_flag_spec_CXX='${wl}-E'
   11290         ;;
   11291       esac
   11292     fi
   11293     case $host_cpu in
   11294     hppa*64*|ia64*)
   11295       hardcode_direct_CXX=no
   11296       hardcode_shlibpath_var_CXX=no
   11297       ;;
   11298     *)
   11299       hardcode_direct_CXX=yes
   11300       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11301 					      # but as the default
   11302 					      # location of the library.
   11303       ;;
   11304     esac
   11305 
   11306     case $cc_basename in
   11307       CC*)
   11308 	# FIXME: insert proper C++ library support
   11309 	ld_shlibs_CXX=no
   11310 	;;
   11311       aCC*)
   11312 	case $host_cpu in
   11313 	hppa*64*)
   11314 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11315 	  ;;
   11316 	ia64*)
   11317 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11318 	  ;;
   11319 	*)
   11320 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11321 	  ;;
   11322 	esac
   11323 	# Commands to make compiler produce verbose output that lists
   11324 	# what "hidden" libraries, object files and flags are used when
   11325 	# linking a shared library.
   11326 	#
   11327 	# There doesn't appear to be a way to prevent this compiler from
   11328 	# explicitly linking system object files so we need to strip them
   11329 	# from the output so that they don't get included in the library
   11330 	# dependencies.
   11331 	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'
   11332 	;;
   11333       *)
   11334 	if test "$GXX" = yes; then
   11335 	  if test $with_gnu_ld = no; then
   11336 	    case $host_cpu in
   11337 	    hppa*64*)
   11338 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11339 	      ;;
   11340 	    ia64*)
   11341 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11342 	      ;;
   11343 	    *)
   11344 	      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'
   11345 	      ;;
   11346 	    esac
   11347 	  fi
   11348 	else
   11349 	  # FIXME: insert proper C++ library support
   11350 	  ld_shlibs_CXX=no
   11351 	fi
   11352 	;;
   11353     esac
   11354     ;;
   11355   interix3*)
   11356     hardcode_direct_CXX=no
   11357     hardcode_shlibpath_var_CXX=no
   11358     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11359     export_dynamic_flag_spec_CXX='${wl}-E'
   11360     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11361     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11362     # default) and relocated if they conflict, which is a slow very memory
   11363     # consuming and fragmenting process.  To avoid this, we pick a random,
   11364     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11365     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11366     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'
   11367     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'
   11368     ;;
   11369   irix5* | irix6*)
   11370     case $cc_basename in
   11371       CC*)
   11372 	# SGI C++
   11373 	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'
   11374 
   11375 	# Archives containing C++ object files must be created using
   11376 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11377 	# necessary to make sure instantiated templates are included
   11378 	# in the archive.
   11379 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11380 	;;
   11381       *)
   11382 	if test "$GXX" = yes; then
   11383 	  if test "$with_gnu_ld" = no; then
   11384 	    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'
   11385 	  else
   11386 	    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'
   11387 	  fi
   11388 	fi
   11389 	link_all_deplibs_CXX=yes
   11390 	;;
   11391     esac
   11392     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11393     hardcode_libdir_separator_CXX=:
   11394     ;;
   11395   linux*)
   11396     case $cc_basename in
   11397       KCC*)
   11398 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11399 
   11400 	# KCC will only create a shared library if the output file
   11401 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11402 	# to its proper name (with version) after linking.
   11403 	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'
   11404 	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'
   11405 	# Commands to make compiler produce verbose output that lists
   11406 	# what "hidden" libraries, object files and flags are used when
   11407 	# linking a shared library.
   11408 	#
   11409 	# There doesn't appear to be a way to prevent this compiler from
   11410 	# explicitly linking system object files so we need to strip them
   11411 	# from the output so that they don't get included in the library
   11412 	# dependencies.
   11413 	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'
   11414 
   11415 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11416 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11417 
   11418 	# Archives containing C++ object files must be created using
   11419 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11420 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11421 	;;
   11422       icpc*)
   11423 	# Intel C++
   11424 	with_gnu_ld=yes
   11425 	# version 8.0 and above of icpc choke on multiply defined symbols
   11426 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11427 	# earlier do not add the objects themselves.
   11428 	case `$CC -V 2>&1` in
   11429 	*"Version 7."*)
   11430   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11431   	  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'
   11432 	  ;;
   11433 	*)  # Version 8.0 or newer
   11434 	  tmp_idyn=
   11435 	  case $host_cpu in
   11436 	    ia64*) tmp_idyn=' -i_dynamic';;
   11437 	  esac
   11438   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11439 	  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'
   11440 	  ;;
   11441 	esac
   11442 	archive_cmds_need_lc_CXX=no
   11443 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11444 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11445 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11446 	;;
   11447       pgCC*)
   11448         # Portland Group C++ compiler
   11449 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11450   	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'
   11451 
   11452 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11453 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11454 	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'
   11455         ;;
   11456       cxx*)
   11457 	# Compaq C++
   11458 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11459 	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'
   11460 
   11461 	runpath_var=LD_RUN_PATH
   11462 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11463 	hardcode_libdir_separator_CXX=:
   11464 
   11465 	# Commands to make compiler produce verbose output that lists
   11466 	# what "hidden" libraries, object files and flags are used when
   11467 	# linking a shared library.
   11468 	#
   11469 	# There doesn't appear to be a way to prevent this compiler from
   11470 	# explicitly linking system object files so we need to strip them
   11471 	# from the output so that they don't get included in the library
   11472 	# dependencies.
   11473 	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'
   11474 	;;
   11475     esac
   11476     ;;
   11477   lynxos*)
   11478     # FIXME: insert proper C++ library support
   11479     ld_shlibs_CXX=no
   11480     ;;
   11481   m88k*)
   11482     # FIXME: insert proper C++ library support
   11483     ld_shlibs_CXX=no
   11484     ;;
   11485   mvs*)
   11486     case $cc_basename in
   11487       cxx*)
   11488 	# FIXME: insert proper C++ library support
   11489 	ld_shlibs_CXX=no
   11490 	;;
   11491       *)
   11492 	# FIXME: insert proper C++ library support
   11493 	ld_shlibs_CXX=no
   11494 	;;
   11495     esac
   11496     ;;
   11497   netbsd*)
   11498     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11499       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11500       wlarc=
   11501       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11502       hardcode_direct_CXX=yes
   11503       hardcode_shlibpath_var_CXX=no
   11504     fi
   11505     # Workaround some broken pre-1.5 toolchains
   11506     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11507     ;;
   11508   openbsd2*)
   11509     # C++ shared libraries are fairly broken
   11510     ld_shlibs_CXX=no
   11511     ;;
   11512   openbsd*)
   11513     hardcode_direct_CXX=yes
   11514     hardcode_shlibpath_var_CXX=no
   11515     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11516     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11517     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11518       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11519       export_dynamic_flag_spec_CXX='${wl}-E'
   11520       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11521     fi
   11522     output_verbose_link_cmd='echo'
   11523     ;;
   11524   osf3*)
   11525     case $cc_basename in
   11526       KCC*)
   11527 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11528 
   11529 	# KCC will only create a shared library if the output file
   11530 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11531 	# to its proper name (with version) after linking.
   11532 	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'
   11533 
   11534 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11535 	hardcode_libdir_separator_CXX=:
   11536 
   11537 	# Archives containing C++ object files must be created using
   11538 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11539 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11540 
   11541 	;;
   11542       RCC*)
   11543 	# Rational C++ 2.4.1
   11544 	# FIXME: insert proper C++ library support
   11545 	ld_shlibs_CXX=no
   11546 	;;
   11547       cxx*)
   11548 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11549 	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'
   11550 
   11551 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11552 	hardcode_libdir_separator_CXX=:
   11553 
   11554 	# Commands to make compiler produce verbose output that lists
   11555 	# what "hidden" libraries, object files and flags are used when
   11556 	# linking a shared library.
   11557 	#
   11558 	# There doesn't appear to be a way to prevent this compiler from
   11559 	# explicitly linking system object files so we need to strip them
   11560 	# from the output so that they don't get included in the library
   11561 	# dependencies.
   11562 	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'
   11563 	;;
   11564       *)
   11565 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11566 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11567 	  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'
   11568 
   11569 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11570 	  hardcode_libdir_separator_CXX=:
   11571 
   11572 	  # Commands to make compiler produce verbose output that lists
   11573 	  # what "hidden" libraries, object files and flags are used when
   11574 	  # linking a shared library.
   11575 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11576 
   11577 	else
   11578 	  # FIXME: insert proper C++ library support
   11579 	  ld_shlibs_CXX=no
   11580 	fi
   11581 	;;
   11582     esac
   11583     ;;
   11584   osf4* | osf5*)
   11585     case $cc_basename in
   11586       KCC*)
   11587 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11588 
   11589 	# KCC will only create a shared library if the output file
   11590 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11591 	# to its proper name (with version) after linking.
   11592 	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'
   11593 
   11594 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11595 	hardcode_libdir_separator_CXX=:
   11596 
   11597 	# Archives containing C++ object files must be created using
   11598 	# the KAI C++ compiler.
   11599 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   11600 	;;
   11601       RCC*)
   11602 	# Rational C++ 2.4.1
   11603 	# FIXME: insert proper C++ library support
   11604 	ld_shlibs_CXX=no
   11605 	;;
   11606       cxx*)
   11607 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   11608 	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'
   11609 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   11610 	  echo "-hidden">> $lib.exp~
   11611 	  $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~
   11612 	  $rm $lib.exp'
   11613 
   11614 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11615 	hardcode_libdir_separator_CXX=:
   11616 
   11617 	# Commands to make compiler produce verbose output that lists
   11618 	# what "hidden" libraries, object files and flags are used when
   11619 	# linking a shared library.
   11620 	#
   11621 	# There doesn't appear to be a way to prevent this compiler from
   11622 	# explicitly linking system object files so we need to strip them
   11623 	# from the output so that they don't get included in the library
   11624 	# dependencies.
   11625 	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'
   11626 	;;
   11627       *)
   11628 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11629 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11630 	 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'
   11631 
   11632 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11633 	  hardcode_libdir_separator_CXX=:
   11634 
   11635 	  # Commands to make compiler produce verbose output that lists
   11636 	  # what "hidden" libraries, object files and flags are used when
   11637 	  # linking a shared library.
   11638 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11639 
   11640 	else
   11641 	  # FIXME: insert proper C++ library support
   11642 	  ld_shlibs_CXX=no
   11643 	fi
   11644 	;;
   11645     esac
   11646     ;;
   11647   psos*)
   11648     # FIXME: insert proper C++ library support
   11649     ld_shlibs_CXX=no
   11650     ;;
   11651   sunos4*)
   11652     case $cc_basename in
   11653       CC*)
   11654 	# Sun C++ 4.x
   11655 	# FIXME: insert proper C++ library support
   11656 	ld_shlibs_CXX=no
   11657 	;;
   11658       lcc*)
   11659 	# Lucid
   11660 	# FIXME: insert proper C++ library support
   11661 	ld_shlibs_CXX=no
   11662 	;;
   11663       *)
   11664 	# FIXME: insert proper C++ library support
   11665 	ld_shlibs_CXX=no
   11666 	;;
   11667     esac
   11668     ;;
   11669   solaris*)
   11670     case $cc_basename in
   11671       CC*)
   11672 	# Sun C++ 4.2, 5.x and Centerline C++
   11673         archive_cmds_need_lc_CXX=yes
   11674 	no_undefined_flag_CXX=' -zdefs'
   11675 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11676 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11677 	$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'
   11678 
   11679 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   11680 	hardcode_shlibpath_var_CXX=no
   11681 	case $host_os in
   11682 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11683 	  *)
   11684 	    # The C++ compiler is used as linker so we must use $wl
   11685 	    # flag to pass the commands to the underlying system
   11686 	    # linker. We must also pass each convience library through
   11687 	    # to the system linker between allextract/defaultextract.
   11688 	    # The C++ compiler will combine linker options so we
   11689 	    # cannot just pass the convience library names through
   11690 	    # without $wl.
   11691 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   11692 	    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'
   11693 	    ;;
   11694 	esac
   11695 	link_all_deplibs_CXX=yes
   11696 
   11697 	output_verbose_link_cmd='echo'
   11698 
   11699 	# Archives containing C++ object files must be created using
   11700 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11701 	# necessary to make sure instantiated templates are included
   11702 	# in the archive.
   11703 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11704 	;;
   11705       gcx*)
   11706 	# Green Hills C++ Compiler
   11707 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11708 
   11709 	# The C++ compiler must be used to create the archive.
   11710 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   11711 	;;
   11712       *)
   11713 	# GNU C++ compiler with Solaris linker
   11714 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11715 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   11716 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   11717 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11718 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11719 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11720 
   11721 	    # Commands to make compiler produce verbose output that lists
   11722 	    # what "hidden" libraries, object files and flags are used when
   11723 	    # linking a shared library.
   11724 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11725 	  else
   11726 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   11727 	    # platform.
   11728 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11729 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11730 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11731 
   11732 	    # Commands to make compiler produce verbose output that lists
   11733 	    # what "hidden" libraries, object files and flags are used when
   11734 	    # linking a shared library.
   11735 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11736 	  fi
   11737 
   11738 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   11739 	fi
   11740 	;;
   11741     esac
   11742     ;;
   11743   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11744     no_undefined_flag_CXX='${wl}-z,text'
   11745     archive_cmds_need_lc_CXX=no
   11746     hardcode_shlibpath_var_CXX=no
   11747     runpath_var='LD_RUN_PATH'
   11748 
   11749     case $cc_basename in
   11750       CC*)
   11751 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11752 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11753 	;;
   11754       *)
   11755 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11756 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11757 	;;
   11758     esac
   11759     ;;
   11760   sysv5* | sco3.2v5* | sco5v6*)
   11761     # Note: We can NOT use -z defs as we might desire, because we do not
   11762     # link with -lc, and that would cause any symbols used from libc to
   11763     # always be unresolved, which means just about no library would
   11764     # ever link correctly.  If we're not using GNU ld we use -z text
   11765     # though, which does catch some bad symbols but isn't as heavy-handed
   11766     # as -z defs.
   11767     # For security reasons, it is highly recommended that you always
   11768     # use absolute paths for naming shared libraries, and exclude the
   11769     # DT_RUNPATH tag from executables and libraries.  But doing so
   11770     # requires that you compile everything twice, which is a pain.
   11771     # So that behaviour is only enabled if SCOABSPATH is set to a
   11772     # non-empty value in the environment.  Most likely only useful for
   11773     # creating official distributions of packages.
   11774     # This is a hack until libtool officially supports absolute path
   11775     # names for shared libraries.
   11776     no_undefined_flag_CXX='${wl}-z,text'
   11777     allow_undefined_flag_CXX='${wl}-z,nodefs'
   11778     archive_cmds_need_lc_CXX=no
   11779     hardcode_shlibpath_var_CXX=no
   11780     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   11781     hardcode_libdir_separator_CXX=':'
   11782     link_all_deplibs_CXX=yes
   11783     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   11784     runpath_var='LD_RUN_PATH'
   11785 
   11786     case $cc_basename in
   11787       CC*)
   11788 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11789 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11790 	;;
   11791       *)
   11792 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11793 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11794 	;;
   11795     esac
   11796     ;;
   11797   tandem*)
   11798     case $cc_basename in
   11799       NCC*)
   11800 	# NonStop-UX NCC 3.20
   11801 	# FIXME: insert proper C++ library support
   11802 	ld_shlibs_CXX=no
   11803 	;;
   11804       *)
   11805 	# FIXME: insert proper C++ library support
   11806 	ld_shlibs_CXX=no
   11807 	;;
   11808     esac
   11809     ;;
   11810   vxworks*)
   11811     # FIXME: insert proper C++ library support
   11812     ld_shlibs_CXX=no
   11813     ;;
   11814   *)
   11815     # FIXME: insert proper C++ library support
   11816     ld_shlibs_CXX=no
   11817     ;;
   11818 esac
   11819 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11820 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   11821 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11822 
   11823 GCC_CXX="$GXX"
   11824 LD_CXX="$LD"
   11825 
   11826 
   11827 cat > conftest.$ac_ext <<EOF
   11828 class Foo
   11829 {
   11830 public:
   11831   Foo (void) { a = 0; }
   11832 private:
   11833   int a;
   11834 };
   11835 EOF
   11836 
   11837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11838   (eval $ac_compile) 2>&5
   11839   ac_status=$?
   11840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11841   (exit $ac_status); }; then
   11842   # Parse the compiler output and extract the necessary
   11843   # objects, libraries and library flags.
   11844 
   11845   # Sentinel used to keep track of whether or not we are before
   11846   # the conftest object file.
   11847   pre_test_object_deps_done=no
   11848 
   11849   # The `*' in the case matches for architectures that use `case' in
   11850   # $output_verbose_cmd can trigger glob expansion during the loop
   11851   # eval without this substitution.
   11852   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   11853 
   11854   for p in `eval $output_verbose_link_cmd`; do
   11855     case $p in
   11856 
   11857     -L* | -R* | -l*)
   11858        # Some compilers place space between "-{L,R}" and the path.
   11859        # Remove the space.
   11860        if test $p = "-L" \
   11861 	  || test $p = "-R"; then
   11862 	 prev=$p
   11863 	 continue
   11864        else
   11865 	 prev=
   11866        fi
   11867 
   11868        if test "$pre_test_object_deps_done" = no; then
   11869 	 case $p in
   11870 	 -L* | -R*)
   11871 	   # Internal compiler library paths should come after those
   11872 	   # provided the user.  The postdeps already come after the
   11873 	   # user supplied libs so there is no need to process them.
   11874 	   if test -z "$compiler_lib_search_path_CXX"; then
   11875 	     compiler_lib_search_path_CXX="${prev}${p}"
   11876 	   else
   11877 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   11878 	   fi
   11879 	   ;;
   11880 	 # The "-l" case would never come before the object being
   11881 	 # linked, so don't bother handling this case.
   11882 	 esac
   11883        else
   11884 	 if test -z "$postdeps_CXX"; then
   11885 	   postdeps_CXX="${prev}${p}"
   11886 	 else
   11887 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   11888 	 fi
   11889        fi
   11890        ;;
   11891 
   11892     *.$objext)
   11893        # This assumes that the test object file only shows up
   11894        # once in the compiler output.
   11895        if test "$p" = "conftest.$objext"; then
   11896 	 pre_test_object_deps_done=yes
   11897 	 continue
   11898        fi
   11899 
   11900        if test "$pre_test_object_deps_done" = no; then
   11901 	 if test -z "$predep_objects_CXX"; then
   11902 	   predep_objects_CXX="$p"
   11903 	 else
   11904 	   predep_objects_CXX="$predep_objects_CXX $p"
   11905 	 fi
   11906        else
   11907 	 if test -z "$postdep_objects_CXX"; then
   11908 	   postdep_objects_CXX="$p"
   11909 	 else
   11910 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   11911 	 fi
   11912        fi
   11913        ;;
   11914 
   11915     *) ;; # Ignore the rest.
   11916 
   11917     esac
   11918   done
   11919 
   11920   # Clean up.
   11921   rm -f a.out a.exe
   11922 else
   11923   echo "libtool.m4: error: problem compiling CXX test program"
   11924 fi
   11925 
   11926 $rm -f confest.$objext
   11927 
   11928 # PORTME: override above test on systems where it is broken
   11929 case $host_os in
   11930 interix3*)
   11931   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   11932   # hack all around it, let's just trust "g++" to DTRT.
   11933   predep_objects_CXX=
   11934   postdep_objects_CXX=
   11935   postdeps_CXX=
   11936   ;;
   11937 
   11938 solaris*)
   11939   case $cc_basename in
   11940   CC*)
   11941     # Adding this requires a known-good setup of shared libraries for
   11942     # Sun compiler versions before 5.6, else PIC objects from an old
   11943     # archive will be linked into the output, leading to subtle bugs.
   11944     postdeps_CXX='-lCstd -lCrun'
   11945     ;;
   11946   esac
   11947   ;;
   11948 esac
   11949 
   11950 
   11951 case " $postdeps_CXX " in
   11952 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   11953 esac
   11954 
   11955 lt_prog_compiler_wl_CXX=
   11956 lt_prog_compiler_pic_CXX=
   11957 lt_prog_compiler_static_CXX=
   11958 
   11959 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   11960 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   11961 
   11962   # C++ specific cases for pic, static, wl, etc.
   11963   if test "$GXX" = yes; then
   11964     lt_prog_compiler_wl_CXX='-Wl,'
   11965     lt_prog_compiler_static_CXX='-static'
   11966 
   11967     case $host_os in
   11968     aix*)
   11969       # All AIX code is PIC.
   11970       if test "$host_cpu" = ia64; then
   11971 	# AIX 5 now supports IA64 processor
   11972 	lt_prog_compiler_static_CXX='-Bstatic'
   11973       fi
   11974       ;;
   11975     amigaos*)
   11976       # FIXME: we need at least 68020 code to build shared libraries, but
   11977       # adding the `-m68020' flag to GCC prevents building anything better,
   11978       # like `-m68040'.
   11979       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   11980       ;;
   11981     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   11982       # PIC is the default for these OSes.
   11983       ;;
   11984     mingw* | os2* | pw32*)
   11985       # This hack is so that the source file can tell whether it is being
   11986       # built for inclusion in a dll (and should export symbols for example).
   11987       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   11988       ;;
   11989     darwin* | rhapsody*)
   11990       # PIC is the default on this platform
   11991       # Common symbols not allowed in MH_DYLIB files
   11992       lt_prog_compiler_pic_CXX='-fno-common'
   11993       ;;
   11994     *djgpp*)
   11995       # DJGPP does not support shared libraries at all
   11996       lt_prog_compiler_pic_CXX=
   11997       ;;
   11998     interix3*)
   11999       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12000       # Instead, we relocate shared libraries at runtime.
   12001       ;;
   12002     sysv4*MP*)
   12003       if test -d /usr/nec; then
   12004 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12005       fi
   12006       ;;
   12007     hpux*)
   12008       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12009       # not for PA HP-UX.
   12010       case $host_cpu in
   12011       hppa*64*|ia64*)
   12012 	;;
   12013       *)
   12014 	lt_prog_compiler_pic_CXX='-fPIC'
   12015 	;;
   12016       esac
   12017       ;;
   12018     *)
   12019       lt_prog_compiler_pic_CXX='-fPIC'
   12020       ;;
   12021     esac
   12022   else
   12023     case $host_os in
   12024       aix4* | aix5*)
   12025 	# All AIX code is PIC.
   12026 	if test "$host_cpu" = ia64; then
   12027 	  # AIX 5 now supports IA64 processor
   12028 	  lt_prog_compiler_static_CXX='-Bstatic'
   12029 	else
   12030 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12031 	fi
   12032 	;;
   12033       chorus*)
   12034 	case $cc_basename in
   12035 	cxch68*)
   12036 	  # Green Hills C++ Compiler
   12037 	  # _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"
   12038 	  ;;
   12039 	esac
   12040 	;;
   12041        darwin*)
   12042          # PIC is the default on this platform
   12043          # Common symbols not allowed in MH_DYLIB files
   12044          case $cc_basename in
   12045            xlc*)
   12046            lt_prog_compiler_pic_CXX='-qnocommon'
   12047            lt_prog_compiler_wl_CXX='-Wl,'
   12048            ;;
   12049          esac
   12050        ;;
   12051       dgux*)
   12052 	case $cc_basename in
   12053 	  ec++*)
   12054 	    lt_prog_compiler_pic_CXX='-KPIC'
   12055 	    ;;
   12056 	  ghcx*)
   12057 	    # Green Hills C++ Compiler
   12058 	    lt_prog_compiler_pic_CXX='-pic'
   12059 	    ;;
   12060 	  *)
   12061 	    ;;
   12062 	esac
   12063 	;;
   12064       freebsd* | kfreebsd*-gnu | dragonfly*)
   12065 	# FreeBSD uses GNU C++
   12066 	;;
   12067       hpux9* | hpux10* | hpux11*)
   12068 	case $cc_basename in
   12069 	  CC*)
   12070 	    lt_prog_compiler_wl_CXX='-Wl,'
   12071 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12072 	    if test "$host_cpu" != ia64; then
   12073 	      lt_prog_compiler_pic_CXX='+Z'
   12074 	    fi
   12075 	    ;;
   12076 	  aCC*)
   12077 	    lt_prog_compiler_wl_CXX='-Wl,'
   12078 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12079 	    case $host_cpu in
   12080 	    hppa*64*|ia64*)
   12081 	      # +Z the default
   12082 	      ;;
   12083 	    *)
   12084 	      lt_prog_compiler_pic_CXX='+Z'
   12085 	      ;;
   12086 	    esac
   12087 	    ;;
   12088 	  *)
   12089 	    ;;
   12090 	esac
   12091 	;;
   12092       interix*)
   12093 	# This is c89, which is MS Visual C++ (no shared libs)
   12094 	# Anyone wants to do a port?
   12095 	;;
   12096       irix5* | irix6* | nonstopux*)
   12097 	case $cc_basename in
   12098 	  CC*)
   12099 	    lt_prog_compiler_wl_CXX='-Wl,'
   12100 	    lt_prog_compiler_static_CXX='-non_shared'
   12101 	    # CC pic flag -KPIC is the default.
   12102 	    ;;
   12103 	  *)
   12104 	    ;;
   12105 	esac
   12106 	;;
   12107       linux*)
   12108 	case $cc_basename in
   12109 	  KCC*)
   12110 	    # KAI C++ Compiler
   12111 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12112 	    lt_prog_compiler_pic_CXX='-fPIC'
   12113 	    ;;
   12114 	  icpc* | ecpc*)
   12115 	    # Intel C++
   12116 	    lt_prog_compiler_wl_CXX='-Wl,'
   12117 	    lt_prog_compiler_pic_CXX='-KPIC'
   12118 	    lt_prog_compiler_static_CXX='-static'
   12119 	    ;;
   12120 	  pgCC*)
   12121 	    # Portland Group C++ compiler.
   12122 	    lt_prog_compiler_wl_CXX='-Wl,'
   12123 	    lt_prog_compiler_pic_CXX='-fpic'
   12124 	    lt_prog_compiler_static_CXX='-Bstatic'
   12125 	    ;;
   12126 	  cxx*)
   12127 	    # Compaq C++
   12128 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12129 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12130 	    lt_prog_compiler_pic_CXX=
   12131 	    lt_prog_compiler_static_CXX='-non_shared'
   12132 	    ;;
   12133 	  *)
   12134 	    ;;
   12135 	esac
   12136 	;;
   12137       lynxos*)
   12138 	;;
   12139       m88k*)
   12140 	;;
   12141       mvs*)
   12142 	case $cc_basename in
   12143 	  cxx*)
   12144 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12145 	    ;;
   12146 	  *)
   12147 	    ;;
   12148 	esac
   12149 	;;
   12150       netbsd*)
   12151 	;;
   12152       osf3* | osf4* | osf5*)
   12153 	case $cc_basename in
   12154 	  KCC*)
   12155 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12156 	    ;;
   12157 	  RCC*)
   12158 	    # Rational C++ 2.4.1
   12159 	    lt_prog_compiler_pic_CXX='-pic'
   12160 	    ;;
   12161 	  cxx*)
   12162 	    # Digital/Compaq C++
   12163 	    lt_prog_compiler_wl_CXX='-Wl,'
   12164 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12165 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12166 	    lt_prog_compiler_pic_CXX=
   12167 	    lt_prog_compiler_static_CXX='-non_shared'
   12168 	    ;;
   12169 	  *)
   12170 	    ;;
   12171 	esac
   12172 	;;
   12173       psos*)
   12174 	;;
   12175       solaris*)
   12176 	case $cc_basename in
   12177 	  CC*)
   12178 	    # Sun C++ 4.2, 5.x and Centerline C++
   12179 	    lt_prog_compiler_pic_CXX='-KPIC'
   12180 	    lt_prog_compiler_static_CXX='-Bstatic'
   12181 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12182 	    ;;
   12183 	  gcx*)
   12184 	    # Green Hills C++ Compiler
   12185 	    lt_prog_compiler_pic_CXX='-PIC'
   12186 	    ;;
   12187 	  *)
   12188 	    ;;
   12189 	esac
   12190 	;;
   12191       sunos4*)
   12192 	case $cc_basename in
   12193 	  CC*)
   12194 	    # Sun C++ 4.x
   12195 	    lt_prog_compiler_pic_CXX='-pic'
   12196 	    lt_prog_compiler_static_CXX='-Bstatic'
   12197 	    ;;
   12198 	  lcc*)
   12199 	    # Lucid
   12200 	    lt_prog_compiler_pic_CXX='-pic'
   12201 	    ;;
   12202 	  *)
   12203 	    ;;
   12204 	esac
   12205 	;;
   12206       tandem*)
   12207 	case $cc_basename in
   12208 	  NCC*)
   12209 	    # NonStop-UX NCC 3.20
   12210 	    lt_prog_compiler_pic_CXX='-KPIC'
   12211 	    ;;
   12212 	  *)
   12213 	    ;;
   12214 	esac
   12215 	;;
   12216       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12217 	case $cc_basename in
   12218 	  CC*)
   12219 	    lt_prog_compiler_wl_CXX='-Wl,'
   12220 	    lt_prog_compiler_pic_CXX='-KPIC'
   12221 	    lt_prog_compiler_static_CXX='-Bstatic'
   12222 	    ;;
   12223 	esac
   12224 	;;
   12225       vxworks*)
   12226 	;;
   12227       *)
   12228 	lt_prog_compiler_can_build_shared_CXX=no
   12229 	;;
   12230     esac
   12231   fi
   12232 
   12233 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12234 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12235 
   12236 #
   12237 # Check to make sure the PIC flag actually works.
   12238 #
   12239 if test -n "$lt_prog_compiler_pic_CXX"; then
   12240 
   12241 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12242 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12243 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12244   echo $ECHO_N "(cached) $ECHO_C" >&6
   12245 else
   12246   lt_prog_compiler_pic_works_CXX=no
   12247   ac_outfile=conftest.$ac_objext
   12248    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12249    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12250    # Insert the option either (1) after the last *FLAGS variable, or
   12251    # (2) before a word containing "conftest.", or (3) at the end.
   12252    # Note that $ac_compile itself does not contain backslashes and begins
   12253    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12254    # The option is referenced via a variable to avoid confusing sed.
   12255    lt_compile=`echo "$ac_compile" | $SED \
   12256    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12257    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12258    -e 's:$: $lt_compiler_flag:'`
   12259    (eval echo "\"\$as_me:12259: $lt_compile\"" >&5)
   12260    (eval "$lt_compile" 2>conftest.err)
   12261    ac_status=$?
   12262    cat conftest.err >&5
   12263    echo "$as_me:12263: \$? = $ac_status" >&5
   12264    if (exit $ac_status) && test -s "$ac_outfile"; then
   12265      # The compiler can only warn and ignore the option if not recognized
   12266      # So say no if there are warnings other than the usual output.
   12267      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12268      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12269      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12270        lt_prog_compiler_pic_works_CXX=yes
   12271      fi
   12272    fi
   12273    $rm conftest*
   12274 
   12275 fi
   12276 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12277 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12278 
   12279 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12280     case $lt_prog_compiler_pic_CXX in
   12281      "" | " "*) ;;
   12282      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12283      esac
   12284 else
   12285     lt_prog_compiler_pic_CXX=
   12286      lt_prog_compiler_can_build_shared_CXX=no
   12287 fi
   12288 
   12289 fi
   12290 case $host_os in
   12291   # For platforms which do not support PIC, -DPIC is meaningless:
   12292   *djgpp*)
   12293     lt_prog_compiler_pic_CXX=
   12294     ;;
   12295   *)
   12296     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12297     ;;
   12298 esac
   12299 
   12300 #
   12301 # Check to make sure the static flag actually works.
   12302 #
   12303 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12304 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12305 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12306 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12307   echo $ECHO_N "(cached) $ECHO_C" >&6
   12308 else
   12309   lt_prog_compiler_static_works_CXX=no
   12310    save_LDFLAGS="$LDFLAGS"
   12311    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12312    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   12313    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12314      # The linker can only warn and ignore the option if not recognized
   12315      # So say no if there are warnings
   12316      if test -s conftest.err; then
   12317        # Append any errors to the config.log.
   12318        cat conftest.err 1>&5
   12319        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12320        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12321        if diff conftest.exp conftest.er2 >/dev/null; then
   12322          lt_prog_compiler_static_works_CXX=yes
   12323        fi
   12324      else
   12325        lt_prog_compiler_static_works_CXX=yes
   12326      fi
   12327    fi
   12328    $rm conftest*
   12329    LDFLAGS="$save_LDFLAGS"
   12330 
   12331 fi
   12332 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12333 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12334 
   12335 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12336     :
   12337 else
   12338     lt_prog_compiler_static_CXX=
   12339 fi
   12340 
   12341 
   12342 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12343 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12344 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12345   echo $ECHO_N "(cached) $ECHO_C" >&6
   12346 else
   12347   lt_cv_prog_compiler_c_o_CXX=no
   12348    $rm -r conftest 2>/dev/null
   12349    mkdir conftest
   12350    cd conftest
   12351    mkdir out
   12352    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12353 
   12354    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12355    # Insert the option either (1) after the last *FLAGS variable, or
   12356    # (2) before a word containing "conftest.", or (3) at the end.
   12357    # Note that $ac_compile itself does not contain backslashes and begins
   12358    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12359    lt_compile=`echo "$ac_compile" | $SED \
   12360    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12361    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12362    -e 's:$: $lt_compiler_flag:'`
   12363    (eval echo "\"\$as_me:12363: $lt_compile\"" >&5)
   12364    (eval "$lt_compile" 2>out/conftest.err)
   12365    ac_status=$?
   12366    cat out/conftest.err >&5
   12367    echo "$as_me:12367: \$? = $ac_status" >&5
   12368    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12369    then
   12370      # The compiler can only warn and ignore the option if not recognized
   12371      # So say no if there are warnings
   12372      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12373      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12374      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12375        lt_cv_prog_compiler_c_o_CXX=yes
   12376      fi
   12377    fi
   12378    chmod u+w . 2>&5
   12379    $rm conftest*
   12380    # SGI C++ compiler will create directory out/ii_files/ for
   12381    # template instantiation
   12382    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12383    $rm out/* && rmdir out
   12384    cd ..
   12385    rmdir conftest
   12386    $rm conftest*
   12387 
   12388 fi
   12389 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12390 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12391 
   12392 
   12393 hard_links="nottested"
   12394 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12395   # do not overwrite the value of need_locks provided by the user
   12396   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12397 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12398   hard_links=yes
   12399   $rm conftest*
   12400   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12401   touch conftest.a
   12402   ln conftest.a conftest.b 2>&5 || hard_links=no
   12403   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12404   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12405 echo "${ECHO_T}$hard_links" >&6; }
   12406   if test "$hard_links" = no; then
   12407     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12408 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12409     need_locks=warn
   12410   fi
   12411 else
   12412   need_locks=no
   12413 fi
   12414 
   12415 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12416 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12417 
   12418   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12419   case $host_os in
   12420   aix4* | aix5*)
   12421     # If we're using GNU nm, then we don't want the "-C" option.
   12422     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12423     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12424       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'
   12425     else
   12426       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'
   12427     fi
   12428     ;;
   12429   pw32*)
   12430     export_symbols_cmds_CXX="$ltdll_cmds"
   12431   ;;
   12432   cygwin* | mingw*)
   12433     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'
   12434   ;;
   12435   *)
   12436     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12437   ;;
   12438   esac
   12439 
   12440 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12441 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12442 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12443 
   12444 #
   12445 # Do we need to explicitly link libc?
   12446 #
   12447 case "x$archive_cmds_need_lc_CXX" in
   12448 x|xyes)
   12449   # Assume -lc should be added
   12450   archive_cmds_need_lc_CXX=yes
   12451 
   12452   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12453     case $archive_cmds_CXX in
   12454     *'~'*)
   12455       # FIXME: we may have to deal with multi-command sequences.
   12456       ;;
   12457     '$CC '*)
   12458       # Test whether the compiler implicitly links with -lc since on some
   12459       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12460       # to ld, don't add -lc before -lgcc.
   12461       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12462 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12463       $rm conftest*
   12464       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12465 
   12466       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12467   (eval $ac_compile) 2>&5
   12468   ac_status=$?
   12469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12470   (exit $ac_status); } 2>conftest.err; then
   12471         soname=conftest
   12472         lib=conftest
   12473         libobjs=conftest.$ac_objext
   12474         deplibs=
   12475         wl=$lt_prog_compiler_wl_CXX
   12476 	pic_flag=$lt_prog_compiler_pic_CXX
   12477         compiler_flags=-v
   12478         linker_flags=-v
   12479         verstring=
   12480         output_objdir=.
   12481         libname=conftest
   12482         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12483         allow_undefined_flag_CXX=
   12484         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12485   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12486   ac_status=$?
   12487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12488   (exit $ac_status); }
   12489         then
   12490 	  archive_cmds_need_lc_CXX=no
   12491         else
   12492 	  archive_cmds_need_lc_CXX=yes
   12493         fi
   12494         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12495       else
   12496         cat conftest.err 1>&5
   12497       fi
   12498       $rm conftest*
   12499       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12500 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   12501       ;;
   12502     esac
   12503   fi
   12504   ;;
   12505 esac
   12506 
   12507 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12508 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   12509 library_names_spec=
   12510 libname_spec='lib$name'
   12511 soname_spec=
   12512 shrext_cmds=".so"
   12513 postinstall_cmds=
   12514 postuninstall_cmds=
   12515 finish_cmds=
   12516 finish_eval=
   12517 shlibpath_var=
   12518 shlibpath_overrides_runpath=unknown
   12519 version_type=none
   12520 dynamic_linker="$host_os ld.so"
   12521 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12522 if test "$GCC" = yes; then
   12523   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12524   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   12525     # if the path contains ";" then we assume it to be the separator
   12526     # otherwise default to the standard path separator (i.e. ":") - it is
   12527     # assumed that no part of a normal pathname contains ";" but that should
   12528     # okay in the real world where ";" in dirpaths is itself problematic.
   12529     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12530   else
   12531     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12532   fi
   12533 else
   12534   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12535 fi
   12536 need_lib_prefix=unknown
   12537 hardcode_into_libs=no
   12538 
   12539 # when you set need_version to no, make sure it does not cause -set_version
   12540 # flags to be left without arguments
   12541 need_version=unknown
   12542 
   12543 case $host_os in
   12544 aix3*)
   12545   version_type=linux
   12546   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12547   shlibpath_var=LIBPATH
   12548 
   12549   # AIX 3 has no versioning support, so we append a major version to the name.
   12550   soname_spec='${libname}${release}${shared_ext}$major'
   12551   ;;
   12552 
   12553 aix4* | aix5*)
   12554   version_type=linux
   12555   need_lib_prefix=no
   12556   need_version=no
   12557   hardcode_into_libs=yes
   12558   if test "$host_cpu" = ia64; then
   12559     # AIX 5 supports IA64
   12560     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12561     shlibpath_var=LD_LIBRARY_PATH
   12562   else
   12563     # With GCC up to 2.95.x, collect2 would create an import file
   12564     # for dependence libraries.  The import file would start with
   12565     # the line `#! .'.  This would cause the generated library to
   12566     # depend on `.', always an invalid library.  This was fixed in
   12567     # development snapshots of GCC prior to 3.0.
   12568     case $host_os in
   12569       aix4 | aix4.[01] | aix4.[01].*)
   12570       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12571 	   echo ' yes '
   12572 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   12573 	:
   12574       else
   12575 	can_build_shared=no
   12576       fi
   12577       ;;
   12578     esac
   12579     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12580     # soname into executable. Probably we can add versioning support to
   12581     # collect2, so additional links can be useful in future.
   12582     if test "$aix_use_runtimelinking" = yes; then
   12583       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12584       # instead of lib<name>.a to let people know that these are not
   12585       # typical AIX shared libraries.
   12586       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12587     else
   12588       # We preserve .a as extension for shared libraries through AIX4.2
   12589       # and later when we are not doing run time linking.
   12590       library_names_spec='${libname}${release}.a $libname.a'
   12591       soname_spec='${libname}${release}${shared_ext}$major'
   12592     fi
   12593     shlibpath_var=LIBPATH
   12594   fi
   12595   ;;
   12596 
   12597 amigaos*)
   12598   library_names_spec='$libname.ixlibrary $libname.a'
   12599   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12600   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'
   12601   ;;
   12602 
   12603 beos*)
   12604   library_names_spec='${libname}${shared_ext}'
   12605   dynamic_linker="$host_os ld.so"
   12606   shlibpath_var=LIBRARY_PATH
   12607   ;;
   12608 
   12609 bsdi[45]*)
   12610   version_type=linux
   12611   need_version=no
   12612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12613   soname_spec='${libname}${release}${shared_ext}$major'
   12614   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12615   shlibpath_var=LD_LIBRARY_PATH
   12616   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12617   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12618   # the default ld.so.conf also contains /usr/contrib/lib and
   12619   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12620   # libtool to hard-code these into programs
   12621   ;;
   12622 
   12623 cygwin* | mingw* | pw32*)
   12624   version_type=windows
   12625   shrext_cmds=".dll"
   12626   need_version=no
   12627   need_lib_prefix=no
   12628 
   12629   case $GCC,$host_os in
   12630   yes,cygwin* | yes,mingw* | yes,pw32*)
   12631     library_names_spec='$libname.dll.a'
   12632     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12633     postinstall_cmds='base_file=`basename \${file}`~
   12634       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   12635       dldir=$destdir/`dirname \$dlpath`~
   12636       test -d \$dldir || mkdir -p \$dldir~
   12637       $install_prog $dir/$dlname \$dldir/$dlname~
   12638       chmod a+x \$dldir/$dlname'
   12639     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12640       dlpath=$dir/\$dldll~
   12641        $rm \$dlpath'
   12642     shlibpath_overrides_runpath=yes
   12643 
   12644     case $host_os in
   12645     cygwin*)
   12646       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12647       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12648       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   12649       ;;
   12650     mingw*)
   12651       # MinGW DLLs use traditional 'lib' prefix
   12652       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12653       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12654       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   12655         # It is most probably a Windows format PATH printed by
   12656         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   12657         # path with ; separators, and with drive letters. We can handle the
   12658         # drive letters (cygwin fileutils understands them), so leave them,
   12659         # especially as we might pass files found there to a mingw objdump,
   12660         # which wouldn't understand a cygwinified path. Ahh.
   12661         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12662       else
   12663         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12664       fi
   12665       ;;
   12666     pw32*)
   12667       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12668       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12669       ;;
   12670     esac
   12671     ;;
   12672 
   12673   *)
   12674     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   12675     ;;
   12676   esac
   12677   dynamic_linker='Win32 ld.exe'
   12678   # FIXME: first we should search . and the directory the executable is in
   12679   shlibpath_var=PATH
   12680   ;;
   12681 
   12682 darwin* | rhapsody*)
   12683   dynamic_linker="$host_os dyld"
   12684   version_type=darwin
   12685   need_lib_prefix=no
   12686   need_version=no
   12687   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12688   soname_spec='${libname}${release}${major}$shared_ext'
   12689   shlibpath_overrides_runpath=yes
   12690   shlibpath_var=DYLD_LIBRARY_PATH
   12691   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12692   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   12693   if test "$GCC" = yes; then
   12694     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"`
   12695   else
   12696     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   12697   fi
   12698   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12699   ;;
   12700 
   12701 dgux*)
   12702   version_type=linux
   12703   need_lib_prefix=no
   12704   need_version=no
   12705   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12706   soname_spec='${libname}${release}${shared_ext}$major'
   12707   shlibpath_var=LD_LIBRARY_PATH
   12708   ;;
   12709 
   12710 freebsd1*)
   12711   dynamic_linker=no
   12712   ;;
   12713 
   12714 kfreebsd*-gnu)
   12715   version_type=linux
   12716   need_lib_prefix=no
   12717   need_version=no
   12718   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12719   soname_spec='${libname}${release}${shared_ext}$major'
   12720   shlibpath_var=LD_LIBRARY_PATH
   12721   shlibpath_overrides_runpath=no
   12722   hardcode_into_libs=yes
   12723   dynamic_linker='GNU ld.so'
   12724   ;;
   12725 
   12726 freebsd* | dragonfly*)
   12727   # DragonFly does not have aout.  When/if they implement a new
   12728   # versioning mechanism, adjust this.
   12729   if test -x /usr/bin/objformat; then
   12730     objformat=`/usr/bin/objformat`
   12731   else
   12732     case $host_os in
   12733     freebsd[123]*) objformat=aout ;;
   12734     *) objformat=elf ;;
   12735     esac
   12736   fi
   12737   version_type=freebsd-$objformat
   12738   case $version_type in
   12739     freebsd-elf*)
   12740       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12741       need_version=no
   12742       need_lib_prefix=no
   12743       ;;
   12744     freebsd-*)
   12745       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12746       need_version=yes
   12747       ;;
   12748   esac
   12749   shlibpath_var=LD_LIBRARY_PATH
   12750   case $host_os in
   12751   freebsd2*)
   12752     shlibpath_overrides_runpath=yes
   12753     ;;
   12754   freebsd3.[01]* | freebsdelf3.[01]*)
   12755     shlibpath_overrides_runpath=yes
   12756     hardcode_into_libs=yes
   12757     ;;
   12758   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12759   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12760     shlibpath_overrides_runpath=no
   12761     hardcode_into_libs=yes
   12762     ;;
   12763   freebsd*) # from 4.6 on
   12764     shlibpath_overrides_runpath=yes
   12765     hardcode_into_libs=yes
   12766     ;;
   12767   esac
   12768   ;;
   12769 
   12770 gnu*)
   12771   version_type=linux
   12772   need_lib_prefix=no
   12773   need_version=no
   12774   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12775   soname_spec='${libname}${release}${shared_ext}$major'
   12776   shlibpath_var=LD_LIBRARY_PATH
   12777   hardcode_into_libs=yes
   12778   ;;
   12779 
   12780 hpux9* | hpux10* | hpux11*)
   12781   # Give a soname corresponding to the major version so that dld.sl refuses to
   12782   # link against other versions.
   12783   version_type=sunos
   12784   need_lib_prefix=no
   12785   need_version=no
   12786   case $host_cpu in
   12787   ia64*)
   12788     shrext_cmds='.so'
   12789     hardcode_into_libs=yes
   12790     dynamic_linker="$host_os dld.so"
   12791     shlibpath_var=LD_LIBRARY_PATH
   12792     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12793     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12794     soname_spec='${libname}${release}${shared_ext}$major'
   12795     if test "X$HPUX_IA64_MODE" = X32; then
   12796       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12797     else
   12798       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12799     fi
   12800     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12801     ;;
   12802    hppa*64*)
   12803      shrext_cmds='.sl'
   12804      hardcode_into_libs=yes
   12805      dynamic_linker="$host_os dld.sl"
   12806      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12807      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12808      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12809      soname_spec='${libname}${release}${shared_ext}$major'
   12810      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12811      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12812      ;;
   12813    *)
   12814     shrext_cmds='.sl'
   12815     dynamic_linker="$host_os dld.sl"
   12816     shlibpath_var=SHLIB_PATH
   12817     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12818     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12819     soname_spec='${libname}${release}${shared_ext}$major'
   12820     ;;
   12821   esac
   12822   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12823   postinstall_cmds='chmod 555 $lib'
   12824   ;;
   12825 
   12826 interix3*)
   12827   version_type=linux
   12828   need_lib_prefix=no
   12829   need_version=no
   12830   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12831   soname_spec='${libname}${release}${shared_ext}$major'
   12832   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12833   shlibpath_var=LD_LIBRARY_PATH
   12834   shlibpath_overrides_runpath=no
   12835   hardcode_into_libs=yes
   12836   ;;
   12837 
   12838 irix5* | irix6* | nonstopux*)
   12839   case $host_os in
   12840     nonstopux*) version_type=nonstopux ;;
   12841     *)
   12842 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12843 		version_type=linux
   12844 	else
   12845 		version_type=irix
   12846 	fi ;;
   12847   esac
   12848   need_lib_prefix=no
   12849   need_version=no
   12850   soname_spec='${libname}${release}${shared_ext}$major'
   12851   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12852   case $host_os in
   12853   irix5* | nonstopux*)
   12854     libsuff= shlibsuff=
   12855     ;;
   12856   *)
   12857     case $LD in # libtool.m4 will add one of these switches to LD
   12858     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12859       libsuff= shlibsuff= libmagic=32-bit;;
   12860     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12861       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12862     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12863       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12864     *) libsuff= shlibsuff= libmagic=never-match;;
   12865     esac
   12866     ;;
   12867   esac
   12868   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12869   shlibpath_overrides_runpath=no
   12870   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12871   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12872   hardcode_into_libs=yes
   12873   ;;
   12874 
   12875 # No shared lib support for Linux oldld, aout, or coff.
   12876 linux*oldld* | linux*aout* | linux*coff*)
   12877   dynamic_linker=no
   12878   ;;
   12879 
   12880 # This must be Linux ELF.
   12881 linux*)
   12882   version_type=linux
   12883   need_lib_prefix=no
   12884   need_version=no
   12885   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12886   soname_spec='${libname}${release}${shared_ext}$major'
   12887   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12888   shlibpath_var=LD_LIBRARY_PATH
   12889   shlibpath_overrides_runpath=no
   12890   # This implies no fast_install, which is unacceptable.
   12891   # Some rework will be needed to allow for fast_install
   12892   # before this can be enabled.
   12893   hardcode_into_libs=yes
   12894 
   12895   # Append ld.so.conf contents to the search path
   12896   if test -f /etc/ld.so.conf; then
   12897     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' ' '`
   12898     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12899   fi
   12900 
   12901   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12902   # powerpc, because MkLinux only supported shared libraries with the
   12903   # GNU dynamic linker.  Since this was broken with cross compilers,
   12904   # most powerpc-linux boxes support dynamic linking these days and
   12905   # people can always --disable-shared, the test was removed, and we
   12906   # assume the GNU/Linux dynamic linker is in use.
   12907   dynamic_linker='GNU/Linux ld.so'
   12908   ;;
   12909 
   12910 knetbsd*-gnu)
   12911   version_type=linux
   12912   need_lib_prefix=no
   12913   need_version=no
   12914   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12915   soname_spec='${libname}${release}${shared_ext}$major'
   12916   shlibpath_var=LD_LIBRARY_PATH
   12917   shlibpath_overrides_runpath=no
   12918   hardcode_into_libs=yes
   12919   dynamic_linker='GNU ld.so'
   12920   ;;
   12921 
   12922 netbsd*)
   12923   version_type=sunos
   12924   need_lib_prefix=no
   12925   need_version=no
   12926   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12927     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12928     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12929     dynamic_linker='NetBSD (a.out) ld.so'
   12930   else
   12931     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12932     soname_spec='${libname}${release}${shared_ext}$major'
   12933     dynamic_linker='NetBSD ld.elf_so'
   12934   fi
   12935   shlibpath_var=LD_LIBRARY_PATH
   12936   shlibpath_overrides_runpath=yes
   12937   hardcode_into_libs=yes
   12938   ;;
   12939 
   12940 newsos6)
   12941   version_type=linux
   12942   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12943   shlibpath_var=LD_LIBRARY_PATH
   12944   shlibpath_overrides_runpath=yes
   12945   ;;
   12946 
   12947 nto-qnx*)
   12948   version_type=linux
   12949   need_lib_prefix=no
   12950   need_version=no
   12951   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12952   soname_spec='${libname}${release}${shared_ext}$major'
   12953   shlibpath_var=LD_LIBRARY_PATH
   12954   shlibpath_overrides_runpath=yes
   12955   ;;
   12956 
   12957 openbsd*)
   12958   version_type=sunos
   12959   sys_lib_dlsearch_path_spec="/usr/lib"
   12960   need_lib_prefix=no
   12961   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   12962   case $host_os in
   12963     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   12964     *)                         need_version=no  ;;
   12965   esac
   12966   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12967   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12968   shlibpath_var=LD_LIBRARY_PATH
   12969   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12970     case $host_os in
   12971       openbsd2.[89] | openbsd2.[89].*)
   12972 	shlibpath_overrides_runpath=no
   12973 	;;
   12974       *)
   12975 	shlibpath_overrides_runpath=yes
   12976 	;;
   12977       esac
   12978   else
   12979     shlibpath_overrides_runpath=yes
   12980   fi
   12981   ;;
   12982 
   12983 os2*)
   12984   libname_spec='$name'
   12985   shrext_cmds=".dll"
   12986   need_lib_prefix=no
   12987   library_names_spec='$libname${shared_ext} $libname.a'
   12988   dynamic_linker='OS/2 ld.exe'
   12989   shlibpath_var=LIBPATH
   12990   ;;
   12991 
   12992 osf3* | osf4* | osf5*)
   12993   version_type=osf
   12994   need_lib_prefix=no
   12995   need_version=no
   12996   soname_spec='${libname}${release}${shared_ext}$major'
   12997   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12998   shlibpath_var=LD_LIBRARY_PATH
   12999   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13000   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13001   ;;
   13002 
   13003 solaris*)
   13004   version_type=linux
   13005   need_lib_prefix=no
   13006   need_version=no
   13007   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13008   soname_spec='${libname}${release}${shared_ext}$major'
   13009   shlibpath_var=LD_LIBRARY_PATH
   13010   shlibpath_overrides_runpath=yes
   13011   hardcode_into_libs=yes
   13012   # ldd complains unless libraries are executable
   13013   postinstall_cmds='chmod +x $lib'
   13014   ;;
   13015 
   13016 sunos4*)
   13017   version_type=sunos
   13018   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13019   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13020   shlibpath_var=LD_LIBRARY_PATH
   13021   shlibpath_overrides_runpath=yes
   13022   if test "$with_gnu_ld" = yes; then
   13023     need_lib_prefix=no
   13024   fi
   13025   need_version=yes
   13026   ;;
   13027 
   13028 sysv4 | sysv4.3*)
   13029   version_type=linux
   13030   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13031   soname_spec='${libname}${release}${shared_ext}$major'
   13032   shlibpath_var=LD_LIBRARY_PATH
   13033   case $host_vendor in
   13034     sni)
   13035       shlibpath_overrides_runpath=no
   13036       need_lib_prefix=no
   13037       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13038       runpath_var=LD_RUN_PATH
   13039       ;;
   13040     siemens)
   13041       need_lib_prefix=no
   13042       ;;
   13043     motorola)
   13044       need_lib_prefix=no
   13045       need_version=no
   13046       shlibpath_overrides_runpath=no
   13047       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13048       ;;
   13049   esac
   13050   ;;
   13051 
   13052 sysv4*MP*)
   13053   if test -d /usr/nec ;then
   13054     version_type=linux
   13055     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13056     soname_spec='$libname${shared_ext}.$major'
   13057     shlibpath_var=LD_LIBRARY_PATH
   13058   fi
   13059   ;;
   13060 
   13061 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13062   version_type=freebsd-elf
   13063   need_lib_prefix=no
   13064   need_version=no
   13065   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13066   soname_spec='${libname}${release}${shared_ext}$major'
   13067   shlibpath_var=LD_LIBRARY_PATH
   13068   hardcode_into_libs=yes
   13069   if test "$with_gnu_ld" = yes; then
   13070     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13071     shlibpath_overrides_runpath=no
   13072   else
   13073     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13074     shlibpath_overrides_runpath=yes
   13075     case $host_os in
   13076       sco3.2v5*)
   13077         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13078 	;;
   13079     esac
   13080   fi
   13081   sys_lib_dlsearch_path_spec='/usr/lib'
   13082   ;;
   13083 
   13084 uts4*)
   13085   version_type=linux
   13086   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13087   soname_spec='${libname}${release}${shared_ext}$major'
   13088   shlibpath_var=LD_LIBRARY_PATH
   13089   ;;
   13090 
   13091 *)
   13092   dynamic_linker=no
   13093   ;;
   13094 esac
   13095 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13096 echo "${ECHO_T}$dynamic_linker" >&6; }
   13097 test "$dynamic_linker" = no && can_build_shared=no
   13098 
   13099 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13100 if test "$GCC" = yes; then
   13101   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13102 fi
   13103 
   13104 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13105 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13106 hardcode_action_CXX=
   13107 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13108    test -n "$runpath_var_CXX" || \
   13109    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13110 
   13111   # We can hardcode non-existant directories.
   13112   if test "$hardcode_direct_CXX" != no &&
   13113      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13114      # have to relink, otherwise we might link with an installed library
   13115      # when we should be linking with a yet-to-be-installed one
   13116      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13117      test "$hardcode_minus_L_CXX" != no; then
   13118     # Linking always hardcodes the temporary library directory.
   13119     hardcode_action_CXX=relink
   13120   else
   13121     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13122     hardcode_action_CXX=immediate
   13123   fi
   13124 else
   13125   # We cannot hardcode anything, or else we can only hardcode existing
   13126   # directories.
   13127   hardcode_action_CXX=unsupported
   13128 fi
   13129 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13130 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13131 
   13132 if test "$hardcode_action_CXX" = relink; then
   13133   # Fast installation is not supported
   13134   enable_fast_install=no
   13135 elif test "$shlibpath_overrides_runpath" = yes ||
   13136      test "$enable_shared" = no; then
   13137   # Fast installation is not necessary
   13138   enable_fast_install=needless
   13139 fi
   13140 
   13141 
   13142 # The else clause should only fire when bootstrapping the
   13143 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13144 # with your package, and you will get complaints that there are
   13145 # no rules to generate ltmain.sh.
   13146 if test -f "$ltmain"; then
   13147   # See if we are running on zsh, and set the options which allow our commands through
   13148   # without removal of \ escapes.
   13149   if test -n "${ZSH_VERSION+set}" ; then
   13150     setopt NO_GLOB_SUBST
   13151   fi
   13152   # Now quote all the things that may contain metacharacters while being
   13153   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13154   # variables and quote the copies for generation of the libtool script.
   13155   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13156     SED SHELL STRIP \
   13157     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13158     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13159     deplibs_check_method reload_flag reload_cmds need_locks \
   13160     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13161     lt_cv_sys_global_symbol_to_c_name_address \
   13162     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13163     old_postinstall_cmds old_postuninstall_cmds \
   13164     compiler_CXX \
   13165     CC_CXX \
   13166     LD_CXX \
   13167     lt_prog_compiler_wl_CXX \
   13168     lt_prog_compiler_pic_CXX \
   13169     lt_prog_compiler_static_CXX \
   13170     lt_prog_compiler_no_builtin_flag_CXX \
   13171     export_dynamic_flag_spec_CXX \
   13172     thread_safe_flag_spec_CXX \
   13173     whole_archive_flag_spec_CXX \
   13174     enable_shared_with_static_runtimes_CXX \
   13175     old_archive_cmds_CXX \
   13176     old_archive_from_new_cmds_CXX \
   13177     predep_objects_CXX \
   13178     postdep_objects_CXX \
   13179     predeps_CXX \
   13180     postdeps_CXX \
   13181     compiler_lib_search_path_CXX \
   13182     archive_cmds_CXX \
   13183     archive_expsym_cmds_CXX \
   13184     postinstall_cmds_CXX \
   13185     postuninstall_cmds_CXX \
   13186     old_archive_from_expsyms_cmds_CXX \
   13187     allow_undefined_flag_CXX \
   13188     no_undefined_flag_CXX \
   13189     export_symbols_cmds_CXX \
   13190     hardcode_libdir_flag_spec_CXX \
   13191     hardcode_libdir_flag_spec_ld_CXX \
   13192     hardcode_libdir_separator_CXX \
   13193     hardcode_automatic_CXX \
   13194     module_cmds_CXX \
   13195     module_expsym_cmds_CXX \
   13196     lt_cv_prog_compiler_c_o_CXX \
   13197     exclude_expsyms_CXX \
   13198     include_expsyms_CXX; do
   13199 
   13200     case $var in
   13201     old_archive_cmds_CXX | \
   13202     old_archive_from_new_cmds_CXX | \
   13203     archive_cmds_CXX | \
   13204     archive_expsym_cmds_CXX | \
   13205     module_cmds_CXX | \
   13206     module_expsym_cmds_CXX | \
   13207     old_archive_from_expsyms_cmds_CXX | \
   13208     export_symbols_cmds_CXX | \
   13209     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13210     postinstall_cmds | postuninstall_cmds | \
   13211     old_postinstall_cmds | old_postuninstall_cmds | \
   13212     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13213       # Double-quote double-evaled strings.
   13214       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13215       ;;
   13216     *)
   13217       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13218       ;;
   13219     esac
   13220   done
   13221 
   13222   case $lt_echo in
   13223   *'\$0 --fallback-echo"')
   13224     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13225     ;;
   13226   esac
   13227 
   13228 cfgfile="$ofile"
   13229 
   13230   cat <<__EOF__ >> "$cfgfile"
   13231 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13232 
   13233 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13234 
   13235 # Shell to use when invoking shell scripts.
   13236 SHELL=$lt_SHELL
   13237 
   13238 # Whether or not to build shared libraries.
   13239 build_libtool_libs=$enable_shared
   13240 
   13241 # Whether or not to build static libraries.
   13242 build_old_libs=$enable_static
   13243 
   13244 # Whether or not to add -lc for building shared libraries.
   13245 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13246 
   13247 # Whether or not to disallow shared libs when runtime libs are static
   13248 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13249 
   13250 # Whether or not to optimize for fast installation.
   13251 fast_install=$enable_fast_install
   13252 
   13253 # The host system.
   13254 host_alias=$host_alias
   13255 host=$host
   13256 host_os=$host_os
   13257 
   13258 # The build system.
   13259 build_alias=$build_alias
   13260 build=$build
   13261 build_os=$build_os
   13262 
   13263 # An echo program that does not interpret backslashes.
   13264 echo=$lt_echo
   13265 
   13266 # The archiver.
   13267 AR=$lt_AR
   13268 AR_FLAGS=$lt_AR_FLAGS
   13269 
   13270 # A C compiler.
   13271 LTCC=$lt_LTCC
   13272 
   13273 # LTCC compiler flags.
   13274 LTCFLAGS=$lt_LTCFLAGS
   13275 
   13276 # A language-specific compiler.
   13277 CC=$lt_compiler_CXX
   13278 
   13279 # Is the compiler the GNU C compiler?
   13280 with_gcc=$GCC_CXX
   13281 
   13282 # An ERE matcher.
   13283 EGREP=$lt_EGREP
   13284 
   13285 # The linker used to build libraries.
   13286 LD=$lt_LD_CXX
   13287 
   13288 # Whether we need hard or soft links.
   13289 LN_S=$lt_LN_S
   13290 
   13291 # A BSD-compatible nm program.
   13292 NM=$lt_NM
   13293 
   13294 # A symbol stripping program
   13295 STRIP=$lt_STRIP
   13296 
   13297 # Used to examine libraries when file_magic_cmd begins "file"
   13298 MAGIC_CMD=$MAGIC_CMD
   13299 
   13300 # Used on cygwin: DLL creation program.
   13301 DLLTOOL="$DLLTOOL"
   13302 
   13303 # Used on cygwin: object dumper.
   13304 OBJDUMP="$OBJDUMP"
   13305 
   13306 # Used on cygwin: assembler.
   13307 AS="$AS"
   13308 
   13309 # The name of the directory that contains temporary libtool files.
   13310 objdir=$objdir
   13311 
   13312 # How to create reloadable object files.
   13313 reload_flag=$lt_reload_flag
   13314 reload_cmds=$lt_reload_cmds
   13315 
   13316 # How to pass a linker flag through the compiler.
   13317 wl=$lt_lt_prog_compiler_wl_CXX
   13318 
   13319 # Object file suffix (normally "o").
   13320 objext="$ac_objext"
   13321 
   13322 # Old archive suffix (normally "a").
   13323 libext="$libext"
   13324 
   13325 # Shared library suffix (normally ".so").
   13326 shrext_cmds='$shrext_cmds'
   13327 
   13328 # Executable file suffix (normally "").
   13329 exeext="$exeext"
   13330 
   13331 # Additional compiler flags for building library objects.
   13332 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13333 pic_mode=$pic_mode
   13334 
   13335 # What is the maximum length of a command?
   13336 max_cmd_len=$lt_cv_sys_max_cmd_len
   13337 
   13338 # Does compiler simultaneously support -c and -o options?
   13339 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13340 
   13341 # Must we lock files when doing compilation?
   13342 need_locks=$lt_need_locks
   13343 
   13344 # Do we need the lib prefix for modules?
   13345 need_lib_prefix=$need_lib_prefix
   13346 
   13347 # Do we need a version for libraries?
   13348 need_version=$need_version
   13349 
   13350 # Whether dlopen is supported.
   13351 dlopen_support=$enable_dlopen
   13352 
   13353 # Whether dlopen of programs is supported.
   13354 dlopen_self=$enable_dlopen_self
   13355 
   13356 # Whether dlopen of statically linked programs is supported.
   13357 dlopen_self_static=$enable_dlopen_self_static
   13358 
   13359 # Compiler flag to prevent dynamic linking.
   13360 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13361 
   13362 # Compiler flag to turn off builtin functions.
   13363 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13364 
   13365 # Compiler flag to allow reflexive dlopens.
   13366 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13367 
   13368 # Compiler flag to generate shared objects directly from archives.
   13369 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13370 
   13371 # Compiler flag to generate thread-safe objects.
   13372 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13373 
   13374 # Library versioning type.
   13375 version_type=$version_type
   13376 
   13377 # Format of library name prefix.
   13378 libname_spec=$lt_libname_spec
   13379 
   13380 # List of archive names.  First name is the real one, the rest are links.
   13381 # The last name is the one that the linker finds with -lNAME.
   13382 library_names_spec=$lt_library_names_spec
   13383 
   13384 # The coded name of the library, if different from the real name.
   13385 soname_spec=$lt_soname_spec
   13386 
   13387 # Commands used to build and install an old-style archive.
   13388 RANLIB=$lt_RANLIB
   13389 old_archive_cmds=$lt_old_archive_cmds_CXX
   13390 old_postinstall_cmds=$lt_old_postinstall_cmds
   13391 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13392 
   13393 # Create an old-style archive from a shared archive.
   13394 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13395 
   13396 # Create a temporary old-style archive to link instead of a shared archive.
   13397 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13398 
   13399 # Commands used to build and install a shared archive.
   13400 archive_cmds=$lt_archive_cmds_CXX
   13401 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13402 postinstall_cmds=$lt_postinstall_cmds
   13403 postuninstall_cmds=$lt_postuninstall_cmds
   13404 
   13405 # Commands used to build a loadable module (assumed same as above if empty)
   13406 module_cmds=$lt_module_cmds_CXX
   13407 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13408 
   13409 # Commands to strip libraries.
   13410 old_striplib=$lt_old_striplib
   13411 striplib=$lt_striplib
   13412 
   13413 # Dependencies to place before the objects being linked to create a
   13414 # shared library.
   13415 predep_objects=$lt_predep_objects_CXX
   13416 
   13417 # Dependencies to place after the objects being linked to create a
   13418 # shared library.
   13419 postdep_objects=$lt_postdep_objects_CXX
   13420 
   13421 # Dependencies to place before the objects being linked to create a
   13422 # shared library.
   13423 predeps=$lt_predeps_CXX
   13424 
   13425 # Dependencies to place after the objects being linked to create a
   13426 # shared library.
   13427 postdeps=$lt_postdeps_CXX
   13428 
   13429 # The library search path used internally by the compiler when linking
   13430 # a shared library.
   13431 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13432 
   13433 # Method to check whether dependent libraries are shared objects.
   13434 deplibs_check_method=$lt_deplibs_check_method
   13435 
   13436 # Command to use when deplibs_check_method == file_magic.
   13437 file_magic_cmd=$lt_file_magic_cmd
   13438 
   13439 # Flag that allows shared libraries with undefined symbols to be built.
   13440 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13441 
   13442 # Flag that forces no undefined symbols.
   13443 no_undefined_flag=$lt_no_undefined_flag_CXX
   13444 
   13445 # Commands used to finish a libtool library installation in a directory.
   13446 finish_cmds=$lt_finish_cmds
   13447 
   13448 # Same as above, but a single script fragment to be evaled but not shown.
   13449 finish_eval=$lt_finish_eval
   13450 
   13451 # Take the output of nm and produce a listing of raw symbols and C names.
   13452 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13453 
   13454 # Transform the output of nm in a proper C declaration
   13455 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13456 
   13457 # Transform the output of nm in a C name address pair
   13458 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13459 
   13460 # This is the shared library runtime path variable.
   13461 runpath_var=$runpath_var
   13462 
   13463 # This is the shared library path variable.
   13464 shlibpath_var=$shlibpath_var
   13465 
   13466 # Is shlibpath searched before the hard-coded library search path?
   13467 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13468 
   13469 # How to hardcode a shared library path into an executable.
   13470 hardcode_action=$hardcode_action_CXX
   13471 
   13472 # Whether we should hardcode library paths into libraries.
   13473 hardcode_into_libs=$hardcode_into_libs
   13474 
   13475 # Flag to hardcode \$libdir into a binary during linking.
   13476 # This must work even if \$libdir does not exist.
   13477 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13478 
   13479 # If ld is used when linking, flag to hardcode \$libdir into
   13480 # a binary during linking. This must work even if \$libdir does
   13481 # not exist.
   13482 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13483 
   13484 # Whether we need a single -rpath flag with a separated argument.
   13485 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13486 
   13487 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13488 # resulting binary.
   13489 hardcode_direct=$hardcode_direct_CXX
   13490 
   13491 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13492 # resulting binary.
   13493 hardcode_minus_L=$hardcode_minus_L_CXX
   13494 
   13495 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13496 # the resulting binary.
   13497 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13498 
   13499 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13500 # and all subsequent libraries and executables linked against it.
   13501 hardcode_automatic=$hardcode_automatic_CXX
   13502 
   13503 # Variables whose values should be saved in libtool wrapper scripts and
   13504 # restored at relink time.
   13505 variables_saved_for_relink="$variables_saved_for_relink"
   13506 
   13507 # Whether libtool must link a program against all its dependency libraries.
   13508 link_all_deplibs=$link_all_deplibs_CXX
   13509 
   13510 # Compile-time system search path for libraries
   13511 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13512 
   13513 # Run-time system search path for libraries
   13514 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13515 
   13516 # Fix the shell variable \$srcfile for the compiler.
   13517 fix_srcfile_path="$fix_srcfile_path_CXX"
   13518 
   13519 # Set to yes if exported symbols are required.
   13520 always_export_symbols=$always_export_symbols_CXX
   13521 
   13522 # The commands to list exported symbols.
   13523 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   13524 
   13525 # The commands to extract the exported symbol list from a shared archive.
   13526 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13527 
   13528 # Symbols that should not be listed in the preloaded symbols.
   13529 exclude_expsyms=$lt_exclude_expsyms_CXX
   13530 
   13531 # Symbols that must always be exported.
   13532 include_expsyms=$lt_include_expsyms_CXX
   13533 
   13534 # ### END LIBTOOL TAG CONFIG: $tagname
   13535 
   13536 __EOF__
   13537 
   13538 
   13539 else
   13540   # If there is no Makefile yet, we rely on a make rule to execute
   13541   # `config.status --recheck' to rerun these tests and create the
   13542   # libtool script then.
   13543   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   13544   if test -f "$ltmain_in"; then
   13545     test -f Makefile && make "$ltmain"
   13546   fi
   13547 fi
   13548 
   13549 
   13550 ac_ext=c
   13551 ac_cpp='$CPP $CPPFLAGS'
   13552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13555 
   13556 CC=$lt_save_CC
   13557 LDCXX=$LD
   13558 LD=$lt_save_LD
   13559 GCC=$lt_save_GCC
   13560 with_gnu_ldcxx=$with_gnu_ld
   13561 with_gnu_ld=$lt_save_with_gnu_ld
   13562 lt_cv_path_LDCXX=$lt_cv_path_LD
   13563 lt_cv_path_LD=$lt_save_path_LD
   13564 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   13565 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   13566 
   13567 	else
   13568 	  tagname=""
   13569 	fi
   13570 	;;
   13571 
   13572       F77)
   13573 	if test -n "$F77" && test "X$F77" != "Xno"; then
   13574 
   13575 ac_ext=f
   13576 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   13577 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13578 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   13579 
   13580 
   13581 archive_cmds_need_lc_F77=no
   13582 allow_undefined_flag_F77=
   13583 always_export_symbols_F77=no
   13584 archive_expsym_cmds_F77=
   13585 export_dynamic_flag_spec_F77=
   13586 hardcode_direct_F77=no
   13587 hardcode_libdir_flag_spec_F77=
   13588 hardcode_libdir_flag_spec_ld_F77=
   13589 hardcode_libdir_separator_F77=
   13590 hardcode_minus_L_F77=no
   13591 hardcode_automatic_F77=no
   13592 module_cmds_F77=
   13593 module_expsym_cmds_F77=
   13594 link_all_deplibs_F77=unknown
   13595 old_archive_cmds_F77=$old_archive_cmds
   13596 no_undefined_flag_F77=
   13597 whole_archive_flag_spec_F77=
   13598 enable_shared_with_static_runtimes_F77=no
   13599 
   13600 # Source file extension for f77 test sources.
   13601 ac_ext=f
   13602 
   13603 # Object file extension for compiled f77 test sources.
   13604 objext=o
   13605 objext_F77=$objext
   13606 
   13607 # Code to be used in simple compile tests
   13608 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   13609 
   13610 # Code to be used in simple link tests
   13611 lt_simple_link_test_code="      program t\n      end\n"
   13612 
   13613 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13614 
   13615 # If no C compiler was specified, use CC.
   13616 LTCC=${LTCC-"$CC"}
   13617 
   13618 # If no C compiler flags were specified, use CFLAGS.
   13619 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13620 
   13621 # Allow CC to be a program name with arguments.
   13622 compiler=$CC
   13623 
   13624 
   13625 # save warnings/boilerplate of simple test code
   13626 ac_outfile=conftest.$ac_objext
   13627 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   13628 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13629 _lt_compiler_boilerplate=`cat conftest.err`
   13630 $rm conftest*
   13631 
   13632 ac_outfile=conftest.$ac_objext
   13633 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   13634 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13635 _lt_linker_boilerplate=`cat conftest.err`
   13636 $rm conftest*
   13637 
   13638 
   13639 # Allow CC to be a program name with arguments.
   13640 lt_save_CC="$CC"
   13641 CC=${F77-"f77"}
   13642 compiler=$CC
   13643 compiler_F77=$CC
   13644 for cc_temp in $compiler""; do
   13645   case $cc_temp in
   13646     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13647     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13648     \-*) ;;
   13649     *) break;;
   13650   esac
   13651 done
   13652 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13653 
   13654 
   13655 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   13656 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   13657 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   13658 echo "${ECHO_T}$can_build_shared" >&6; }
   13659 
   13660 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   13661 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   13662 test "$can_build_shared" = "no" && enable_shared=no
   13663 
   13664 # On AIX, shared libraries and static libraries use the same namespace, and
   13665 # are all built from PIC.
   13666 case $host_os in
   13667 aix3*)
   13668   test "$enable_shared" = yes && enable_static=no
   13669   if test -n "$RANLIB"; then
   13670     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13671     postinstall_cmds='$RANLIB $lib'
   13672   fi
   13673   ;;
   13674 aix4* | aix5*)
   13675   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13676     test "$enable_shared" = yes && enable_static=no
   13677   fi
   13678   ;;
   13679 esac
   13680 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   13681 echo "${ECHO_T}$enable_shared" >&6; }
   13682 
   13683 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13684 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   13685 # Make sure either enable_shared or enable_static is yes.
   13686 test "$enable_shared" = yes || enable_static=yes
   13687 { echo "$as_me:$LINENO: result: $enable_static" >&5
   13688 echo "${ECHO_T}$enable_static" >&6; }
   13689 
   13690 GCC_F77="$G77"
   13691 LD_F77="$LD"
   13692 
   13693 lt_prog_compiler_wl_F77=
   13694 lt_prog_compiler_pic_F77=
   13695 lt_prog_compiler_static_F77=
   13696 
   13697 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   13698 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   13699 
   13700   if test "$GCC" = yes; then
   13701     lt_prog_compiler_wl_F77='-Wl,'
   13702     lt_prog_compiler_static_F77='-static'
   13703 
   13704     case $host_os in
   13705       aix*)
   13706       # All AIX code is PIC.
   13707       if test "$host_cpu" = ia64; then
   13708 	# AIX 5 now supports IA64 processor
   13709 	lt_prog_compiler_static_F77='-Bstatic'
   13710       fi
   13711       ;;
   13712 
   13713     amigaos*)
   13714       # FIXME: we need at least 68020 code to build shared libraries, but
   13715       # adding the `-m68020' flag to GCC prevents building anything better,
   13716       # like `-m68040'.
   13717       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   13718       ;;
   13719 
   13720     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13721       # PIC is the default for these OSes.
   13722       ;;
   13723 
   13724     mingw* | pw32* | os2*)
   13725       # This hack is so that the source file can tell whether it is being
   13726       # built for inclusion in a dll (and should export symbols for example).
   13727       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13728       ;;
   13729 
   13730     darwin* | rhapsody*)
   13731       # PIC is the default on this platform
   13732       # Common symbols not allowed in MH_DYLIB files
   13733       lt_prog_compiler_pic_F77='-fno-common'
   13734       ;;
   13735 
   13736     interix3*)
   13737       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13738       # Instead, we relocate shared libraries at runtime.
   13739       ;;
   13740 
   13741     msdosdjgpp*)
   13742       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13743       # on systems that don't support them.
   13744       lt_prog_compiler_can_build_shared_F77=no
   13745       enable_shared=no
   13746       ;;
   13747 
   13748     sysv4*MP*)
   13749       if test -d /usr/nec; then
   13750 	lt_prog_compiler_pic_F77=-Kconform_pic
   13751       fi
   13752       ;;
   13753 
   13754     hpux*)
   13755       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13756       # not for PA HP-UX.
   13757       case $host_cpu in
   13758       hppa*64*|ia64*)
   13759 	# +Z the default
   13760 	;;
   13761       *)
   13762 	lt_prog_compiler_pic_F77='-fPIC'
   13763 	;;
   13764       esac
   13765       ;;
   13766 
   13767     *)
   13768       lt_prog_compiler_pic_F77='-fPIC'
   13769       ;;
   13770     esac
   13771   else
   13772     # PORTME Check for flag to pass linker flags through the system compiler.
   13773     case $host_os in
   13774     aix*)
   13775       lt_prog_compiler_wl_F77='-Wl,'
   13776       if test "$host_cpu" = ia64; then
   13777 	# AIX 5 now supports IA64 processor
   13778 	lt_prog_compiler_static_F77='-Bstatic'
   13779       else
   13780 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   13781       fi
   13782       ;;
   13783       darwin*)
   13784         # PIC is the default on this platform
   13785         # Common symbols not allowed in MH_DYLIB files
   13786        case $cc_basename in
   13787          xlc*)
   13788          lt_prog_compiler_pic_F77='-qnocommon'
   13789          lt_prog_compiler_wl_F77='-Wl,'
   13790          ;;
   13791        esac
   13792        ;;
   13793 
   13794     mingw* | pw32* | os2*)
   13795       # This hack is so that the source file can tell whether it is being
   13796       # built for inclusion in a dll (and should export symbols for example).
   13797       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13798       ;;
   13799 
   13800     hpux9* | hpux10* | hpux11*)
   13801       lt_prog_compiler_wl_F77='-Wl,'
   13802       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13803       # not for PA HP-UX.
   13804       case $host_cpu in
   13805       hppa*64*|ia64*)
   13806 	# +Z the default
   13807 	;;
   13808       *)
   13809 	lt_prog_compiler_pic_F77='+Z'
   13810 	;;
   13811       esac
   13812       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13813       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   13814       ;;
   13815 
   13816     irix5* | irix6* | nonstopux*)
   13817       lt_prog_compiler_wl_F77='-Wl,'
   13818       # PIC (with -KPIC) is the default.
   13819       lt_prog_compiler_static_F77='-non_shared'
   13820       ;;
   13821 
   13822     newsos6)
   13823       lt_prog_compiler_pic_F77='-KPIC'
   13824       lt_prog_compiler_static_F77='-Bstatic'
   13825       ;;
   13826 
   13827     linux*)
   13828       case $cc_basename in
   13829       icc* | ecc*)
   13830 	lt_prog_compiler_wl_F77='-Wl,'
   13831 	lt_prog_compiler_pic_F77='-KPIC'
   13832 	lt_prog_compiler_static_F77='-static'
   13833         ;;
   13834       pgcc* | pgf77* | pgf90* | pgf95*)
   13835         # Portland Group compilers (*not* the Pentium gcc compiler,
   13836 	# which looks to be a dead project)
   13837 	lt_prog_compiler_wl_F77='-Wl,'
   13838 	lt_prog_compiler_pic_F77='-fpic'
   13839 	lt_prog_compiler_static_F77='-Bstatic'
   13840         ;;
   13841       ccc*)
   13842         lt_prog_compiler_wl_F77='-Wl,'
   13843         # All Alpha code is PIC.
   13844         lt_prog_compiler_static_F77='-non_shared'
   13845         ;;
   13846       esac
   13847       ;;
   13848 
   13849     osf3* | osf4* | osf5*)
   13850       lt_prog_compiler_wl_F77='-Wl,'
   13851       # All OSF/1 code is PIC.
   13852       lt_prog_compiler_static_F77='-non_shared'
   13853       ;;
   13854 
   13855     solaris*)
   13856       lt_prog_compiler_pic_F77='-KPIC'
   13857       lt_prog_compiler_static_F77='-Bstatic'
   13858       case $cc_basename in
   13859       f77* | f90* | f95*)
   13860 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   13861       *)
   13862 	lt_prog_compiler_wl_F77='-Wl,';;
   13863       esac
   13864       ;;
   13865 
   13866     sunos4*)
   13867       lt_prog_compiler_wl_F77='-Qoption ld '
   13868       lt_prog_compiler_pic_F77='-PIC'
   13869       lt_prog_compiler_static_F77='-Bstatic'
   13870       ;;
   13871 
   13872     sysv4 | sysv4.2uw2* | sysv4.3*)
   13873       lt_prog_compiler_wl_F77='-Wl,'
   13874       lt_prog_compiler_pic_F77='-KPIC'
   13875       lt_prog_compiler_static_F77='-Bstatic'
   13876       ;;
   13877 
   13878     sysv4*MP*)
   13879       if test -d /usr/nec ;then
   13880 	lt_prog_compiler_pic_F77='-Kconform_pic'
   13881 	lt_prog_compiler_static_F77='-Bstatic'
   13882       fi
   13883       ;;
   13884 
   13885     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13886       lt_prog_compiler_wl_F77='-Wl,'
   13887       lt_prog_compiler_pic_F77='-KPIC'
   13888       lt_prog_compiler_static_F77='-Bstatic'
   13889       ;;
   13890 
   13891     unicos*)
   13892       lt_prog_compiler_wl_F77='-Wl,'
   13893       lt_prog_compiler_can_build_shared_F77=no
   13894       ;;
   13895 
   13896     uts4*)
   13897       lt_prog_compiler_pic_F77='-pic'
   13898       lt_prog_compiler_static_F77='-Bstatic'
   13899       ;;
   13900 
   13901     *)
   13902       lt_prog_compiler_can_build_shared_F77=no
   13903       ;;
   13904     esac
   13905   fi
   13906 
   13907 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   13908 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   13909 
   13910 #
   13911 # Check to make sure the PIC flag actually works.
   13912 #
   13913 if test -n "$lt_prog_compiler_pic_F77"; then
   13914 
   13915 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   13916 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   13917 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   13918   echo $ECHO_N "(cached) $ECHO_C" >&6
   13919 else
   13920   lt_prog_compiler_pic_works_F77=no
   13921   ac_outfile=conftest.$ac_objext
   13922    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13923    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   13924    # Insert the option either (1) after the last *FLAGS variable, or
   13925    # (2) before a word containing "conftest.", or (3) at the end.
   13926    # Note that $ac_compile itself does not contain backslashes and begins
   13927    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13928    # The option is referenced via a variable to avoid confusing sed.
   13929    lt_compile=`echo "$ac_compile" | $SED \
   13930    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13931    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13932    -e 's:$: $lt_compiler_flag:'`
   13933    (eval echo "\"\$as_me:13933: $lt_compile\"" >&5)
   13934    (eval "$lt_compile" 2>conftest.err)
   13935    ac_status=$?
   13936    cat conftest.err >&5
   13937    echo "$as_me:13937: \$? = $ac_status" >&5
   13938    if (exit $ac_status) && test -s "$ac_outfile"; then
   13939      # The compiler can only warn and ignore the option if not recognized
   13940      # So say no if there are warnings other than the usual output.
   13941      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   13942      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13943      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13944        lt_prog_compiler_pic_works_F77=yes
   13945      fi
   13946    fi
   13947    $rm conftest*
   13948 
   13949 fi
   13950 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   13951 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   13952 
   13953 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   13954     case $lt_prog_compiler_pic_F77 in
   13955      "" | " "*) ;;
   13956      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   13957      esac
   13958 else
   13959     lt_prog_compiler_pic_F77=
   13960      lt_prog_compiler_can_build_shared_F77=no
   13961 fi
   13962 
   13963 fi
   13964 case $host_os in
   13965   # For platforms which do not support PIC, -DPIC is meaningless:
   13966   *djgpp*)
   13967     lt_prog_compiler_pic_F77=
   13968     ;;
   13969   *)
   13970     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   13971     ;;
   13972 esac
   13973 
   13974 #
   13975 # Check to make sure the static flag actually works.
   13976 #
   13977 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   13978 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13979 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   13980 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   13981   echo $ECHO_N "(cached) $ECHO_C" >&6
   13982 else
   13983   lt_prog_compiler_static_works_F77=no
   13984    save_LDFLAGS="$LDFLAGS"
   13985    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13986    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   13987    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13988      # The linker can only warn and ignore the option if not recognized
   13989      # So say no if there are warnings
   13990      if test -s conftest.err; then
   13991        # Append any errors to the config.log.
   13992        cat conftest.err 1>&5
   13993        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13994        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13995        if diff conftest.exp conftest.er2 >/dev/null; then
   13996          lt_prog_compiler_static_works_F77=yes
   13997        fi
   13998      else
   13999        lt_prog_compiler_static_works_F77=yes
   14000      fi
   14001    fi
   14002    $rm conftest*
   14003    LDFLAGS="$save_LDFLAGS"
   14004 
   14005 fi
   14006 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   14007 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   14008 
   14009 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   14010     :
   14011 else
   14012     lt_prog_compiler_static_F77=
   14013 fi
   14014 
   14015 
   14016 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14017 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   14018 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14019   echo $ECHO_N "(cached) $ECHO_C" >&6
   14020 else
   14021   lt_cv_prog_compiler_c_o_F77=no
   14022    $rm -r conftest 2>/dev/null
   14023    mkdir conftest
   14024    cd conftest
   14025    mkdir out
   14026    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14027 
   14028    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14029    # Insert the option either (1) after the last *FLAGS variable, or
   14030    # (2) before a word containing "conftest.", or (3) at the end.
   14031    # Note that $ac_compile itself does not contain backslashes and begins
   14032    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14033    lt_compile=`echo "$ac_compile" | $SED \
   14034    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14035    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14036    -e 's:$: $lt_compiler_flag:'`
   14037    (eval echo "\"\$as_me:14037: $lt_compile\"" >&5)
   14038    (eval "$lt_compile" 2>out/conftest.err)
   14039    ac_status=$?
   14040    cat out/conftest.err >&5
   14041    echo "$as_me:14041: \$? = $ac_status" >&5
   14042    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14043    then
   14044      # The compiler can only warn and ignore the option if not recognized
   14045      # So say no if there are warnings
   14046      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14047      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14048      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14049        lt_cv_prog_compiler_c_o_F77=yes
   14050      fi
   14051    fi
   14052    chmod u+w . 2>&5
   14053    $rm conftest*
   14054    # SGI C++ compiler will create directory out/ii_files/ for
   14055    # template instantiation
   14056    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14057    $rm out/* && rmdir out
   14058    cd ..
   14059    rmdir conftest
   14060    $rm conftest*
   14061 
   14062 fi
   14063 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14064 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14065 
   14066 
   14067 hard_links="nottested"
   14068 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14069   # do not overwrite the value of need_locks provided by the user
   14070   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14071 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14072   hard_links=yes
   14073   $rm conftest*
   14074   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14075   touch conftest.a
   14076   ln conftest.a conftest.b 2>&5 || hard_links=no
   14077   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14078   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14079 echo "${ECHO_T}$hard_links" >&6; }
   14080   if test "$hard_links" = no; then
   14081     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14082 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14083     need_locks=warn
   14084   fi
   14085 else
   14086   need_locks=no
   14087 fi
   14088 
   14089 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14090 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14091 
   14092   runpath_var=
   14093   allow_undefined_flag_F77=
   14094   enable_shared_with_static_runtimes_F77=no
   14095   archive_cmds_F77=
   14096   archive_expsym_cmds_F77=
   14097   old_archive_From_new_cmds_F77=
   14098   old_archive_from_expsyms_cmds_F77=
   14099   export_dynamic_flag_spec_F77=
   14100   whole_archive_flag_spec_F77=
   14101   thread_safe_flag_spec_F77=
   14102   hardcode_libdir_flag_spec_F77=
   14103   hardcode_libdir_flag_spec_ld_F77=
   14104   hardcode_libdir_separator_F77=
   14105   hardcode_direct_F77=no
   14106   hardcode_minus_L_F77=no
   14107   hardcode_shlibpath_var_F77=unsupported
   14108   link_all_deplibs_F77=unknown
   14109   hardcode_automatic_F77=no
   14110   module_cmds_F77=
   14111   module_expsym_cmds_F77=
   14112   always_export_symbols_F77=no
   14113   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14114   # include_expsyms should be a list of space-separated symbols to be *always*
   14115   # included in the symbol list
   14116   include_expsyms_F77=
   14117   # exclude_expsyms can be an extended regexp of symbols to exclude
   14118   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14119   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14120   # as well as any symbol that contains `d'.
   14121   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14122   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14123   # platforms (ab)use it in PIC code, but their linkers get confused if
   14124   # the symbol is explicitly referenced.  Since portable code cannot
   14125   # rely on this symbol name, it's probably fine to never include it in
   14126   # preloaded symbol tables.
   14127   extract_expsyms_cmds=
   14128   # Just being paranoid about ensuring that cc_basename is set.
   14129   for cc_temp in $compiler""; do
   14130   case $cc_temp in
   14131     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14132     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14133     \-*) ;;
   14134     *) break;;
   14135   esac
   14136 done
   14137 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14138 
   14139   case $host_os in
   14140   cygwin* | mingw* | pw32*)
   14141     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14142     # When not using gcc, we currently assume that we are using
   14143     # Microsoft Visual C++.
   14144     if test "$GCC" != yes; then
   14145       with_gnu_ld=no
   14146     fi
   14147     ;;
   14148   interix*)
   14149     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14150     with_gnu_ld=yes
   14151     ;;
   14152   openbsd*)
   14153     with_gnu_ld=no
   14154     ;;
   14155   esac
   14156 
   14157   ld_shlibs_F77=yes
   14158   if test "$with_gnu_ld" = yes; then
   14159     # If archive_cmds runs LD, not CC, wlarc should be empty
   14160     wlarc='${wl}'
   14161 
   14162     # Set some defaults for GNU ld with shared library support. These
   14163     # are reset later if shared libraries are not supported. Putting them
   14164     # here allows them to be overridden if necessary.
   14165     runpath_var=LD_RUN_PATH
   14166     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14167     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14168     # ancient GNU ld didn't support --whole-archive et. al.
   14169     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14170 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14171       else
   14172   	whole_archive_flag_spec_F77=
   14173     fi
   14174     supports_anon_versioning=no
   14175     case `$LD -v 2>/dev/null` in
   14176       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14177       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14178       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14179       *\ 2.11.*) ;; # other 2.11 versions
   14180       *) supports_anon_versioning=yes ;;
   14181     esac
   14182 
   14183     # See if GNU ld supports shared libraries.
   14184     case $host_os in
   14185     aix3* | aix4* | aix5*)
   14186       # On AIX/PPC, the GNU linker is very broken
   14187       if test "$host_cpu" != ia64; then
   14188 	ld_shlibs_F77=no
   14189 	cat <<EOF 1>&2
   14190 
   14191 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14192 *** to be unable to reliably create shared libraries on AIX.
   14193 *** Therefore, libtool is disabling shared libraries support.  If you
   14194 *** really care for shared libraries, you may want to modify your PATH
   14195 *** so that a non-GNU linker is found, and then restart.
   14196 
   14197 EOF
   14198       fi
   14199       ;;
   14200 
   14201     amigaos*)
   14202       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)'
   14203       hardcode_libdir_flag_spec_F77='-L$libdir'
   14204       hardcode_minus_L_F77=yes
   14205 
   14206       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14207       # that the semantics of dynamic libraries on AmigaOS, at least up
   14208       # to version 4, is to share data among multiple programs linked
   14209       # with the same dynamic library.  Since this doesn't match the
   14210       # behavior of shared libraries on other platforms, we can't use
   14211       # them.
   14212       ld_shlibs_F77=no
   14213       ;;
   14214 
   14215     beos*)
   14216       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14217 	allow_undefined_flag_F77=unsupported
   14218 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14219 	# support --undefined.  This deserves some investigation.  FIXME
   14220 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14221       else
   14222 	ld_shlibs_F77=no
   14223       fi
   14224       ;;
   14225 
   14226     cygwin* | mingw* | pw32*)
   14227       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14228       # as there is no search path for DLLs.
   14229       hardcode_libdir_flag_spec_F77='-L$libdir'
   14230       allow_undefined_flag_F77=unsupported
   14231       always_export_symbols_F77=no
   14232       enable_shared_with_static_runtimes_F77=yes
   14233       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   14234 
   14235       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14236         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14237 	# If the export-symbols file already is a .def file (1st line
   14238 	# is EXPORTS), use it as is; otherwise, prepend...
   14239 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14240 	  cp $export_symbols $output_objdir/$soname.def;
   14241 	else
   14242 	  echo EXPORTS > $output_objdir/$soname.def;
   14243 	  cat $export_symbols >> $output_objdir/$soname.def;
   14244 	fi~
   14245 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14246       else
   14247 	ld_shlibs_F77=no
   14248       fi
   14249       ;;
   14250 
   14251     interix3*)
   14252       hardcode_direct_F77=no
   14253       hardcode_shlibpath_var_F77=no
   14254       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14255       export_dynamic_flag_spec_F77='${wl}-E'
   14256       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14257       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14258       # default) and relocated if they conflict, which is a slow very memory
   14259       # consuming and fragmenting process.  To avoid this, we pick a random,
   14260       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14261       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14262       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'
   14263       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'
   14264       ;;
   14265 
   14266     linux*)
   14267       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14268 	tmp_addflag=
   14269 	case $cc_basename,$host_cpu in
   14270 	pgcc*)				# Portland Group C compiler
   14271 	  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'
   14272 	  tmp_addflag=' $pic_flag'
   14273 	  ;;
   14274 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14275 	  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'
   14276 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14277 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14278 	  tmp_addflag=' -i_dynamic' ;;
   14279 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14280 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14281 	ifc* | ifort*)			# Intel Fortran compiler
   14282 	  tmp_addflag=' -nofor_main' ;;
   14283 	esac
   14284 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14285 
   14286 	if test $supports_anon_versioning = yes; then
   14287 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14288   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14289   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14290 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14291 	fi
   14292       else
   14293 	ld_shlibs_F77=no
   14294       fi
   14295       ;;
   14296 
   14297     netbsd*)
   14298       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14299 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14300 	wlarc=
   14301       else
   14302 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14303 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14304       fi
   14305       ;;
   14306 
   14307     solaris*)
   14308       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14309 	ld_shlibs_F77=no
   14310 	cat <<EOF 1>&2
   14311 
   14312 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14313 *** create shared libraries on Solaris systems.  Therefore, libtool
   14314 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14315 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14316 *** your PATH or compiler configuration so that the native linker is
   14317 *** used, and then restart.
   14318 
   14319 EOF
   14320       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14321 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14322 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14323       else
   14324 	ld_shlibs_F77=no
   14325       fi
   14326       ;;
   14327 
   14328     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14329       case `$LD -v 2>&1` in
   14330         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14331 	ld_shlibs_F77=no
   14332 	cat <<_LT_EOF 1>&2
   14333 
   14334 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14335 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14336 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14337 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14338 *** your PATH or compiler configuration so that the native linker is
   14339 *** used, and then restart.
   14340 
   14341 _LT_EOF
   14342 	;;
   14343 	*)
   14344 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14345 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14346 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14347 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14348 	  else
   14349 	    ld_shlibs_F77=no
   14350 	  fi
   14351 	;;
   14352       esac
   14353       ;;
   14354 
   14355     sunos4*)
   14356       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14357       wlarc=
   14358       hardcode_direct_F77=yes
   14359       hardcode_shlibpath_var_F77=no
   14360       ;;
   14361 
   14362     *)
   14363       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14364 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14365 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14366       else
   14367 	ld_shlibs_F77=no
   14368       fi
   14369       ;;
   14370     esac
   14371 
   14372     if test "$ld_shlibs_F77" = no; then
   14373       runpath_var=
   14374       hardcode_libdir_flag_spec_F77=
   14375       export_dynamic_flag_spec_F77=
   14376       whole_archive_flag_spec_F77=
   14377     fi
   14378   else
   14379     # PORTME fill in a description of your system's linker (not GNU ld)
   14380     case $host_os in
   14381     aix3*)
   14382       allow_undefined_flag_F77=unsupported
   14383       always_export_symbols_F77=yes
   14384       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'
   14385       # Note: this linker hardcodes the directories in LIBPATH if there
   14386       # are no directories specified by -L.
   14387       hardcode_minus_L_F77=yes
   14388       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14389 	# Neither direct hardcoding nor static linking is supported with a
   14390 	# broken collect2.
   14391 	hardcode_direct_F77=unsupported
   14392       fi
   14393       ;;
   14394 
   14395     aix4* | aix5*)
   14396       if test "$host_cpu" = ia64; then
   14397 	# On IA64, the linker does run time linking by default, so we don't
   14398 	# have to do anything special.
   14399 	aix_use_runtimelinking=no
   14400 	exp_sym_flag='-Bexport'
   14401 	no_entry_flag=""
   14402       else
   14403 	# If we're using GNU nm, then we don't want the "-C" option.
   14404 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14405 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14406 	  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'
   14407 	else
   14408 	  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'
   14409 	fi
   14410 	aix_use_runtimelinking=no
   14411 
   14412 	# Test if we are trying to use run time linking or normal
   14413 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14414 	# need to do runtime linking.
   14415 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14416 	  for ld_flag in $LDFLAGS; do
   14417   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14418   	    aix_use_runtimelinking=yes
   14419   	    break
   14420   	  fi
   14421 	  done
   14422 	  ;;
   14423 	esac
   14424 
   14425 	exp_sym_flag='-bexport'
   14426 	no_entry_flag='-bnoentry'
   14427       fi
   14428 
   14429       # When large executables or shared objects are built, AIX ld can
   14430       # have problems creating the table of contents.  If linking a library
   14431       # or program results in "error TOC overflow" add -mminimal-toc to
   14432       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14433       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14434 
   14435       archive_cmds_F77=''
   14436       hardcode_direct_F77=yes
   14437       hardcode_libdir_separator_F77=':'
   14438       link_all_deplibs_F77=yes
   14439 
   14440       if test "$GCC" = yes; then
   14441 	case $host_os in aix4.[012]|aix4.[012].*)
   14442 	# We only want to do this on AIX 4.2 and lower, the check
   14443 	# below for broken collect2 doesn't work under 4.3+
   14444 	  collect2name=`${CC} -print-prog-name=collect2`
   14445 	  if test -f "$collect2name" && \
   14446   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14447 	  then
   14448   	  # We have reworked collect2
   14449   	  hardcode_direct_F77=yes
   14450 	  else
   14451   	  # We have old collect2
   14452   	  hardcode_direct_F77=unsupported
   14453   	  # It fails to find uninstalled libraries when the uninstalled
   14454   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14455   	  # to unsupported forces relinking
   14456   	  hardcode_minus_L_F77=yes
   14457   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14458   	  hardcode_libdir_separator_F77=
   14459 	  fi
   14460 	  ;;
   14461 	esac
   14462 	shared_flag='-shared'
   14463 	if test "$aix_use_runtimelinking" = yes; then
   14464 	  shared_flag="$shared_flag "'${wl}-G'
   14465 	fi
   14466       else
   14467 	# not using gcc
   14468 	if test "$host_cpu" = ia64; then
   14469   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14470   	# chokes on -Wl,-G. The following line is correct:
   14471 	  shared_flag='-G'
   14472 	else
   14473 	  if test "$aix_use_runtimelinking" = yes; then
   14474 	    shared_flag='${wl}-G'
   14475 	  else
   14476 	    shared_flag='${wl}-bM:SRE'
   14477 	  fi
   14478 	fi
   14479       fi
   14480 
   14481       # It seems that -bexpall does not export symbols beginning with
   14482       # underscore (_), so it is better to generate a list of symbols to export.
   14483       always_export_symbols_F77=yes
   14484       if test "$aix_use_runtimelinking" = yes; then
   14485 	# Warning - without using the other runtime loading flags (-brtl),
   14486 	# -berok will link without error, but may produce a broken library.
   14487 	allow_undefined_flag_F77='-berok'
   14488        # Determine the default libpath from the value encoded in an empty executable.
   14489        cat >conftest.$ac_ext <<_ACEOF
   14490       program main
   14491 
   14492       end
   14493 _ACEOF
   14494 rm -f conftest.$ac_objext conftest$ac_exeext
   14495 if { (ac_try="$ac_link"
   14496 case "(($ac_try" in
   14497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14498   *) ac_try_echo=$ac_try;;
   14499 esac
   14500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14501   (eval "$ac_link") 2>conftest.er1
   14502   ac_status=$?
   14503   grep -v '^ *+' conftest.er1 >conftest.err
   14504   rm -f conftest.er1
   14505   cat conftest.err >&5
   14506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14507   (exit $ac_status); } && {
   14508 	 test -z "$ac_f77_werror_flag" ||
   14509 	 test ! -s conftest.err
   14510        } && test -s conftest$ac_exeext &&
   14511        $as_test_x conftest$ac_exeext; then
   14512 
   14513 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14514 }'`
   14515 # Check for a 64-bit object if we didn't find anything.
   14516 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; }
   14517 }'`; fi
   14518 else
   14519   echo "$as_me: failed program was:" >&5
   14520 sed 's/^/| /' conftest.$ac_ext >&5
   14521 
   14522 
   14523 fi
   14524 
   14525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14526       conftest$ac_exeext conftest.$ac_ext
   14527 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14528 
   14529        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14530 	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"
   14531        else
   14532 	if test "$host_cpu" = ia64; then
   14533 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   14534 	  allow_undefined_flag_F77="-z nodefs"
   14535 	  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"
   14536 	else
   14537 	 # Determine the default libpath from the value encoded in an empty executable.
   14538 	 cat >conftest.$ac_ext <<_ACEOF
   14539       program main
   14540 
   14541       end
   14542 _ACEOF
   14543 rm -f conftest.$ac_objext conftest$ac_exeext
   14544 if { (ac_try="$ac_link"
   14545 case "(($ac_try" in
   14546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14547   *) ac_try_echo=$ac_try;;
   14548 esac
   14549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14550   (eval "$ac_link") 2>conftest.er1
   14551   ac_status=$?
   14552   grep -v '^ *+' conftest.er1 >conftest.err
   14553   rm -f conftest.er1
   14554   cat conftest.err >&5
   14555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14556   (exit $ac_status); } && {
   14557 	 test -z "$ac_f77_werror_flag" ||
   14558 	 test ! -s conftest.err
   14559        } && test -s conftest$ac_exeext &&
   14560        $as_test_x conftest$ac_exeext; then
   14561 
   14562 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14563 }'`
   14564 # Check for a 64-bit object if we didn't find anything.
   14565 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; }
   14566 }'`; fi
   14567 else
   14568   echo "$as_me: failed program was:" >&5
   14569 sed 's/^/| /' conftest.$ac_ext >&5
   14570 
   14571 
   14572 fi
   14573 
   14574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14575       conftest$ac_exeext conftest.$ac_ext
   14576 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14577 
   14578 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14579 	  # Warning - without using the other run time loading flags,
   14580 	  # -berok will link without error, but may produce a broken library.
   14581 	  no_undefined_flag_F77=' ${wl}-bernotok'
   14582 	  allow_undefined_flag_F77=' ${wl}-berok'
   14583 	  # Exported symbols can be pulled into shared objects from archives
   14584 	  whole_archive_flag_spec_F77='$convenience'
   14585 	  archive_cmds_need_lc_F77=yes
   14586 	  # This is similar to how AIX traditionally builds its shared libraries.
   14587 	  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'
   14588 	fi
   14589       fi
   14590       ;;
   14591 
   14592     amigaos*)
   14593       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)'
   14594       hardcode_libdir_flag_spec_F77='-L$libdir'
   14595       hardcode_minus_L_F77=yes
   14596       # see comment about different semantics on the GNU ld section
   14597       ld_shlibs_F77=no
   14598       ;;
   14599 
   14600     bsdi[45]*)
   14601       export_dynamic_flag_spec_F77=-rdynamic
   14602       ;;
   14603 
   14604     cygwin* | mingw* | pw32*)
   14605       # When not using gcc, we currently assume that we are using
   14606       # Microsoft Visual C++.
   14607       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14608       # no search path for DLLs.
   14609       hardcode_libdir_flag_spec_F77=' '
   14610       allow_undefined_flag_F77=unsupported
   14611       # Tell ltmain to make .lib files, not .a files.
   14612       libext=lib
   14613       # Tell ltmain to make .dll files, not .so files.
   14614       shrext_cmds=".dll"
   14615       # FIXME: Setting linknames here is a bad hack.
   14616       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   14617       # The linker will automatically build a .lib file if we build a DLL.
   14618       old_archive_From_new_cmds_F77='true'
   14619       # FIXME: Should let the user specify the lib program.
   14620       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   14621       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   14622       enable_shared_with_static_runtimes_F77=yes
   14623       ;;
   14624 
   14625     darwin* | rhapsody*)
   14626       case $host_os in
   14627         rhapsody* | darwin1.[012])
   14628          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   14629          ;;
   14630        *) # Darwin 1.3 on
   14631          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   14632            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14633          else
   14634            case ${MACOSX_DEPLOYMENT_TARGET} in
   14635              10.[012])
   14636                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14637                ;;
   14638              10.*)
   14639                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   14640                ;;
   14641            esac
   14642          fi
   14643          ;;
   14644       esac
   14645       archive_cmds_need_lc_F77=no
   14646       hardcode_direct_F77=no
   14647       hardcode_automatic_F77=yes
   14648       hardcode_shlibpath_var_F77=unsupported
   14649       whole_archive_flag_spec_F77=''
   14650       link_all_deplibs_F77=yes
   14651     if test "$GCC" = yes ; then
   14652     	output_verbose_link_cmd='echo'
   14653         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   14654       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14655       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14656       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}'
   14657       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}'
   14658     else
   14659       case $cc_basename in
   14660         xlc*)
   14661          output_verbose_link_cmd='echo'
   14662          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   14663          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14664           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14665          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}'
   14666           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}'
   14667           ;;
   14668        *)
   14669          ld_shlibs_F77=no
   14670           ;;
   14671       esac
   14672     fi
   14673       ;;
   14674 
   14675     dgux*)
   14676       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14677       hardcode_libdir_flag_spec_F77='-L$libdir'
   14678       hardcode_shlibpath_var_F77=no
   14679       ;;
   14680 
   14681     freebsd1*)
   14682       ld_shlibs_F77=no
   14683       ;;
   14684 
   14685     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14686     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14687     # does not break anything, and helps significantly (at the cost of a little
   14688     # extra space).
   14689     freebsd2.2*)
   14690       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14691       hardcode_libdir_flag_spec_F77='-R$libdir'
   14692       hardcode_direct_F77=yes
   14693       hardcode_shlibpath_var_F77=no
   14694       ;;
   14695 
   14696     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14697     freebsd2*)
   14698       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14699       hardcode_direct_F77=yes
   14700       hardcode_minus_L_F77=yes
   14701       hardcode_shlibpath_var_F77=no
   14702       ;;
   14703 
   14704     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14705     freebsd* | kfreebsd*-gnu | dragonfly*)
   14706       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   14707       hardcode_libdir_flag_spec_F77='-R$libdir'
   14708       hardcode_direct_F77=yes
   14709       hardcode_shlibpath_var_F77=no
   14710       ;;
   14711 
   14712     hpux9*)
   14713       if test "$GCC" = yes; then
   14714 	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'
   14715       else
   14716 	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'
   14717       fi
   14718       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14719       hardcode_libdir_separator_F77=:
   14720       hardcode_direct_F77=yes
   14721 
   14722       # hardcode_minus_L: Not really in the search PATH,
   14723       # but as the default location of the library.
   14724       hardcode_minus_L_F77=yes
   14725       export_dynamic_flag_spec_F77='${wl}-E'
   14726       ;;
   14727 
   14728     hpux10*)
   14729       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14730 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14731       else
   14732 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14733       fi
   14734       if test "$with_gnu_ld" = no; then
   14735 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14736 	hardcode_libdir_separator_F77=:
   14737 
   14738 	hardcode_direct_F77=yes
   14739 	export_dynamic_flag_spec_F77='${wl}-E'
   14740 
   14741 	# hardcode_minus_L: Not really in the search PATH,
   14742 	# but as the default location of the library.
   14743 	hardcode_minus_L_F77=yes
   14744       fi
   14745       ;;
   14746 
   14747     hpux11*)
   14748       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14749 	case $host_cpu in
   14750 	hppa*64*)
   14751 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14752 	  ;;
   14753 	ia64*)
   14754 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14755 	  ;;
   14756 	*)
   14757 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14758 	  ;;
   14759 	esac
   14760       else
   14761 	case $host_cpu in
   14762 	hppa*64*)
   14763 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14764 	  ;;
   14765 	ia64*)
   14766 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14767 	  ;;
   14768 	*)
   14769 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14770 	  ;;
   14771 	esac
   14772       fi
   14773       if test "$with_gnu_ld" = no; then
   14774 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14775 	hardcode_libdir_separator_F77=:
   14776 
   14777 	case $host_cpu in
   14778 	hppa*64*|ia64*)
   14779 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   14780 	  hardcode_direct_F77=no
   14781 	  hardcode_shlibpath_var_F77=no
   14782 	  ;;
   14783 	*)
   14784 	  hardcode_direct_F77=yes
   14785 	  export_dynamic_flag_spec_F77='${wl}-E'
   14786 
   14787 	  # hardcode_minus_L: Not really in the search PATH,
   14788 	  # but as the default location of the library.
   14789 	  hardcode_minus_L_F77=yes
   14790 	  ;;
   14791 	esac
   14792       fi
   14793       ;;
   14794 
   14795     irix5* | irix6* | nonstopux*)
   14796       if test "$GCC" = yes; then
   14797 	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'
   14798       else
   14799 	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'
   14800 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   14801       fi
   14802       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14803       hardcode_libdir_separator_F77=:
   14804       link_all_deplibs_F77=yes
   14805       ;;
   14806 
   14807     netbsd*)
   14808       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14809 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14810       else
   14811 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14812       fi
   14813       hardcode_libdir_flag_spec_F77='-R$libdir'
   14814       hardcode_direct_F77=yes
   14815       hardcode_shlibpath_var_F77=no
   14816       ;;
   14817 
   14818     newsos6)
   14819       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14820       hardcode_direct_F77=yes
   14821       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14822       hardcode_libdir_separator_F77=:
   14823       hardcode_shlibpath_var_F77=no
   14824       ;;
   14825 
   14826     openbsd*)
   14827       hardcode_direct_F77=yes
   14828       hardcode_shlibpath_var_F77=no
   14829       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14830 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14831 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   14832 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14833 	export_dynamic_flag_spec_F77='${wl}-E'
   14834       else
   14835        case $host_os in
   14836 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   14837 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14838 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   14839 	   ;;
   14840 	 *)
   14841 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14842 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14843 	   ;;
   14844        esac
   14845       fi
   14846       ;;
   14847 
   14848     os2*)
   14849       hardcode_libdir_flag_spec_F77='-L$libdir'
   14850       hardcode_minus_L_F77=yes
   14851       allow_undefined_flag_F77=unsupported
   14852       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'
   14853       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   14854       ;;
   14855 
   14856     osf3*)
   14857       if test "$GCC" = yes; then
   14858 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14859 	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'
   14860       else
   14861 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14862 	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'
   14863       fi
   14864       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14865       hardcode_libdir_separator_F77=:
   14866       ;;
   14867 
   14868     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   14869       if test "$GCC" = yes; then
   14870 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14871 	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'
   14872 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14873       else
   14874 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14875 	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'
   14876 	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~
   14877 	$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'
   14878 
   14879 	# Both c and cxx compiler support -rpath directly
   14880 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   14881       fi
   14882       hardcode_libdir_separator_F77=:
   14883       ;;
   14884 
   14885     solaris*)
   14886       no_undefined_flag_F77=' -z text'
   14887       if test "$GCC" = yes; then
   14888 	wlarc='${wl}'
   14889 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14890 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14891 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   14892       else
   14893 	wlarc=''
   14894 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14895 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14896   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   14897       fi
   14898       hardcode_libdir_flag_spec_F77='-R$libdir'
   14899       hardcode_shlibpath_var_F77=no
   14900       case $host_os in
   14901       solaris2.[0-5] | solaris2.[0-5].*) ;;
   14902       *)
   14903  	# The compiler driver will combine linker options so we
   14904  	# cannot just pass the convience library names through
   14905  	# without $wl, iff we do not link with $LD.
   14906  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   14907  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   14908  	case $wlarc in
   14909  	'')
   14910  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   14911  	*)
   14912  	  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' ;;
   14913  	esac ;;
   14914       esac
   14915       link_all_deplibs_F77=yes
   14916       ;;
   14917 
   14918     sunos4*)
   14919       if test "x$host_vendor" = xsequent; then
   14920 	# Use $CC to link under sequent, because it throws in some extra .o
   14921 	# files that make .init and .fini sections work.
   14922 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14923       else
   14924 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   14925       fi
   14926       hardcode_libdir_flag_spec_F77='-L$libdir'
   14927       hardcode_direct_F77=yes
   14928       hardcode_minus_L_F77=yes
   14929       hardcode_shlibpath_var_F77=no
   14930       ;;
   14931 
   14932     sysv4)
   14933       case $host_vendor in
   14934 	sni)
   14935 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14936 	  hardcode_direct_F77=yes # is this really true???
   14937 	;;
   14938 	siemens)
   14939 	  ## LD is ld it makes a PLAMLIB
   14940 	  ## CC just makes a GrossModule.
   14941 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   14942 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   14943 	  hardcode_direct_F77=no
   14944         ;;
   14945 	motorola)
   14946 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14947 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   14948 	;;
   14949       esac
   14950       runpath_var='LD_RUN_PATH'
   14951       hardcode_shlibpath_var_F77=no
   14952       ;;
   14953 
   14954     sysv4.3*)
   14955       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14956       hardcode_shlibpath_var_F77=no
   14957       export_dynamic_flag_spec_F77='-Bexport'
   14958       ;;
   14959 
   14960     sysv4*MP*)
   14961       if test -d /usr/nec; then
   14962 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14963 	hardcode_shlibpath_var_F77=no
   14964 	runpath_var=LD_RUN_PATH
   14965 	hardcode_runpath_var=yes
   14966 	ld_shlibs_F77=yes
   14967       fi
   14968       ;;
   14969 
   14970     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   14971       no_undefined_flag_F77='${wl}-z,text'
   14972       archive_cmds_need_lc_F77=no
   14973       hardcode_shlibpath_var_F77=no
   14974       runpath_var='LD_RUN_PATH'
   14975 
   14976       if test "$GCC" = yes; then
   14977 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14978 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14979       else
   14980 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14981 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14982       fi
   14983       ;;
   14984 
   14985     sysv5* | sco3.2v5* | sco5v6*)
   14986       # Note: We can NOT use -z defs as we might desire, because we do not
   14987       # link with -lc, and that would cause any symbols used from libc to
   14988       # always be unresolved, which means just about no library would
   14989       # ever link correctly.  If we're not using GNU ld we use -z text
   14990       # though, which does catch some bad symbols but isn't as heavy-handed
   14991       # as -z defs.
   14992       no_undefined_flag_F77='${wl}-z,text'
   14993       allow_undefined_flag_F77='${wl}-z,nodefs'
   14994       archive_cmds_need_lc_F77=no
   14995       hardcode_shlibpath_var_F77=no
   14996       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   14997       hardcode_libdir_separator_F77=':'
   14998       link_all_deplibs_F77=yes
   14999       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15000       runpath_var='LD_RUN_PATH'
   15001 
   15002       if test "$GCC" = yes; then
   15003 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15004 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15005       else
   15006 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15007 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15008       fi
   15009       ;;
   15010 
   15011     uts4*)
   15012       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15013       hardcode_libdir_flag_spec_F77='-L$libdir'
   15014       hardcode_shlibpath_var_F77=no
   15015       ;;
   15016 
   15017     *)
   15018       ld_shlibs_F77=no
   15019       ;;
   15020     esac
   15021   fi
   15022 
   15023 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15024 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   15025 test "$ld_shlibs_F77" = no && can_build_shared=no
   15026 
   15027 #
   15028 # Do we need to explicitly link libc?
   15029 #
   15030 case "x$archive_cmds_need_lc_F77" in
   15031 x|xyes)
   15032   # Assume -lc should be added
   15033   archive_cmds_need_lc_F77=yes
   15034 
   15035   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15036     case $archive_cmds_F77 in
   15037     *'~'*)
   15038       # FIXME: we may have to deal with multi-command sequences.
   15039       ;;
   15040     '$CC '*)
   15041       # Test whether the compiler implicitly links with -lc since on some
   15042       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15043       # to ld, don't add -lc before -lgcc.
   15044       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15045 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15046       $rm conftest*
   15047       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15048 
   15049       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15050   (eval $ac_compile) 2>&5
   15051   ac_status=$?
   15052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15053   (exit $ac_status); } 2>conftest.err; then
   15054         soname=conftest
   15055         lib=conftest
   15056         libobjs=conftest.$ac_objext
   15057         deplibs=
   15058         wl=$lt_prog_compiler_wl_F77
   15059 	pic_flag=$lt_prog_compiler_pic_F77
   15060         compiler_flags=-v
   15061         linker_flags=-v
   15062         verstring=
   15063         output_objdir=.
   15064         libname=conftest
   15065         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15066         allow_undefined_flag_F77=
   15067         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15068   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15069   ac_status=$?
   15070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15071   (exit $ac_status); }
   15072         then
   15073 	  archive_cmds_need_lc_F77=no
   15074         else
   15075 	  archive_cmds_need_lc_F77=yes
   15076         fi
   15077         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15078       else
   15079         cat conftest.err 1>&5
   15080       fi
   15081       $rm conftest*
   15082       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15083 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15084       ;;
   15085     esac
   15086   fi
   15087   ;;
   15088 esac
   15089 
   15090 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15091 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15092 library_names_spec=
   15093 libname_spec='lib$name'
   15094 soname_spec=
   15095 shrext_cmds=".so"
   15096 postinstall_cmds=
   15097 postuninstall_cmds=
   15098 finish_cmds=
   15099 finish_eval=
   15100 shlibpath_var=
   15101 shlibpath_overrides_runpath=unknown
   15102 version_type=none
   15103 dynamic_linker="$host_os ld.so"
   15104 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15105 if test "$GCC" = yes; then
   15106   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15107   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   15108     # if the path contains ";" then we assume it to be the separator
   15109     # otherwise default to the standard path separator (i.e. ":") - it is
   15110     # assumed that no part of a normal pathname contains ";" but that should
   15111     # okay in the real world where ";" in dirpaths is itself problematic.
   15112     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15113   else
   15114     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15115   fi
   15116 else
   15117   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15118 fi
   15119 need_lib_prefix=unknown
   15120 hardcode_into_libs=no
   15121 
   15122 # when you set need_version to no, make sure it does not cause -set_version
   15123 # flags to be left without arguments
   15124 need_version=unknown
   15125 
   15126 case $host_os in
   15127 aix3*)
   15128   version_type=linux
   15129   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15130   shlibpath_var=LIBPATH
   15131 
   15132   # AIX 3 has no versioning support, so we append a major version to the name.
   15133   soname_spec='${libname}${release}${shared_ext}$major'
   15134   ;;
   15135 
   15136 aix4* | aix5*)
   15137   version_type=linux
   15138   need_lib_prefix=no
   15139   need_version=no
   15140   hardcode_into_libs=yes
   15141   if test "$host_cpu" = ia64; then
   15142     # AIX 5 supports IA64
   15143     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15144     shlibpath_var=LD_LIBRARY_PATH
   15145   else
   15146     # With GCC up to 2.95.x, collect2 would create an import file
   15147     # for dependence libraries.  The import file would start with
   15148     # the line `#! .'.  This would cause the generated library to
   15149     # depend on `.', always an invalid library.  This was fixed in
   15150     # development snapshots of GCC prior to 3.0.
   15151     case $host_os in
   15152       aix4 | aix4.[01] | aix4.[01].*)
   15153       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15154 	   echo ' yes '
   15155 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15156 	:
   15157       else
   15158 	can_build_shared=no
   15159       fi
   15160       ;;
   15161     esac
   15162     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15163     # soname into executable. Probably we can add versioning support to
   15164     # collect2, so additional links can be useful in future.
   15165     if test "$aix_use_runtimelinking" = yes; then
   15166       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15167       # instead of lib<name>.a to let people know that these are not
   15168       # typical AIX shared libraries.
   15169       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15170     else
   15171       # We preserve .a as extension for shared libraries through AIX4.2
   15172       # and later when we are not doing run time linking.
   15173       library_names_spec='${libname}${release}.a $libname.a'
   15174       soname_spec='${libname}${release}${shared_ext}$major'
   15175     fi
   15176     shlibpath_var=LIBPATH
   15177   fi
   15178   ;;
   15179 
   15180 amigaos*)
   15181   library_names_spec='$libname.ixlibrary $libname.a'
   15182   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15183   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'
   15184   ;;
   15185 
   15186 beos*)
   15187   library_names_spec='${libname}${shared_ext}'
   15188   dynamic_linker="$host_os ld.so"
   15189   shlibpath_var=LIBRARY_PATH
   15190   ;;
   15191 
   15192 bsdi[45]*)
   15193   version_type=linux
   15194   need_version=no
   15195   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15196   soname_spec='${libname}${release}${shared_ext}$major'
   15197   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15198   shlibpath_var=LD_LIBRARY_PATH
   15199   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15200   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15201   # the default ld.so.conf also contains /usr/contrib/lib and
   15202   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15203   # libtool to hard-code these into programs
   15204   ;;
   15205 
   15206 cygwin* | mingw* | pw32*)
   15207   version_type=windows
   15208   shrext_cmds=".dll"
   15209   need_version=no
   15210   need_lib_prefix=no
   15211 
   15212   case $GCC,$host_os in
   15213   yes,cygwin* | yes,mingw* | yes,pw32*)
   15214     library_names_spec='$libname.dll.a'
   15215     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15216     postinstall_cmds='base_file=`basename \${file}`~
   15217       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15218       dldir=$destdir/`dirname \$dlpath`~
   15219       test -d \$dldir || mkdir -p \$dldir~
   15220       $install_prog $dir/$dlname \$dldir/$dlname~
   15221       chmod a+x \$dldir/$dlname'
   15222     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15223       dlpath=$dir/\$dldll~
   15224        $rm \$dlpath'
   15225     shlibpath_overrides_runpath=yes
   15226 
   15227     case $host_os in
   15228     cygwin*)
   15229       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15230       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15231       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15232       ;;
   15233     mingw*)
   15234       # MinGW DLLs use traditional 'lib' prefix
   15235       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15236       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15237       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15238         # It is most probably a Windows format PATH printed by
   15239         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15240         # path with ; separators, and with drive letters. We can handle the
   15241         # drive letters (cygwin fileutils understands them), so leave them,
   15242         # especially as we might pass files found there to a mingw objdump,
   15243         # which wouldn't understand a cygwinified path. Ahh.
   15244         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15245       else
   15246         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15247       fi
   15248       ;;
   15249     pw32*)
   15250       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15251       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15252       ;;
   15253     esac
   15254     ;;
   15255 
   15256   *)
   15257     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15258     ;;
   15259   esac
   15260   dynamic_linker='Win32 ld.exe'
   15261   # FIXME: first we should search . and the directory the executable is in
   15262   shlibpath_var=PATH
   15263   ;;
   15264 
   15265 darwin* | rhapsody*)
   15266   dynamic_linker="$host_os dyld"
   15267   version_type=darwin
   15268   need_lib_prefix=no
   15269   need_version=no
   15270   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15271   soname_spec='${libname}${release}${major}$shared_ext'
   15272   shlibpath_overrides_runpath=yes
   15273   shlibpath_var=DYLD_LIBRARY_PATH
   15274   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15275   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   15276   if test "$GCC" = yes; then
   15277     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"`
   15278   else
   15279     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   15280   fi
   15281   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15282   ;;
   15283 
   15284 dgux*)
   15285   version_type=linux
   15286   need_lib_prefix=no
   15287   need_version=no
   15288   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15289   soname_spec='${libname}${release}${shared_ext}$major'
   15290   shlibpath_var=LD_LIBRARY_PATH
   15291   ;;
   15292 
   15293 freebsd1*)
   15294   dynamic_linker=no
   15295   ;;
   15296 
   15297 kfreebsd*-gnu)
   15298   version_type=linux
   15299   need_lib_prefix=no
   15300   need_version=no
   15301   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15302   soname_spec='${libname}${release}${shared_ext}$major'
   15303   shlibpath_var=LD_LIBRARY_PATH
   15304   shlibpath_overrides_runpath=no
   15305   hardcode_into_libs=yes
   15306   dynamic_linker='GNU ld.so'
   15307   ;;
   15308 
   15309 freebsd* | dragonfly*)
   15310   # DragonFly does not have aout.  When/if they implement a new
   15311   # versioning mechanism, adjust this.
   15312   if test -x /usr/bin/objformat; then
   15313     objformat=`/usr/bin/objformat`
   15314   else
   15315     case $host_os in
   15316     freebsd[123]*) objformat=aout ;;
   15317     *) objformat=elf ;;
   15318     esac
   15319   fi
   15320   version_type=freebsd-$objformat
   15321   case $version_type in
   15322     freebsd-elf*)
   15323       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15324       need_version=no
   15325       need_lib_prefix=no
   15326       ;;
   15327     freebsd-*)
   15328       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15329       need_version=yes
   15330       ;;
   15331   esac
   15332   shlibpath_var=LD_LIBRARY_PATH
   15333   case $host_os in
   15334   freebsd2*)
   15335     shlibpath_overrides_runpath=yes
   15336     ;;
   15337   freebsd3.[01]* | freebsdelf3.[01]*)
   15338     shlibpath_overrides_runpath=yes
   15339     hardcode_into_libs=yes
   15340     ;;
   15341   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15342   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15343     shlibpath_overrides_runpath=no
   15344     hardcode_into_libs=yes
   15345     ;;
   15346   freebsd*) # from 4.6 on
   15347     shlibpath_overrides_runpath=yes
   15348     hardcode_into_libs=yes
   15349     ;;
   15350   esac
   15351   ;;
   15352 
   15353 gnu*)
   15354   version_type=linux
   15355   need_lib_prefix=no
   15356   need_version=no
   15357   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15358   soname_spec='${libname}${release}${shared_ext}$major'
   15359   shlibpath_var=LD_LIBRARY_PATH
   15360   hardcode_into_libs=yes
   15361   ;;
   15362 
   15363 hpux9* | hpux10* | hpux11*)
   15364   # Give a soname corresponding to the major version so that dld.sl refuses to
   15365   # link against other versions.
   15366   version_type=sunos
   15367   need_lib_prefix=no
   15368   need_version=no
   15369   case $host_cpu in
   15370   ia64*)
   15371     shrext_cmds='.so'
   15372     hardcode_into_libs=yes
   15373     dynamic_linker="$host_os dld.so"
   15374     shlibpath_var=LD_LIBRARY_PATH
   15375     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15376     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15377     soname_spec='${libname}${release}${shared_ext}$major'
   15378     if test "X$HPUX_IA64_MODE" = X32; then
   15379       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15380     else
   15381       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15382     fi
   15383     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15384     ;;
   15385    hppa*64*)
   15386      shrext_cmds='.sl'
   15387      hardcode_into_libs=yes
   15388      dynamic_linker="$host_os dld.sl"
   15389      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15390      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15391      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15392      soname_spec='${libname}${release}${shared_ext}$major'
   15393      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15394      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15395      ;;
   15396    *)
   15397     shrext_cmds='.sl'
   15398     dynamic_linker="$host_os dld.sl"
   15399     shlibpath_var=SHLIB_PATH
   15400     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15401     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15402     soname_spec='${libname}${release}${shared_ext}$major'
   15403     ;;
   15404   esac
   15405   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15406   postinstall_cmds='chmod 555 $lib'
   15407   ;;
   15408 
   15409 interix3*)
   15410   version_type=linux
   15411   need_lib_prefix=no
   15412   need_version=no
   15413   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15414   soname_spec='${libname}${release}${shared_ext}$major'
   15415   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15416   shlibpath_var=LD_LIBRARY_PATH
   15417   shlibpath_overrides_runpath=no
   15418   hardcode_into_libs=yes
   15419   ;;
   15420 
   15421 irix5* | irix6* | nonstopux*)
   15422   case $host_os in
   15423     nonstopux*) version_type=nonstopux ;;
   15424     *)
   15425 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15426 		version_type=linux
   15427 	else
   15428 		version_type=irix
   15429 	fi ;;
   15430   esac
   15431   need_lib_prefix=no
   15432   need_version=no
   15433   soname_spec='${libname}${release}${shared_ext}$major'
   15434   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15435   case $host_os in
   15436   irix5* | nonstopux*)
   15437     libsuff= shlibsuff=
   15438     ;;
   15439   *)
   15440     case $LD in # libtool.m4 will add one of these switches to LD
   15441     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15442       libsuff= shlibsuff= libmagic=32-bit;;
   15443     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15444       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15445     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15446       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15447     *) libsuff= shlibsuff= libmagic=never-match;;
   15448     esac
   15449     ;;
   15450   esac
   15451   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15452   shlibpath_overrides_runpath=no
   15453   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15454   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15455   hardcode_into_libs=yes
   15456   ;;
   15457 
   15458 # No shared lib support for Linux oldld, aout, or coff.
   15459 linux*oldld* | linux*aout* | linux*coff*)
   15460   dynamic_linker=no
   15461   ;;
   15462 
   15463 # This must be Linux ELF.
   15464 linux*)
   15465   version_type=linux
   15466   need_lib_prefix=no
   15467   need_version=no
   15468   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15469   soname_spec='${libname}${release}${shared_ext}$major'
   15470   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15471   shlibpath_var=LD_LIBRARY_PATH
   15472   shlibpath_overrides_runpath=no
   15473   # This implies no fast_install, which is unacceptable.
   15474   # Some rework will be needed to allow for fast_install
   15475   # before this can be enabled.
   15476   hardcode_into_libs=yes
   15477 
   15478   # Append ld.so.conf contents to the search path
   15479   if test -f /etc/ld.so.conf; then
   15480     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' ' '`
   15481     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15482   fi
   15483 
   15484   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15485   # powerpc, because MkLinux only supported shared libraries with the
   15486   # GNU dynamic linker.  Since this was broken with cross compilers,
   15487   # most powerpc-linux boxes support dynamic linking these days and
   15488   # people can always --disable-shared, the test was removed, and we
   15489   # assume the GNU/Linux dynamic linker is in use.
   15490   dynamic_linker='GNU/Linux ld.so'
   15491   ;;
   15492 
   15493 knetbsd*-gnu)
   15494   version_type=linux
   15495   need_lib_prefix=no
   15496   need_version=no
   15497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15498   soname_spec='${libname}${release}${shared_ext}$major'
   15499   shlibpath_var=LD_LIBRARY_PATH
   15500   shlibpath_overrides_runpath=no
   15501   hardcode_into_libs=yes
   15502   dynamic_linker='GNU ld.so'
   15503   ;;
   15504 
   15505 netbsd*)
   15506   version_type=sunos
   15507   need_lib_prefix=no
   15508   need_version=no
   15509   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15510     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15511     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15512     dynamic_linker='NetBSD (a.out) ld.so'
   15513   else
   15514     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15515     soname_spec='${libname}${release}${shared_ext}$major'
   15516     dynamic_linker='NetBSD ld.elf_so'
   15517   fi
   15518   shlibpath_var=LD_LIBRARY_PATH
   15519   shlibpath_overrides_runpath=yes
   15520   hardcode_into_libs=yes
   15521   ;;
   15522 
   15523 newsos6)
   15524   version_type=linux
   15525   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15526   shlibpath_var=LD_LIBRARY_PATH
   15527   shlibpath_overrides_runpath=yes
   15528   ;;
   15529 
   15530 nto-qnx*)
   15531   version_type=linux
   15532   need_lib_prefix=no
   15533   need_version=no
   15534   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15535   soname_spec='${libname}${release}${shared_ext}$major'
   15536   shlibpath_var=LD_LIBRARY_PATH
   15537   shlibpath_overrides_runpath=yes
   15538   ;;
   15539 
   15540 openbsd*)
   15541   version_type=sunos
   15542   sys_lib_dlsearch_path_spec="/usr/lib"
   15543   need_lib_prefix=no
   15544   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15545   case $host_os in
   15546     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   15547     *)                         need_version=no  ;;
   15548   esac
   15549   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15550   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15551   shlibpath_var=LD_LIBRARY_PATH
   15552   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15553     case $host_os in
   15554       openbsd2.[89] | openbsd2.[89].*)
   15555 	shlibpath_overrides_runpath=no
   15556 	;;
   15557       *)
   15558 	shlibpath_overrides_runpath=yes
   15559 	;;
   15560       esac
   15561   else
   15562     shlibpath_overrides_runpath=yes
   15563   fi
   15564   ;;
   15565 
   15566 os2*)
   15567   libname_spec='$name'
   15568   shrext_cmds=".dll"
   15569   need_lib_prefix=no
   15570   library_names_spec='$libname${shared_ext} $libname.a'
   15571   dynamic_linker='OS/2 ld.exe'
   15572   shlibpath_var=LIBPATH
   15573   ;;
   15574 
   15575 osf3* | osf4* | osf5*)
   15576   version_type=osf
   15577   need_lib_prefix=no
   15578   need_version=no
   15579   soname_spec='${libname}${release}${shared_ext}$major'
   15580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15581   shlibpath_var=LD_LIBRARY_PATH
   15582   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15583   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15584   ;;
   15585 
   15586 solaris*)
   15587   version_type=linux
   15588   need_lib_prefix=no
   15589   need_version=no
   15590   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15591   soname_spec='${libname}${release}${shared_ext}$major'
   15592   shlibpath_var=LD_LIBRARY_PATH
   15593   shlibpath_overrides_runpath=yes
   15594   hardcode_into_libs=yes
   15595   # ldd complains unless libraries are executable
   15596   postinstall_cmds='chmod +x $lib'
   15597   ;;
   15598 
   15599 sunos4*)
   15600   version_type=sunos
   15601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15602   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15603   shlibpath_var=LD_LIBRARY_PATH
   15604   shlibpath_overrides_runpath=yes
   15605   if test "$with_gnu_ld" = yes; then
   15606     need_lib_prefix=no
   15607   fi
   15608   need_version=yes
   15609   ;;
   15610 
   15611 sysv4 | sysv4.3*)
   15612   version_type=linux
   15613   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15614   soname_spec='${libname}${release}${shared_ext}$major'
   15615   shlibpath_var=LD_LIBRARY_PATH
   15616   case $host_vendor in
   15617     sni)
   15618       shlibpath_overrides_runpath=no
   15619       need_lib_prefix=no
   15620       export_dynamic_flag_spec='${wl}-Blargedynsym'
   15621       runpath_var=LD_RUN_PATH
   15622       ;;
   15623     siemens)
   15624       need_lib_prefix=no
   15625       ;;
   15626     motorola)
   15627       need_lib_prefix=no
   15628       need_version=no
   15629       shlibpath_overrides_runpath=no
   15630       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15631       ;;
   15632   esac
   15633   ;;
   15634 
   15635 sysv4*MP*)
   15636   if test -d /usr/nec ;then
   15637     version_type=linux
   15638     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15639     soname_spec='$libname${shared_ext}.$major'
   15640     shlibpath_var=LD_LIBRARY_PATH
   15641   fi
   15642   ;;
   15643 
   15644 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15645   version_type=freebsd-elf
   15646   need_lib_prefix=no
   15647   need_version=no
   15648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15649   soname_spec='${libname}${release}${shared_ext}$major'
   15650   shlibpath_var=LD_LIBRARY_PATH
   15651   hardcode_into_libs=yes
   15652   if test "$with_gnu_ld" = yes; then
   15653     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15654     shlibpath_overrides_runpath=no
   15655   else
   15656     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15657     shlibpath_overrides_runpath=yes
   15658     case $host_os in
   15659       sco3.2v5*)
   15660         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15661 	;;
   15662     esac
   15663   fi
   15664   sys_lib_dlsearch_path_spec='/usr/lib'
   15665   ;;
   15666 
   15667 uts4*)
   15668   version_type=linux
   15669   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15670   soname_spec='${libname}${release}${shared_ext}$major'
   15671   shlibpath_var=LD_LIBRARY_PATH
   15672   ;;
   15673 
   15674 *)
   15675   dynamic_linker=no
   15676   ;;
   15677 esac
   15678 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   15679 echo "${ECHO_T}$dynamic_linker" >&6; }
   15680 test "$dynamic_linker" = no && can_build_shared=no
   15681 
   15682 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15683 if test "$GCC" = yes; then
   15684   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15685 fi
   15686 
   15687 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   15688 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   15689 hardcode_action_F77=
   15690 if test -n "$hardcode_libdir_flag_spec_F77" || \
   15691    test -n "$runpath_var_F77" || \
   15692    test "X$hardcode_automatic_F77" = "Xyes" ; then
   15693 
   15694   # We can hardcode non-existant directories.
   15695   if test "$hardcode_direct_F77" != no &&
   15696      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15697      # have to relink, otherwise we might link with an installed library
   15698      # when we should be linking with a yet-to-be-installed one
   15699      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   15700      test "$hardcode_minus_L_F77" != no; then
   15701     # Linking always hardcodes the temporary library directory.
   15702     hardcode_action_F77=relink
   15703   else
   15704     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15705     hardcode_action_F77=immediate
   15706   fi
   15707 else
   15708   # We cannot hardcode anything, or else we can only hardcode existing
   15709   # directories.
   15710   hardcode_action_F77=unsupported
   15711 fi
   15712 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   15713 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   15714 
   15715 if test "$hardcode_action_F77" = relink; then
   15716   # Fast installation is not supported
   15717   enable_fast_install=no
   15718 elif test "$shlibpath_overrides_runpath" = yes ||
   15719      test "$enable_shared" = no; then
   15720   # Fast installation is not necessary
   15721   enable_fast_install=needless
   15722 fi
   15723 
   15724 
   15725 # The else clause should only fire when bootstrapping the
   15726 # libtool distribution, otherwise you forgot to ship ltmain.sh
   15727 # with your package, and you will get complaints that there are
   15728 # no rules to generate ltmain.sh.
   15729 if test -f "$ltmain"; then
   15730   # See if we are running on zsh, and set the options which allow our commands through
   15731   # without removal of \ escapes.
   15732   if test -n "${ZSH_VERSION+set}" ; then
   15733     setopt NO_GLOB_SUBST
   15734   fi
   15735   # Now quote all the things that may contain metacharacters while being
   15736   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   15737   # variables and quote the copies for generation of the libtool script.
   15738   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   15739     SED SHELL STRIP \
   15740     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   15741     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   15742     deplibs_check_method reload_flag reload_cmds need_locks \
   15743     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   15744     lt_cv_sys_global_symbol_to_c_name_address \
   15745     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   15746     old_postinstall_cmds old_postuninstall_cmds \
   15747     compiler_F77 \
   15748     CC_F77 \
   15749     LD_F77 \
   15750     lt_prog_compiler_wl_F77 \
   15751     lt_prog_compiler_pic_F77 \
   15752     lt_prog_compiler_static_F77 \
   15753     lt_prog_compiler_no_builtin_flag_F77 \
   15754     export_dynamic_flag_spec_F77 \
   15755     thread_safe_flag_spec_F77 \
   15756     whole_archive_flag_spec_F77 \
   15757     enable_shared_with_static_runtimes_F77 \
   15758     old_archive_cmds_F77 \
   15759     old_archive_from_new_cmds_F77 \
   15760     predep_objects_F77 \
   15761     postdep_objects_F77 \
   15762     predeps_F77 \
   15763     postdeps_F77 \
   15764     compiler_lib_search_path_F77 \
   15765     archive_cmds_F77 \
   15766     archive_expsym_cmds_F77 \
   15767     postinstall_cmds_F77 \
   15768     postuninstall_cmds_F77 \
   15769     old_archive_from_expsyms_cmds_F77 \
   15770     allow_undefined_flag_F77 \
   15771     no_undefined_flag_F77 \
   15772     export_symbols_cmds_F77 \
   15773     hardcode_libdir_flag_spec_F77 \
   15774     hardcode_libdir_flag_spec_ld_F77 \
   15775     hardcode_libdir_separator_F77 \
   15776     hardcode_automatic_F77 \
   15777     module_cmds_F77 \
   15778     module_expsym_cmds_F77 \
   15779     lt_cv_prog_compiler_c_o_F77 \
   15780     exclude_expsyms_F77 \
   15781     include_expsyms_F77; do
   15782 
   15783     case $var in
   15784     old_archive_cmds_F77 | \
   15785     old_archive_from_new_cmds_F77 | \
   15786     archive_cmds_F77 | \
   15787     archive_expsym_cmds_F77 | \
   15788     module_cmds_F77 | \
   15789     module_expsym_cmds_F77 | \
   15790     old_archive_from_expsyms_cmds_F77 | \
   15791     export_symbols_cmds_F77 | \
   15792     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   15793     postinstall_cmds | postuninstall_cmds | \
   15794     old_postinstall_cmds | old_postuninstall_cmds | \
   15795     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   15796       # Double-quote double-evaled strings.
   15797       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   15798       ;;
   15799     *)
   15800       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   15801       ;;
   15802     esac
   15803   done
   15804 
   15805   case $lt_echo in
   15806   *'\$0 --fallback-echo"')
   15807     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   15808     ;;
   15809   esac
   15810 
   15811 cfgfile="$ofile"
   15812 
   15813   cat <<__EOF__ >> "$cfgfile"
   15814 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   15815 
   15816 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15817 
   15818 # Shell to use when invoking shell scripts.
   15819 SHELL=$lt_SHELL
   15820 
   15821 # Whether or not to build shared libraries.
   15822 build_libtool_libs=$enable_shared
   15823 
   15824 # Whether or not to build static libraries.
   15825 build_old_libs=$enable_static
   15826 
   15827 # Whether or not to add -lc for building shared libraries.
   15828 build_libtool_need_lc=$archive_cmds_need_lc_F77
   15829 
   15830 # Whether or not to disallow shared libs when runtime libs are static
   15831 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   15832 
   15833 # Whether or not to optimize for fast installation.
   15834 fast_install=$enable_fast_install
   15835 
   15836 # The host system.
   15837 host_alias=$host_alias
   15838 host=$host
   15839 host_os=$host_os
   15840 
   15841 # The build system.
   15842 build_alias=$build_alias
   15843 build=$build
   15844 build_os=$build_os
   15845 
   15846 # An echo program that does not interpret backslashes.
   15847 echo=$lt_echo
   15848 
   15849 # The archiver.
   15850 AR=$lt_AR
   15851 AR_FLAGS=$lt_AR_FLAGS
   15852 
   15853 # A C compiler.
   15854 LTCC=$lt_LTCC
   15855 
   15856 # LTCC compiler flags.
   15857 LTCFLAGS=$lt_LTCFLAGS
   15858 
   15859 # A language-specific compiler.
   15860 CC=$lt_compiler_F77
   15861 
   15862 # Is the compiler the GNU C compiler?
   15863 with_gcc=$GCC_F77
   15864 
   15865 # An ERE matcher.
   15866 EGREP=$lt_EGREP
   15867 
   15868 # The linker used to build libraries.
   15869 LD=$lt_LD_F77
   15870 
   15871 # Whether we need hard or soft links.
   15872 LN_S=$lt_LN_S
   15873 
   15874 # A BSD-compatible nm program.
   15875 NM=$lt_NM
   15876 
   15877 # A symbol stripping program
   15878 STRIP=$lt_STRIP
   15879 
   15880 # Used to examine libraries when file_magic_cmd begins "file"
   15881 MAGIC_CMD=$MAGIC_CMD
   15882 
   15883 # Used on cygwin: DLL creation program.
   15884 DLLTOOL="$DLLTOOL"
   15885 
   15886 # Used on cygwin: object dumper.
   15887 OBJDUMP="$OBJDUMP"
   15888 
   15889 # Used on cygwin: assembler.
   15890 AS="$AS"
   15891 
   15892 # The name of the directory that contains temporary libtool files.
   15893 objdir=$objdir
   15894 
   15895 # How to create reloadable object files.
   15896 reload_flag=$lt_reload_flag
   15897 reload_cmds=$lt_reload_cmds
   15898 
   15899 # How to pass a linker flag through the compiler.
   15900 wl=$lt_lt_prog_compiler_wl_F77
   15901 
   15902 # Object file suffix (normally "o").
   15903 objext="$ac_objext"
   15904 
   15905 # Old archive suffix (normally "a").
   15906 libext="$libext"
   15907 
   15908 # Shared library suffix (normally ".so").
   15909 shrext_cmds='$shrext_cmds'
   15910 
   15911 # Executable file suffix (normally "").
   15912 exeext="$exeext"
   15913 
   15914 # Additional compiler flags for building library objects.
   15915 pic_flag=$lt_lt_prog_compiler_pic_F77
   15916 pic_mode=$pic_mode
   15917 
   15918 # What is the maximum length of a command?
   15919 max_cmd_len=$lt_cv_sys_max_cmd_len
   15920 
   15921 # Does compiler simultaneously support -c and -o options?
   15922 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   15923 
   15924 # Must we lock files when doing compilation?
   15925 need_locks=$lt_need_locks
   15926 
   15927 # Do we need the lib prefix for modules?
   15928 need_lib_prefix=$need_lib_prefix
   15929 
   15930 # Do we need a version for libraries?
   15931 need_version=$need_version
   15932 
   15933 # Whether dlopen is supported.
   15934 dlopen_support=$enable_dlopen
   15935 
   15936 # Whether dlopen of programs is supported.
   15937 dlopen_self=$enable_dlopen_self
   15938 
   15939 # Whether dlopen of statically linked programs is supported.
   15940 dlopen_self_static=$enable_dlopen_self_static
   15941 
   15942 # Compiler flag to prevent dynamic linking.
   15943 link_static_flag=$lt_lt_prog_compiler_static_F77
   15944 
   15945 # Compiler flag to turn off builtin functions.
   15946 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   15947 
   15948 # Compiler flag to allow reflexive dlopens.
   15949 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   15950 
   15951 # Compiler flag to generate shared objects directly from archives.
   15952 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   15953 
   15954 # Compiler flag to generate thread-safe objects.
   15955 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   15956 
   15957 # Library versioning type.
   15958 version_type=$version_type
   15959 
   15960 # Format of library name prefix.
   15961 libname_spec=$lt_libname_spec
   15962 
   15963 # List of archive names.  First name is the real one, the rest are links.
   15964 # The last name is the one that the linker finds with -lNAME.
   15965 library_names_spec=$lt_library_names_spec
   15966 
   15967 # The coded name of the library, if different from the real name.
   15968 soname_spec=$lt_soname_spec
   15969 
   15970 # Commands used to build and install an old-style archive.
   15971 RANLIB=$lt_RANLIB
   15972 old_archive_cmds=$lt_old_archive_cmds_F77
   15973 old_postinstall_cmds=$lt_old_postinstall_cmds
   15974 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15975 
   15976 # Create an old-style archive from a shared archive.
   15977 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   15978 
   15979 # Create a temporary old-style archive to link instead of a shared archive.
   15980 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   15981 
   15982 # Commands used to build and install a shared archive.
   15983 archive_cmds=$lt_archive_cmds_F77
   15984 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   15985 postinstall_cmds=$lt_postinstall_cmds
   15986 postuninstall_cmds=$lt_postuninstall_cmds
   15987 
   15988 # Commands used to build a loadable module (assumed same as above if empty)
   15989 module_cmds=$lt_module_cmds_F77
   15990 module_expsym_cmds=$lt_module_expsym_cmds_F77
   15991 
   15992 # Commands to strip libraries.
   15993 old_striplib=$lt_old_striplib
   15994 striplib=$lt_striplib
   15995 
   15996 # Dependencies to place before the objects being linked to create a
   15997 # shared library.
   15998 predep_objects=$lt_predep_objects_F77
   15999 
   16000 # Dependencies to place after the objects being linked to create a
   16001 # shared library.
   16002 postdep_objects=$lt_postdep_objects_F77
   16003 
   16004 # Dependencies to place before the objects being linked to create a
   16005 # shared library.
   16006 predeps=$lt_predeps_F77
   16007 
   16008 # Dependencies to place after the objects being linked to create a
   16009 # shared library.
   16010 postdeps=$lt_postdeps_F77
   16011 
   16012 # The library search path used internally by the compiler when linking
   16013 # a shared library.
   16014 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16015 
   16016 # Method to check whether dependent libraries are shared objects.
   16017 deplibs_check_method=$lt_deplibs_check_method
   16018 
   16019 # Command to use when deplibs_check_method == file_magic.
   16020 file_magic_cmd=$lt_file_magic_cmd
   16021 
   16022 # Flag that allows shared libraries with undefined symbols to be built.
   16023 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16024 
   16025 # Flag that forces no undefined symbols.
   16026 no_undefined_flag=$lt_no_undefined_flag_F77
   16027 
   16028 # Commands used to finish a libtool library installation in a directory.
   16029 finish_cmds=$lt_finish_cmds
   16030 
   16031 # Same as above, but a single script fragment to be evaled but not shown.
   16032 finish_eval=$lt_finish_eval
   16033 
   16034 # Take the output of nm and produce a listing of raw symbols and C names.
   16035 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16036 
   16037 # Transform the output of nm in a proper C declaration
   16038 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16039 
   16040 # Transform the output of nm in a C name address pair
   16041 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16042 
   16043 # This is the shared library runtime path variable.
   16044 runpath_var=$runpath_var
   16045 
   16046 # This is the shared library path variable.
   16047 shlibpath_var=$shlibpath_var
   16048 
   16049 # Is shlibpath searched before the hard-coded library search path?
   16050 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16051 
   16052 # How to hardcode a shared library path into an executable.
   16053 hardcode_action=$hardcode_action_F77
   16054 
   16055 # Whether we should hardcode library paths into libraries.
   16056 hardcode_into_libs=$hardcode_into_libs
   16057 
   16058 # Flag to hardcode \$libdir into a binary during linking.
   16059 # This must work even if \$libdir does not exist.
   16060 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16061 
   16062 # If ld is used when linking, flag to hardcode \$libdir into
   16063 # a binary during linking. This must work even if \$libdir does
   16064 # not exist.
   16065 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16066 
   16067 # Whether we need a single -rpath flag with a separated argument.
   16068 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16069 
   16070 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16071 # resulting binary.
   16072 hardcode_direct=$hardcode_direct_F77
   16073 
   16074 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16075 # resulting binary.
   16076 hardcode_minus_L=$hardcode_minus_L_F77
   16077 
   16078 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16079 # the resulting binary.
   16080 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16081 
   16082 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16083 # and all subsequent libraries and executables linked against it.
   16084 hardcode_automatic=$hardcode_automatic_F77
   16085 
   16086 # Variables whose values should be saved in libtool wrapper scripts and
   16087 # restored at relink time.
   16088 variables_saved_for_relink="$variables_saved_for_relink"
   16089 
   16090 # Whether libtool must link a program against all its dependency libraries.
   16091 link_all_deplibs=$link_all_deplibs_F77
   16092 
   16093 # Compile-time system search path for libraries
   16094 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16095 
   16096 # Run-time system search path for libraries
   16097 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16098 
   16099 # Fix the shell variable \$srcfile for the compiler.
   16100 fix_srcfile_path="$fix_srcfile_path_F77"
   16101 
   16102 # Set to yes if exported symbols are required.
   16103 always_export_symbols=$always_export_symbols_F77
   16104 
   16105 # The commands to list exported symbols.
   16106 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16107 
   16108 # The commands to extract the exported symbol list from a shared archive.
   16109 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16110 
   16111 # Symbols that should not be listed in the preloaded symbols.
   16112 exclude_expsyms=$lt_exclude_expsyms_F77
   16113 
   16114 # Symbols that must always be exported.
   16115 include_expsyms=$lt_include_expsyms_F77
   16116 
   16117 # ### END LIBTOOL TAG CONFIG: $tagname
   16118 
   16119 __EOF__
   16120 
   16121 
   16122 else
   16123   # If there is no Makefile yet, we rely on a make rule to execute
   16124   # `config.status --recheck' to rerun these tests and create the
   16125   # libtool script then.
   16126   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16127   if test -f "$ltmain_in"; then
   16128     test -f Makefile && make "$ltmain"
   16129   fi
   16130 fi
   16131 
   16132 
   16133 ac_ext=c
   16134 ac_cpp='$CPP $CPPFLAGS'
   16135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16138 
   16139 CC="$lt_save_CC"
   16140 
   16141 	else
   16142 	  tagname=""
   16143 	fi
   16144 	;;
   16145 
   16146       GCJ)
   16147 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16148 
   16149 
   16150 # Source file extension for Java test sources.
   16151 ac_ext=java
   16152 
   16153 # Object file extension for compiled Java test sources.
   16154 objext=o
   16155 objext_GCJ=$objext
   16156 
   16157 # Code to be used in simple compile tests
   16158 lt_simple_compile_test_code="class foo {}\n"
   16159 
   16160 # Code to be used in simple link tests
   16161 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   16162 
   16163 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16164 
   16165 # If no C compiler was specified, use CC.
   16166 LTCC=${LTCC-"$CC"}
   16167 
   16168 # If no C compiler flags were specified, use CFLAGS.
   16169 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16170 
   16171 # Allow CC to be a program name with arguments.
   16172 compiler=$CC
   16173 
   16174 
   16175 # save warnings/boilerplate of simple test code
   16176 ac_outfile=conftest.$ac_objext
   16177 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   16178 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16179 _lt_compiler_boilerplate=`cat conftest.err`
   16180 $rm conftest*
   16181 
   16182 ac_outfile=conftest.$ac_objext
   16183 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   16184 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16185 _lt_linker_boilerplate=`cat conftest.err`
   16186 $rm conftest*
   16187 
   16188 
   16189 # Allow CC to be a program name with arguments.
   16190 lt_save_CC="$CC"
   16191 CC=${GCJ-"gcj"}
   16192 compiler=$CC
   16193 compiler_GCJ=$CC
   16194 for cc_temp in $compiler""; do
   16195   case $cc_temp in
   16196     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16197     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16198     \-*) ;;
   16199     *) break;;
   16200   esac
   16201 done
   16202 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16203 
   16204 
   16205 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16206 archive_cmds_need_lc_GCJ=no
   16207 
   16208 old_archive_cmds_GCJ=$old_archive_cmds
   16209 
   16210 
   16211 lt_prog_compiler_no_builtin_flag_GCJ=
   16212 
   16213 if test "$GCC" = yes; then
   16214   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16215 
   16216 
   16217 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16218 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16219 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16220   echo $ECHO_N "(cached) $ECHO_C" >&6
   16221 else
   16222   lt_cv_prog_compiler_rtti_exceptions=no
   16223   ac_outfile=conftest.$ac_objext
   16224    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16225    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16226    # Insert the option either (1) after the last *FLAGS variable, or
   16227    # (2) before a word containing "conftest.", or (3) at the end.
   16228    # Note that $ac_compile itself does not contain backslashes and begins
   16229    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16230    # The option is referenced via a variable to avoid confusing sed.
   16231    lt_compile=`echo "$ac_compile" | $SED \
   16232    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16233    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16234    -e 's:$: $lt_compiler_flag:'`
   16235    (eval echo "\"\$as_me:16235: $lt_compile\"" >&5)
   16236    (eval "$lt_compile" 2>conftest.err)
   16237    ac_status=$?
   16238    cat conftest.err >&5
   16239    echo "$as_me:16239: \$? = $ac_status" >&5
   16240    if (exit $ac_status) && test -s "$ac_outfile"; then
   16241      # The compiler can only warn and ignore the option if not recognized
   16242      # So say no if there are warnings other than the usual output.
   16243      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16244      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16245      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16246        lt_cv_prog_compiler_rtti_exceptions=yes
   16247      fi
   16248    fi
   16249    $rm conftest*
   16250 
   16251 fi
   16252 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16253 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16254 
   16255 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16256     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16257 else
   16258     :
   16259 fi
   16260 
   16261 fi
   16262 
   16263 lt_prog_compiler_wl_GCJ=
   16264 lt_prog_compiler_pic_GCJ=
   16265 lt_prog_compiler_static_GCJ=
   16266 
   16267 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16268 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16269 
   16270   if test "$GCC" = yes; then
   16271     lt_prog_compiler_wl_GCJ='-Wl,'
   16272     lt_prog_compiler_static_GCJ='-static'
   16273 
   16274     case $host_os in
   16275       aix*)
   16276       # All AIX code is PIC.
   16277       if test "$host_cpu" = ia64; then
   16278 	# AIX 5 now supports IA64 processor
   16279 	lt_prog_compiler_static_GCJ='-Bstatic'
   16280       fi
   16281       ;;
   16282 
   16283     amigaos*)
   16284       # FIXME: we need at least 68020 code to build shared libraries, but
   16285       # adding the `-m68020' flag to GCC prevents building anything better,
   16286       # like `-m68040'.
   16287       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16288       ;;
   16289 
   16290     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16291       # PIC is the default for these OSes.
   16292       ;;
   16293 
   16294     mingw* | pw32* | os2*)
   16295       # This hack is so that the source file can tell whether it is being
   16296       # built for inclusion in a dll (and should export symbols for example).
   16297       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16298       ;;
   16299 
   16300     darwin* | rhapsody*)
   16301       # PIC is the default on this platform
   16302       # Common symbols not allowed in MH_DYLIB files
   16303       lt_prog_compiler_pic_GCJ='-fno-common'
   16304       ;;
   16305 
   16306     interix3*)
   16307       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16308       # Instead, we relocate shared libraries at runtime.
   16309       ;;
   16310 
   16311     msdosdjgpp*)
   16312       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16313       # on systems that don't support them.
   16314       lt_prog_compiler_can_build_shared_GCJ=no
   16315       enable_shared=no
   16316       ;;
   16317 
   16318     sysv4*MP*)
   16319       if test -d /usr/nec; then
   16320 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16321       fi
   16322       ;;
   16323 
   16324     hpux*)
   16325       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16326       # not for PA HP-UX.
   16327       case $host_cpu in
   16328       hppa*64*|ia64*)
   16329 	# +Z the default
   16330 	;;
   16331       *)
   16332 	lt_prog_compiler_pic_GCJ='-fPIC'
   16333 	;;
   16334       esac
   16335       ;;
   16336 
   16337     *)
   16338       lt_prog_compiler_pic_GCJ='-fPIC'
   16339       ;;
   16340     esac
   16341   else
   16342     # PORTME Check for flag to pass linker flags through the system compiler.
   16343     case $host_os in
   16344     aix*)
   16345       lt_prog_compiler_wl_GCJ='-Wl,'
   16346       if test "$host_cpu" = ia64; then
   16347 	# AIX 5 now supports IA64 processor
   16348 	lt_prog_compiler_static_GCJ='-Bstatic'
   16349       else
   16350 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16351       fi
   16352       ;;
   16353       darwin*)
   16354         # PIC is the default on this platform
   16355         # Common symbols not allowed in MH_DYLIB files
   16356        case $cc_basename in
   16357          xlc*)
   16358          lt_prog_compiler_pic_GCJ='-qnocommon'
   16359          lt_prog_compiler_wl_GCJ='-Wl,'
   16360          ;;
   16361        esac
   16362        ;;
   16363 
   16364     mingw* | pw32* | os2*)
   16365       # This hack is so that the source file can tell whether it is being
   16366       # built for inclusion in a dll (and should export symbols for example).
   16367       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16368       ;;
   16369 
   16370     hpux9* | hpux10* | hpux11*)
   16371       lt_prog_compiler_wl_GCJ='-Wl,'
   16372       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16373       # not for PA HP-UX.
   16374       case $host_cpu in
   16375       hppa*64*|ia64*)
   16376 	# +Z the default
   16377 	;;
   16378       *)
   16379 	lt_prog_compiler_pic_GCJ='+Z'
   16380 	;;
   16381       esac
   16382       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16383       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16384       ;;
   16385 
   16386     irix5* | irix6* | nonstopux*)
   16387       lt_prog_compiler_wl_GCJ='-Wl,'
   16388       # PIC (with -KPIC) is the default.
   16389       lt_prog_compiler_static_GCJ='-non_shared'
   16390       ;;
   16391 
   16392     newsos6)
   16393       lt_prog_compiler_pic_GCJ='-KPIC'
   16394       lt_prog_compiler_static_GCJ='-Bstatic'
   16395       ;;
   16396 
   16397     linux*)
   16398       case $cc_basename in
   16399       icc* | ecc*)
   16400 	lt_prog_compiler_wl_GCJ='-Wl,'
   16401 	lt_prog_compiler_pic_GCJ='-KPIC'
   16402 	lt_prog_compiler_static_GCJ='-static'
   16403         ;;
   16404       pgcc* | pgf77* | pgf90* | pgf95*)
   16405         # Portland Group compilers (*not* the Pentium gcc compiler,
   16406 	# which looks to be a dead project)
   16407 	lt_prog_compiler_wl_GCJ='-Wl,'
   16408 	lt_prog_compiler_pic_GCJ='-fpic'
   16409 	lt_prog_compiler_static_GCJ='-Bstatic'
   16410         ;;
   16411       ccc*)
   16412         lt_prog_compiler_wl_GCJ='-Wl,'
   16413         # All Alpha code is PIC.
   16414         lt_prog_compiler_static_GCJ='-non_shared'
   16415         ;;
   16416       esac
   16417       ;;
   16418 
   16419     osf3* | osf4* | osf5*)
   16420       lt_prog_compiler_wl_GCJ='-Wl,'
   16421       # All OSF/1 code is PIC.
   16422       lt_prog_compiler_static_GCJ='-non_shared'
   16423       ;;
   16424 
   16425     solaris*)
   16426       lt_prog_compiler_pic_GCJ='-KPIC'
   16427       lt_prog_compiler_static_GCJ='-Bstatic'
   16428       case $cc_basename in
   16429       f77* | f90* | f95*)
   16430 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16431       *)
   16432 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16433       esac
   16434       ;;
   16435 
   16436     sunos4*)
   16437       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16438       lt_prog_compiler_pic_GCJ='-PIC'
   16439       lt_prog_compiler_static_GCJ='-Bstatic'
   16440       ;;
   16441 
   16442     sysv4 | sysv4.2uw2* | sysv4.3*)
   16443       lt_prog_compiler_wl_GCJ='-Wl,'
   16444       lt_prog_compiler_pic_GCJ='-KPIC'
   16445       lt_prog_compiler_static_GCJ='-Bstatic'
   16446       ;;
   16447 
   16448     sysv4*MP*)
   16449       if test -d /usr/nec ;then
   16450 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   16451 	lt_prog_compiler_static_GCJ='-Bstatic'
   16452       fi
   16453       ;;
   16454 
   16455     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16456       lt_prog_compiler_wl_GCJ='-Wl,'
   16457       lt_prog_compiler_pic_GCJ='-KPIC'
   16458       lt_prog_compiler_static_GCJ='-Bstatic'
   16459       ;;
   16460 
   16461     unicos*)
   16462       lt_prog_compiler_wl_GCJ='-Wl,'
   16463       lt_prog_compiler_can_build_shared_GCJ=no
   16464       ;;
   16465 
   16466     uts4*)
   16467       lt_prog_compiler_pic_GCJ='-pic'
   16468       lt_prog_compiler_static_GCJ='-Bstatic'
   16469       ;;
   16470 
   16471     *)
   16472       lt_prog_compiler_can_build_shared_GCJ=no
   16473       ;;
   16474     esac
   16475   fi
   16476 
   16477 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   16478 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   16479 
   16480 #
   16481 # Check to make sure the PIC flag actually works.
   16482 #
   16483 if test -n "$lt_prog_compiler_pic_GCJ"; then
   16484 
   16485 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   16486 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   16487 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   16488   echo $ECHO_N "(cached) $ECHO_C" >&6
   16489 else
   16490   lt_prog_compiler_pic_works_GCJ=no
   16491   ac_outfile=conftest.$ac_objext
   16492    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16493    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   16494    # Insert the option either (1) after the last *FLAGS variable, or
   16495    # (2) before a word containing "conftest.", or (3) at the end.
   16496    # Note that $ac_compile itself does not contain backslashes and begins
   16497    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16498    # The option is referenced via a variable to avoid confusing sed.
   16499    lt_compile=`echo "$ac_compile" | $SED \
   16500    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16501    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16502    -e 's:$: $lt_compiler_flag:'`
   16503    (eval echo "\"\$as_me:16503: $lt_compile\"" >&5)
   16504    (eval "$lt_compile" 2>conftest.err)
   16505    ac_status=$?
   16506    cat conftest.err >&5
   16507    echo "$as_me:16507: \$? = $ac_status" >&5
   16508    if (exit $ac_status) && test -s "$ac_outfile"; then
   16509      # The compiler can only warn and ignore the option if not recognized
   16510      # So say no if there are warnings other than the usual output.
   16511      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16512      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16513      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16514        lt_prog_compiler_pic_works_GCJ=yes
   16515      fi
   16516    fi
   16517    $rm conftest*
   16518 
   16519 fi
   16520 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   16521 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   16522 
   16523 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   16524     case $lt_prog_compiler_pic_GCJ in
   16525      "" | " "*) ;;
   16526      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   16527      esac
   16528 else
   16529     lt_prog_compiler_pic_GCJ=
   16530      lt_prog_compiler_can_build_shared_GCJ=no
   16531 fi
   16532 
   16533 fi
   16534 case $host_os in
   16535   # For platforms which do not support PIC, -DPIC is meaningless:
   16536   *djgpp*)
   16537     lt_prog_compiler_pic_GCJ=
   16538     ;;
   16539   *)
   16540     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   16541     ;;
   16542 esac
   16543 
   16544 #
   16545 # Check to make sure the static flag actually works.
   16546 #
   16547 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   16548 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16549 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   16550 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   16551   echo $ECHO_N "(cached) $ECHO_C" >&6
   16552 else
   16553   lt_prog_compiler_static_works_GCJ=no
   16554    save_LDFLAGS="$LDFLAGS"
   16555    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16556    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   16557    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16558      # The linker can only warn and ignore the option if not recognized
   16559      # So say no if there are warnings
   16560      if test -s conftest.err; then
   16561        # Append any errors to the config.log.
   16562        cat conftest.err 1>&5
   16563        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   16564        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16565        if diff conftest.exp conftest.er2 >/dev/null; then
   16566          lt_prog_compiler_static_works_GCJ=yes
   16567        fi
   16568      else
   16569        lt_prog_compiler_static_works_GCJ=yes
   16570      fi
   16571    fi
   16572    $rm conftest*
   16573    LDFLAGS="$save_LDFLAGS"
   16574 
   16575 fi
   16576 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   16577 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   16578 
   16579 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   16580     :
   16581 else
   16582     lt_prog_compiler_static_GCJ=
   16583 fi
   16584 
   16585 
   16586 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   16587 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   16588 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   16589   echo $ECHO_N "(cached) $ECHO_C" >&6
   16590 else
   16591   lt_cv_prog_compiler_c_o_GCJ=no
   16592    $rm -r conftest 2>/dev/null
   16593    mkdir conftest
   16594    cd conftest
   16595    mkdir out
   16596    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16597 
   16598    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16599    # Insert the option either (1) after the last *FLAGS variable, or
   16600    # (2) before a word containing "conftest.", or (3) at the end.
   16601    # Note that $ac_compile itself does not contain backslashes and begins
   16602    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16603    lt_compile=`echo "$ac_compile" | $SED \
   16604    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16605    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16606    -e 's:$: $lt_compiler_flag:'`
   16607    (eval echo "\"\$as_me:16607: $lt_compile\"" >&5)
   16608    (eval "$lt_compile" 2>out/conftest.err)
   16609    ac_status=$?
   16610    cat out/conftest.err >&5
   16611    echo "$as_me:16611: \$? = $ac_status" >&5
   16612    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16613    then
   16614      # The compiler can only warn and ignore the option if not recognized
   16615      # So say no if there are warnings
   16616      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   16617      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16618      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16619        lt_cv_prog_compiler_c_o_GCJ=yes
   16620      fi
   16621    fi
   16622    chmod u+w . 2>&5
   16623    $rm conftest*
   16624    # SGI C++ compiler will create directory out/ii_files/ for
   16625    # template instantiation
   16626    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   16627    $rm out/* && rmdir out
   16628    cd ..
   16629    rmdir conftest
   16630    $rm conftest*
   16631 
   16632 fi
   16633 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   16634 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   16635 
   16636 
   16637 hard_links="nottested"
   16638 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   16639   # do not overwrite the value of need_locks provided by the user
   16640   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   16641 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   16642   hard_links=yes
   16643   $rm conftest*
   16644   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16645   touch conftest.a
   16646   ln conftest.a conftest.b 2>&5 || hard_links=no
   16647   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16648   { echo "$as_me:$LINENO: result: $hard_links" >&5
   16649 echo "${ECHO_T}$hard_links" >&6; }
   16650   if test "$hard_links" = no; then
   16651     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   16652 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   16653     need_locks=warn
   16654   fi
   16655 else
   16656   need_locks=no
   16657 fi
   16658 
   16659 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16660 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   16661 
   16662   runpath_var=
   16663   allow_undefined_flag_GCJ=
   16664   enable_shared_with_static_runtimes_GCJ=no
   16665   archive_cmds_GCJ=
   16666   archive_expsym_cmds_GCJ=
   16667   old_archive_From_new_cmds_GCJ=
   16668   old_archive_from_expsyms_cmds_GCJ=
   16669   export_dynamic_flag_spec_GCJ=
   16670   whole_archive_flag_spec_GCJ=
   16671   thread_safe_flag_spec_GCJ=
   16672   hardcode_libdir_flag_spec_GCJ=
   16673   hardcode_libdir_flag_spec_ld_GCJ=
   16674   hardcode_libdir_separator_GCJ=
   16675   hardcode_direct_GCJ=no
   16676   hardcode_minus_L_GCJ=no
   16677   hardcode_shlibpath_var_GCJ=unsupported
   16678   link_all_deplibs_GCJ=unknown
   16679   hardcode_automatic_GCJ=no
   16680   module_cmds_GCJ=
   16681   module_expsym_cmds_GCJ=
   16682   always_export_symbols_GCJ=no
   16683   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16684   # include_expsyms should be a list of space-separated symbols to be *always*
   16685   # included in the symbol list
   16686   include_expsyms_GCJ=
   16687   # exclude_expsyms can be an extended regexp of symbols to exclude
   16688   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   16689   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   16690   # as well as any symbol that contains `d'.
   16691   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   16692   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16693   # platforms (ab)use it in PIC code, but their linkers get confused if
   16694   # the symbol is explicitly referenced.  Since portable code cannot
   16695   # rely on this symbol name, it's probably fine to never include it in
   16696   # preloaded symbol tables.
   16697   extract_expsyms_cmds=
   16698   # Just being paranoid about ensuring that cc_basename is set.
   16699   for cc_temp in $compiler""; do
   16700   case $cc_temp in
   16701     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16702     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16703     \-*) ;;
   16704     *) break;;
   16705   esac
   16706 done
   16707 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16708 
   16709   case $host_os in
   16710   cygwin* | mingw* | pw32*)
   16711     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16712     # When not using gcc, we currently assume that we are using
   16713     # Microsoft Visual C++.
   16714     if test "$GCC" != yes; then
   16715       with_gnu_ld=no
   16716     fi
   16717     ;;
   16718   interix*)
   16719     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16720     with_gnu_ld=yes
   16721     ;;
   16722   openbsd*)
   16723     with_gnu_ld=no
   16724     ;;
   16725   esac
   16726 
   16727   ld_shlibs_GCJ=yes
   16728   if test "$with_gnu_ld" = yes; then
   16729     # If archive_cmds runs LD, not CC, wlarc should be empty
   16730     wlarc='${wl}'
   16731 
   16732     # Set some defaults for GNU ld with shared library support. These
   16733     # are reset later if shared libraries are not supported. Putting them
   16734     # here allows them to be overridden if necessary.
   16735     runpath_var=LD_RUN_PATH
   16736     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   16737     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   16738     # ancient GNU ld didn't support --whole-archive et. al.
   16739     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   16740 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   16741       else
   16742   	whole_archive_flag_spec_GCJ=
   16743     fi
   16744     supports_anon_versioning=no
   16745     case `$LD -v 2>/dev/null` in
   16746       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16747       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16748       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16749       *\ 2.11.*) ;; # other 2.11 versions
   16750       *) supports_anon_versioning=yes ;;
   16751     esac
   16752 
   16753     # See if GNU ld supports shared libraries.
   16754     case $host_os in
   16755     aix3* | aix4* | aix5*)
   16756       # On AIX/PPC, the GNU linker is very broken
   16757       if test "$host_cpu" != ia64; then
   16758 	ld_shlibs_GCJ=no
   16759 	cat <<EOF 1>&2
   16760 
   16761 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   16762 *** to be unable to reliably create shared libraries on AIX.
   16763 *** Therefore, libtool is disabling shared libraries support.  If you
   16764 *** really care for shared libraries, you may want to modify your PATH
   16765 *** so that a non-GNU linker is found, and then restart.
   16766 
   16767 EOF
   16768       fi
   16769       ;;
   16770 
   16771     amigaos*)
   16772       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)'
   16773       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16774       hardcode_minus_L_GCJ=yes
   16775 
   16776       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   16777       # that the semantics of dynamic libraries on AmigaOS, at least up
   16778       # to version 4, is to share data among multiple programs linked
   16779       # with the same dynamic library.  Since this doesn't match the
   16780       # behavior of shared libraries on other platforms, we can't use
   16781       # them.
   16782       ld_shlibs_GCJ=no
   16783       ;;
   16784 
   16785     beos*)
   16786       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16787 	allow_undefined_flag_GCJ=unsupported
   16788 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16789 	# support --undefined.  This deserves some investigation.  FIXME
   16790 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16791       else
   16792 	ld_shlibs_GCJ=no
   16793       fi
   16794       ;;
   16795 
   16796     cygwin* | mingw* | pw32*)
   16797       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   16798       # as there is no search path for DLLs.
   16799       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16800       allow_undefined_flag_GCJ=unsupported
   16801       always_export_symbols_GCJ=no
   16802       enable_shared_with_static_runtimes_GCJ=yes
   16803       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   16804 
   16805       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   16806         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16807 	# If the export-symbols file already is a .def file (1st line
   16808 	# is EXPORTS), use it as is; otherwise, prepend...
   16809 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   16810 	  cp $export_symbols $output_objdir/$soname.def;
   16811 	else
   16812 	  echo EXPORTS > $output_objdir/$soname.def;
   16813 	  cat $export_symbols >> $output_objdir/$soname.def;
   16814 	fi~
   16815 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16816       else
   16817 	ld_shlibs_GCJ=no
   16818       fi
   16819       ;;
   16820 
   16821     interix3*)
   16822       hardcode_direct_GCJ=no
   16823       hardcode_shlibpath_var_GCJ=no
   16824       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16825       export_dynamic_flag_spec_GCJ='${wl}-E'
   16826       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16827       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16828       # default) and relocated if they conflict, which is a slow very memory
   16829       # consuming and fragmenting process.  To avoid this, we pick a random,
   16830       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16831       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16832       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'
   16833       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'
   16834       ;;
   16835 
   16836     linux*)
   16837       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16838 	tmp_addflag=
   16839 	case $cc_basename,$host_cpu in
   16840 	pgcc*)				# Portland Group C compiler
   16841 	  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'
   16842 	  tmp_addflag=' $pic_flag'
   16843 	  ;;
   16844 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   16845 	  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'
   16846 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16847 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   16848 	  tmp_addflag=' -i_dynamic' ;;
   16849 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16850 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16851 	ifc* | ifort*)			# Intel Fortran compiler
   16852 	  tmp_addflag=' -nofor_main' ;;
   16853 	esac
   16854 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16855 
   16856 	if test $supports_anon_versioning = yes; then
   16857 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   16858   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16859   $echo "local: *; };" >> $output_objdir/$libname.ver~
   16860 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   16861 	fi
   16862       else
   16863 	ld_shlibs_GCJ=no
   16864       fi
   16865       ;;
   16866 
   16867     netbsd*)
   16868       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16869 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16870 	wlarc=
   16871       else
   16872 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16873 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16874       fi
   16875       ;;
   16876 
   16877     solaris*)
   16878       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   16879 	ld_shlibs_GCJ=no
   16880 	cat <<EOF 1>&2
   16881 
   16882 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16883 *** create shared libraries on Solaris systems.  Therefore, libtool
   16884 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16885 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16886 *** your PATH or compiler configuration so that the native linker is
   16887 *** used, and then restart.
   16888 
   16889 EOF
   16890       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16891 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16892 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16893       else
   16894 	ld_shlibs_GCJ=no
   16895       fi
   16896       ;;
   16897 
   16898     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16899       case `$LD -v 2>&1` in
   16900         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16901 	ld_shlibs_GCJ=no
   16902 	cat <<_LT_EOF 1>&2
   16903 
   16904 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   16905 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16906 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16907 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16908 *** your PATH or compiler configuration so that the native linker is
   16909 *** used, and then restart.
   16910 
   16911 _LT_EOF
   16912 	;;
   16913 	*)
   16914 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16915 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   16916 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   16917 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   16918 	  else
   16919 	    ld_shlibs_GCJ=no
   16920 	  fi
   16921 	;;
   16922       esac
   16923       ;;
   16924 
   16925     sunos4*)
   16926       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16927       wlarc=
   16928       hardcode_direct_GCJ=yes
   16929       hardcode_shlibpath_var_GCJ=no
   16930       ;;
   16931 
   16932     *)
   16933       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16934 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16935 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16936       else
   16937 	ld_shlibs_GCJ=no
   16938       fi
   16939       ;;
   16940     esac
   16941 
   16942     if test "$ld_shlibs_GCJ" = no; then
   16943       runpath_var=
   16944       hardcode_libdir_flag_spec_GCJ=
   16945       export_dynamic_flag_spec_GCJ=
   16946       whole_archive_flag_spec_GCJ=
   16947     fi
   16948   else
   16949     # PORTME fill in a description of your system's linker (not GNU ld)
   16950     case $host_os in
   16951     aix3*)
   16952       allow_undefined_flag_GCJ=unsupported
   16953       always_export_symbols_GCJ=yes
   16954       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'
   16955       # Note: this linker hardcodes the directories in LIBPATH if there
   16956       # are no directories specified by -L.
   16957       hardcode_minus_L_GCJ=yes
   16958       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   16959 	# Neither direct hardcoding nor static linking is supported with a
   16960 	# broken collect2.
   16961 	hardcode_direct_GCJ=unsupported
   16962       fi
   16963       ;;
   16964 
   16965     aix4* | aix5*)
   16966       if test "$host_cpu" = ia64; then
   16967 	# On IA64, the linker does run time linking by default, so we don't
   16968 	# have to do anything special.
   16969 	aix_use_runtimelinking=no
   16970 	exp_sym_flag='-Bexport'
   16971 	no_entry_flag=""
   16972       else
   16973 	# If we're using GNU nm, then we don't want the "-C" option.
   16974 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   16975 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   16976 	  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'
   16977 	else
   16978 	  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'
   16979 	fi
   16980 	aix_use_runtimelinking=no
   16981 
   16982 	# Test if we are trying to use run time linking or normal
   16983 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16984 	# need to do runtime linking.
   16985 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   16986 	  for ld_flag in $LDFLAGS; do
   16987   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   16988   	    aix_use_runtimelinking=yes
   16989   	    break
   16990   	  fi
   16991 	  done
   16992 	  ;;
   16993 	esac
   16994 
   16995 	exp_sym_flag='-bexport'
   16996 	no_entry_flag='-bnoentry'
   16997       fi
   16998 
   16999       # When large executables or shared objects are built, AIX ld can
   17000       # have problems creating the table of contents.  If linking a library
   17001       # or program results in "error TOC overflow" add -mminimal-toc to
   17002       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17003       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17004 
   17005       archive_cmds_GCJ=''
   17006       hardcode_direct_GCJ=yes
   17007       hardcode_libdir_separator_GCJ=':'
   17008       link_all_deplibs_GCJ=yes
   17009 
   17010       if test "$GCC" = yes; then
   17011 	case $host_os in aix4.[012]|aix4.[012].*)
   17012 	# We only want to do this on AIX 4.2 and lower, the check
   17013 	# below for broken collect2 doesn't work under 4.3+
   17014 	  collect2name=`${CC} -print-prog-name=collect2`
   17015 	  if test -f "$collect2name" && \
   17016   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17017 	  then
   17018   	  # We have reworked collect2
   17019   	  hardcode_direct_GCJ=yes
   17020 	  else
   17021   	  # We have old collect2
   17022   	  hardcode_direct_GCJ=unsupported
   17023   	  # It fails to find uninstalled libraries when the uninstalled
   17024   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17025   	  # to unsupported forces relinking
   17026   	  hardcode_minus_L_GCJ=yes
   17027   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17028   	  hardcode_libdir_separator_GCJ=
   17029 	  fi
   17030 	  ;;
   17031 	esac
   17032 	shared_flag='-shared'
   17033 	if test "$aix_use_runtimelinking" = yes; then
   17034 	  shared_flag="$shared_flag "'${wl}-G'
   17035 	fi
   17036       else
   17037 	# not using gcc
   17038 	if test "$host_cpu" = ia64; then
   17039   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17040   	# chokes on -Wl,-G. The following line is correct:
   17041 	  shared_flag='-G'
   17042 	else
   17043 	  if test "$aix_use_runtimelinking" = yes; then
   17044 	    shared_flag='${wl}-G'
   17045 	  else
   17046 	    shared_flag='${wl}-bM:SRE'
   17047 	  fi
   17048 	fi
   17049       fi
   17050 
   17051       # It seems that -bexpall does not export symbols beginning with
   17052       # underscore (_), so it is better to generate a list of symbols to export.
   17053       always_export_symbols_GCJ=yes
   17054       if test "$aix_use_runtimelinking" = yes; then
   17055 	# Warning - without using the other runtime loading flags (-brtl),
   17056 	# -berok will link without error, but may produce a broken library.
   17057 	allow_undefined_flag_GCJ='-berok'
   17058        # Determine the default libpath from the value encoded in an empty executable.
   17059        cat >conftest.$ac_ext <<_ACEOF
   17060 /* confdefs.h.  */
   17061 _ACEOF
   17062 cat confdefs.h >>conftest.$ac_ext
   17063 cat >>conftest.$ac_ext <<_ACEOF
   17064 /* end confdefs.h.  */
   17065 
   17066 int
   17067 main ()
   17068 {
   17069 
   17070   ;
   17071   return 0;
   17072 }
   17073 _ACEOF
   17074 rm -f conftest.$ac_objext conftest$ac_exeext
   17075 if { (ac_try="$ac_link"
   17076 case "(($ac_try" in
   17077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17078   *) ac_try_echo=$ac_try;;
   17079 esac
   17080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17081   (eval "$ac_link") 2>conftest.er1
   17082   ac_status=$?
   17083   grep -v '^ *+' conftest.er1 >conftest.err
   17084   rm -f conftest.er1
   17085   cat conftest.err >&5
   17086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17087   (exit $ac_status); } && {
   17088 	 test -z "$ac_c_werror_flag" ||
   17089 	 test ! -s conftest.err
   17090        } && test -s conftest$ac_exeext &&
   17091        $as_test_x conftest$ac_exeext; then
   17092 
   17093 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17094 }'`
   17095 # Check for a 64-bit object if we didn't find anything.
   17096 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; }
   17097 }'`; fi
   17098 else
   17099   echo "$as_me: failed program was:" >&5
   17100 sed 's/^/| /' conftest.$ac_ext >&5
   17101 
   17102 
   17103 fi
   17104 
   17105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17106       conftest$ac_exeext conftest.$ac_ext
   17107 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17108 
   17109        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17110 	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"
   17111        else
   17112 	if test "$host_cpu" = ia64; then
   17113 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17114 	  allow_undefined_flag_GCJ="-z nodefs"
   17115 	  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"
   17116 	else
   17117 	 # Determine the default libpath from the value encoded in an empty executable.
   17118 	 cat >conftest.$ac_ext <<_ACEOF
   17119 /* confdefs.h.  */
   17120 _ACEOF
   17121 cat confdefs.h >>conftest.$ac_ext
   17122 cat >>conftest.$ac_ext <<_ACEOF
   17123 /* end confdefs.h.  */
   17124 
   17125 int
   17126 main ()
   17127 {
   17128 
   17129   ;
   17130   return 0;
   17131 }
   17132 _ACEOF
   17133 rm -f conftest.$ac_objext conftest$ac_exeext
   17134 if { (ac_try="$ac_link"
   17135 case "(($ac_try" in
   17136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17137   *) ac_try_echo=$ac_try;;
   17138 esac
   17139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17140   (eval "$ac_link") 2>conftest.er1
   17141   ac_status=$?
   17142   grep -v '^ *+' conftest.er1 >conftest.err
   17143   rm -f conftest.er1
   17144   cat conftest.err >&5
   17145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17146   (exit $ac_status); } && {
   17147 	 test -z "$ac_c_werror_flag" ||
   17148 	 test ! -s conftest.err
   17149        } && test -s conftest$ac_exeext &&
   17150        $as_test_x conftest$ac_exeext; then
   17151 
   17152 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17153 }'`
   17154 # Check for a 64-bit object if we didn't find anything.
   17155 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; }
   17156 }'`; fi
   17157 else
   17158   echo "$as_me: failed program was:" >&5
   17159 sed 's/^/| /' conftest.$ac_ext >&5
   17160 
   17161 
   17162 fi
   17163 
   17164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17165       conftest$ac_exeext conftest.$ac_ext
   17166 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17167 
   17168 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17169 	  # Warning - without using the other run time loading flags,
   17170 	  # -berok will link without error, but may produce a broken library.
   17171 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17172 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17173 	  # Exported symbols can be pulled into shared objects from archives
   17174 	  whole_archive_flag_spec_GCJ='$convenience'
   17175 	  archive_cmds_need_lc_GCJ=yes
   17176 	  # This is similar to how AIX traditionally builds its shared libraries.
   17177 	  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'
   17178 	fi
   17179       fi
   17180       ;;
   17181 
   17182     amigaos*)
   17183       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)'
   17184       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17185       hardcode_minus_L_GCJ=yes
   17186       # see comment about different semantics on the GNU ld section
   17187       ld_shlibs_GCJ=no
   17188       ;;
   17189 
   17190     bsdi[45]*)
   17191       export_dynamic_flag_spec_GCJ=-rdynamic
   17192       ;;
   17193 
   17194     cygwin* | mingw* | pw32*)
   17195       # When not using gcc, we currently assume that we are using
   17196       # Microsoft Visual C++.
   17197       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17198       # no search path for DLLs.
   17199       hardcode_libdir_flag_spec_GCJ=' '
   17200       allow_undefined_flag_GCJ=unsupported
   17201       # Tell ltmain to make .lib files, not .a files.
   17202       libext=lib
   17203       # Tell ltmain to make .dll files, not .so files.
   17204       shrext_cmds=".dll"
   17205       # FIXME: Setting linknames here is a bad hack.
   17206       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17207       # The linker will automatically build a .lib file if we build a DLL.
   17208       old_archive_From_new_cmds_GCJ='true'
   17209       # FIXME: Should let the user specify the lib program.
   17210       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   17211       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17212       enable_shared_with_static_runtimes_GCJ=yes
   17213       ;;
   17214 
   17215     darwin* | rhapsody*)
   17216       case $host_os in
   17217         rhapsody* | darwin1.[012])
   17218          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17219          ;;
   17220        *) # Darwin 1.3 on
   17221          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17222            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17223          else
   17224            case ${MACOSX_DEPLOYMENT_TARGET} in
   17225              10.[012])
   17226                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17227                ;;
   17228              10.*)
   17229                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17230                ;;
   17231            esac
   17232          fi
   17233          ;;
   17234       esac
   17235       archive_cmds_need_lc_GCJ=no
   17236       hardcode_direct_GCJ=no
   17237       hardcode_automatic_GCJ=yes
   17238       hardcode_shlibpath_var_GCJ=unsupported
   17239       whole_archive_flag_spec_GCJ=''
   17240       link_all_deplibs_GCJ=yes
   17241     if test "$GCC" = yes ; then
   17242     	output_verbose_link_cmd='echo'
   17243         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17244       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17245       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17246       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}'
   17247       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}'
   17248     else
   17249       case $cc_basename in
   17250         xlc*)
   17251          output_verbose_link_cmd='echo'
   17252          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   17253          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17254           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17255          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}'
   17256           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}'
   17257           ;;
   17258        *)
   17259          ld_shlibs_GCJ=no
   17260           ;;
   17261       esac
   17262     fi
   17263       ;;
   17264 
   17265     dgux*)
   17266       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17267       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17268       hardcode_shlibpath_var_GCJ=no
   17269       ;;
   17270 
   17271     freebsd1*)
   17272       ld_shlibs_GCJ=no
   17273       ;;
   17274 
   17275     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17276     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17277     # does not break anything, and helps significantly (at the cost of a little
   17278     # extra space).
   17279     freebsd2.2*)
   17280       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17281       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17282       hardcode_direct_GCJ=yes
   17283       hardcode_shlibpath_var_GCJ=no
   17284       ;;
   17285 
   17286     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17287     freebsd2*)
   17288       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17289       hardcode_direct_GCJ=yes
   17290       hardcode_minus_L_GCJ=yes
   17291       hardcode_shlibpath_var_GCJ=no
   17292       ;;
   17293 
   17294     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17295     freebsd* | kfreebsd*-gnu | dragonfly*)
   17296       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17297       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17298       hardcode_direct_GCJ=yes
   17299       hardcode_shlibpath_var_GCJ=no
   17300       ;;
   17301 
   17302     hpux9*)
   17303       if test "$GCC" = yes; then
   17304 	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'
   17305       else
   17306 	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'
   17307       fi
   17308       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17309       hardcode_libdir_separator_GCJ=:
   17310       hardcode_direct_GCJ=yes
   17311 
   17312       # hardcode_minus_L: Not really in the search PATH,
   17313       # but as the default location of the library.
   17314       hardcode_minus_L_GCJ=yes
   17315       export_dynamic_flag_spec_GCJ='${wl}-E'
   17316       ;;
   17317 
   17318     hpux10*)
   17319       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17320 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17321       else
   17322 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17323       fi
   17324       if test "$with_gnu_ld" = no; then
   17325 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17326 	hardcode_libdir_separator_GCJ=:
   17327 
   17328 	hardcode_direct_GCJ=yes
   17329 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17330 
   17331 	# hardcode_minus_L: Not really in the search PATH,
   17332 	# but as the default location of the library.
   17333 	hardcode_minus_L_GCJ=yes
   17334       fi
   17335       ;;
   17336 
   17337     hpux11*)
   17338       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17339 	case $host_cpu in
   17340 	hppa*64*)
   17341 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17342 	  ;;
   17343 	ia64*)
   17344 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17345 	  ;;
   17346 	*)
   17347 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17348 	  ;;
   17349 	esac
   17350       else
   17351 	case $host_cpu in
   17352 	hppa*64*)
   17353 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17354 	  ;;
   17355 	ia64*)
   17356 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17357 	  ;;
   17358 	*)
   17359 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17360 	  ;;
   17361 	esac
   17362       fi
   17363       if test "$with_gnu_ld" = no; then
   17364 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17365 	hardcode_libdir_separator_GCJ=:
   17366 
   17367 	case $host_cpu in
   17368 	hppa*64*|ia64*)
   17369 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17370 	  hardcode_direct_GCJ=no
   17371 	  hardcode_shlibpath_var_GCJ=no
   17372 	  ;;
   17373 	*)
   17374 	  hardcode_direct_GCJ=yes
   17375 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17376 
   17377 	  # hardcode_minus_L: Not really in the search PATH,
   17378 	  # but as the default location of the library.
   17379 	  hardcode_minus_L_GCJ=yes
   17380 	  ;;
   17381 	esac
   17382       fi
   17383       ;;
   17384 
   17385     irix5* | irix6* | nonstopux*)
   17386       if test "$GCC" = yes; then
   17387 	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'
   17388       else
   17389 	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'
   17390 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17391       fi
   17392       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17393       hardcode_libdir_separator_GCJ=:
   17394       link_all_deplibs_GCJ=yes
   17395       ;;
   17396 
   17397     netbsd*)
   17398       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17399 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17400       else
   17401 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17402       fi
   17403       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17404       hardcode_direct_GCJ=yes
   17405       hardcode_shlibpath_var_GCJ=no
   17406       ;;
   17407 
   17408     newsos6)
   17409       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17410       hardcode_direct_GCJ=yes
   17411       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17412       hardcode_libdir_separator_GCJ=:
   17413       hardcode_shlibpath_var_GCJ=no
   17414       ;;
   17415 
   17416     openbsd*)
   17417       hardcode_direct_GCJ=yes
   17418       hardcode_shlibpath_var_GCJ=no
   17419       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17420 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17421 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   17422 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17423 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17424       else
   17425        case $host_os in
   17426 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   17427 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17428 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17429 	   ;;
   17430 	 *)
   17431 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17432 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17433 	   ;;
   17434        esac
   17435       fi
   17436       ;;
   17437 
   17438     os2*)
   17439       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17440       hardcode_minus_L_GCJ=yes
   17441       allow_undefined_flag_GCJ=unsupported
   17442       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'
   17443       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   17444       ;;
   17445 
   17446     osf3*)
   17447       if test "$GCC" = yes; then
   17448 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17449 	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'
   17450       else
   17451 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17452 	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'
   17453       fi
   17454       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17455       hardcode_libdir_separator_GCJ=:
   17456       ;;
   17457 
   17458     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17459       if test "$GCC" = yes; then
   17460 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17461 	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'
   17462 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17463       else
   17464 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17465 	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'
   17466 	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~
   17467 	$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'
   17468 
   17469 	# Both c and cxx compiler support -rpath directly
   17470 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   17471       fi
   17472       hardcode_libdir_separator_GCJ=:
   17473       ;;
   17474 
   17475     solaris*)
   17476       no_undefined_flag_GCJ=' -z text'
   17477       if test "$GCC" = yes; then
   17478 	wlarc='${wl}'
   17479 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17480 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17481 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   17482       else
   17483 	wlarc=''
   17484 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17485 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17486   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   17487       fi
   17488       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17489       hardcode_shlibpath_var_GCJ=no
   17490       case $host_os in
   17491       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17492       *)
   17493  	# The compiler driver will combine linker options so we
   17494  	# cannot just pass the convience library names through
   17495  	# without $wl, iff we do not link with $LD.
   17496  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   17497  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17498  	case $wlarc in
   17499  	'')
   17500  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   17501  	*)
   17502  	  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' ;;
   17503  	esac ;;
   17504       esac
   17505       link_all_deplibs_GCJ=yes
   17506       ;;
   17507 
   17508     sunos4*)
   17509       if test "x$host_vendor" = xsequent; then
   17510 	# Use $CC to link under sequent, because it throws in some extra .o
   17511 	# files that make .init and .fini sections work.
   17512 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17513       else
   17514 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17515       fi
   17516       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17517       hardcode_direct_GCJ=yes
   17518       hardcode_minus_L_GCJ=yes
   17519       hardcode_shlibpath_var_GCJ=no
   17520       ;;
   17521 
   17522     sysv4)
   17523       case $host_vendor in
   17524 	sni)
   17525 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17526 	  hardcode_direct_GCJ=yes # is this really true???
   17527 	;;
   17528 	siemens)
   17529 	  ## LD is ld it makes a PLAMLIB
   17530 	  ## CC just makes a GrossModule.
   17531 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17532 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   17533 	  hardcode_direct_GCJ=no
   17534         ;;
   17535 	motorola)
   17536 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17537 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   17538 	;;
   17539       esac
   17540       runpath_var='LD_RUN_PATH'
   17541       hardcode_shlibpath_var_GCJ=no
   17542       ;;
   17543 
   17544     sysv4.3*)
   17545       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17546       hardcode_shlibpath_var_GCJ=no
   17547       export_dynamic_flag_spec_GCJ='-Bexport'
   17548       ;;
   17549 
   17550     sysv4*MP*)
   17551       if test -d /usr/nec; then
   17552 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17553 	hardcode_shlibpath_var_GCJ=no
   17554 	runpath_var=LD_RUN_PATH
   17555 	hardcode_runpath_var=yes
   17556 	ld_shlibs_GCJ=yes
   17557       fi
   17558       ;;
   17559 
   17560     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   17561       no_undefined_flag_GCJ='${wl}-z,text'
   17562       archive_cmds_need_lc_GCJ=no
   17563       hardcode_shlibpath_var_GCJ=no
   17564       runpath_var='LD_RUN_PATH'
   17565 
   17566       if test "$GCC" = yes; then
   17567 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17568 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17569       else
   17570 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17571 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17572       fi
   17573       ;;
   17574 
   17575     sysv5* | sco3.2v5* | sco5v6*)
   17576       # Note: We can NOT use -z defs as we might desire, because we do not
   17577       # link with -lc, and that would cause any symbols used from libc to
   17578       # always be unresolved, which means just about no library would
   17579       # ever link correctly.  If we're not using GNU ld we use -z text
   17580       # though, which does catch some bad symbols but isn't as heavy-handed
   17581       # as -z defs.
   17582       no_undefined_flag_GCJ='${wl}-z,text'
   17583       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   17584       archive_cmds_need_lc_GCJ=no
   17585       hardcode_shlibpath_var_GCJ=no
   17586       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   17587       hardcode_libdir_separator_GCJ=':'
   17588       link_all_deplibs_GCJ=yes
   17589       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   17590       runpath_var='LD_RUN_PATH'
   17591 
   17592       if test "$GCC" = yes; then
   17593 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17594 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17595       else
   17596 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17597 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17598       fi
   17599       ;;
   17600 
   17601     uts4*)
   17602       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17603       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17604       hardcode_shlibpath_var_GCJ=no
   17605       ;;
   17606 
   17607     *)
   17608       ld_shlibs_GCJ=no
   17609       ;;
   17610     esac
   17611   fi
   17612 
   17613 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   17614 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   17615 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   17616 
   17617 #
   17618 # Do we need to explicitly link libc?
   17619 #
   17620 case "x$archive_cmds_need_lc_GCJ" in
   17621 x|xyes)
   17622   # Assume -lc should be added
   17623   archive_cmds_need_lc_GCJ=yes
   17624 
   17625   if test "$enable_shared" = yes && test "$GCC" = yes; then
   17626     case $archive_cmds_GCJ in
   17627     *'~'*)
   17628       # FIXME: we may have to deal with multi-command sequences.
   17629       ;;
   17630     '$CC '*)
   17631       # Test whether the compiler implicitly links with -lc since on some
   17632       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17633       # to ld, don't add -lc before -lgcc.
   17634       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   17635 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   17636       $rm conftest*
   17637       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17638 
   17639       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17640   (eval $ac_compile) 2>&5
   17641   ac_status=$?
   17642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17643   (exit $ac_status); } 2>conftest.err; then
   17644         soname=conftest
   17645         lib=conftest
   17646         libobjs=conftest.$ac_objext
   17647         deplibs=
   17648         wl=$lt_prog_compiler_wl_GCJ
   17649 	pic_flag=$lt_prog_compiler_pic_GCJ
   17650         compiler_flags=-v
   17651         linker_flags=-v
   17652         verstring=
   17653         output_objdir=.
   17654         libname=conftest
   17655         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   17656         allow_undefined_flag_GCJ=
   17657         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   17658   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17659   ac_status=$?
   17660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17661   (exit $ac_status); }
   17662         then
   17663 	  archive_cmds_need_lc_GCJ=no
   17664         else
   17665 	  archive_cmds_need_lc_GCJ=yes
   17666         fi
   17667         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   17668       else
   17669         cat conftest.err 1>&5
   17670       fi
   17671       $rm conftest*
   17672       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   17673 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   17674       ;;
   17675     esac
   17676   fi
   17677   ;;
   17678 esac
   17679 
   17680 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   17681 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   17682 library_names_spec=
   17683 libname_spec='lib$name'
   17684 soname_spec=
   17685 shrext_cmds=".so"
   17686 postinstall_cmds=
   17687 postuninstall_cmds=
   17688 finish_cmds=
   17689 finish_eval=
   17690 shlibpath_var=
   17691 shlibpath_overrides_runpath=unknown
   17692 version_type=none
   17693 dynamic_linker="$host_os ld.so"
   17694 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17695 if test "$GCC" = yes; then
   17696   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17697   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   17698     # if the path contains ";" then we assume it to be the separator
   17699     # otherwise default to the standard path separator (i.e. ":") - it is
   17700     # assumed that no part of a normal pathname contains ";" but that should
   17701     # okay in the real world where ";" in dirpaths is itself problematic.
   17702     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17703   else
   17704     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17705   fi
   17706 else
   17707   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17708 fi
   17709 need_lib_prefix=unknown
   17710 hardcode_into_libs=no
   17711 
   17712 # when you set need_version to no, make sure it does not cause -set_version
   17713 # flags to be left without arguments
   17714 need_version=unknown
   17715 
   17716 case $host_os in
   17717 aix3*)
   17718   version_type=linux
   17719   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   17720   shlibpath_var=LIBPATH
   17721 
   17722   # AIX 3 has no versioning support, so we append a major version to the name.
   17723   soname_spec='${libname}${release}${shared_ext}$major'
   17724   ;;
   17725 
   17726 aix4* | aix5*)
   17727   version_type=linux
   17728   need_lib_prefix=no
   17729   need_version=no
   17730   hardcode_into_libs=yes
   17731   if test "$host_cpu" = ia64; then
   17732     # AIX 5 supports IA64
   17733     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   17734     shlibpath_var=LD_LIBRARY_PATH
   17735   else
   17736     # With GCC up to 2.95.x, collect2 would create an import file
   17737     # for dependence libraries.  The import file would start with
   17738     # the line `#! .'.  This would cause the generated library to
   17739     # depend on `.', always an invalid library.  This was fixed in
   17740     # development snapshots of GCC prior to 3.0.
   17741     case $host_os in
   17742       aix4 | aix4.[01] | aix4.[01].*)
   17743       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17744 	   echo ' yes '
   17745 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   17746 	:
   17747       else
   17748 	can_build_shared=no
   17749       fi
   17750       ;;
   17751     esac
   17752     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   17753     # soname into executable. Probably we can add versioning support to
   17754     # collect2, so additional links can be useful in future.
   17755     if test "$aix_use_runtimelinking" = yes; then
   17756       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17757       # instead of lib<name>.a to let people know that these are not
   17758       # typical AIX shared libraries.
   17759       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17760     else
   17761       # We preserve .a as extension for shared libraries through AIX4.2
   17762       # and later when we are not doing run time linking.
   17763       library_names_spec='${libname}${release}.a $libname.a'
   17764       soname_spec='${libname}${release}${shared_ext}$major'
   17765     fi
   17766     shlibpath_var=LIBPATH
   17767   fi
   17768   ;;
   17769 
   17770 amigaos*)
   17771   library_names_spec='$libname.ixlibrary $libname.a'
   17772   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17773   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'
   17774   ;;
   17775 
   17776 beos*)
   17777   library_names_spec='${libname}${shared_ext}'
   17778   dynamic_linker="$host_os ld.so"
   17779   shlibpath_var=LIBRARY_PATH
   17780   ;;
   17781 
   17782 bsdi[45]*)
   17783   version_type=linux
   17784   need_version=no
   17785   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17786   soname_spec='${libname}${release}${shared_ext}$major'
   17787   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17788   shlibpath_var=LD_LIBRARY_PATH
   17789   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17790   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17791   # the default ld.so.conf also contains /usr/contrib/lib and
   17792   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17793   # libtool to hard-code these into programs
   17794   ;;
   17795 
   17796 cygwin* | mingw* | pw32*)
   17797   version_type=windows
   17798   shrext_cmds=".dll"
   17799   need_version=no
   17800   need_lib_prefix=no
   17801 
   17802   case $GCC,$host_os in
   17803   yes,cygwin* | yes,mingw* | yes,pw32*)
   17804     library_names_spec='$libname.dll.a'
   17805     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17806     postinstall_cmds='base_file=`basename \${file}`~
   17807       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   17808       dldir=$destdir/`dirname \$dlpath`~
   17809       test -d \$dldir || mkdir -p \$dldir~
   17810       $install_prog $dir/$dlname \$dldir/$dlname~
   17811       chmod a+x \$dldir/$dlname'
   17812     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17813       dlpath=$dir/\$dldll~
   17814        $rm \$dlpath'
   17815     shlibpath_overrides_runpath=yes
   17816 
   17817     case $host_os in
   17818     cygwin*)
   17819       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17820       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17821       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   17822       ;;
   17823     mingw*)
   17824       # MinGW DLLs use traditional 'lib' prefix
   17825       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17826       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17827       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   17828         # It is most probably a Windows format PATH printed by
   17829         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   17830         # path with ; separators, and with drive letters. We can handle the
   17831         # drive letters (cygwin fileutils understands them), so leave them,
   17832         # especially as we might pass files found there to a mingw objdump,
   17833         # which wouldn't understand a cygwinified path. Ahh.
   17834         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17835       else
   17836         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17837       fi
   17838       ;;
   17839     pw32*)
   17840       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17841       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17842       ;;
   17843     esac
   17844     ;;
   17845 
   17846   *)
   17847     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   17848     ;;
   17849   esac
   17850   dynamic_linker='Win32 ld.exe'
   17851   # FIXME: first we should search . and the directory the executable is in
   17852   shlibpath_var=PATH
   17853   ;;
   17854 
   17855 darwin* | rhapsody*)
   17856   dynamic_linker="$host_os dyld"
   17857   version_type=darwin
   17858   need_lib_prefix=no
   17859   need_version=no
   17860   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   17861   soname_spec='${libname}${release}${major}$shared_ext'
   17862   shlibpath_overrides_runpath=yes
   17863   shlibpath_var=DYLD_LIBRARY_PATH
   17864   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17865   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   17866   if test "$GCC" = yes; then
   17867     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"`
   17868   else
   17869     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   17870   fi
   17871   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17872   ;;
   17873 
   17874 dgux*)
   17875   version_type=linux
   17876   need_lib_prefix=no
   17877   need_version=no
   17878   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   17879   soname_spec='${libname}${release}${shared_ext}$major'
   17880   shlibpath_var=LD_LIBRARY_PATH
   17881   ;;
   17882 
   17883 freebsd1*)
   17884   dynamic_linker=no
   17885   ;;
   17886 
   17887 kfreebsd*-gnu)
   17888   version_type=linux
   17889   need_lib_prefix=no
   17890   need_version=no
   17891   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17892   soname_spec='${libname}${release}${shared_ext}$major'
   17893   shlibpath_var=LD_LIBRARY_PATH
   17894   shlibpath_overrides_runpath=no
   17895   hardcode_into_libs=yes
   17896   dynamic_linker='GNU ld.so'
   17897   ;;
   17898 
   17899 freebsd* | dragonfly*)
   17900   # DragonFly does not have aout.  When/if they implement a new
   17901   # versioning mechanism, adjust this.
   17902   if test -x /usr/bin/objformat; then
   17903     objformat=`/usr/bin/objformat`
   17904   else
   17905     case $host_os in
   17906     freebsd[123]*) objformat=aout ;;
   17907     *) objformat=elf ;;
   17908     esac
   17909   fi
   17910   version_type=freebsd-$objformat
   17911   case $version_type in
   17912     freebsd-elf*)
   17913       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   17914       need_version=no
   17915       need_lib_prefix=no
   17916       ;;
   17917     freebsd-*)
   17918       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   17919       need_version=yes
   17920       ;;
   17921   esac
   17922   shlibpath_var=LD_LIBRARY_PATH
   17923   case $host_os in
   17924   freebsd2*)
   17925     shlibpath_overrides_runpath=yes
   17926     ;;
   17927   freebsd3.[01]* | freebsdelf3.[01]*)
   17928     shlibpath_overrides_runpath=yes
   17929     hardcode_into_libs=yes
   17930     ;;
   17931   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17932   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17933     shlibpath_overrides_runpath=no
   17934     hardcode_into_libs=yes
   17935     ;;
   17936   freebsd*) # from 4.6 on
   17937     shlibpath_overrides_runpath=yes
   17938     hardcode_into_libs=yes
   17939     ;;
   17940   esac
   17941   ;;
   17942 
   17943 gnu*)
   17944   version_type=linux
   17945   need_lib_prefix=no
   17946   need_version=no
   17947   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   17948   soname_spec='${libname}${release}${shared_ext}$major'
   17949   shlibpath_var=LD_LIBRARY_PATH
   17950   hardcode_into_libs=yes
   17951   ;;
   17952 
   17953 hpux9* | hpux10* | hpux11*)
   17954   # Give a soname corresponding to the major version so that dld.sl refuses to
   17955   # link against other versions.
   17956   version_type=sunos
   17957   need_lib_prefix=no
   17958   need_version=no
   17959   case $host_cpu in
   17960   ia64*)
   17961     shrext_cmds='.so'
   17962     hardcode_into_libs=yes
   17963     dynamic_linker="$host_os dld.so"
   17964     shlibpath_var=LD_LIBRARY_PATH
   17965     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17966     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17967     soname_spec='${libname}${release}${shared_ext}$major'
   17968     if test "X$HPUX_IA64_MODE" = X32; then
   17969       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17970     else
   17971       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17972     fi
   17973     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17974     ;;
   17975    hppa*64*)
   17976      shrext_cmds='.sl'
   17977      hardcode_into_libs=yes
   17978      dynamic_linker="$host_os dld.sl"
   17979      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17980      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17981      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17982      soname_spec='${libname}${release}${shared_ext}$major'
   17983      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17984      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17985      ;;
   17986    *)
   17987     shrext_cmds='.sl'
   17988     dynamic_linker="$host_os dld.sl"
   17989     shlibpath_var=SHLIB_PATH
   17990     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17991     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17992     soname_spec='${libname}${release}${shared_ext}$major'
   17993     ;;
   17994   esac
   17995   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   17996   postinstall_cmds='chmod 555 $lib'
   17997   ;;
   17998 
   17999 interix3*)
   18000   version_type=linux
   18001   need_lib_prefix=no
   18002   need_version=no
   18003   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18004   soname_spec='${libname}${release}${shared_ext}$major'
   18005   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18006   shlibpath_var=LD_LIBRARY_PATH
   18007   shlibpath_overrides_runpath=no
   18008   hardcode_into_libs=yes
   18009   ;;
   18010 
   18011 irix5* | irix6* | nonstopux*)
   18012   case $host_os in
   18013     nonstopux*) version_type=nonstopux ;;
   18014     *)
   18015 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18016 		version_type=linux
   18017 	else
   18018 		version_type=irix
   18019 	fi ;;
   18020   esac
   18021   need_lib_prefix=no
   18022   need_version=no
   18023   soname_spec='${libname}${release}${shared_ext}$major'
   18024   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18025   case $host_os in
   18026   irix5* | nonstopux*)
   18027     libsuff= shlibsuff=
   18028     ;;
   18029   *)
   18030     case $LD in # libtool.m4 will add one of these switches to LD
   18031     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18032       libsuff= shlibsuff= libmagic=32-bit;;
   18033     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18034       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18035     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18036       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18037     *) libsuff= shlibsuff= libmagic=never-match;;
   18038     esac
   18039     ;;
   18040   esac
   18041   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18042   shlibpath_overrides_runpath=no
   18043   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18044   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18045   hardcode_into_libs=yes
   18046   ;;
   18047 
   18048 # No shared lib support for Linux oldld, aout, or coff.
   18049 linux*oldld* | linux*aout* | linux*coff*)
   18050   dynamic_linker=no
   18051   ;;
   18052 
   18053 # This must be Linux ELF.
   18054 linux*)
   18055   version_type=linux
   18056   need_lib_prefix=no
   18057   need_version=no
   18058   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18059   soname_spec='${libname}${release}${shared_ext}$major'
   18060   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18061   shlibpath_var=LD_LIBRARY_PATH
   18062   shlibpath_overrides_runpath=no
   18063   # This implies no fast_install, which is unacceptable.
   18064   # Some rework will be needed to allow for fast_install
   18065   # before this can be enabled.
   18066   hardcode_into_libs=yes
   18067 
   18068   # Append ld.so.conf contents to the search path
   18069   if test -f /etc/ld.so.conf; then
   18070     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' ' '`
   18071     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18072   fi
   18073 
   18074   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18075   # powerpc, because MkLinux only supported shared libraries with the
   18076   # GNU dynamic linker.  Since this was broken with cross compilers,
   18077   # most powerpc-linux boxes support dynamic linking these days and
   18078   # people can always --disable-shared, the test was removed, and we
   18079   # assume the GNU/Linux dynamic linker is in use.
   18080   dynamic_linker='GNU/Linux ld.so'
   18081   ;;
   18082 
   18083 knetbsd*-gnu)
   18084   version_type=linux
   18085   need_lib_prefix=no
   18086   need_version=no
   18087   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18088   soname_spec='${libname}${release}${shared_ext}$major'
   18089   shlibpath_var=LD_LIBRARY_PATH
   18090   shlibpath_overrides_runpath=no
   18091   hardcode_into_libs=yes
   18092   dynamic_linker='GNU ld.so'
   18093   ;;
   18094 
   18095 netbsd*)
   18096   version_type=sunos
   18097   need_lib_prefix=no
   18098   need_version=no
   18099   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18100     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18101     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18102     dynamic_linker='NetBSD (a.out) ld.so'
   18103   else
   18104     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18105     soname_spec='${libname}${release}${shared_ext}$major'
   18106     dynamic_linker='NetBSD ld.elf_so'
   18107   fi
   18108   shlibpath_var=LD_LIBRARY_PATH
   18109   shlibpath_overrides_runpath=yes
   18110   hardcode_into_libs=yes
   18111   ;;
   18112 
   18113 newsos6)
   18114   version_type=linux
   18115   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18116   shlibpath_var=LD_LIBRARY_PATH
   18117   shlibpath_overrides_runpath=yes
   18118   ;;
   18119 
   18120 nto-qnx*)
   18121   version_type=linux
   18122   need_lib_prefix=no
   18123   need_version=no
   18124   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18125   soname_spec='${libname}${release}${shared_ext}$major'
   18126   shlibpath_var=LD_LIBRARY_PATH
   18127   shlibpath_overrides_runpath=yes
   18128   ;;
   18129 
   18130 openbsd*)
   18131   version_type=sunos
   18132   sys_lib_dlsearch_path_spec="/usr/lib"
   18133   need_lib_prefix=no
   18134   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18135   case $host_os in
   18136     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18137     *)                         need_version=no  ;;
   18138   esac
   18139   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18140   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18141   shlibpath_var=LD_LIBRARY_PATH
   18142   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18143     case $host_os in
   18144       openbsd2.[89] | openbsd2.[89].*)
   18145 	shlibpath_overrides_runpath=no
   18146 	;;
   18147       *)
   18148 	shlibpath_overrides_runpath=yes
   18149 	;;
   18150       esac
   18151   else
   18152     shlibpath_overrides_runpath=yes
   18153   fi
   18154   ;;
   18155 
   18156 os2*)
   18157   libname_spec='$name'
   18158   shrext_cmds=".dll"
   18159   need_lib_prefix=no
   18160   library_names_spec='$libname${shared_ext} $libname.a'
   18161   dynamic_linker='OS/2 ld.exe'
   18162   shlibpath_var=LIBPATH
   18163   ;;
   18164 
   18165 osf3* | osf4* | osf5*)
   18166   version_type=osf
   18167   need_lib_prefix=no
   18168   need_version=no
   18169   soname_spec='${libname}${release}${shared_ext}$major'
   18170   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18171   shlibpath_var=LD_LIBRARY_PATH
   18172   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18173   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18174   ;;
   18175 
   18176 solaris*)
   18177   version_type=linux
   18178   need_lib_prefix=no
   18179   need_version=no
   18180   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18181   soname_spec='${libname}${release}${shared_ext}$major'
   18182   shlibpath_var=LD_LIBRARY_PATH
   18183   shlibpath_overrides_runpath=yes
   18184   hardcode_into_libs=yes
   18185   # ldd complains unless libraries are executable
   18186   postinstall_cmds='chmod +x $lib'
   18187   ;;
   18188 
   18189 sunos4*)
   18190   version_type=sunos
   18191   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18192   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18193   shlibpath_var=LD_LIBRARY_PATH
   18194   shlibpath_overrides_runpath=yes
   18195   if test "$with_gnu_ld" = yes; then
   18196     need_lib_prefix=no
   18197   fi
   18198   need_version=yes
   18199   ;;
   18200 
   18201 sysv4 | sysv4.3*)
   18202   version_type=linux
   18203   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18204   soname_spec='${libname}${release}${shared_ext}$major'
   18205   shlibpath_var=LD_LIBRARY_PATH
   18206   case $host_vendor in
   18207     sni)
   18208       shlibpath_overrides_runpath=no
   18209       need_lib_prefix=no
   18210       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18211       runpath_var=LD_RUN_PATH
   18212       ;;
   18213     siemens)
   18214       need_lib_prefix=no
   18215       ;;
   18216     motorola)
   18217       need_lib_prefix=no
   18218       need_version=no
   18219       shlibpath_overrides_runpath=no
   18220       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18221       ;;
   18222   esac
   18223   ;;
   18224 
   18225 sysv4*MP*)
   18226   if test -d /usr/nec ;then
   18227     version_type=linux
   18228     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18229     soname_spec='$libname${shared_ext}.$major'
   18230     shlibpath_var=LD_LIBRARY_PATH
   18231   fi
   18232   ;;
   18233 
   18234 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18235   version_type=freebsd-elf
   18236   need_lib_prefix=no
   18237   need_version=no
   18238   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18239   soname_spec='${libname}${release}${shared_ext}$major'
   18240   shlibpath_var=LD_LIBRARY_PATH
   18241   hardcode_into_libs=yes
   18242   if test "$with_gnu_ld" = yes; then
   18243     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18244     shlibpath_overrides_runpath=no
   18245   else
   18246     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18247     shlibpath_overrides_runpath=yes
   18248     case $host_os in
   18249       sco3.2v5*)
   18250         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18251 	;;
   18252     esac
   18253   fi
   18254   sys_lib_dlsearch_path_spec='/usr/lib'
   18255   ;;
   18256 
   18257 uts4*)
   18258   version_type=linux
   18259   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18260   soname_spec='${libname}${release}${shared_ext}$major'
   18261   shlibpath_var=LD_LIBRARY_PATH
   18262   ;;
   18263 
   18264 *)
   18265   dynamic_linker=no
   18266   ;;
   18267 esac
   18268 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18269 echo "${ECHO_T}$dynamic_linker" >&6; }
   18270 test "$dynamic_linker" = no && can_build_shared=no
   18271 
   18272 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18273 if test "$GCC" = yes; then
   18274   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18275 fi
   18276 
   18277 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18278 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18279 hardcode_action_GCJ=
   18280 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18281    test -n "$runpath_var_GCJ" || \
   18282    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18283 
   18284   # We can hardcode non-existant directories.
   18285   if test "$hardcode_direct_GCJ" != no &&
   18286      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18287      # have to relink, otherwise we might link with an installed library
   18288      # when we should be linking with a yet-to-be-installed one
   18289      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18290      test "$hardcode_minus_L_GCJ" != no; then
   18291     # Linking always hardcodes the temporary library directory.
   18292     hardcode_action_GCJ=relink
   18293   else
   18294     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18295     hardcode_action_GCJ=immediate
   18296   fi
   18297 else
   18298   # We cannot hardcode anything, or else we can only hardcode existing
   18299   # directories.
   18300   hardcode_action_GCJ=unsupported
   18301 fi
   18302 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18303 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18304 
   18305 if test "$hardcode_action_GCJ" = relink; then
   18306   # Fast installation is not supported
   18307   enable_fast_install=no
   18308 elif test "$shlibpath_overrides_runpath" = yes ||
   18309      test "$enable_shared" = no; then
   18310   # Fast installation is not necessary
   18311   enable_fast_install=needless
   18312 fi
   18313 
   18314 
   18315 # The else clause should only fire when bootstrapping the
   18316 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18317 # with your package, and you will get complaints that there are
   18318 # no rules to generate ltmain.sh.
   18319 if test -f "$ltmain"; then
   18320   # See if we are running on zsh, and set the options which allow our commands through
   18321   # without removal of \ escapes.
   18322   if test -n "${ZSH_VERSION+set}" ; then
   18323     setopt NO_GLOB_SUBST
   18324   fi
   18325   # Now quote all the things that may contain metacharacters while being
   18326   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18327   # variables and quote the copies for generation of the libtool script.
   18328   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18329     SED SHELL STRIP \
   18330     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18331     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18332     deplibs_check_method reload_flag reload_cmds need_locks \
   18333     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18334     lt_cv_sys_global_symbol_to_c_name_address \
   18335     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18336     old_postinstall_cmds old_postuninstall_cmds \
   18337     compiler_GCJ \
   18338     CC_GCJ \
   18339     LD_GCJ \
   18340     lt_prog_compiler_wl_GCJ \
   18341     lt_prog_compiler_pic_GCJ \
   18342     lt_prog_compiler_static_GCJ \
   18343     lt_prog_compiler_no_builtin_flag_GCJ \
   18344     export_dynamic_flag_spec_GCJ \
   18345     thread_safe_flag_spec_GCJ \
   18346     whole_archive_flag_spec_GCJ \
   18347     enable_shared_with_static_runtimes_GCJ \
   18348     old_archive_cmds_GCJ \
   18349     old_archive_from_new_cmds_GCJ \
   18350     predep_objects_GCJ \
   18351     postdep_objects_GCJ \
   18352     predeps_GCJ \
   18353     postdeps_GCJ \
   18354     compiler_lib_search_path_GCJ \
   18355     archive_cmds_GCJ \
   18356     archive_expsym_cmds_GCJ \
   18357     postinstall_cmds_GCJ \
   18358     postuninstall_cmds_GCJ \
   18359     old_archive_from_expsyms_cmds_GCJ \
   18360     allow_undefined_flag_GCJ \
   18361     no_undefined_flag_GCJ \
   18362     export_symbols_cmds_GCJ \
   18363     hardcode_libdir_flag_spec_GCJ \
   18364     hardcode_libdir_flag_spec_ld_GCJ \
   18365     hardcode_libdir_separator_GCJ \
   18366     hardcode_automatic_GCJ \
   18367     module_cmds_GCJ \
   18368     module_expsym_cmds_GCJ \
   18369     lt_cv_prog_compiler_c_o_GCJ \
   18370     exclude_expsyms_GCJ \
   18371     include_expsyms_GCJ; do
   18372 
   18373     case $var in
   18374     old_archive_cmds_GCJ | \
   18375     old_archive_from_new_cmds_GCJ | \
   18376     archive_cmds_GCJ | \
   18377     archive_expsym_cmds_GCJ | \
   18378     module_cmds_GCJ | \
   18379     module_expsym_cmds_GCJ | \
   18380     old_archive_from_expsyms_cmds_GCJ | \
   18381     export_symbols_cmds_GCJ | \
   18382     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18383     postinstall_cmds | postuninstall_cmds | \
   18384     old_postinstall_cmds | old_postuninstall_cmds | \
   18385     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18386       # Double-quote double-evaled strings.
   18387       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18388       ;;
   18389     *)
   18390       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18391       ;;
   18392     esac
   18393   done
   18394 
   18395   case $lt_echo in
   18396   *'\$0 --fallback-echo"')
   18397     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18398     ;;
   18399   esac
   18400 
   18401 cfgfile="$ofile"
   18402 
   18403   cat <<__EOF__ >> "$cfgfile"
   18404 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18405 
   18406 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18407 
   18408 # Shell to use when invoking shell scripts.
   18409 SHELL=$lt_SHELL
   18410 
   18411 # Whether or not to build shared libraries.
   18412 build_libtool_libs=$enable_shared
   18413 
   18414 # Whether or not to build static libraries.
   18415 build_old_libs=$enable_static
   18416 
   18417 # Whether or not to add -lc for building shared libraries.
   18418 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18419 
   18420 # Whether or not to disallow shared libs when runtime libs are static
   18421 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18422 
   18423 # Whether or not to optimize for fast installation.
   18424 fast_install=$enable_fast_install
   18425 
   18426 # The host system.
   18427 host_alias=$host_alias
   18428 host=$host
   18429 host_os=$host_os
   18430 
   18431 # The build system.
   18432 build_alias=$build_alias
   18433 build=$build
   18434 build_os=$build_os
   18435 
   18436 # An echo program that does not interpret backslashes.
   18437 echo=$lt_echo
   18438 
   18439 # The archiver.
   18440 AR=$lt_AR
   18441 AR_FLAGS=$lt_AR_FLAGS
   18442 
   18443 # A C compiler.
   18444 LTCC=$lt_LTCC
   18445 
   18446 # LTCC compiler flags.
   18447 LTCFLAGS=$lt_LTCFLAGS
   18448 
   18449 # A language-specific compiler.
   18450 CC=$lt_compiler_GCJ
   18451 
   18452 # Is the compiler the GNU C compiler?
   18453 with_gcc=$GCC_GCJ
   18454 
   18455 # An ERE matcher.
   18456 EGREP=$lt_EGREP
   18457 
   18458 # The linker used to build libraries.
   18459 LD=$lt_LD_GCJ
   18460 
   18461 # Whether we need hard or soft links.
   18462 LN_S=$lt_LN_S
   18463 
   18464 # A BSD-compatible nm program.
   18465 NM=$lt_NM
   18466 
   18467 # A symbol stripping program
   18468 STRIP=$lt_STRIP
   18469 
   18470 # Used to examine libraries when file_magic_cmd begins "file"
   18471 MAGIC_CMD=$MAGIC_CMD
   18472 
   18473 # Used on cygwin: DLL creation program.
   18474 DLLTOOL="$DLLTOOL"
   18475 
   18476 # Used on cygwin: object dumper.
   18477 OBJDUMP="$OBJDUMP"
   18478 
   18479 # Used on cygwin: assembler.
   18480 AS="$AS"
   18481 
   18482 # The name of the directory that contains temporary libtool files.
   18483 objdir=$objdir
   18484 
   18485 # How to create reloadable object files.
   18486 reload_flag=$lt_reload_flag
   18487 reload_cmds=$lt_reload_cmds
   18488 
   18489 # How to pass a linker flag through the compiler.
   18490 wl=$lt_lt_prog_compiler_wl_GCJ
   18491 
   18492 # Object file suffix (normally "o").
   18493 objext="$ac_objext"
   18494 
   18495 # Old archive suffix (normally "a").
   18496 libext="$libext"
   18497 
   18498 # Shared library suffix (normally ".so").
   18499 shrext_cmds='$shrext_cmds'
   18500 
   18501 # Executable file suffix (normally "").
   18502 exeext="$exeext"
   18503 
   18504 # Additional compiler flags for building library objects.
   18505 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   18506 pic_mode=$pic_mode
   18507 
   18508 # What is the maximum length of a command?
   18509 max_cmd_len=$lt_cv_sys_max_cmd_len
   18510 
   18511 # Does compiler simultaneously support -c and -o options?
   18512 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   18513 
   18514 # Must we lock files when doing compilation?
   18515 need_locks=$lt_need_locks
   18516 
   18517 # Do we need the lib prefix for modules?
   18518 need_lib_prefix=$need_lib_prefix
   18519 
   18520 # Do we need a version for libraries?
   18521 need_version=$need_version
   18522 
   18523 # Whether dlopen is supported.
   18524 dlopen_support=$enable_dlopen
   18525 
   18526 # Whether dlopen of programs is supported.
   18527 dlopen_self=$enable_dlopen_self
   18528 
   18529 # Whether dlopen of statically linked programs is supported.
   18530 dlopen_self_static=$enable_dlopen_self_static
   18531 
   18532 # Compiler flag to prevent dynamic linking.
   18533 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   18534 
   18535 # Compiler flag to turn off builtin functions.
   18536 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   18537 
   18538 # Compiler flag to allow reflexive dlopens.
   18539 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   18540 
   18541 # Compiler flag to generate shared objects directly from archives.
   18542 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   18543 
   18544 # Compiler flag to generate thread-safe objects.
   18545 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   18546 
   18547 # Library versioning type.
   18548 version_type=$version_type
   18549 
   18550 # Format of library name prefix.
   18551 libname_spec=$lt_libname_spec
   18552 
   18553 # List of archive names.  First name is the real one, the rest are links.
   18554 # The last name is the one that the linker finds with -lNAME.
   18555 library_names_spec=$lt_library_names_spec
   18556 
   18557 # The coded name of the library, if different from the real name.
   18558 soname_spec=$lt_soname_spec
   18559 
   18560 # Commands used to build and install an old-style archive.
   18561 RANLIB=$lt_RANLIB
   18562 old_archive_cmds=$lt_old_archive_cmds_GCJ
   18563 old_postinstall_cmds=$lt_old_postinstall_cmds
   18564 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18565 
   18566 # Create an old-style archive from a shared archive.
   18567 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   18568 
   18569 # Create a temporary old-style archive to link instead of a shared archive.
   18570 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   18571 
   18572 # Commands used to build and install a shared archive.
   18573 archive_cmds=$lt_archive_cmds_GCJ
   18574 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   18575 postinstall_cmds=$lt_postinstall_cmds
   18576 postuninstall_cmds=$lt_postuninstall_cmds
   18577 
   18578 # Commands used to build a loadable module (assumed same as above if empty)
   18579 module_cmds=$lt_module_cmds_GCJ
   18580 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   18581 
   18582 # Commands to strip libraries.
   18583 old_striplib=$lt_old_striplib
   18584 striplib=$lt_striplib
   18585 
   18586 # Dependencies to place before the objects being linked to create a
   18587 # shared library.
   18588 predep_objects=$lt_predep_objects_GCJ
   18589 
   18590 # Dependencies to place after the objects being linked to create a
   18591 # shared library.
   18592 postdep_objects=$lt_postdep_objects_GCJ
   18593 
   18594 # Dependencies to place before the objects being linked to create a
   18595 # shared library.
   18596 predeps=$lt_predeps_GCJ
   18597 
   18598 # Dependencies to place after the objects being linked to create a
   18599 # shared library.
   18600 postdeps=$lt_postdeps_GCJ
   18601 
   18602 # The library search path used internally by the compiler when linking
   18603 # a shared library.
   18604 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   18605 
   18606 # Method to check whether dependent libraries are shared objects.
   18607 deplibs_check_method=$lt_deplibs_check_method
   18608 
   18609 # Command to use when deplibs_check_method == file_magic.
   18610 file_magic_cmd=$lt_file_magic_cmd
   18611 
   18612 # Flag that allows shared libraries with undefined symbols to be built.
   18613 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   18614 
   18615 # Flag that forces no undefined symbols.
   18616 no_undefined_flag=$lt_no_undefined_flag_GCJ
   18617 
   18618 # Commands used to finish a libtool library installation in a directory.
   18619 finish_cmds=$lt_finish_cmds
   18620 
   18621 # Same as above, but a single script fragment to be evaled but not shown.
   18622 finish_eval=$lt_finish_eval
   18623 
   18624 # Take the output of nm and produce a listing of raw symbols and C names.
   18625 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18626 
   18627 # Transform the output of nm in a proper C declaration
   18628 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18629 
   18630 # Transform the output of nm in a C name address pair
   18631 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18632 
   18633 # This is the shared library runtime path variable.
   18634 runpath_var=$runpath_var
   18635 
   18636 # This is the shared library path variable.
   18637 shlibpath_var=$shlibpath_var
   18638 
   18639 # Is shlibpath searched before the hard-coded library search path?
   18640 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18641 
   18642 # How to hardcode a shared library path into an executable.
   18643 hardcode_action=$hardcode_action_GCJ
   18644 
   18645 # Whether we should hardcode library paths into libraries.
   18646 hardcode_into_libs=$hardcode_into_libs
   18647 
   18648 # Flag to hardcode \$libdir into a binary during linking.
   18649 # This must work even if \$libdir does not exist.
   18650 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   18651 
   18652 # If ld is used when linking, flag to hardcode \$libdir into
   18653 # a binary during linking. This must work even if \$libdir does
   18654 # not exist.
   18655 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   18656 
   18657 # Whether we need a single -rpath flag with a separated argument.
   18658 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   18659 
   18660 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18661 # resulting binary.
   18662 hardcode_direct=$hardcode_direct_GCJ
   18663 
   18664 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18665 # resulting binary.
   18666 hardcode_minus_L=$hardcode_minus_L_GCJ
   18667 
   18668 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18669 # the resulting binary.
   18670 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   18671 
   18672 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18673 # and all subsequent libraries and executables linked against it.
   18674 hardcode_automatic=$hardcode_automatic_GCJ
   18675 
   18676 # Variables whose values should be saved in libtool wrapper scripts and
   18677 # restored at relink time.
   18678 variables_saved_for_relink="$variables_saved_for_relink"
   18679 
   18680 # Whether libtool must link a program against all its dependency libraries.
   18681 link_all_deplibs=$link_all_deplibs_GCJ
   18682 
   18683 # Compile-time system search path for libraries
   18684 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18685 
   18686 # Run-time system search path for libraries
   18687 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18688 
   18689 # Fix the shell variable \$srcfile for the compiler.
   18690 fix_srcfile_path="$fix_srcfile_path_GCJ"
   18691 
   18692 # Set to yes if exported symbols are required.
   18693 always_export_symbols=$always_export_symbols_GCJ
   18694 
   18695 # The commands to list exported symbols.
   18696 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   18697 
   18698 # The commands to extract the exported symbol list from a shared archive.
   18699 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18700 
   18701 # Symbols that should not be listed in the preloaded symbols.
   18702 exclude_expsyms=$lt_exclude_expsyms_GCJ
   18703 
   18704 # Symbols that must always be exported.
   18705 include_expsyms=$lt_include_expsyms_GCJ
   18706 
   18707 # ### END LIBTOOL TAG CONFIG: $tagname
   18708 
   18709 __EOF__
   18710 
   18711 
   18712 else
   18713   # If there is no Makefile yet, we rely on a make rule to execute
   18714   # `config.status --recheck' to rerun these tests and create the
   18715   # libtool script then.
   18716   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18717   if test -f "$ltmain_in"; then
   18718     test -f Makefile && make "$ltmain"
   18719   fi
   18720 fi
   18721 
   18722 
   18723 ac_ext=c
   18724 ac_cpp='$CPP $CPPFLAGS'
   18725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18728 
   18729 CC="$lt_save_CC"
   18730 
   18731 	else
   18732 	  tagname=""
   18733 	fi
   18734 	;;
   18735 
   18736       RC)
   18737 
   18738 
   18739 # Source file extension for RC test sources.
   18740 ac_ext=rc
   18741 
   18742 # Object file extension for compiled RC test sources.
   18743 objext=o
   18744 objext_RC=$objext
   18745 
   18746 # Code to be used in simple compile tests
   18747 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   18748 
   18749 # Code to be used in simple link tests
   18750 lt_simple_link_test_code="$lt_simple_compile_test_code"
   18751 
   18752 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18753 
   18754 # If no C compiler was specified, use CC.
   18755 LTCC=${LTCC-"$CC"}
   18756 
   18757 # If no C compiler flags were specified, use CFLAGS.
   18758 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18759 
   18760 # Allow CC to be a program name with arguments.
   18761 compiler=$CC
   18762 
   18763 
   18764 # save warnings/boilerplate of simple test code
   18765 ac_outfile=conftest.$ac_objext
   18766 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   18767 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18768 _lt_compiler_boilerplate=`cat conftest.err`
   18769 $rm conftest*
   18770 
   18771 ac_outfile=conftest.$ac_objext
   18772 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   18773 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18774 _lt_linker_boilerplate=`cat conftest.err`
   18775 $rm conftest*
   18776 
   18777 
   18778 # Allow CC to be a program name with arguments.
   18779 lt_save_CC="$CC"
   18780 CC=${RC-"windres"}
   18781 compiler=$CC
   18782 compiler_RC=$CC
   18783 for cc_temp in $compiler""; do
   18784   case $cc_temp in
   18785     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18786     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18787     \-*) ;;
   18788     *) break;;
   18789   esac
   18790 done
   18791 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   18792 
   18793 lt_cv_prog_compiler_c_o_RC=yes
   18794 
   18795 # The else clause should only fire when bootstrapping the
   18796 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18797 # with your package, and you will get complaints that there are
   18798 # no rules to generate ltmain.sh.
   18799 if test -f "$ltmain"; then
   18800   # See if we are running on zsh, and set the options which allow our commands through
   18801   # without removal of \ escapes.
   18802   if test -n "${ZSH_VERSION+set}" ; then
   18803     setopt NO_GLOB_SUBST
   18804   fi
   18805   # Now quote all the things that may contain metacharacters while being
   18806   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18807   # variables and quote the copies for generation of the libtool script.
   18808   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18809     SED SHELL STRIP \
   18810     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18811     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18812     deplibs_check_method reload_flag reload_cmds need_locks \
   18813     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18814     lt_cv_sys_global_symbol_to_c_name_address \
   18815     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18816     old_postinstall_cmds old_postuninstall_cmds \
   18817     compiler_RC \
   18818     CC_RC \
   18819     LD_RC \
   18820     lt_prog_compiler_wl_RC \
   18821     lt_prog_compiler_pic_RC \
   18822     lt_prog_compiler_static_RC \
   18823     lt_prog_compiler_no_builtin_flag_RC \
   18824     export_dynamic_flag_spec_RC \
   18825     thread_safe_flag_spec_RC \
   18826     whole_archive_flag_spec_RC \
   18827     enable_shared_with_static_runtimes_RC \
   18828     old_archive_cmds_RC \
   18829     old_archive_from_new_cmds_RC \
   18830     predep_objects_RC \
   18831     postdep_objects_RC \
   18832     predeps_RC \
   18833     postdeps_RC \
   18834     compiler_lib_search_path_RC \
   18835     archive_cmds_RC \
   18836     archive_expsym_cmds_RC \
   18837     postinstall_cmds_RC \
   18838     postuninstall_cmds_RC \
   18839     old_archive_from_expsyms_cmds_RC \
   18840     allow_undefined_flag_RC \
   18841     no_undefined_flag_RC \
   18842     export_symbols_cmds_RC \
   18843     hardcode_libdir_flag_spec_RC \
   18844     hardcode_libdir_flag_spec_ld_RC \
   18845     hardcode_libdir_separator_RC \
   18846     hardcode_automatic_RC \
   18847     module_cmds_RC \
   18848     module_expsym_cmds_RC \
   18849     lt_cv_prog_compiler_c_o_RC \
   18850     exclude_expsyms_RC \
   18851     include_expsyms_RC; do
   18852 
   18853     case $var in
   18854     old_archive_cmds_RC | \
   18855     old_archive_from_new_cmds_RC | \
   18856     archive_cmds_RC | \
   18857     archive_expsym_cmds_RC | \
   18858     module_cmds_RC | \
   18859     module_expsym_cmds_RC | \
   18860     old_archive_from_expsyms_cmds_RC | \
   18861     export_symbols_cmds_RC | \
   18862     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18863     postinstall_cmds | postuninstall_cmds | \
   18864     old_postinstall_cmds | old_postuninstall_cmds | \
   18865     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18866       # Double-quote double-evaled strings.
   18867       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18868       ;;
   18869     *)
   18870       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18871       ;;
   18872     esac
   18873   done
   18874 
   18875   case $lt_echo in
   18876   *'\$0 --fallback-echo"')
   18877     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18878     ;;
   18879   esac
   18880 
   18881 cfgfile="$ofile"
   18882 
   18883   cat <<__EOF__ >> "$cfgfile"
   18884 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18885 
   18886 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18887 
   18888 # Shell to use when invoking shell scripts.
   18889 SHELL=$lt_SHELL
   18890 
   18891 # Whether or not to build shared libraries.
   18892 build_libtool_libs=$enable_shared
   18893 
   18894 # Whether or not to build static libraries.
   18895 build_old_libs=$enable_static
   18896 
   18897 # Whether or not to add -lc for building shared libraries.
   18898 build_libtool_need_lc=$archive_cmds_need_lc_RC
   18899 
   18900 # Whether or not to disallow shared libs when runtime libs are static
   18901 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   18902 
   18903 # Whether or not to optimize for fast installation.
   18904 fast_install=$enable_fast_install
   18905 
   18906 # The host system.
   18907 host_alias=$host_alias
   18908 host=$host
   18909 host_os=$host_os
   18910 
   18911 # The build system.
   18912 build_alias=$build_alias
   18913 build=$build
   18914 build_os=$build_os
   18915 
   18916 # An echo program that does not interpret backslashes.
   18917 echo=$lt_echo
   18918 
   18919 # The archiver.
   18920 AR=$lt_AR
   18921 AR_FLAGS=$lt_AR_FLAGS
   18922 
   18923 # A C compiler.
   18924 LTCC=$lt_LTCC
   18925 
   18926 # LTCC compiler flags.
   18927 LTCFLAGS=$lt_LTCFLAGS
   18928 
   18929 # A language-specific compiler.
   18930 CC=$lt_compiler_RC
   18931 
   18932 # Is the compiler the GNU C compiler?
   18933 with_gcc=$GCC_RC
   18934 
   18935 # An ERE matcher.
   18936 EGREP=$lt_EGREP
   18937 
   18938 # The linker used to build libraries.
   18939 LD=$lt_LD_RC
   18940 
   18941 # Whether we need hard or soft links.
   18942 LN_S=$lt_LN_S
   18943 
   18944 # A BSD-compatible nm program.
   18945 NM=$lt_NM
   18946 
   18947 # A symbol stripping program
   18948 STRIP=$lt_STRIP
   18949 
   18950 # Used to examine libraries when file_magic_cmd begins "file"
   18951 MAGIC_CMD=$MAGIC_CMD
   18952 
   18953 # Used on cygwin: DLL creation program.
   18954 DLLTOOL="$DLLTOOL"
   18955 
   18956 # Used on cygwin: object dumper.
   18957 OBJDUMP="$OBJDUMP"
   18958 
   18959 # Used on cygwin: assembler.
   18960 AS="$AS"
   18961 
   18962 # The name of the directory that contains temporary libtool files.
   18963 objdir=$objdir
   18964 
   18965 # How to create reloadable object files.
   18966 reload_flag=$lt_reload_flag
   18967 reload_cmds=$lt_reload_cmds
   18968 
   18969 # How to pass a linker flag through the compiler.
   18970 wl=$lt_lt_prog_compiler_wl_RC
   18971 
   18972 # Object file suffix (normally "o").
   18973 objext="$ac_objext"
   18974 
   18975 # Old archive suffix (normally "a").
   18976 libext="$libext"
   18977 
   18978 # Shared library suffix (normally ".so").
   18979 shrext_cmds='$shrext_cmds'
   18980 
   18981 # Executable file suffix (normally "").
   18982 exeext="$exeext"
   18983 
   18984 # Additional compiler flags for building library objects.
   18985 pic_flag=$lt_lt_prog_compiler_pic_RC
   18986 pic_mode=$pic_mode
   18987 
   18988 # What is the maximum length of a command?
   18989 max_cmd_len=$lt_cv_sys_max_cmd_len
   18990 
   18991 # Does compiler simultaneously support -c and -o options?
   18992 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   18993 
   18994 # Must we lock files when doing compilation?
   18995 need_locks=$lt_need_locks
   18996 
   18997 # Do we need the lib prefix for modules?
   18998 need_lib_prefix=$need_lib_prefix
   18999 
   19000 # Do we need a version for libraries?
   19001 need_version=$need_version
   19002 
   19003 # Whether dlopen is supported.
   19004 dlopen_support=$enable_dlopen
   19005 
   19006 # Whether dlopen of programs is supported.
   19007 dlopen_self=$enable_dlopen_self
   19008 
   19009 # Whether dlopen of statically linked programs is supported.
   19010 dlopen_self_static=$enable_dlopen_self_static
   19011 
   19012 # Compiler flag to prevent dynamic linking.
   19013 link_static_flag=$lt_lt_prog_compiler_static_RC
   19014 
   19015 # Compiler flag to turn off builtin functions.
   19016 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19017 
   19018 # Compiler flag to allow reflexive dlopens.
   19019 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19020 
   19021 # Compiler flag to generate shared objects directly from archives.
   19022 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19023 
   19024 # Compiler flag to generate thread-safe objects.
   19025 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19026 
   19027 # Library versioning type.
   19028 version_type=$version_type
   19029 
   19030 # Format of library name prefix.
   19031 libname_spec=$lt_libname_spec
   19032 
   19033 # List of archive names.  First name is the real one, the rest are links.
   19034 # The last name is the one that the linker finds with -lNAME.
   19035 library_names_spec=$lt_library_names_spec
   19036 
   19037 # The coded name of the library, if different from the real name.
   19038 soname_spec=$lt_soname_spec
   19039 
   19040 # Commands used to build and install an old-style archive.
   19041 RANLIB=$lt_RANLIB
   19042 old_archive_cmds=$lt_old_archive_cmds_RC
   19043 old_postinstall_cmds=$lt_old_postinstall_cmds
   19044 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19045 
   19046 # Create an old-style archive from a shared archive.
   19047 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19048 
   19049 # Create a temporary old-style archive to link instead of a shared archive.
   19050 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19051 
   19052 # Commands used to build and install a shared archive.
   19053 archive_cmds=$lt_archive_cmds_RC
   19054 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19055 postinstall_cmds=$lt_postinstall_cmds
   19056 postuninstall_cmds=$lt_postuninstall_cmds
   19057 
   19058 # Commands used to build a loadable module (assumed same as above if empty)
   19059 module_cmds=$lt_module_cmds_RC
   19060 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19061 
   19062 # Commands to strip libraries.
   19063 old_striplib=$lt_old_striplib
   19064 striplib=$lt_striplib
   19065 
   19066 # Dependencies to place before the objects being linked to create a
   19067 # shared library.
   19068 predep_objects=$lt_predep_objects_RC
   19069 
   19070 # Dependencies to place after the objects being linked to create a
   19071 # shared library.
   19072 postdep_objects=$lt_postdep_objects_RC
   19073 
   19074 # Dependencies to place before the objects being linked to create a
   19075 # shared library.
   19076 predeps=$lt_predeps_RC
   19077 
   19078 # Dependencies to place after the objects being linked to create a
   19079 # shared library.
   19080 postdeps=$lt_postdeps_RC
   19081 
   19082 # The library search path used internally by the compiler when linking
   19083 # a shared library.
   19084 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19085 
   19086 # Method to check whether dependent libraries are shared objects.
   19087 deplibs_check_method=$lt_deplibs_check_method
   19088 
   19089 # Command to use when deplibs_check_method == file_magic.
   19090 file_magic_cmd=$lt_file_magic_cmd
   19091 
   19092 # Flag that allows shared libraries with undefined symbols to be built.
   19093 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19094 
   19095 # Flag that forces no undefined symbols.
   19096 no_undefined_flag=$lt_no_undefined_flag_RC
   19097 
   19098 # Commands used to finish a libtool library installation in a directory.
   19099 finish_cmds=$lt_finish_cmds
   19100 
   19101 # Same as above, but a single script fragment to be evaled but not shown.
   19102 finish_eval=$lt_finish_eval
   19103 
   19104 # Take the output of nm and produce a listing of raw symbols and C names.
   19105 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19106 
   19107 # Transform the output of nm in a proper C declaration
   19108 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19109 
   19110 # Transform the output of nm in a C name address pair
   19111 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19112 
   19113 # This is the shared library runtime path variable.
   19114 runpath_var=$runpath_var
   19115 
   19116 # This is the shared library path variable.
   19117 shlibpath_var=$shlibpath_var
   19118 
   19119 # Is shlibpath searched before the hard-coded library search path?
   19120 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19121 
   19122 # How to hardcode a shared library path into an executable.
   19123 hardcode_action=$hardcode_action_RC
   19124 
   19125 # Whether we should hardcode library paths into libraries.
   19126 hardcode_into_libs=$hardcode_into_libs
   19127 
   19128 # Flag to hardcode \$libdir into a binary during linking.
   19129 # This must work even if \$libdir does not exist.
   19130 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19131 
   19132 # If ld is used when linking, flag to hardcode \$libdir into
   19133 # a binary during linking. This must work even if \$libdir does
   19134 # not exist.
   19135 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19136 
   19137 # Whether we need a single -rpath flag with a separated argument.
   19138 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19139 
   19140 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19141 # resulting binary.
   19142 hardcode_direct=$hardcode_direct_RC
   19143 
   19144 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19145 # resulting binary.
   19146 hardcode_minus_L=$hardcode_minus_L_RC
   19147 
   19148 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19149 # the resulting binary.
   19150 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19151 
   19152 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19153 # and all subsequent libraries and executables linked against it.
   19154 hardcode_automatic=$hardcode_automatic_RC
   19155 
   19156 # Variables whose values should be saved in libtool wrapper scripts and
   19157 # restored at relink time.
   19158 variables_saved_for_relink="$variables_saved_for_relink"
   19159 
   19160 # Whether libtool must link a program against all its dependency libraries.
   19161 link_all_deplibs=$link_all_deplibs_RC
   19162 
   19163 # Compile-time system search path for libraries
   19164 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19165 
   19166 # Run-time system search path for libraries
   19167 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19168 
   19169 # Fix the shell variable \$srcfile for the compiler.
   19170 fix_srcfile_path="$fix_srcfile_path_RC"
   19171 
   19172 # Set to yes if exported symbols are required.
   19173 always_export_symbols=$always_export_symbols_RC
   19174 
   19175 # The commands to list exported symbols.
   19176 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19177 
   19178 # The commands to extract the exported symbol list from a shared archive.
   19179 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19180 
   19181 # Symbols that should not be listed in the preloaded symbols.
   19182 exclude_expsyms=$lt_exclude_expsyms_RC
   19183 
   19184 # Symbols that must always be exported.
   19185 include_expsyms=$lt_include_expsyms_RC
   19186 
   19187 # ### END LIBTOOL TAG CONFIG: $tagname
   19188 
   19189 __EOF__
   19190 
   19191 
   19192 else
   19193   # If there is no Makefile yet, we rely on a make rule to execute
   19194   # `config.status --recheck' to rerun these tests and create the
   19195   # libtool script then.
   19196   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19197   if test -f "$ltmain_in"; then
   19198     test -f Makefile && make "$ltmain"
   19199   fi
   19200 fi
   19201 
   19202 
   19203 ac_ext=c
   19204 ac_cpp='$CPP $CPPFLAGS'
   19205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19208 
   19209 CC="$lt_save_CC"
   19210 
   19211 	;;
   19212 
   19213       *)
   19214 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19215 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19216    { (exit 1); exit 1; }; }
   19217 	;;
   19218       esac
   19219 
   19220       # Append the new tag name to the list of available tags.
   19221       if test -n "$tagname" ; then
   19222       available_tags="$available_tags $tagname"
   19223     fi
   19224     fi
   19225   done
   19226   IFS="$lt_save_ifs"
   19227 
   19228   # Now substitute the updated list of available tags.
   19229   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19230     mv "${ofile}T" "$ofile"
   19231     chmod +x "$ofile"
   19232   else
   19233     rm -f "${ofile}T"
   19234     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19235 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19236    { (exit 1); exit 1; }; }
   19237   fi
   19238 fi
   19239 
   19240 
   19241 
   19242 # This can be used to rebuild libtool when needed
   19243 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19244 
   19245 # Always use our own libtool.
   19246 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19247 
   19248 # Prevent multiple expansion
   19249 
   19250 
   19251 
   19252 
   19253 
   19254 
   19255 
   19256 
   19257 
   19258 
   19259 
   19260 
   19261 
   19262 
   19263 
   19264 
   19265 
   19266 
   19267 
   19268 
   19269 ac_ext=c
   19270 ac_cpp='$CPP $CPPFLAGS'
   19271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19274 if test -n "$ac_tool_prefix"; then
   19275   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   19276 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   19277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19279 if test "${ac_cv_prog_CC+set}" = set; then
   19280   echo $ECHO_N "(cached) $ECHO_C" >&6
   19281 else
   19282   if test -n "$CC"; then
   19283   ac_cv_prog_CC="$CC" # Let the user override the test.
   19284 else
   19285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19286 for as_dir in $PATH
   19287 do
   19288   IFS=$as_save_IFS
   19289   test -z "$as_dir" && as_dir=.
   19290   for ac_exec_ext in '' $ac_executable_extensions; do
   19291   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19292     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   19293     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19294     break 2
   19295   fi
   19296 done
   19297 done
   19298 IFS=$as_save_IFS
   19299 
   19300 fi
   19301 fi
   19302 CC=$ac_cv_prog_CC
   19303 if test -n "$CC"; then
   19304   { echo "$as_me:$LINENO: result: $CC" >&5
   19305 echo "${ECHO_T}$CC" >&6; }
   19306 else
   19307   { echo "$as_me:$LINENO: result: no" >&5
   19308 echo "${ECHO_T}no" >&6; }
   19309 fi
   19310 
   19311 
   19312 fi
   19313 if test -z "$ac_cv_prog_CC"; then
   19314   ac_ct_CC=$CC
   19315   # Extract the first word of "gcc", so it can be a program name with args.
   19316 set dummy gcc; ac_word=$2
   19317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19319 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   19320   echo $ECHO_N "(cached) $ECHO_C" >&6
   19321 else
   19322   if test -n "$ac_ct_CC"; then
   19323   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19324 else
   19325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19326 for as_dir in $PATH
   19327 do
   19328   IFS=$as_save_IFS
   19329   test -z "$as_dir" && as_dir=.
   19330   for ac_exec_ext in '' $ac_executable_extensions; do
   19331   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19332     ac_cv_prog_ac_ct_CC="gcc"
   19333     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19334     break 2
   19335   fi
   19336 done
   19337 done
   19338 IFS=$as_save_IFS
   19339 
   19340 fi
   19341 fi
   19342 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19343 if test -n "$ac_ct_CC"; then
   19344   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   19345 echo "${ECHO_T}$ac_ct_CC" >&6; }
   19346 else
   19347   { echo "$as_me:$LINENO: result: no" >&5
   19348 echo "${ECHO_T}no" >&6; }
   19349 fi
   19350 
   19351   if test "x$ac_ct_CC" = x; then
   19352     CC=""
   19353   else
   19354     case $cross_compiling:$ac_tool_warned in
   19355 yes:)
   19356 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19357 whose name does not start with the host triplet.  If you think this
   19358 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19359 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19360 whose name does not start with the host triplet.  If you think this
   19361 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19362 ac_tool_warned=yes ;;
   19363 esac
   19364     CC=$ac_ct_CC
   19365   fi
   19366 else
   19367   CC="$ac_cv_prog_CC"
   19368 fi
   19369 
   19370 if test -z "$CC"; then
   19371           if test -n "$ac_tool_prefix"; then
   19372     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   19373 set dummy ${ac_tool_prefix}cc; ac_word=$2
   19374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19376 if test "${ac_cv_prog_CC+set}" = set; then
   19377   echo $ECHO_N "(cached) $ECHO_C" >&6
   19378 else
   19379   if test -n "$CC"; then
   19380   ac_cv_prog_CC="$CC" # Let the user override the test.
   19381 else
   19382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19383 for as_dir in $PATH
   19384 do
   19385   IFS=$as_save_IFS
   19386   test -z "$as_dir" && as_dir=.
   19387   for ac_exec_ext in '' $ac_executable_extensions; do
   19388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19389     ac_cv_prog_CC="${ac_tool_prefix}cc"
   19390     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19391     break 2
   19392   fi
   19393 done
   19394 done
   19395 IFS=$as_save_IFS
   19396 
   19397 fi
   19398 fi
   19399 CC=$ac_cv_prog_CC
   19400 if test -n "$CC"; then
   19401   { echo "$as_me:$LINENO: result: $CC" >&5
   19402 echo "${ECHO_T}$CC" >&6; }
   19403 else
   19404   { echo "$as_me:$LINENO: result: no" >&5
   19405 echo "${ECHO_T}no" >&6; }
   19406 fi
   19407 
   19408 
   19409   fi
   19410 fi
   19411 if test -z "$CC"; then
   19412   # Extract the first word of "cc", so it can be a program name with args.
   19413 set dummy cc; ac_word=$2
   19414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19416 if test "${ac_cv_prog_CC+set}" = set; then
   19417   echo $ECHO_N "(cached) $ECHO_C" >&6
   19418 else
   19419   if test -n "$CC"; then
   19420   ac_cv_prog_CC="$CC" # Let the user override the test.
   19421 else
   19422   ac_prog_rejected=no
   19423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19424 for as_dir in $PATH
   19425 do
   19426   IFS=$as_save_IFS
   19427   test -z "$as_dir" && as_dir=.
   19428   for ac_exec_ext in '' $ac_executable_extensions; do
   19429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19430     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   19431        ac_prog_rejected=yes
   19432        continue
   19433      fi
   19434     ac_cv_prog_CC="cc"
   19435     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19436     break 2
   19437   fi
   19438 done
   19439 done
   19440 IFS=$as_save_IFS
   19441 
   19442 if test $ac_prog_rejected = yes; then
   19443   # We found a bogon in the path, so make sure we never use it.
   19444   set dummy $ac_cv_prog_CC
   19445   shift
   19446   if test $# != 0; then
   19447     # We chose a different compiler from the bogus one.
   19448     # However, it has the same basename, so the bogon will be chosen
   19449     # first if we set CC to just the basename; use the full file name.
   19450     shift
   19451     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   19452   fi
   19453 fi
   19454 fi
   19455 fi
   19456 CC=$ac_cv_prog_CC
   19457 if test -n "$CC"; then
   19458   { echo "$as_me:$LINENO: result: $CC" >&5
   19459 echo "${ECHO_T}$CC" >&6; }
   19460 else
   19461   { echo "$as_me:$LINENO: result: no" >&5
   19462 echo "${ECHO_T}no" >&6; }
   19463 fi
   19464 
   19465 
   19466 fi
   19467 if test -z "$CC"; then
   19468   if test -n "$ac_tool_prefix"; then
   19469   for ac_prog in cl.exe
   19470   do
   19471     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   19472 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   19473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19475 if test "${ac_cv_prog_CC+set}" = set; then
   19476   echo $ECHO_N "(cached) $ECHO_C" >&6
   19477 else
   19478   if test -n "$CC"; then
   19479   ac_cv_prog_CC="$CC" # Let the user override the test.
   19480 else
   19481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19482 for as_dir in $PATH
   19483 do
   19484   IFS=$as_save_IFS
   19485   test -z "$as_dir" && as_dir=.
   19486   for ac_exec_ext in '' $ac_executable_extensions; do
   19487   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19488     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   19489     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19490     break 2
   19491   fi
   19492 done
   19493 done
   19494 IFS=$as_save_IFS
   19495 
   19496 fi
   19497 fi
   19498 CC=$ac_cv_prog_CC
   19499 if test -n "$CC"; then
   19500   { echo "$as_me:$LINENO: result: $CC" >&5
   19501 echo "${ECHO_T}$CC" >&6; }
   19502 else
   19503   { echo "$as_me:$LINENO: result: no" >&5
   19504 echo "${ECHO_T}no" >&6; }
   19505 fi
   19506 
   19507 
   19508     test -n "$CC" && break
   19509   done
   19510 fi
   19511 if test -z "$CC"; then
   19512   ac_ct_CC=$CC
   19513   for ac_prog in cl.exe
   19514 do
   19515   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19516 set dummy $ac_prog; ac_word=$2
   19517 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19519 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   19520   echo $ECHO_N "(cached) $ECHO_C" >&6
   19521 else
   19522   if test -n "$ac_ct_CC"; then
   19523   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19524 else
   19525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19526 for as_dir in $PATH
   19527 do
   19528   IFS=$as_save_IFS
   19529   test -z "$as_dir" && as_dir=.
   19530   for ac_exec_ext in '' $ac_executable_extensions; do
   19531   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19532     ac_cv_prog_ac_ct_CC="$ac_prog"
   19533     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19534     break 2
   19535   fi
   19536 done
   19537 done
   19538 IFS=$as_save_IFS
   19539 
   19540 fi
   19541 fi
   19542 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19543 if test -n "$ac_ct_CC"; then
   19544   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   19545 echo "${ECHO_T}$ac_ct_CC" >&6; }
   19546 else
   19547   { echo "$as_me:$LINENO: result: no" >&5
   19548 echo "${ECHO_T}no" >&6; }
   19549 fi
   19550 
   19551 
   19552   test -n "$ac_ct_CC" && break
   19553 done
   19554 
   19555   if test "x$ac_ct_CC" = x; then
   19556     CC=""
   19557   else
   19558     case $cross_compiling:$ac_tool_warned in
   19559 yes:)
   19560 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19561 whose name does not start with the host triplet.  If you think this
   19562 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19563 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19564 whose name does not start with the host triplet.  If you think this
   19565 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19566 ac_tool_warned=yes ;;
   19567 esac
   19568     CC=$ac_ct_CC
   19569   fi
   19570 fi
   19571 
   19572 fi
   19573 
   19574 
   19575 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   19576 See \`config.log' for more details." >&5
   19577 echo "$as_me: error: no acceptable C compiler found in \$PATH
   19578 See \`config.log' for more details." >&2;}
   19579    { (exit 1); exit 1; }; }
   19580 
   19581 # Provide some information about the compiler.
   19582 echo "$as_me:$LINENO: checking for C compiler version" >&5
   19583 ac_compiler=`set X $ac_compile; echo $2`
   19584 { (ac_try="$ac_compiler --version >&5"
   19585 case "(($ac_try" in
   19586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19587   *) ac_try_echo=$ac_try;;
   19588 esac
   19589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19590   (eval "$ac_compiler --version >&5") 2>&5
   19591   ac_status=$?
   19592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19593   (exit $ac_status); }
   19594 { (ac_try="$ac_compiler -v >&5"
   19595 case "(($ac_try" in
   19596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19597   *) ac_try_echo=$ac_try;;
   19598 esac
   19599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19600   (eval "$ac_compiler -v >&5") 2>&5
   19601   ac_status=$?
   19602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19603   (exit $ac_status); }
   19604 { (ac_try="$ac_compiler -V >&5"
   19605 case "(($ac_try" in
   19606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19607   *) ac_try_echo=$ac_try;;
   19608 esac
   19609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19610   (eval "$ac_compiler -V >&5") 2>&5
   19611   ac_status=$?
   19612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19613   (exit $ac_status); }
   19614 
   19615 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   19616 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   19617 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   19618   echo $ECHO_N "(cached) $ECHO_C" >&6
   19619 else
   19620   cat >conftest.$ac_ext <<_ACEOF
   19621 /* confdefs.h.  */
   19622 _ACEOF
   19623 cat confdefs.h >>conftest.$ac_ext
   19624 cat >>conftest.$ac_ext <<_ACEOF
   19625 /* end confdefs.h.  */
   19626 
   19627 int
   19628 main ()
   19629 {
   19630 #ifndef __GNUC__
   19631        choke me
   19632 #endif
   19633 
   19634   ;
   19635   return 0;
   19636 }
   19637 _ACEOF
   19638 rm -f conftest.$ac_objext
   19639 if { (ac_try="$ac_compile"
   19640 case "(($ac_try" in
   19641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19642   *) ac_try_echo=$ac_try;;
   19643 esac
   19644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19645   (eval "$ac_compile") 2>conftest.er1
   19646   ac_status=$?
   19647   grep -v '^ *+' conftest.er1 >conftest.err
   19648   rm -f conftest.er1
   19649   cat conftest.err >&5
   19650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19651   (exit $ac_status); } && {
   19652 	 test -z "$ac_c_werror_flag" ||
   19653 	 test ! -s conftest.err
   19654        } && test -s conftest.$ac_objext; then
   19655   ac_compiler_gnu=yes
   19656 else
   19657   echo "$as_me: failed program was:" >&5
   19658 sed 's/^/| /' conftest.$ac_ext >&5
   19659 
   19660 	ac_compiler_gnu=no
   19661 fi
   19662 
   19663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19664 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   19665 
   19666 fi
   19667 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   19668 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   19669 GCC=`test $ac_compiler_gnu = yes && echo yes`
   19670 ac_test_CFLAGS=${CFLAGS+set}
   19671 ac_save_CFLAGS=$CFLAGS
   19672 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   19673 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   19674 if test "${ac_cv_prog_cc_g+set}" = set; then
   19675   echo $ECHO_N "(cached) $ECHO_C" >&6
   19676 else
   19677   ac_save_c_werror_flag=$ac_c_werror_flag
   19678    ac_c_werror_flag=yes
   19679    ac_cv_prog_cc_g=no
   19680    CFLAGS="-g"
   19681    cat >conftest.$ac_ext <<_ACEOF
   19682 /* confdefs.h.  */
   19683 _ACEOF
   19684 cat confdefs.h >>conftest.$ac_ext
   19685 cat >>conftest.$ac_ext <<_ACEOF
   19686 /* end confdefs.h.  */
   19687 
   19688 int
   19689 main ()
   19690 {
   19691 
   19692   ;
   19693   return 0;
   19694 }
   19695 _ACEOF
   19696 rm -f conftest.$ac_objext
   19697 if { (ac_try="$ac_compile"
   19698 case "(($ac_try" in
   19699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19700   *) ac_try_echo=$ac_try;;
   19701 esac
   19702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19703   (eval "$ac_compile") 2>conftest.er1
   19704   ac_status=$?
   19705   grep -v '^ *+' conftest.er1 >conftest.err
   19706   rm -f conftest.er1
   19707   cat conftest.err >&5
   19708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19709   (exit $ac_status); } && {
   19710 	 test -z "$ac_c_werror_flag" ||
   19711 	 test ! -s conftest.err
   19712        } && test -s conftest.$ac_objext; then
   19713   ac_cv_prog_cc_g=yes
   19714 else
   19715   echo "$as_me: failed program was:" >&5
   19716 sed 's/^/| /' conftest.$ac_ext >&5
   19717 
   19718 	CFLAGS=""
   19719       cat >conftest.$ac_ext <<_ACEOF
   19720 /* confdefs.h.  */
   19721 _ACEOF
   19722 cat confdefs.h >>conftest.$ac_ext
   19723 cat >>conftest.$ac_ext <<_ACEOF
   19724 /* end confdefs.h.  */
   19725 
   19726 int
   19727 main ()
   19728 {
   19729 
   19730   ;
   19731   return 0;
   19732 }
   19733 _ACEOF
   19734 rm -f conftest.$ac_objext
   19735 if { (ac_try="$ac_compile"
   19736 case "(($ac_try" in
   19737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19738   *) ac_try_echo=$ac_try;;
   19739 esac
   19740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19741   (eval "$ac_compile") 2>conftest.er1
   19742   ac_status=$?
   19743   grep -v '^ *+' conftest.er1 >conftest.err
   19744   rm -f conftest.er1
   19745   cat conftest.err >&5
   19746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19747   (exit $ac_status); } && {
   19748 	 test -z "$ac_c_werror_flag" ||
   19749 	 test ! -s conftest.err
   19750        } && test -s conftest.$ac_objext; then
   19751   :
   19752 else
   19753   echo "$as_me: failed program was:" >&5
   19754 sed 's/^/| /' conftest.$ac_ext >&5
   19755 
   19756 	ac_c_werror_flag=$ac_save_c_werror_flag
   19757 	 CFLAGS="-g"
   19758 	 cat >conftest.$ac_ext <<_ACEOF
   19759 /* confdefs.h.  */
   19760 _ACEOF
   19761 cat confdefs.h >>conftest.$ac_ext
   19762 cat >>conftest.$ac_ext <<_ACEOF
   19763 /* end confdefs.h.  */
   19764 
   19765 int
   19766 main ()
   19767 {
   19768 
   19769   ;
   19770   return 0;
   19771 }
   19772 _ACEOF
   19773 rm -f conftest.$ac_objext
   19774 if { (ac_try="$ac_compile"
   19775 case "(($ac_try" in
   19776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19777   *) ac_try_echo=$ac_try;;
   19778 esac
   19779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19780   (eval "$ac_compile") 2>conftest.er1
   19781   ac_status=$?
   19782   grep -v '^ *+' conftest.er1 >conftest.err
   19783   rm -f conftest.er1
   19784   cat conftest.err >&5
   19785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19786   (exit $ac_status); } && {
   19787 	 test -z "$ac_c_werror_flag" ||
   19788 	 test ! -s conftest.err
   19789        } && test -s conftest.$ac_objext; then
   19790   ac_cv_prog_cc_g=yes
   19791 else
   19792   echo "$as_me: failed program was:" >&5
   19793 sed 's/^/| /' conftest.$ac_ext >&5
   19794 
   19795 
   19796 fi
   19797 
   19798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19799 fi
   19800 
   19801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19802 fi
   19803 
   19804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19805    ac_c_werror_flag=$ac_save_c_werror_flag
   19806 fi
   19807 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   19808 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   19809 if test "$ac_test_CFLAGS" = set; then
   19810   CFLAGS=$ac_save_CFLAGS
   19811 elif test $ac_cv_prog_cc_g = yes; then
   19812   if test "$GCC" = yes; then
   19813     CFLAGS="-g -O2"
   19814   else
   19815     CFLAGS="-g"
   19816   fi
   19817 else
   19818   if test "$GCC" = yes; then
   19819     CFLAGS="-O2"
   19820   else
   19821     CFLAGS=
   19822   fi
   19823 fi
   19824 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   19825 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   19826 if test "${ac_cv_prog_cc_c89+set}" = set; then
   19827   echo $ECHO_N "(cached) $ECHO_C" >&6
   19828 else
   19829   ac_cv_prog_cc_c89=no
   19830 ac_save_CC=$CC
   19831 cat >conftest.$ac_ext <<_ACEOF
   19832 /* confdefs.h.  */
   19833 _ACEOF
   19834 cat confdefs.h >>conftest.$ac_ext
   19835 cat >>conftest.$ac_ext <<_ACEOF
   19836 /* end confdefs.h.  */
   19837 #include <stdarg.h>
   19838 #include <stdio.h>
   19839 #include <sys/types.h>
   19840 #include <sys/stat.h>
   19841 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   19842 struct buf { int x; };
   19843 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   19844 static char *e (p, i)
   19845      char **p;
   19846      int i;
   19847 {
   19848   return p[i];
   19849 }
   19850 static char *f (char * (*g) (char **, int), char **p, ...)
   19851 {
   19852   char *s;
   19853   va_list v;
   19854   va_start (v,p);
   19855   s = g (p, va_arg (v,int));
   19856   va_end (v);
   19857   return s;
   19858 }
   19859 
   19860 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   19861    function prototypes and stuff, but not '\xHH' hex character constants.
   19862    These don't provoke an error unfortunately, instead are silently treated
   19863    as 'x'.  The following induces an error, until -std is added to get
   19864    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   19865    array size at least.  It's necessary to write '\x00'==0 to get something
   19866    that's true only with -std.  */
   19867 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   19868 
   19869 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   19870    inside strings and character constants.  */
   19871 #define FOO(x) 'x'
   19872 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   19873 
   19874 int test (int i, double x);
   19875 struct s1 {int (*f) (int a);};
   19876 struct s2 {int (*f) (double a);};
   19877 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   19878 int argc;
   19879 char **argv;
   19880 int
   19881 main ()
   19882 {
   19883 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   19884   ;
   19885   return 0;
   19886 }
   19887 _ACEOF
   19888 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   19889 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   19890 do
   19891   CC="$ac_save_CC $ac_arg"
   19892   rm -f conftest.$ac_objext
   19893 if { (ac_try="$ac_compile"
   19894 case "(($ac_try" in
   19895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19896   *) ac_try_echo=$ac_try;;
   19897 esac
   19898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19899   (eval "$ac_compile") 2>conftest.er1
   19900   ac_status=$?
   19901   grep -v '^ *+' conftest.er1 >conftest.err
   19902   rm -f conftest.er1
   19903   cat conftest.err >&5
   19904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19905   (exit $ac_status); } && {
   19906 	 test -z "$ac_c_werror_flag" ||
   19907 	 test ! -s conftest.err
   19908        } && test -s conftest.$ac_objext; then
   19909   ac_cv_prog_cc_c89=$ac_arg
   19910 else
   19911   echo "$as_me: failed program was:" >&5
   19912 sed 's/^/| /' conftest.$ac_ext >&5
   19913 
   19914 
   19915 fi
   19916 
   19917 rm -f core conftest.err conftest.$ac_objext
   19918   test "x$ac_cv_prog_cc_c89" != "xno" && break
   19919 done
   19920 rm -f conftest.$ac_ext
   19921 CC=$ac_save_CC
   19922 
   19923 fi
   19924 # AC_CACHE_VAL
   19925 case "x$ac_cv_prog_cc_c89" in
   19926   x)
   19927     { echo "$as_me:$LINENO: result: none needed" >&5
   19928 echo "${ECHO_T}none needed" >&6; } ;;
   19929   xno)
   19930     { echo "$as_me:$LINENO: result: unsupported" >&5
   19931 echo "${ECHO_T}unsupported" >&6; } ;;
   19932   *)
   19933     CC="$CC $ac_cv_prog_cc_c89"
   19934     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   19935 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   19936 esac
   19937 
   19938 
   19939 ac_ext=c
   19940 ac_cpp='$CPP $CPPFLAGS'
   19941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19944 
   19945 depcc="$CC"   am_compiler_list=
   19946 
   19947 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   19948 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   19949 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   19950   echo $ECHO_N "(cached) $ECHO_C" >&6
   19951 else
   19952   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   19953   # We make a subdir and do the tests there.  Otherwise we can end up
   19954   # making bogus files that we don't know about and never remove.  For
   19955   # instance it was reported that on HP-UX the gcc test will end up
   19956   # making a dummy file named `D' -- because `-MD' means `put the output
   19957   # in D'.
   19958   mkdir conftest.dir
   19959   # Copy depcomp to subdir because otherwise we won't find it if we're
   19960   # using a relative directory.
   19961   cp "$am_depcomp" conftest.dir
   19962   cd conftest.dir
   19963   # We will build objects and dependencies in a subdirectory because
   19964   # it helps to detect inapplicable dependency modes.  For instance
   19965   # both Tru64's cc and ICC support -MD to output dependencies as a
   19966   # side effect of compilation, but ICC will put the dependencies in
   19967   # the current directory while Tru64 will put them in the object
   19968   # directory.
   19969   mkdir sub
   19970 
   19971   am_cv_CC_dependencies_compiler_type=none
   19972   if test "$am_compiler_list" = ""; then
   19973      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   19974   fi
   19975   for depmode in $am_compiler_list; do
   19976     # Setup a source with many dependencies, because some compilers
   19977     # like to wrap large dependency lists on column 80 (with \), and
   19978     # we should not choose a depcomp mode which is confused by this.
   19979     #
   19980     # We need to recreate these files for each test, as the compiler may
   19981     # overwrite some of them when testing with obscure command lines.
   19982     # This happens at least with the AIX C compiler.
   19983     : > sub/conftest.c
   19984     for i in 1 2 3 4 5 6; do
   19985       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   19986       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   19987       # Solaris 8's {/usr,}/bin/sh.
   19988       touch sub/conftst$i.h
   19989     done
   19990     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   19991 
   19992     case $depmode in
   19993     nosideeffect)
   19994       # after this tag, mechanisms are not by side-effect, so they'll
   19995       # only be used when explicitly requested
   19996       if test "x$enable_dependency_tracking" = xyes; then
   19997 	continue
   19998       else
   19999 	break
   20000       fi
   20001       ;;
   20002     none) break ;;
   20003     esac
   20004     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20005     # mode.  It turns out that the SunPro C++ compiler does not properly
   20006     # handle `-M -o', and we need to detect this.
   20007     if depmode=$depmode \
   20008        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   20009        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20010        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   20011          >/dev/null 2>conftest.err &&
   20012        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20013        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20014        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   20015        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20016       # icc doesn't choke on unknown options, it will just issue warnings
   20017       # or remarks (even with -Werror).  So we grep stderr for any message
   20018       # that says an option was ignored or not supported.
   20019       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20020       #   icc: Command line warning: ignoring option '-M'; no argument required
   20021       # The diagnosis changed in icc 8.0:
   20022       #   icc: Command line remark: option '-MP' not supported
   20023       if (grep 'ignoring option' conftest.err ||
   20024           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20025         am_cv_CC_dependencies_compiler_type=$depmode
   20026         break
   20027       fi
   20028     fi
   20029   done
   20030 
   20031   cd ..
   20032   rm -rf conftest.dir
   20033 else
   20034   am_cv_CC_dependencies_compiler_type=none
   20035 fi
   20036 
   20037 fi
   20038 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20039 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   20040 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20041 
   20042  if
   20043   test "x$enable_dependency_tracking" != xno \
   20044   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20045   am__fastdepCC_TRUE=
   20046   am__fastdepCC_FALSE='#'
   20047 else
   20048   am__fastdepCC_TRUE='#'
   20049   am__fastdepCC_FALSE=
   20050 fi
   20051 
   20052 
   20053 
   20054 # Checks for pkg-config packages
   20055 
   20056 
   20057 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20058 	if test -n "$ac_tool_prefix"; then
   20059   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20060 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20063 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20064   echo $ECHO_N "(cached) $ECHO_C" >&6
   20065 else
   20066   case $PKG_CONFIG in
   20067   [\\/]* | ?:[\\/]*)
   20068   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20069   ;;
   20070   *)
   20071   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20072 for as_dir in $PATH
   20073 do
   20074   IFS=$as_save_IFS
   20075   test -z "$as_dir" && as_dir=.
   20076   for ac_exec_ext in '' $ac_executable_extensions; do
   20077   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20078     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20079     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20080     break 2
   20081   fi
   20082 done
   20083 done
   20084 IFS=$as_save_IFS
   20085 
   20086   ;;
   20087 esac
   20088 fi
   20089 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20090 if test -n "$PKG_CONFIG"; then
   20091   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20092 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   20093 else
   20094   { echo "$as_me:$LINENO: result: no" >&5
   20095 echo "${ECHO_T}no" >&6; }
   20096 fi
   20097 
   20098 
   20099 fi
   20100 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20101   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20102   # Extract the first word of "pkg-config", so it can be a program name with args.
   20103 set dummy pkg-config; ac_word=$2
   20104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20106 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20107   echo $ECHO_N "(cached) $ECHO_C" >&6
   20108 else
   20109   case $ac_pt_PKG_CONFIG in
   20110   [\\/]* | ?:[\\/]*)
   20111   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20112   ;;
   20113   *)
   20114   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20115 for as_dir in $PATH
   20116 do
   20117   IFS=$as_save_IFS
   20118   test -z "$as_dir" && as_dir=.
   20119   for ac_exec_ext in '' $ac_executable_extensions; do
   20120   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20121     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20122     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20123     break 2
   20124   fi
   20125 done
   20126 done
   20127 IFS=$as_save_IFS
   20128 
   20129   ;;
   20130 esac
   20131 fi
   20132 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20133 if test -n "$ac_pt_PKG_CONFIG"; then
   20134   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   20135 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   20136 else
   20137   { echo "$as_me:$LINENO: result: no" >&5
   20138 echo "${ECHO_T}no" >&6; }
   20139 fi
   20140 
   20141   if test "x$ac_pt_PKG_CONFIG" = x; then
   20142     PKG_CONFIG=""
   20143   else
   20144     case $cross_compiling:$ac_tool_warned in
   20145 yes:)
   20146 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   20147 whose name does not start with the host triplet.  If you think this
   20148 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   20149 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   20150 whose name does not start with the host triplet.  If you think this
   20151 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   20152 ac_tool_warned=yes ;;
   20153 esac
   20154     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20155   fi
   20156 else
   20157   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20158 fi
   20159 
   20160 fi
   20161 if test -n "$PKG_CONFIG"; then
   20162 	_pkg_min_version=0.9.0
   20163 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   20164 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   20165 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20166 		{ echo "$as_me:$LINENO: result: yes" >&5
   20167 echo "${ECHO_T}yes" >&6; }
   20168 	else
   20169 		{ echo "$as_me:$LINENO: result: no" >&5
   20170 echo "${ECHO_T}no" >&6; }
   20171 		PKG_CONFIG=""
   20172 	fi
   20173 
   20174 fi
   20175 
   20176 pkg_failed=no
   20177 { echo "$as_me:$LINENO: checking for XEXT" >&5
   20178 echo $ECHO_N "checking for XEXT... $ECHO_C" >&6; }
   20179 
   20180 if test -n "$PKG_CONFIG"; then
   20181         if test -n "$PKG_CONFIG" && \
   20182     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xextproto xau\"") >&5
   20183   ($PKG_CONFIG --exists --print-errors "xproto x11 xextproto xau") 2>&5
   20184   ac_status=$?
   20185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20186   (exit $ac_status); }; then
   20187   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xextproto xau" 2>/dev/null`
   20188 else
   20189   pkg_failed=yes
   20190 fi
   20191 else
   20192 	pkg_failed=untried
   20193 fi
   20194 if test -n "$PKG_CONFIG"; then
   20195         if test -n "$PKG_CONFIG" && \
   20196     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xextproto xau\"") >&5
   20197   ($PKG_CONFIG --exists --print-errors "xproto x11 xextproto xau") 2>&5
   20198   ac_status=$?
   20199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20200   (exit $ac_status); }; then
   20201   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xproto x11 xextproto xau" 2>/dev/null`
   20202 else
   20203   pkg_failed=yes
   20204 fi
   20205 else
   20206 	pkg_failed=untried
   20207 fi
   20208 
   20209 if test $pkg_failed = yes; then
   20210 	XEXT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto x11 xextproto xau"`
   20211 	# Put the nasty error message in config.log where it belongs
   20212 	echo "$XEXT_PKG_ERRORS" 1>&5
   20213 
   20214 	{ { echo "$as_me:$LINENO: error: Package requirements (xproto x11 xextproto xau) were not met.
   20215 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20216 installed software in a non-standard prefix.
   20217 
   20218 Alternatively you may set the XEXT_CFLAGS and XEXT_LIBS environment variables
   20219 to avoid the need to call pkg-config.  See the pkg-config man page for
   20220 more details." >&5
   20221 echo "$as_me: error: Package requirements (xproto x11 xextproto xau) were not met.
   20222 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20223 installed software in a non-standard prefix.
   20224 
   20225 Alternatively you may set the XEXT_CFLAGS and XEXT_LIBS environment variables
   20226 to avoid the need to call pkg-config.  See the pkg-config man page for
   20227 more details." >&2;}
   20228    { (exit 1); exit 1; }; }
   20229 elif test $pkg_failed = untried; then
   20230 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20231 is in your PATH or set the PKG_CONFIG environment variable to the full
   20232 path to pkg-config.
   20233 
   20234 Alternatively you may set the XEXT_CFLAGS and XEXT_LIBS environment variables
   20235 to avoid the need to call pkg-config.  See the pkg-config man page for
   20236 more details.
   20237 
   20238 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   20239 See \`config.log' for more details." >&5
   20240 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20241 is in your PATH or set the PKG_CONFIG environment variable to the full
   20242 path to pkg-config.
   20243 
   20244 Alternatively you may set the XEXT_CFLAGS and XEXT_LIBS environment variables
   20245 to avoid the need to call pkg-config.  See the pkg-config man page for
   20246 more details.
   20247 
   20248 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   20249 See \`config.log' for more details." >&2;}
   20250    { (exit 1); exit 1; }; }
   20251 else
   20252 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   20253 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   20254         { echo "$as_me:$LINENO: result: yes" >&5
   20255 echo "${ECHO_T}yes" >&6; }
   20256 	:
   20257 fi
   20258 
   20259 
   20260 
   20261 # Checks for libraries.
   20262 
   20263 # Checks for header files.
   20264 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   20265 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   20266 if test "${ac_cv_header_stdc+set}" = set; then
   20267   echo $ECHO_N "(cached) $ECHO_C" >&6
   20268 else
   20269   cat >conftest.$ac_ext <<_ACEOF
   20270 /* confdefs.h.  */
   20271 _ACEOF
   20272 cat confdefs.h >>conftest.$ac_ext
   20273 cat >>conftest.$ac_ext <<_ACEOF
   20274 /* end confdefs.h.  */
   20275 #include <stdlib.h>
   20276 #include <stdarg.h>
   20277 #include <string.h>
   20278 #include <float.h>
   20279 
   20280 int
   20281 main ()
   20282 {
   20283 
   20284   ;
   20285   return 0;
   20286 }
   20287 _ACEOF
   20288 rm -f conftest.$ac_objext
   20289 if { (ac_try="$ac_compile"
   20290 case "(($ac_try" in
   20291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20292   *) ac_try_echo=$ac_try;;
   20293 esac
   20294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20295   (eval "$ac_compile") 2>conftest.er1
   20296   ac_status=$?
   20297   grep -v '^ *+' conftest.er1 >conftest.err
   20298   rm -f conftest.er1
   20299   cat conftest.err >&5
   20300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20301   (exit $ac_status); } && {
   20302 	 test -z "$ac_c_werror_flag" ||
   20303 	 test ! -s conftest.err
   20304        } && test -s conftest.$ac_objext; then
   20305   ac_cv_header_stdc=yes
   20306 else
   20307   echo "$as_me: failed program was:" >&5
   20308 sed 's/^/| /' conftest.$ac_ext >&5
   20309 
   20310 	ac_cv_header_stdc=no
   20311 fi
   20312 
   20313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20314 
   20315 if test $ac_cv_header_stdc = yes; then
   20316   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   20317   cat >conftest.$ac_ext <<_ACEOF
   20318 /* confdefs.h.  */
   20319 _ACEOF
   20320 cat confdefs.h >>conftest.$ac_ext
   20321 cat >>conftest.$ac_ext <<_ACEOF
   20322 /* end confdefs.h.  */
   20323 #include <string.h>
   20324 
   20325 _ACEOF
   20326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20327   $EGREP "memchr" >/dev/null 2>&1; then
   20328   :
   20329 else
   20330   ac_cv_header_stdc=no
   20331 fi
   20332 rm -f conftest*
   20333 
   20334 fi
   20335 
   20336 if test $ac_cv_header_stdc = yes; then
   20337   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   20338   cat >conftest.$ac_ext <<_ACEOF
   20339 /* confdefs.h.  */
   20340 _ACEOF
   20341 cat confdefs.h >>conftest.$ac_ext
   20342 cat >>conftest.$ac_ext <<_ACEOF
   20343 /* end confdefs.h.  */
   20344 #include <stdlib.h>
   20345 
   20346 _ACEOF
   20347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20348   $EGREP "free" >/dev/null 2>&1; then
   20349   :
   20350 else
   20351   ac_cv_header_stdc=no
   20352 fi
   20353 rm -f conftest*
   20354 
   20355 fi
   20356 
   20357 if test $ac_cv_header_stdc = yes; then
   20358   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   20359   if test "$cross_compiling" = yes; then
   20360   :
   20361 else
   20362   cat >conftest.$ac_ext <<_ACEOF
   20363 /* confdefs.h.  */
   20364 _ACEOF
   20365 cat confdefs.h >>conftest.$ac_ext
   20366 cat >>conftest.$ac_ext <<_ACEOF
   20367 /* end confdefs.h.  */
   20368 #include <ctype.h>
   20369 #include <stdlib.h>
   20370 #if ((' ' & 0x0FF) == 0x020)
   20371 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   20372 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   20373 #else
   20374 # define ISLOWER(c) \
   20375 		   (('a' <= (c) && (c) <= 'i') \
   20376 		     || ('j' <= (c) && (c) <= 'r') \
   20377 		     || ('s' <= (c) && (c) <= 'z'))
   20378 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   20379 #endif
   20380 
   20381 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   20382 int
   20383 main ()
   20384 {
   20385   int i;
   20386   for (i = 0; i < 256; i++)
   20387     if (XOR (islower (i), ISLOWER (i))
   20388 	|| toupper (i) != TOUPPER (i))
   20389       return 2;
   20390   return 0;
   20391 }
   20392 _ACEOF
   20393 rm -f conftest$ac_exeext
   20394 if { (ac_try="$ac_link"
   20395 case "(($ac_try" in
   20396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20397   *) ac_try_echo=$ac_try;;
   20398 esac
   20399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20400   (eval "$ac_link") 2>&5
   20401   ac_status=$?
   20402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20403   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20404   { (case "(($ac_try" in
   20405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20406   *) ac_try_echo=$ac_try;;
   20407 esac
   20408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20409   (eval "$ac_try") 2>&5
   20410   ac_status=$?
   20411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20412   (exit $ac_status); }; }; then
   20413   :
   20414 else
   20415   echo "$as_me: program exited with status $ac_status" >&5
   20416 echo "$as_me: failed program was:" >&5
   20417 sed 's/^/| /' conftest.$ac_ext >&5
   20418 
   20419 ( exit $ac_status )
   20420 ac_cv_header_stdc=no
   20421 fi
   20422 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20423 fi
   20424 
   20425 
   20426 fi
   20427 fi
   20428 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   20429 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   20430 if test $ac_cv_header_stdc = yes; then
   20431 
   20432 cat >>confdefs.h <<\_ACEOF
   20433 #define STDC_HEADERS 1
   20434 _ACEOF
   20435 
   20436 fi
   20437 
   20438 
   20439 
   20440 # Check whether --enable-malloc0returnsnull was given.
   20441 if test "${enable_malloc0returnsnull+set}" = set; then
   20442   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   20443 else
   20444   MALLOC_ZERO_RETURNS_NULL=auto
   20445 fi
   20446 
   20447 
   20448 { echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
   20449 echo $ECHO_N "checking whether malloc(0) returns NULL... $ECHO_C" >&6; }
   20450 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   20451 	if test "$cross_compiling" = yes; then
   20452   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   20453 See \`config.log' for more details." >&5
   20454 echo "$as_me: error: cannot run test program while cross compiling
   20455 See \`config.log' for more details." >&2;}
   20456    { (exit 1); exit 1; }; }
   20457 else
   20458   cat >conftest.$ac_ext <<_ACEOF
   20459 
   20460 char *malloc();
   20461 char *realloc();
   20462 char *calloc();
   20463 main() {
   20464     char *m0, *r0, *c0, *p;
   20465     m0 = malloc(0);
   20466     p = malloc(10);
   20467     r0 = realloc(p,0);
   20468     c0 = calloc(0);
   20469     exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
   20470 }
   20471 _ACEOF
   20472 rm -f conftest$ac_exeext
   20473 if { (ac_try="$ac_link"
   20474 case "(($ac_try" in
   20475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20476   *) ac_try_echo=$ac_try;;
   20477 esac
   20478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20479   (eval "$ac_link") 2>&5
   20480   ac_status=$?
   20481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20482   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20483   { (case "(($ac_try" in
   20484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20485   *) ac_try_echo=$ac_try;;
   20486 esac
   20487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20488   (eval "$ac_try") 2>&5
   20489   ac_status=$?
   20490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20491   (exit $ac_status); }; }; then
   20492   MALLOC_ZERO_RETURNS_NULL=yes
   20493 else
   20494   echo "$as_me: program exited with status $ac_status" >&5
   20495 echo "$as_me: failed program was:" >&5
   20496 sed 's/^/| /' conftest.$ac_ext >&5
   20497 
   20498 ( exit $ac_status )
   20499 MALLOC_ZERO_RETURNS_NULL=no
   20500 fi
   20501 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20502 fi
   20503 
   20504 
   20505 fi
   20506 { echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   20507 echo "${ECHO_T}$MALLOC_ZERO_RETURNS_NULL" >&6; }
   20508 
   20509 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   20510 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   20511 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   20512 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   20513 else
   20514 	MALLOC_ZERO_CFLAGS=""
   20515 	XMALLOC_ZERO_CFLAGS=""
   20516 	XTMALLOC_ZERO_CFLAGS=""
   20517 fi
   20518 
   20519 
   20520 
   20521 
   20522 
   20523 
   20524 
   20525 # Check whether --with-release-version was given.
   20526 if test "${with_release_version+set}" = set; then
   20527   withval=$with_release_version; RELEASE_VERSION="$withval"
   20528 else
   20529   RELEASE_VERSION=""
   20530 fi
   20531 
   20532 	if test "x$RELEASE_VERSION" != "x"; then
   20533 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   20534 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   20535 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   20536 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   20537 	fi
   20538 
   20539 cat >>confdefs.h <<_ACEOF
   20540 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20541 _ACEOF
   20542 
   20543 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20544 	if test "x$PVM" = "x"; then
   20545 		PVM="0"
   20546 	fi
   20547 
   20548 cat >>confdefs.h <<_ACEOF
   20549 #define PACKAGE_VERSION_MINOR $PVM
   20550 _ACEOF
   20551 
   20552 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20553 	if test "x$PVP" = "x"; then
   20554 		PVP="0"
   20555 	fi
   20556 
   20557 cat >>confdefs.h <<_ACEOF
   20558 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   20559 _ACEOF
   20560 
   20561 
   20562 
   20563 # Man page processing requirements
   20564 
   20565 
   20566 for ac_prog in cpp
   20567 do
   20568   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20569 set dummy $ac_prog; ac_word=$2
   20570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20572 if test "${ac_cv_path_RAWCPP+set}" = set; then
   20573   echo $ECHO_N "(cached) $ECHO_C" >&6
   20574 else
   20575   case $RAWCPP in
   20576   [\\/]* | ?:[\\/]*)
   20577   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   20578   ;;
   20579   *)
   20580   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20581 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   20582 for as_dir in $as_dummy
   20583 do
   20584   IFS=$as_save_IFS
   20585   test -z "$as_dir" && as_dir=.
   20586   for ac_exec_ext in '' $ac_executable_extensions; do
   20587   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20588     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   20589     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20590     break 2
   20591   fi
   20592 done
   20593 done
   20594 IFS=$as_save_IFS
   20595 
   20596   ;;
   20597 esac
   20598 fi
   20599 RAWCPP=$ac_cv_path_RAWCPP
   20600 if test -n "$RAWCPP"; then
   20601   { echo "$as_me:$LINENO: result: $RAWCPP" >&5
   20602 echo "${ECHO_T}$RAWCPP" >&6; }
   20603 else
   20604   { echo "$as_me:$LINENO: result: no" >&5
   20605 echo "${ECHO_T}no" >&6; }
   20606 fi
   20607 
   20608 
   20609   test -n "$RAWCPP" && break
   20610 done
   20611 test -n "$RAWCPP" || RAWCPP="${CPP}"
   20612 
   20613 
   20614 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   20615 # which is not the best choice for supporting other OS'es, but covers most
   20616 # of the ones we need for now.
   20617 { echo "$as_me:$LINENO: checking if $RAWCPP requires -undef" >&5
   20618 echo $ECHO_N "checking if $RAWCPP requires -undef... $ECHO_C" >&6; }
   20619 cat >conftest.$ac_ext <<_ACEOF
   20620 Does cpp redefine unix ?
   20621 _ACEOF
   20622 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   20623 	{ echo "$as_me:$LINENO: result: no" >&5
   20624 echo "${ECHO_T}no" >&6; }
   20625 else
   20626 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   20627 		RAWCPPFLAGS=-undef
   20628 		{ echo "$as_me:$LINENO: result: yes" >&5
   20629 echo "${ECHO_T}yes" >&6; }
   20630 	else
   20631 		{ { echo "$as_me:$LINENO: error: ${RAWCPP} defines unix with or without -undef.  I don't know what to do." >&5
   20632 echo "$as_me: error: ${RAWCPP} defines unix with or without -undef.  I don't know what to do." >&2;}
   20633    { (exit 1); exit 1; }; }
   20634 	fi
   20635 fi
   20636 rm -f conftest.$ac_ext
   20637 
   20638 { echo "$as_me:$LINENO: checking if $RAWCPP requires -traditional" >&5
   20639 echo $ECHO_N "checking if $RAWCPP requires -traditional... $ECHO_C" >&6; }
   20640 cat >conftest.$ac_ext <<_ACEOF
   20641 Does cpp preserve   "whitespace"?
   20642 _ACEOF
   20643 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   20644 	{ echo "$as_me:$LINENO: result: no" >&5
   20645 echo "${ECHO_T}no" >&6; }
   20646 else
   20647 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   20648 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   20649 		{ echo "$as_me:$LINENO: result: yes" >&5
   20650 echo "${ECHO_T}yes" >&6; }
   20651 	else
   20652 		{ { echo "$as_me:$LINENO: error: ${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." >&5
   20653 echo "$as_me: error: ${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." >&2;}
   20654    { (exit 1); exit 1; }; }
   20655 	fi
   20656 fi
   20657 rm -f conftest.$ac_ext
   20658 
   20659 
   20660 
   20661 
   20662 
   20663 if test x$APP_MAN_SUFFIX = x    ; then
   20664     APP_MAN_SUFFIX=1
   20665 fi
   20666 if test x$APP_MAN_DIR = x    ; then
   20667     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20668 fi
   20669 
   20670 if test x$LIB_MAN_SUFFIX = x    ; then
   20671     LIB_MAN_SUFFIX=3
   20672 fi
   20673 if test x$LIB_MAN_DIR = x    ; then
   20674     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20675 fi
   20676 
   20677 if test x$FILE_MAN_SUFFIX = x    ; then
   20678     case $host_os in
   20679 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   20680 	*)		FILE_MAN_SUFFIX=5  ;;
   20681     esac
   20682 fi
   20683 if test x$FILE_MAN_DIR = x    ; then
   20684     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20685 fi
   20686 
   20687 if test x$MISC_MAN_SUFFIX = x    ; then
   20688     case $host_os in
   20689 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   20690 	*)		MISC_MAN_SUFFIX=7  ;;
   20691     esac
   20692 fi
   20693 if test x$MISC_MAN_DIR = x    ; then
   20694     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20695 fi
   20696 
   20697 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20698     case $host_os in
   20699 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   20700 	*)		DRIVER_MAN_SUFFIX=4  ;;
   20701     esac
   20702 fi
   20703 if test x$DRIVER_MAN_DIR = x    ; then
   20704     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20705 fi
   20706 
   20707 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20708     case $host_os in
   20709 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   20710 	*)		ADMIN_MAN_SUFFIX=8  ;;
   20711     esac
   20712 fi
   20713 if test x$ADMIN_MAN_DIR = x    ; then
   20714     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20715 fi
   20716 
   20717 
   20718 
   20719 
   20720 
   20721 
   20722 
   20723 
   20724 
   20725 
   20726 
   20727 
   20728 
   20729 
   20730 
   20731 
   20732 
   20733 
   20734 # Allow checking code with lint, sparse, etc.
   20735 
   20736 # Check whether --with-lint was given.
   20737 if test "${with_lint+set}" = set; then
   20738   withval=$with_lint; use_lint=$withval
   20739 else
   20740   use_lint=no
   20741 fi
   20742 
   20743 if test "x$use_lint" = "xyes" ; then
   20744 	LINT="lint"
   20745 else
   20746 	LINT="$use_lint"
   20747 fi
   20748 if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
   20749     case $LINT in
   20750 	lint|*/lint)
   20751 	    case $host_os in
   20752 		solaris*)
   20753 			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   20754 			;;
   20755 	    esac
   20756 	    ;;
   20757     esac
   20758 fi
   20759 
   20760 
   20761 
   20762  if test x$LINT != xno; then
   20763   LINT_TRUE=
   20764   LINT_FALSE='#'
   20765 else
   20766   LINT_TRUE='#'
   20767   LINT_FALSE=
   20768 fi
   20769 
   20770 
   20771 
   20772 
   20773 
   20774 # Build lint "library" for more indepth checks of programs calling this library
   20775 # Check whether --enable-lint-library was given.
   20776 if test "${enable_lint_library+set}" = set; then
   20777   enableval=$enable_lint_library; make_lint_lib=$enableval
   20778 else
   20779   make_lint_lib=no
   20780 fi
   20781 
   20782 if test "x$make_lint_lib" != "xno" ; then
   20783 	if test "x$LINT" = "xno" ; then
   20784 		{ { echo "$as_me:$LINENO: error: Cannot make lint library without --with-lint" >&5
   20785 echo "$as_me: error: Cannot make lint library without --with-lint" >&2;}
   20786    { (exit 1); exit 1; }; }
   20787 	fi
   20788 	if test "x$make_lint_lib" = "xyes" ; then
   20789 		LINTLIB=llib-lXext.ln
   20790 	else
   20791 		LINTLIB=$make_lint_lib
   20792 	fi
   20793 fi
   20794 
   20795  if test x$make_lint_lib != xno; then
   20796   MAKE_LINT_LIB_TRUE=
   20797   MAKE_LINT_LIB_FALSE='#'
   20798 else
   20799   MAKE_LINT_LIB_TRUE='#'
   20800   MAKE_LINT_LIB_FALSE=
   20801 fi
   20802 
   20803 
   20804 
   20805 LINT_FLAGS="${LINT_FLAGS} ${XEXT_CFLAGS}"
   20806 
   20807 ac_config_files="$ac_config_files Makefile man/Makefile src/Makefile xext.pc"
   20808 
   20809 cat >confcache <<\_ACEOF
   20810 # This file is a shell script that caches the results of configure
   20811 # tests run on this system so they can be shared between configure
   20812 # scripts and configure runs, see configure's option --config-cache.
   20813 # It is not useful on other systems.  If it contains results you don't
   20814 # want to keep, you may remove or edit it.
   20815 #
   20816 # config.status only pays attention to the cache file if you give it
   20817 # the --recheck option to rerun configure.
   20818 #
   20819 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20820 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20821 # following values.
   20822 
   20823 _ACEOF
   20824 
   20825 # The following way of writing the cache mishandles newlines in values,
   20826 # but we know of no workaround that is simple, portable, and efficient.
   20827 # So, we kill variables containing newlines.
   20828 # Ultrix sh set writes to stderr and can't be redirected directly,
   20829 # and sets the high bit in the cache file unless we assign to the vars.
   20830 (
   20831   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20832     eval ac_val=\$$ac_var
   20833     case $ac_val in #(
   20834     *${as_nl}*)
   20835       case $ac_var in #(
   20836       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   20837 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   20838       esac
   20839       case $ac_var in #(
   20840       _ | IFS | as_nl) ;; #(
   20841       *) $as_unset $ac_var ;;
   20842       esac ;;
   20843     esac
   20844   done
   20845 
   20846   (set) 2>&1 |
   20847     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20848     *${as_nl}ac_space=\ *)
   20849       # `set' does not quote correctly, so add quotes (double-quote
   20850       # substitution turns \\\\ into \\, and sed turns \\ into \).
   20851       sed -n \
   20852 	"s/'/'\\\\''/g;
   20853 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20854       ;; #(
   20855     *)
   20856       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20857       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20858       ;;
   20859     esac |
   20860     sort
   20861 ) |
   20862   sed '
   20863      /^ac_cv_env_/b end
   20864      t clear
   20865      :clear
   20866      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   20867      t end
   20868      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20869      :end' >>confcache
   20870 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20871   if test -w "$cache_file"; then
   20872     test "x$cache_file" != "x/dev/null" &&
   20873       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   20874 echo "$as_me: updating cache $cache_file" >&6;}
   20875     cat confcache >$cache_file
   20876   else
   20877     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   20878 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   20879   fi
   20880 fi
   20881 rm -f confcache
   20882 
   20883 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20884 # Let make expand exec_prefix.
   20885 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20886 
   20887 DEFS=-DHAVE_CONFIG_H
   20888 
   20889 ac_libobjs=
   20890 ac_ltlibobjs=
   20891 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20892   # 1. Remove the extension, and $U if already installed.
   20893   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20894   ac_i=`echo "$ac_i" | sed "$ac_script"`
   20895   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20896   #    will be set to the directory where LIBOBJS objects are built.
   20897   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20898   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   20899 done
   20900 LIBOBJS=$ac_libobjs
   20901 
   20902 LTLIBOBJS=$ac_ltlibobjs
   20903 
   20904 
   20905 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   20906   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   20907 Usually this means the macro was only invoked conditionally." >&5
   20908 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   20909 Usually this means the macro was only invoked conditionally." >&2;}
   20910    { (exit 1); exit 1; }; }
   20911 fi
   20912 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20913   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   20914 Usually this means the macro was only invoked conditionally." >&5
   20915 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   20916 Usually this means the macro was only invoked conditionally." >&2;}
   20917    { (exit 1); exit 1; }; }
   20918 fi
   20919 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20920   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   20921 Usually this means the macro was only invoked conditionally." >&5
   20922 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   20923 Usually this means the macro was only invoked conditionally." >&2;}
   20924    { (exit 1); exit 1; }; }
   20925 fi
   20926 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   20927   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   20928 Usually this means the macro was only invoked conditionally." >&5
   20929 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   20930 Usually this means the macro was only invoked conditionally." >&2;}
   20931    { (exit 1); exit 1; }; }
   20932 fi
   20933 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20934   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   20935 Usually this means the macro was only invoked conditionally." >&5
   20936 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   20937 Usually this means the macro was only invoked conditionally." >&2;}
   20938    { (exit 1); exit 1; }; }
   20939 fi
   20940 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   20941   { { echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
   20942 Usually this means the macro was only invoked conditionally." >&5
   20943 echo "$as_me: error: conditional \"LINT\" was never defined.
   20944 Usually this means the macro was only invoked conditionally." >&2;}
   20945    { (exit 1); exit 1; }; }
   20946 fi
   20947 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   20948   { { echo "$as_me:$LINENO: error: conditional \"MAKE_LINT_LIB\" was never defined.
   20949 Usually this means the macro was only invoked conditionally." >&5
   20950 echo "$as_me: error: conditional \"MAKE_LINT_LIB\" was never defined.
   20951 Usually this means the macro was only invoked conditionally." >&2;}
   20952    { (exit 1); exit 1; }; }
   20953 fi
   20954 
   20955 : ${CONFIG_STATUS=./config.status}
   20956 ac_clean_files_save=$ac_clean_files
   20957 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20958 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   20959 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   20960 cat >$CONFIG_STATUS <<_ACEOF
   20961 #! $SHELL
   20962 # Generated by $as_me.
   20963 # Run this file to recreate the current configuration.
   20964 # Compiler output produced by configure, useful for debugging
   20965 # configure, is in config.log if it exists.
   20966 
   20967 debug=false
   20968 ac_cs_recheck=false
   20969 ac_cs_silent=false
   20970 SHELL=\${CONFIG_SHELL-$SHELL}
   20971 _ACEOF
   20972 
   20973 cat >>$CONFIG_STATUS <<\_ACEOF
   20974 ## --------------------- ##
   20975 ## M4sh Initialization.  ##
   20976 ## --------------------- ##
   20977 
   20978 # Be more Bourne compatible
   20979 DUALCASE=1; export DUALCASE # for MKS sh
   20980 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   20981   emulate sh
   20982   NULLCMD=:
   20983   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   20984   # is contrary to our usage.  Disable this feature.
   20985   alias -g '${1+"$@"}'='"$@"'
   20986   setopt NO_GLOB_SUBST
   20987 else
   20988   case `(set -o) 2>/dev/null` in
   20989   *posix*) set -o posix ;;
   20990 esac
   20991 
   20992 fi
   20993 
   20994 
   20995 
   20996 
   20997 # PATH needs CR
   20998 # Avoid depending upon Character Ranges.
   20999 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21000 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21001 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21002 as_cr_digits='0123456789'
   21003 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21004 
   21005 # The user is always right.
   21006 if test "${PATH_SEPARATOR+set}" != set; then
   21007   echo "#! /bin/sh" >conf$$.sh
   21008   echo  "exit 0"   >>conf$$.sh
   21009   chmod +x conf$$.sh
   21010   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   21011     PATH_SEPARATOR=';'
   21012   else
   21013     PATH_SEPARATOR=:
   21014   fi
   21015   rm -f conf$$.sh
   21016 fi
   21017 
   21018 # Support unset when possible.
   21019 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   21020   as_unset=unset
   21021 else
   21022   as_unset=false
   21023 fi
   21024 
   21025 
   21026 # IFS
   21027 # We need space, tab and new line, in precisely that order.  Quoting is
   21028 # there to prevent editors from complaining about space-tab.
   21029 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21030 # splitting by setting IFS to empty value.)
   21031 as_nl='
   21032 '
   21033 IFS=" ""	$as_nl"
   21034 
   21035 # Find who we are.  Look in the path if we contain no directory separator.
   21036 case $0 in
   21037   *[\\/]* ) as_myself=$0 ;;
   21038   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21039 for as_dir in $PATH
   21040 do
   21041   IFS=$as_save_IFS
   21042   test -z "$as_dir" && as_dir=.
   21043   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21044 done
   21045 IFS=$as_save_IFS
   21046 
   21047      ;;
   21048 esac
   21049 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21050 # in which case we are not to be found in the path.
   21051 if test "x$as_myself" = x; then
   21052   as_myself=$0
   21053 fi
   21054 if test ! -f "$as_myself"; then
   21055   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21056   { (exit 1); exit 1; }
   21057 fi
   21058 
   21059 # Work around bugs in pre-3.0 UWIN ksh.
   21060 for as_var in ENV MAIL MAILPATH
   21061 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21062 done
   21063 PS1='$ '
   21064 PS2='> '
   21065 PS4='+ '
   21066 
   21067 # NLS nuisances.
   21068 for as_var in \
   21069   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   21070   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   21071   LC_TELEPHONE LC_TIME
   21072 do
   21073   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   21074     eval $as_var=C; export $as_var
   21075   else
   21076     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21077   fi
   21078 done
   21079 
   21080 # Required to use basename.
   21081 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21082    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21083   as_expr=expr
   21084 else
   21085   as_expr=false
   21086 fi
   21087 
   21088 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21089   as_basename=basename
   21090 else
   21091   as_basename=false
   21092 fi
   21093 
   21094 
   21095 # Name of the executable.
   21096 as_me=`$as_basename -- "$0" ||
   21097 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21098 	 X"$0" : 'X\(//\)$' \| \
   21099 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21100 echo X/"$0" |
   21101     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21102 	    s//\1/
   21103 	    q
   21104 	  }
   21105 	  /^X\/\(\/\/\)$/{
   21106 	    s//\1/
   21107 	    q
   21108 	  }
   21109 	  /^X\/\(\/\).*/{
   21110 	    s//\1/
   21111 	    q
   21112 	  }
   21113 	  s/.*/./; q'`
   21114 
   21115 # CDPATH.
   21116 $as_unset CDPATH
   21117 
   21118 
   21119 
   21120   as_lineno_1=$LINENO
   21121   as_lineno_2=$LINENO
   21122   test "x$as_lineno_1" != "x$as_lineno_2" &&
   21123   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   21124 
   21125   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   21126   # uniformly replaced by the line number.  The first 'sed' inserts a
   21127   # line-number line after each line using $LINENO; the second 'sed'
   21128   # does the real work.  The second script uses 'N' to pair each
   21129   # line-number line with the line containing $LINENO, and appends
   21130   # trailing '-' during substitution so that $LINENO is not a special
   21131   # case at line end.
   21132   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   21133   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   21134   # E. McMahon (1931-1989) for sed's syntax.  :-)
   21135   sed -n '
   21136     p
   21137     /[$]LINENO/=
   21138   ' <$as_myself |
   21139     sed '
   21140       s/[$]LINENO.*/&-/
   21141       t lineno
   21142       b
   21143       :lineno
   21144       N
   21145       :loop
   21146       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   21147       t loop
   21148       s/-\n.*//
   21149     ' >$as_me.lineno &&
   21150   chmod +x "$as_me.lineno" ||
   21151     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   21152    { (exit 1); exit 1; }; }
   21153 
   21154   # Don't try to exec as it changes $[0], causing all sort of problems
   21155   # (the dirname of $[0] is not the place where we might find the
   21156   # original and so on.  Autoconf is especially sensitive to this).
   21157   . "./$as_me.lineno"
   21158   # Exit status is that of the last command.
   21159   exit
   21160 }
   21161 
   21162 
   21163 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21164   as_dirname=dirname
   21165 else
   21166   as_dirname=false
   21167 fi
   21168 
   21169 ECHO_C= ECHO_N= ECHO_T=
   21170 case `echo -n x` in
   21171 -n*)
   21172   case `echo 'x\c'` in
   21173   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21174   *)   ECHO_C='\c';;
   21175   esac;;
   21176 *)
   21177   ECHO_N='-n';;
   21178 esac
   21179 
   21180 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21181    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21182   as_expr=expr
   21183 else
   21184   as_expr=false
   21185 fi
   21186 
   21187 rm -f conf$$ conf$$.exe conf$$.file
   21188 if test -d conf$$.dir; then
   21189   rm -f conf$$.dir/conf$$.file
   21190 else
   21191   rm -f conf$$.dir
   21192   mkdir conf$$.dir
   21193 fi
   21194 echo >conf$$.file
   21195 if ln -s conf$$.file conf$$ 2>/dev/null; then
   21196   as_ln_s='ln -s'
   21197   # ... but there are two gotchas:
   21198   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21199   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21200   # In both cases, we have to default to `cp -p'.
   21201   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21202     as_ln_s='cp -p'
   21203 elif ln conf$$.file conf$$ 2>/dev/null; then
   21204   as_ln_s=ln
   21205 else
   21206   as_ln_s='cp -p'
   21207 fi
   21208 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21209 rmdir conf$$.dir 2>/dev/null
   21210 
   21211 if mkdir -p . 2>/dev/null; then
   21212   as_mkdir_p=:
   21213 else
   21214   test -d ./-p && rmdir ./-p
   21215   as_mkdir_p=false
   21216 fi
   21217 
   21218 if test -x / >/dev/null 2>&1; then
   21219   as_test_x='test -x'
   21220 else
   21221   if ls -dL / >/dev/null 2>&1; then
   21222     as_ls_L_option=L
   21223   else
   21224     as_ls_L_option=
   21225   fi
   21226   as_test_x='
   21227     eval sh -c '\''
   21228       if test -d "$1"; then
   21229         test -d "$1/.";
   21230       else
   21231 	case $1 in
   21232         -*)set "./$1";;
   21233 	esac;
   21234 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   21235 	???[sx]*):;;*)false;;esac;fi
   21236     '\'' sh
   21237   '
   21238 fi
   21239 as_executable_p=$as_test_x
   21240 
   21241 # Sed expression to map a string onto a valid CPP name.
   21242 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21243 
   21244 # Sed expression to map a string onto a valid variable name.
   21245 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21246 
   21247 
   21248 exec 6>&1
   21249 
   21250 # Save the log message, to keep $[0] and so on meaningful, and to
   21251 # report actual input values of CONFIG_FILES etc. instead of their
   21252 # values after options handling.
   21253 ac_log="
   21254 This file was extended by libXext $as_me 1.0.4, which was
   21255 generated by GNU Autoconf 2.61.  Invocation command line was
   21256 
   21257   CONFIG_FILES    = $CONFIG_FILES
   21258   CONFIG_HEADERS  = $CONFIG_HEADERS
   21259   CONFIG_LINKS    = $CONFIG_LINKS
   21260   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21261   $ $0 $@
   21262 
   21263 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21264 "
   21265 
   21266 _ACEOF
   21267 
   21268 cat >>$CONFIG_STATUS <<_ACEOF
   21269 # Files that config.status was made for.
   21270 config_files="$ac_config_files"
   21271 config_headers="$ac_config_headers"
   21272 config_commands="$ac_config_commands"
   21273 
   21274 _ACEOF
   21275 
   21276 cat >>$CONFIG_STATUS <<\_ACEOF
   21277 ac_cs_usage="\
   21278 \`$as_me' instantiates files from templates according to the
   21279 current configuration.
   21280 
   21281 Usage: $0 [OPTIONS] [FILE]...
   21282 
   21283   -h, --help       print this help, then exit
   21284   -V, --version    print version number and configuration settings, then exit
   21285   -q, --quiet      do not print progress messages
   21286   -d, --debug      don't remove temporary files
   21287       --recheck    update $as_me by reconfiguring in the same conditions
   21288   --file=FILE[:TEMPLATE]
   21289 		   instantiate the configuration file FILE
   21290   --header=FILE[:TEMPLATE]
   21291 		   instantiate the configuration header FILE
   21292 
   21293 Configuration files:
   21294 $config_files
   21295 
   21296 Configuration headers:
   21297 $config_headers
   21298 
   21299 Configuration commands:
   21300 $config_commands
   21301 
   21302 Report bugs to <bug-autoconf (at] gnu.org>."
   21303 
   21304 _ACEOF
   21305 cat >>$CONFIG_STATUS <<_ACEOF
   21306 ac_cs_version="\\
   21307 libXext config.status 1.0.4
   21308 configured by $0, generated by GNU Autoconf 2.61,
   21309   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   21310 
   21311 Copyright (C) 2006 Free Software Foundation, Inc.
   21312 This config.status script is free software; the Free Software Foundation
   21313 gives unlimited permission to copy, distribute and modify it."
   21314 
   21315 ac_pwd='$ac_pwd'
   21316 srcdir='$srcdir'
   21317 INSTALL='$INSTALL'
   21318 MKDIR_P='$MKDIR_P'
   21319 _ACEOF
   21320 
   21321 cat >>$CONFIG_STATUS <<\_ACEOF
   21322 # If no file are specified by the user, then we need to provide default
   21323 # value.  By we need to know if files were specified by the user.
   21324 ac_need_defaults=:
   21325 while test $# != 0
   21326 do
   21327   case $1 in
   21328   --*=*)
   21329     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21330     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21331     ac_shift=:
   21332     ;;
   21333   *)
   21334     ac_option=$1
   21335     ac_optarg=$2
   21336     ac_shift=shift
   21337     ;;
   21338   esac
   21339 
   21340   case $ac_option in
   21341   # Handling of the options.
   21342   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21343     ac_cs_recheck=: ;;
   21344   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21345     echo "$ac_cs_version"; exit ;;
   21346   --debug | --debu | --deb | --de | --d | -d )
   21347     debug=: ;;
   21348   --file | --fil | --fi | --f )
   21349     $ac_shift
   21350     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   21351     ac_need_defaults=false;;
   21352   --header | --heade | --head | --hea )
   21353     $ac_shift
   21354     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   21355     ac_need_defaults=false;;
   21356   --he | --h)
   21357     # Conflict between --help and --header
   21358     { echo "$as_me: error: ambiguous option: $1
   21359 Try \`$0 --help' for more information." >&2
   21360    { (exit 1); exit 1; }; };;
   21361   --help | --hel | -h )
   21362     echo "$ac_cs_usage"; exit ;;
   21363   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21364   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21365     ac_cs_silent=: ;;
   21366 
   21367   # This is an error.
   21368   -*) { echo "$as_me: error: unrecognized option: $1
   21369 Try \`$0 --help' for more information." >&2
   21370    { (exit 1); exit 1; }; } ;;
   21371 
   21372   *) ac_config_targets="$ac_config_targets $1"
   21373      ac_need_defaults=false ;;
   21374 
   21375   esac
   21376   shift
   21377 done
   21378 
   21379 ac_configure_extra_args=
   21380 
   21381 if $ac_cs_silent; then
   21382   exec 6>/dev/null
   21383   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21384 fi
   21385 
   21386 _ACEOF
   21387 cat >>$CONFIG_STATUS <<_ACEOF
   21388 if \$ac_cs_recheck; then
   21389   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   21390   CONFIG_SHELL=$SHELL
   21391   export CONFIG_SHELL
   21392   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21393 fi
   21394 
   21395 _ACEOF
   21396 cat >>$CONFIG_STATUS <<\_ACEOF
   21397 exec 5>>config.log
   21398 {
   21399   echo
   21400   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21401 ## Running $as_me. ##
   21402 _ASBOX
   21403   echo "$ac_log"
   21404 } >&5
   21405 
   21406 _ACEOF
   21407 cat >>$CONFIG_STATUS <<_ACEOF
   21408 #
   21409 # INIT-COMMANDS
   21410 #
   21411 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21412 
   21413 _ACEOF
   21414 
   21415 cat >>$CONFIG_STATUS <<\_ACEOF
   21416 
   21417 # Handling of arguments.
   21418 for ac_config_target in $ac_config_targets
   21419 do
   21420   case $ac_config_target in
   21421     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21422     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21423     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21424     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21425     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21426     "xext.pc") CONFIG_FILES="$CONFIG_FILES xext.pc" ;;
   21427 
   21428   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   21429 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   21430    { (exit 1); exit 1; }; };;
   21431   esac
   21432 done
   21433 
   21434 
   21435 # If the user did not use the arguments to specify the items to instantiate,
   21436 # then the envvar interface is used.  Set only those that are not.
   21437 # We use the long form for the default assignment because of an extremely
   21438 # bizarre bug on SunOS 4.1.3.
   21439 if $ac_need_defaults; then
   21440   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21441   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21442   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21443 fi
   21444 
   21445 # Have a temporary directory for convenience.  Make it in the build tree
   21446 # simply because there is no reason against having it here, and in addition,
   21447 # creating and moving files from /tmp can sometimes cause problems.
   21448 # Hook for its removal unless debugging.
   21449 # Note that there is a small window in which the directory will not be cleaned:
   21450 # after its creation but before its name has been assigned to `$tmp'.
   21451 $debug ||
   21452 {
   21453   tmp=
   21454   trap 'exit_status=$?
   21455   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   21456 ' 0
   21457   trap '{ (exit 1); exit 1; }' 1 2 13 15
   21458 }
   21459 # Create a (secure) tmp directory for tmp files.
   21460 
   21461 {
   21462   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21463   test -n "$tmp" && test -d "$tmp"
   21464 }  ||
   21465 {
   21466   tmp=./conf$$-$RANDOM
   21467   (umask 077 && mkdir "$tmp")
   21468 } ||
   21469 {
   21470    echo "$me: cannot create a temporary directory in ." >&2
   21471    { (exit 1); exit 1; }
   21472 }
   21473 
   21474 #
   21475 # Set up the sed scripts for CONFIG_FILES section.
   21476 #
   21477 
   21478 # No need to generate the scripts if there are no CONFIG_FILES.
   21479 # This happens for instance when ./config.status config.h
   21480 if test -n "$CONFIG_FILES"; then
   21481 
   21482 _ACEOF
   21483 
   21484 
   21485 
   21486 ac_delim='%!_!# '
   21487 for ac_last_try in false false false false false :; do
   21488   cat >conf$$subs.sed <<_ACEOF
   21489 SHELL!$SHELL$ac_delim
   21490 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   21491 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   21492 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   21493 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   21494 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   21495 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   21496 exec_prefix!$exec_prefix$ac_delim
   21497 prefix!$prefix$ac_delim
   21498 program_transform_name!$program_transform_name$ac_delim
   21499 bindir!$bindir$ac_delim
   21500 sbindir!$sbindir$ac_delim
   21501 libexecdir!$libexecdir$ac_delim
   21502 datarootdir!$datarootdir$ac_delim
   21503 datadir!$datadir$ac_delim
   21504 sysconfdir!$sysconfdir$ac_delim
   21505 sharedstatedir!$sharedstatedir$ac_delim
   21506 localstatedir!$localstatedir$ac_delim
   21507 includedir!$includedir$ac_delim
   21508 oldincludedir!$oldincludedir$ac_delim
   21509 docdir!$docdir$ac_delim
   21510 infodir!$infodir$ac_delim
   21511 htmldir!$htmldir$ac_delim
   21512 dvidir!$dvidir$ac_delim
   21513 pdfdir!$pdfdir$ac_delim
   21514 psdir!$psdir$ac_delim
   21515 libdir!$libdir$ac_delim
   21516 localedir!$localedir$ac_delim
   21517 mandir!$mandir$ac_delim
   21518 DEFS!$DEFS$ac_delim
   21519 ECHO_C!$ECHO_C$ac_delim
   21520 ECHO_N!$ECHO_N$ac_delim
   21521 ECHO_T!$ECHO_T$ac_delim
   21522 LIBS!$LIBS$ac_delim
   21523 build_alias!$build_alias$ac_delim
   21524 host_alias!$host_alias$ac_delim
   21525 target_alias!$target_alias$ac_delim
   21526 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   21527 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   21528 INSTALL_DATA!$INSTALL_DATA$ac_delim
   21529 am__isrc!$am__isrc$ac_delim
   21530 CYGPATH_W!$CYGPATH_W$ac_delim
   21531 PACKAGE!$PACKAGE$ac_delim
   21532 VERSION!$VERSION$ac_delim
   21533 ACLOCAL!$ACLOCAL$ac_delim
   21534 AUTOCONF!$AUTOCONF$ac_delim
   21535 AUTOMAKE!$AUTOMAKE$ac_delim
   21536 AUTOHEADER!$AUTOHEADER$ac_delim
   21537 MAKEINFO!$MAKEINFO$ac_delim
   21538 install_sh!$install_sh$ac_delim
   21539 STRIP!$STRIP$ac_delim
   21540 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   21541 mkdir_p!$mkdir_p$ac_delim
   21542 AWK!$AWK$ac_delim
   21543 SET_MAKE!$SET_MAKE$ac_delim
   21544 am__leading_dot!$am__leading_dot$ac_delim
   21545 AMTAR!$AMTAR$ac_delim
   21546 am__tar!$am__tar$ac_delim
   21547 am__untar!$am__untar$ac_delim
   21548 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   21549 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   21550 MAINT!$MAINT$ac_delim
   21551 build!$build$ac_delim
   21552 build_cpu!$build_cpu$ac_delim
   21553 build_vendor!$build_vendor$ac_delim
   21554 build_os!$build_os$ac_delim
   21555 host!$host$ac_delim
   21556 host_cpu!$host_cpu$ac_delim
   21557 host_vendor!$host_vendor$ac_delim
   21558 host_os!$host_os$ac_delim
   21559 XEXT_SOREV!$XEXT_SOREV$ac_delim
   21560 CC!$CC$ac_delim
   21561 CFLAGS!$CFLAGS$ac_delim
   21562 LDFLAGS!$LDFLAGS$ac_delim
   21563 CPPFLAGS!$CPPFLAGS$ac_delim
   21564 ac_ct_CC!$ac_ct_CC$ac_delim
   21565 EXEEXT!$EXEEXT$ac_delim
   21566 OBJEXT!$OBJEXT$ac_delim
   21567 DEPDIR!$DEPDIR$ac_delim
   21568 am__include!$am__include$ac_delim
   21569 am__quote!$am__quote$ac_delim
   21570 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   21571 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   21572 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   21573 CCDEPMODE!$CCDEPMODE$ac_delim
   21574 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   21575 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   21576 GREP!$GREP$ac_delim
   21577 EGREP!$EGREP$ac_delim
   21578 LN_S!$LN_S$ac_delim
   21579 ECHO!$ECHO$ac_delim
   21580 AR!$AR$ac_delim
   21581 RANLIB!$RANLIB$ac_delim
   21582 CPP!$CPP$ac_delim
   21583 CXX!$CXX$ac_delim
   21584 CXXFLAGS!$CXXFLAGS$ac_delim
   21585 ac_ct_CXX!$ac_ct_CXX$ac_delim
   21586 _ACEOF
   21587 
   21588   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   21589     break
   21590   elif $ac_last_try; then
   21591     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21592 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21593    { (exit 1); exit 1; }; }
   21594   else
   21595     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21596   fi
   21597 done
   21598 
   21599 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   21600 if test -n "$ac_eof"; then
   21601   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   21602   ac_eof=`expr $ac_eof + 1`
   21603 fi
   21604 
   21605 cat >>$CONFIG_STATUS <<_ACEOF
   21606 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   21607 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21608 _ACEOF
   21609 sed '
   21610 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   21611 s/^/s,@/; s/!/@,|#_!!_#|/
   21612 :n
   21613 t n
   21614 s/'"$ac_delim"'$/,g/; t
   21615 s/$/\\/; p
   21616 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   21617 ' >>$CONFIG_STATUS <conf$$subs.sed
   21618 rm -f conf$$subs.sed
   21619 cat >>$CONFIG_STATUS <<_ACEOF
   21620 CEOF$ac_eof
   21621 _ACEOF
   21622 
   21623 
   21624 ac_delim='%!_!# '
   21625 for ac_last_try in false false false false false :; do
   21626   cat >conf$$subs.sed <<_ACEOF
   21627 CXXDEPMODE!$CXXDEPMODE$ac_delim
   21628 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   21629 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   21630 CXXCPP!$CXXCPP$ac_delim
   21631 F77!$F77$ac_delim
   21632 FFLAGS!$FFLAGS$ac_delim
   21633 ac_ct_F77!$ac_ct_F77$ac_delim
   21634 LIBTOOL!$LIBTOOL$ac_delim
   21635 PKG_CONFIG!$PKG_CONFIG$ac_delim
   21636 XEXT_CFLAGS!$XEXT_CFLAGS$ac_delim
   21637 XEXT_LIBS!$XEXT_LIBS$ac_delim
   21638 MALLOC_ZERO_CFLAGS!$MALLOC_ZERO_CFLAGS$ac_delim
   21639 XMALLOC_ZERO_CFLAGS!$XMALLOC_ZERO_CFLAGS$ac_delim
   21640 XTMALLOC_ZERO_CFLAGS!$XTMALLOC_ZERO_CFLAGS$ac_delim
   21641 RAWCPP!$RAWCPP$ac_delim
   21642 RAWCPPFLAGS!$RAWCPPFLAGS$ac_delim
   21643 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
   21644 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
   21645 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
   21646 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
   21647 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
   21648 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
   21649 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
   21650 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
   21651 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
   21652 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
   21653 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
   21654 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
   21655 LINT!$LINT$ac_delim
   21656 LINT_FLAGS!$LINT_FLAGS$ac_delim
   21657 LINT_TRUE!$LINT_TRUE$ac_delim
   21658 LINT_FALSE!$LINT_FALSE$ac_delim
   21659 LINTLIB!$LINTLIB$ac_delim
   21660 MAKE_LINT_LIB_TRUE!$MAKE_LINT_LIB_TRUE$ac_delim
   21661 MAKE_LINT_LIB_FALSE!$MAKE_LINT_LIB_FALSE$ac_delim
   21662 LIBOBJS!$LIBOBJS$ac_delim
   21663 LTLIBOBJS!$LTLIBOBJS$ac_delim
   21664 _ACEOF
   21665 
   21666   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 37; then
   21667     break
   21668   elif $ac_last_try; then
   21669     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21670 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21671    { (exit 1); exit 1; }; }
   21672   else
   21673     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21674   fi
   21675 done
   21676 
   21677 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   21678 if test -n "$ac_eof"; then
   21679   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   21680   ac_eof=`expr $ac_eof + 1`
   21681 fi
   21682 
   21683 cat >>$CONFIG_STATUS <<_ACEOF
   21684 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   21685 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   21686 _ACEOF
   21687 sed '
   21688 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   21689 s/^/s,@/; s/!/@,|#_!!_#|/
   21690 :n
   21691 t n
   21692 s/'"$ac_delim"'$/,g/; t
   21693 s/$/\\/; p
   21694 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   21695 ' >>$CONFIG_STATUS <conf$$subs.sed
   21696 rm -f conf$$subs.sed
   21697 cat >>$CONFIG_STATUS <<_ACEOF
   21698 :end
   21699 s/|#_!!_#|//g
   21700 CEOF$ac_eof
   21701 _ACEOF
   21702 
   21703 
   21704 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   21705 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   21706 # trailing colons and then remove the whole line if VPATH becomes empty
   21707 # (actually we leave an empty line to preserve line numbers).
   21708 if test "x$srcdir" = x.; then
   21709   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   21710 s/:*\$(srcdir):*/:/
   21711 s/:*\${srcdir}:*/:/
   21712 s/:*@srcdir@:*/:/
   21713 s/^\([^=]*=[	 ]*\):*/\1/
   21714 s/:*$//
   21715 s/^[^=]*=[	 ]*$//
   21716 }'
   21717 fi
   21718 
   21719 cat >>$CONFIG_STATUS <<\_ACEOF
   21720 fi # test -n "$CONFIG_FILES"
   21721 
   21722 
   21723 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   21724 do
   21725   case $ac_tag in
   21726   :[FHLC]) ac_mode=$ac_tag; continue;;
   21727   esac
   21728   case $ac_mode$ac_tag in
   21729   :[FHL]*:*);;
   21730   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   21731 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   21732    { (exit 1); exit 1; }; };;
   21733   :[FH]-) ac_tag=-:-;;
   21734   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21735   esac
   21736   ac_save_IFS=$IFS
   21737   IFS=:
   21738   set x $ac_tag
   21739   IFS=$ac_save_IFS
   21740   shift
   21741   ac_file=$1
   21742   shift
   21743 
   21744   case $ac_mode in
   21745   :L) ac_source=$1;;
   21746   :[FH])
   21747     ac_file_inputs=
   21748     for ac_f
   21749     do
   21750       case $ac_f in
   21751       -) ac_f="$tmp/stdin";;
   21752       *) # Look for the file first in the build tree, then in the source tree
   21753 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21754 	 # because $ac_f cannot contain `:'.
   21755 	 test -f "$ac_f" ||
   21756 	   case $ac_f in
   21757 	   [\\/$]*) false;;
   21758 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21759 	   esac ||
   21760 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   21761 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   21762    { (exit 1); exit 1; }; };;
   21763       esac
   21764       ac_file_inputs="$ac_file_inputs $ac_f"
   21765     done
   21766 
   21767     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21768     # use $as_me), people would be surprised to read:
   21769     #    /* config.h.  Generated by config.status.  */
   21770     configure_input="Generated from "`IFS=:
   21771 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   21772     if test x"$ac_file" != x-; then
   21773       configure_input="$ac_file.  $configure_input"
   21774       { echo "$as_me:$LINENO: creating $ac_file" >&5
   21775 echo "$as_me: creating $ac_file" >&6;}
   21776     fi
   21777 
   21778     case $ac_tag in
   21779     *:-:* | *:-) cat >"$tmp/stdin";;
   21780     esac
   21781     ;;
   21782   esac
   21783 
   21784   ac_dir=`$as_dirname -- "$ac_file" ||
   21785 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21786 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21787 	 X"$ac_file" : 'X\(//\)$' \| \
   21788 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21789 echo X"$ac_file" |
   21790     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21791 	    s//\1/
   21792 	    q
   21793 	  }
   21794 	  /^X\(\/\/\)[^/].*/{
   21795 	    s//\1/
   21796 	    q
   21797 	  }
   21798 	  /^X\(\/\/\)$/{
   21799 	    s//\1/
   21800 	    q
   21801 	  }
   21802 	  /^X\(\/\).*/{
   21803 	    s//\1/
   21804 	    q
   21805 	  }
   21806 	  s/.*/./; q'`
   21807   { as_dir="$ac_dir"
   21808   case $as_dir in #(
   21809   -*) as_dir=./$as_dir;;
   21810   esac
   21811   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   21812     as_dirs=
   21813     while :; do
   21814       case $as_dir in #(
   21815       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   21816       *) as_qdir=$as_dir;;
   21817       esac
   21818       as_dirs="'$as_qdir' $as_dirs"
   21819       as_dir=`$as_dirname -- "$as_dir" ||
   21820 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21821 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21822 	 X"$as_dir" : 'X\(//\)$' \| \
   21823 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21824 echo X"$as_dir" |
   21825     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21826 	    s//\1/
   21827 	    q
   21828 	  }
   21829 	  /^X\(\/\/\)[^/].*/{
   21830 	    s//\1/
   21831 	    q
   21832 	  }
   21833 	  /^X\(\/\/\)$/{
   21834 	    s//\1/
   21835 	    q
   21836 	  }
   21837 	  /^X\(\/\).*/{
   21838 	    s//\1/
   21839 	    q
   21840 	  }
   21841 	  s/.*/./; q'`
   21842       test -d "$as_dir" && break
   21843     done
   21844     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21845   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   21846 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   21847    { (exit 1); exit 1; }; }; }
   21848   ac_builddir=.
   21849 
   21850 case "$ac_dir" in
   21851 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21852 *)
   21853   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   21854   # A ".." for each directory in $ac_dir_suffix.
   21855   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   21856   case $ac_top_builddir_sub in
   21857   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21858   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21859   esac ;;
   21860 esac
   21861 ac_abs_top_builddir=$ac_pwd
   21862 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21863 # for backward compatibility:
   21864 ac_top_builddir=$ac_top_build_prefix
   21865 
   21866 case $srcdir in
   21867   .)  # We are building in place.
   21868     ac_srcdir=.
   21869     ac_top_srcdir=$ac_top_builddir_sub
   21870     ac_abs_top_srcdir=$ac_pwd ;;
   21871   [\\/]* | ?:[\\/]* )  # Absolute name.
   21872     ac_srcdir=$srcdir$ac_dir_suffix;
   21873     ac_top_srcdir=$srcdir
   21874     ac_abs_top_srcdir=$srcdir ;;
   21875   *) # Relative name.
   21876     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21877     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21878     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21879 esac
   21880 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21881 
   21882 
   21883   case $ac_mode in
   21884   :F)
   21885   #
   21886   # CONFIG_FILE
   21887   #
   21888 
   21889   case $INSTALL in
   21890   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21891   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21892   esac
   21893   ac_MKDIR_P=$MKDIR_P
   21894   case $MKDIR_P in
   21895   [\\/$]* | ?:[\\/]* ) ;;
   21896   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21897   esac
   21898 _ACEOF
   21899 
   21900 cat >>$CONFIG_STATUS <<\_ACEOF
   21901 # If the template does not know about datarootdir, expand it.
   21902 # FIXME: This hack should be removed a few years after 2.60.
   21903 ac_datarootdir_hack=; ac_datarootdir_seen=
   21904 
   21905 case `sed -n '/datarootdir/ {
   21906   p
   21907   q
   21908 }
   21909 /@datadir@/p
   21910 /@docdir@/p
   21911 /@infodir@/p
   21912 /@localedir@/p
   21913 /@mandir@/p
   21914 ' $ac_file_inputs` in
   21915 *datarootdir*) ac_datarootdir_seen=yes;;
   21916 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21917   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21918 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21919 _ACEOF
   21920 cat >>$CONFIG_STATUS <<_ACEOF
   21921   ac_datarootdir_hack='
   21922   s&@datadir@&$datadir&g
   21923   s&@docdir@&$docdir&g
   21924   s&@infodir@&$infodir&g
   21925   s&@localedir@&$localedir&g
   21926   s&@mandir@&$mandir&g
   21927     s&\\\${datarootdir}&$datarootdir&g' ;;
   21928 esac
   21929 _ACEOF
   21930 
   21931 # Neutralize VPATH when `$srcdir' = `.'.
   21932 # Shell code in configure.ac might set extrasub.
   21933 # FIXME: do we really want to maintain this feature?
   21934 cat >>$CONFIG_STATUS <<_ACEOF
   21935   sed "$ac_vpsub
   21936 $extrasub
   21937 _ACEOF
   21938 cat >>$CONFIG_STATUS <<\_ACEOF
   21939 :t
   21940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21941 s&@configure_input@&$configure_input&;t t
   21942 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21943 s&@srcdir@&$ac_srcdir&;t t
   21944 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21945 s&@top_srcdir@&$ac_top_srcdir&;t t
   21946 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21947 s&@builddir@&$ac_builddir&;t t
   21948 s&@abs_builddir@&$ac_abs_builddir&;t t
   21949 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21950 s&@INSTALL@&$ac_INSTALL&;t t
   21951 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21952 $ac_datarootdir_hack
   21953 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   21954 
   21955 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21956   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   21957   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   21958   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21959 which seems to be undefined.  Please make sure it is defined." >&5
   21960 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21961 which seems to be undefined.  Please make sure it is defined." >&2;}
   21962 
   21963   rm -f "$tmp/stdin"
   21964   case $ac_file in
   21965   -) cat "$tmp/out"; rm -f "$tmp/out";;
   21966   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   21967   esac
   21968  ;;
   21969   :H)
   21970   #
   21971   # CONFIG_HEADER
   21972   #
   21973 _ACEOF
   21974 
   21975 # Transform confdefs.h into a sed script `conftest.defines', that
   21976 # substitutes the proper values into config.h.in to produce config.h.
   21977 rm -f conftest.defines conftest.tail
   21978 # First, append a space to every undef/define line, to ease matching.
   21979 echo 's/$/ /' >conftest.defines
   21980 # Then, protect against being on the right side of a sed subst, or in
   21981 # an unquoted here document, in config.status.  If some macros were
   21982 # called several times there might be several #defines for the same
   21983 # symbol, which is useless.  But do not sort them, since the last
   21984 # AC_DEFINE must be honored.
   21985 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21986 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   21987 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   21988 # PARAMS is the parameter list in the macro definition--in most cases, it's
   21989 # just an empty string.
   21990 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   21991 ac_dB='\\)[	 (].*,\\1define\\2'
   21992 ac_dC=' '
   21993 ac_dD=' ,'
   21994 
   21995 uniq confdefs.h |
   21996   sed -n '
   21997 	t rset
   21998 	:rset
   21999 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   22000 	t ok
   22001 	d
   22002 	:ok
   22003 	s/[\\&,]/\\&/g
   22004 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   22005 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   22006   ' >>conftest.defines
   22007 
   22008 # Remove the space that was appended to ease matching.
   22009 # Then replace #undef with comments.  This is necessary, for
   22010 # example, in the case of _POSIX_SOURCE, which is predefined and required
   22011 # on some systems where configure will not decide to define it.
   22012 # (The regexp can be short, since the line contains either #define or #undef.)
   22013 echo 's/ $//
   22014 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   22015 
   22016 # Break up conftest.defines:
   22017 ac_max_sed_lines=50
   22018 
   22019 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   22020 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   22021 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   22022 # et cetera.
   22023 ac_in='$ac_file_inputs'
   22024 ac_out='"$tmp/out1"'
   22025 ac_nxt='"$tmp/out2"'
   22026 
   22027 while :
   22028 do
   22029   # Write a here document:
   22030     cat >>$CONFIG_STATUS <<_ACEOF
   22031     # First, check the format of the line:
   22032     cat >"\$tmp/defines.sed" <<\\CEOF
   22033 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   22034 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   22035 b
   22036 :def
   22037 _ACEOF
   22038   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   22039   echo 'CEOF
   22040     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   22041   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   22042   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   22043   grep . conftest.tail >/dev/null || break
   22044   rm -f conftest.defines
   22045   mv conftest.tail conftest.defines
   22046 done
   22047 rm -f conftest.defines conftest.tail
   22048 
   22049 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   22050 cat >>$CONFIG_STATUS <<\_ACEOF
   22051   if test x"$ac_file" != x-; then
   22052     echo "/* $configure_input  */" >"$tmp/config.h"
   22053     cat "$ac_result" >>"$tmp/config.h"
   22054     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   22055       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   22056 echo "$as_me: $ac_file is unchanged" >&6;}
   22057     else
   22058       rm -f $ac_file
   22059       mv "$tmp/config.h" $ac_file
   22060     fi
   22061   else
   22062     echo "/* $configure_input  */"
   22063     cat "$ac_result"
   22064   fi
   22065   rm -f "$tmp/out12"
   22066 # Compute $ac_file's index in $config_headers.
   22067 _am_stamp_count=1
   22068 for _am_header in $config_headers :; do
   22069   case $_am_header in
   22070     $ac_file | $ac_file:* )
   22071       break ;;
   22072     * )
   22073       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22074   esac
   22075 done
   22076 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
   22077 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22078 	 X$ac_file : 'X\(//\)[^/]' \| \
   22079 	 X$ac_file : 'X\(//\)$' \| \
   22080 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
   22081 echo X$ac_file |
   22082     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22083 	    s//\1/
   22084 	    q
   22085 	  }
   22086 	  /^X\(\/\/\)[^/].*/{
   22087 	    s//\1/
   22088 	    q
   22089 	  }
   22090 	  /^X\(\/\/\)$/{
   22091 	    s//\1/
   22092 	    q
   22093 	  }
   22094 	  /^X\(\/\).*/{
   22095 	    s//\1/
   22096 	    q
   22097 	  }
   22098 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22099  ;;
   22100 
   22101   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   22102 echo "$as_me: executing $ac_file commands" >&6;}
   22103  ;;
   22104   esac
   22105 
   22106 
   22107   case $ac_file$ac_mode in
   22108     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   22109   # Strip MF so we end up with the name of the file.
   22110   mf=`echo "$mf" | sed -e 's/:.*$//'`
   22111   # Check whether this is an Automake generated Makefile or not.
   22112   # We used to match only the files named `Makefile.in', but
   22113   # some people rename them; so instead we look at the file content.
   22114   # Grep'ing the first line is not enough: some people post-process
   22115   # each Makefile.in and add a new line on top of each file to say so.
   22116   # Grep'ing the whole file is not good either: AIX grep has a line
   22117   # limit of 2048, but all sed's we know have understand at least 4000.
   22118   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
   22119     dirpart=`$as_dirname -- "$mf" ||
   22120 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22121 	 X"$mf" : 'X\(//\)[^/]' \| \
   22122 	 X"$mf" : 'X\(//\)$' \| \
   22123 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   22124 echo X"$mf" |
   22125     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22126 	    s//\1/
   22127 	    q
   22128 	  }
   22129 	  /^X\(\/\/\)[^/].*/{
   22130 	    s//\1/
   22131 	    q
   22132 	  }
   22133 	  /^X\(\/\/\)$/{
   22134 	    s//\1/
   22135 	    q
   22136 	  }
   22137 	  /^X\(\/\).*/{
   22138 	    s//\1/
   22139 	    q
   22140 	  }
   22141 	  s/.*/./; q'`
   22142   else
   22143     continue
   22144   fi
   22145   # Extract the definition of DEPDIR, am__include, and am__quote
   22146   # from the Makefile without running `make'.
   22147   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   22148   test -z "$DEPDIR" && continue
   22149   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   22150   test -z "am__include" && continue
   22151   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   22152   # When using ansi2knr, U may be empty or an underscore; expand it
   22153   U=`sed -n 's/^U = //p' < "$mf"`
   22154   # Find all dependency output files, they are included files with
   22155   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   22156   # simplest approach to changing $(DEPDIR) to its actual value in the
   22157   # expansion.
   22158   for file in `sed -n "
   22159     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   22160        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   22161     # Make sure the directory exists.
   22162     test -f "$dirpart/$file" && continue
   22163     fdir=`$as_dirname -- "$file" ||
   22164 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22165 	 X"$file" : 'X\(//\)[^/]' \| \
   22166 	 X"$file" : 'X\(//\)$' \| \
   22167 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   22168 echo X"$file" |
   22169     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22170 	    s//\1/
   22171 	    q
   22172 	  }
   22173 	  /^X\(\/\/\)[^/].*/{
   22174 	    s//\1/
   22175 	    q
   22176 	  }
   22177 	  /^X\(\/\/\)$/{
   22178 	    s//\1/
   22179 	    q
   22180 	  }
   22181 	  /^X\(\/\).*/{
   22182 	    s//\1/
   22183 	    q
   22184 	  }
   22185 	  s/.*/./; q'`
   22186     { as_dir=$dirpart/$fdir
   22187   case $as_dir in #(
   22188   -*) as_dir=./$as_dir;;
   22189   esac
   22190   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22191     as_dirs=
   22192     while :; do
   22193       case $as_dir in #(
   22194       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   22195       *) as_qdir=$as_dir;;
   22196       esac
   22197       as_dirs="'$as_qdir' $as_dirs"
   22198       as_dir=`$as_dirname -- "$as_dir" ||
   22199 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22200 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22201 	 X"$as_dir" : 'X\(//\)$' \| \
   22202 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22203 echo X"$as_dir" |
   22204     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22205 	    s//\1/
   22206 	    q
   22207 	  }
   22208 	  /^X\(\/\/\)[^/].*/{
   22209 	    s//\1/
   22210 	    q
   22211 	  }
   22212 	  /^X\(\/\/\)$/{
   22213 	    s//\1/
   22214 	    q
   22215 	  }
   22216 	  /^X\(\/\).*/{
   22217 	    s//\1/
   22218 	    q
   22219 	  }
   22220 	  s/.*/./; q'`
   22221       test -d "$as_dir" && break
   22222     done
   22223     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22224   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22225 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22226    { (exit 1); exit 1; }; }; }
   22227     # echo "creating $dirpart/$file"
   22228     echo '# dummy' > "$dirpart/$file"
   22229   done
   22230 done
   22231  ;;
   22232 
   22233   esac
   22234 done # for ac_tag
   22235 
   22236 
   22237 { (exit 0); exit 0; }
   22238 _ACEOF
   22239 chmod +x $CONFIG_STATUS
   22240 ac_clean_files=$ac_clean_files_save
   22241 
   22242 
   22243 # configure is writing to config.log, and then calls config.status.
   22244 # config.status does its own redirection, appending to config.log.
   22245 # Unfortunately, on DOS this fails, as config.log is still kept open
   22246 # by configure, so config.status won't be able to write to it; its
   22247 # output is simply discarded.  So we exec the FD to /dev/null,
   22248 # effectively closing config.log, so it can be properly (re)opened and
   22249 # appended to by config.status.  When coming back to configure, we
   22250 # need to make the FD available again.
   22251 if test "$no_create" != yes; then
   22252   ac_cs_success=:
   22253   ac_config_status_args=
   22254   test "$silent" = yes &&
   22255     ac_config_status_args="$ac_config_status_args --quiet"
   22256   exec 5>/dev/null
   22257   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22258   exec 5>>config.log
   22259   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22260   # would make configure fail if this is the last instruction.
   22261   $ac_cs_success || { (exit 1); exit 1; }
   22262 fi
   22263 
   22264