Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for libXmu 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='libXmu'
    730 PACKAGE_TARNAME='libXmu'
    731 PACKAGE_VERSION='1.0.4'
    732 PACKAGE_STRING='libXmu 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 CC
    843 CFLAGS
    844 LDFLAGS
    845 CPPFLAGS
    846 ac_ct_CC
    847 EXEEXT
    848 OBJEXT
    849 DEPDIR
    850 am__include
    851 am__quote
    852 AMDEP_TRUE
    853 AMDEP_FALSE
    854 AMDEPBACKSLASH
    855 CCDEPMODE
    856 am__fastdepCC_TRUE
    857 am__fastdepCC_FALSE
    858 GREP
    859 EGREP
    860 LN_S
    861 ECHO
    862 AR
    863 RANLIB
    864 CPP
    865 CXX
    866 CXXFLAGS
    867 ac_ct_CXX
    868 CXXDEPMODE
    869 am__fastdepCXX_TRUE
    870 am__fastdepCXX_FALSE
    871 CXXCPP
    872 F77
    873 FFLAGS
    874 ac_ct_F77
    875 LIBTOOL
    876 PKG_CONFIG
    877 XMU_CFLAGS
    878 XMU_LIBS
    879 XMUU_CFLAGS
    880 XMUU_LIBS
    881 HAS_SNPRINTF
    882 LINT
    883 LINT_FLAGS
    884 LINT_TRUE
    885 LINT_FALSE
    886 LINTLIB
    887 MAKE_LINT_LIB_TRUE
    888 MAKE_LINT_LIB_FALSE
    889 LINTLIBUU
    890 LIBOBJS
    891 LTLIBOBJS'
    892 ac_subst_files=''
    893       ac_precious_vars='build_alias
    894 host_alias
    895 target_alias
    896 CC
    897 CFLAGS
    898 LDFLAGS
    899 LIBS
    900 CPPFLAGS
    901 CPP
    902 CXX
    903 CXXFLAGS
    904 CCC
    905 CXXCPP
    906 F77
    907 FFLAGS
    908 PKG_CONFIG
    909 XMU_CFLAGS
    910 XMU_LIBS
    911 XMUU_CFLAGS
    912 XMUU_LIBS'
    913 
    914 
    915 # Initialize some variables set by options.
    916 ac_init_help=
    917 ac_init_version=false
    918 # The variables have the same names as the options, with
    919 # dashes changed to underlines.
    920 cache_file=/dev/null
    921 exec_prefix=NONE
    922 no_create=
    923 no_recursion=
    924 prefix=NONE
    925 program_prefix=NONE
    926 program_suffix=NONE
    927 program_transform_name=s,x,x,
    928 silent=
    929 site=
    930 srcdir=
    931 verbose=
    932 x_includes=NONE
    933 x_libraries=NONE
    934 
    935 # Installation directory options.
    936 # These are left unexpanded so users can "make install exec_prefix=/foo"
    937 # and all the variables that are supposed to be based on exec_prefix
    938 # by default will actually change.
    939 # Use braces instead of parens because sh, perl, etc. also accept them.
    940 # (The list follows the same order as the GNU Coding Standards.)
    941 bindir='${exec_prefix}/bin'
    942 sbindir='${exec_prefix}/sbin'
    943 libexecdir='${exec_prefix}/libexec'
    944 datarootdir='${prefix}/share'
    945 datadir='${datarootdir}'
    946 sysconfdir='${prefix}/etc'
    947 sharedstatedir='${prefix}/com'
    948 localstatedir='${prefix}/var'
    949 includedir='${prefix}/include'
    950 oldincludedir='/usr/include'
    951 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    952 infodir='${datarootdir}/info'
    953 htmldir='${docdir}'
    954 dvidir='${docdir}'
    955 pdfdir='${docdir}'
    956 psdir='${docdir}'
    957 libdir='${exec_prefix}/lib'
    958 localedir='${datarootdir}/locale'
    959 mandir='${datarootdir}/man'
    960 
    961 ac_prev=
    962 ac_dashdash=
    963 for ac_option
    964 do
    965   # If the previous option needs an argument, assign it.
    966   if test -n "$ac_prev"; then
    967     eval $ac_prev=\$ac_option
    968     ac_prev=
    969     continue
    970   fi
    971 
    972   case $ac_option in
    973   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    974   *)	ac_optarg=yes ;;
    975   esac
    976 
    977   # Accept the important Cygnus configure options, so we can diagnose typos.
    978 
    979   case $ac_dashdash$ac_option in
    980   --)
    981     ac_dashdash=yes ;;
    982 
    983   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    984     ac_prev=bindir ;;
    985   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    986     bindir=$ac_optarg ;;
    987 
    988   -build | --build | --buil | --bui | --bu)
    989     ac_prev=build_alias ;;
    990   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    991     build_alias=$ac_optarg ;;
    992 
    993   -cache-file | --cache-file | --cache-fil | --cache-fi \
    994   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    995     ac_prev=cache_file ;;
    996   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    997   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    998     cache_file=$ac_optarg ;;
    999 
   1000   --config-cache | -C)
   1001     cache_file=config.cache ;;
   1002 
   1003   -datadir | --datadir | --datadi | --datad)
   1004     ac_prev=datadir ;;
   1005   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1006     datadir=$ac_optarg ;;
   1007 
   1008   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1009   | --dataroo | --dataro | --datar)
   1010     ac_prev=datarootdir ;;
   1011   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1012   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1013     datarootdir=$ac_optarg ;;
   1014 
   1015   -disable-* | --disable-*)
   1016     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1017     # Reject names that are not valid shell variable names.
   1018     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1019       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1020    { (exit 1); exit 1; }; }
   1021     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1022     eval enable_$ac_feature=no ;;
   1023 
   1024   -docdir | --docdir | --docdi | --doc | --do)
   1025     ac_prev=docdir ;;
   1026   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1027     docdir=$ac_optarg ;;
   1028 
   1029   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1030     ac_prev=dvidir ;;
   1031   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1032     dvidir=$ac_optarg ;;
   1033 
   1034   -enable-* | --enable-*)
   1035     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1036     # Reject names that are not valid shell variable names.
   1037     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1038       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1039    { (exit 1); exit 1; }; }
   1040     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1041     eval enable_$ac_feature=\$ac_optarg ;;
   1042 
   1043   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1044   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1045   | --exec | --exe | --ex)
   1046     ac_prev=exec_prefix ;;
   1047   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1048   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1049   | --exec=* | --exe=* | --ex=*)
   1050     exec_prefix=$ac_optarg ;;
   1051 
   1052   -gas | --gas | --ga | --g)
   1053     # Obsolete; use --with-gas.
   1054     with_gas=yes ;;
   1055 
   1056   -help | --help | --hel | --he | -h)
   1057     ac_init_help=long ;;
   1058   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1059     ac_init_help=recursive ;;
   1060   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1061     ac_init_help=short ;;
   1062 
   1063   -host | --host | --hos | --ho)
   1064     ac_prev=host_alias ;;
   1065   -host=* | --host=* | --hos=* | --ho=*)
   1066     host_alias=$ac_optarg ;;
   1067 
   1068   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1069     ac_prev=htmldir ;;
   1070   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1071   | --ht=*)
   1072     htmldir=$ac_optarg ;;
   1073 
   1074   -includedir | --includedir | --includedi | --included | --include \
   1075   | --includ | --inclu | --incl | --inc)
   1076     ac_prev=includedir ;;
   1077   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1078   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1079     includedir=$ac_optarg ;;
   1080 
   1081   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1082     ac_prev=infodir ;;
   1083   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1084     infodir=$ac_optarg ;;
   1085 
   1086   -libdir | --libdir | --libdi | --libd)
   1087     ac_prev=libdir ;;
   1088   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1089     libdir=$ac_optarg ;;
   1090 
   1091   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1092   | --libexe | --libex | --libe)
   1093     ac_prev=libexecdir ;;
   1094   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1095   | --libexe=* | --libex=* | --libe=*)
   1096     libexecdir=$ac_optarg ;;
   1097 
   1098   -localedir | --localedir | --localedi | --localed | --locale)
   1099     ac_prev=localedir ;;
   1100   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1101     localedir=$ac_optarg ;;
   1102 
   1103   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1104   | --localstate | --localstat | --localsta | --localst | --locals)
   1105     ac_prev=localstatedir ;;
   1106   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1107   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1108     localstatedir=$ac_optarg ;;
   1109 
   1110   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1111     ac_prev=mandir ;;
   1112   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1113     mandir=$ac_optarg ;;
   1114 
   1115   -nfp | --nfp | --nf)
   1116     # Obsolete; use --without-fp.
   1117     with_fp=no ;;
   1118 
   1119   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1120   | --no-cr | --no-c | -n)
   1121     no_create=yes ;;
   1122 
   1123   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1124   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1125     no_recursion=yes ;;
   1126 
   1127   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1128   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1129   | --oldin | --oldi | --old | --ol | --o)
   1130     ac_prev=oldincludedir ;;
   1131   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1132   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1133   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1134     oldincludedir=$ac_optarg ;;
   1135 
   1136   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1137     ac_prev=prefix ;;
   1138   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1139     prefix=$ac_optarg ;;
   1140 
   1141   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1142   | --program-pre | --program-pr | --program-p)
   1143     ac_prev=program_prefix ;;
   1144   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1145   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1146     program_prefix=$ac_optarg ;;
   1147 
   1148   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1149   | --program-suf | --program-su | --program-s)
   1150     ac_prev=program_suffix ;;
   1151   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1152   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1153     program_suffix=$ac_optarg ;;
   1154 
   1155   -program-transform-name | --program-transform-name \
   1156   | --program-transform-nam | --program-transform-na \
   1157   | --program-transform-n | --program-transform- \
   1158   | --program-transform | --program-transfor \
   1159   | --program-transfo | --program-transf \
   1160   | --program-trans | --program-tran \
   1161   | --progr-tra | --program-tr | --program-t)
   1162     ac_prev=program_transform_name ;;
   1163   -program-transform-name=* | --program-transform-name=* \
   1164   | --program-transform-nam=* | --program-transform-na=* \
   1165   | --program-transform-n=* | --program-transform-=* \
   1166   | --program-transform=* | --program-transfor=* \
   1167   | --program-transfo=* | --program-transf=* \
   1168   | --program-trans=* | --program-tran=* \
   1169   | --progr-tra=* | --program-tr=* | --program-t=*)
   1170     program_transform_name=$ac_optarg ;;
   1171 
   1172   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1173     ac_prev=pdfdir ;;
   1174   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1175     pdfdir=$ac_optarg ;;
   1176 
   1177   -psdir | --psdir | --psdi | --psd | --ps)
   1178     ac_prev=psdir ;;
   1179   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1180     psdir=$ac_optarg ;;
   1181 
   1182   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1183   | -silent | --silent | --silen | --sile | --sil)
   1184     silent=yes ;;
   1185 
   1186   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1187     ac_prev=sbindir ;;
   1188   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1189   | --sbi=* | --sb=*)
   1190     sbindir=$ac_optarg ;;
   1191 
   1192   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1193   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1194   | --sharedst | --shareds | --shared | --share | --shar \
   1195   | --sha | --sh)
   1196     ac_prev=sharedstatedir ;;
   1197   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1198   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1199   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1200   | --sha=* | --sh=*)
   1201     sharedstatedir=$ac_optarg ;;
   1202 
   1203   -site | --site | --sit)
   1204     ac_prev=site ;;
   1205   -site=* | --site=* | --sit=*)
   1206     site=$ac_optarg ;;
   1207 
   1208   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1209     ac_prev=srcdir ;;
   1210   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1211     srcdir=$ac_optarg ;;
   1212 
   1213   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1214   | --syscon | --sysco | --sysc | --sys | --sy)
   1215     ac_prev=sysconfdir ;;
   1216   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1217   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1218     sysconfdir=$ac_optarg ;;
   1219 
   1220   -target | --target | --targe | --targ | --tar | --ta | --t)
   1221     ac_prev=target_alias ;;
   1222   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1223     target_alias=$ac_optarg ;;
   1224 
   1225   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1226     verbose=yes ;;
   1227 
   1228   -version | --version | --versio | --versi | --vers | -V)
   1229     ac_init_version=: ;;
   1230 
   1231   -with-* | --with-*)
   1232     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1233     # Reject names that are not valid shell variable names.
   1234     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1235       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1236    { (exit 1); exit 1; }; }
   1237     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1238     eval with_$ac_package=\$ac_optarg ;;
   1239 
   1240   -without-* | --without-*)
   1241     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1242     # Reject names that are not valid shell variable names.
   1243     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1244       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1245    { (exit 1); exit 1; }; }
   1246     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1247     eval with_$ac_package=no ;;
   1248 
   1249   --x)
   1250     # Obsolete; use --with-x.
   1251     with_x=yes ;;
   1252 
   1253   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1254   | --x-incl | --x-inc | --x-in | --x-i)
   1255     ac_prev=x_includes ;;
   1256   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1257   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1258     x_includes=$ac_optarg ;;
   1259 
   1260   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1261   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1262     ac_prev=x_libraries ;;
   1263   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1264   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1265     x_libraries=$ac_optarg ;;
   1266 
   1267   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1268 Try \`$0 --help' for more information." >&2
   1269    { (exit 1); exit 1; }; }
   1270     ;;
   1271 
   1272   *=*)
   1273     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1274     # Reject names that are not valid shell variable names.
   1275     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1276       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1277    { (exit 1); exit 1; }; }
   1278     eval $ac_envvar=\$ac_optarg
   1279     export $ac_envvar ;;
   1280 
   1281   *)
   1282     # FIXME: should be removed in autoconf 3.0.
   1283     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1284     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1285       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1286     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1287     ;;
   1288 
   1289   esac
   1290 done
   1291 
   1292 if test -n "$ac_prev"; then
   1293   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1294   { echo "$as_me: error: missing argument to $ac_option" >&2
   1295    { (exit 1); exit 1; }; }
   1296 fi
   1297 
   1298 # Be sure to have absolute directory names.
   1299 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1300 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1301 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1302 		libdir localedir mandir
   1303 do
   1304   eval ac_val=\$$ac_var
   1305   case $ac_val in
   1306     [\\/$]* | ?:[\\/]* )  continue;;
   1307     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1308   esac
   1309   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1310    { (exit 1); exit 1; }; }
   1311 done
   1312 
   1313 # There might be people who depend on the old broken behavior: `$host'
   1314 # used to hold the argument of --host etc.
   1315 # FIXME: To remove some day.
   1316 build=$build_alias
   1317 host=$host_alias
   1318 target=$target_alias
   1319 
   1320 # FIXME: To remove some day.
   1321 if test "x$host_alias" != x; then
   1322   if test "x$build_alias" = x; then
   1323     cross_compiling=maybe
   1324     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1325     If a cross compiler is detected then cross compile mode will be used." >&2
   1326   elif test "x$build_alias" != "x$host_alias"; then
   1327     cross_compiling=yes
   1328   fi
   1329 fi
   1330 
   1331 ac_tool_prefix=
   1332 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1333 
   1334 test "$silent" = yes && exec 6>/dev/null
   1335 
   1336 
   1337 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1338 ac_ls_di=`ls -di .` &&
   1339 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1340   { echo "$as_me: error: Working directory cannot be determined" >&2
   1341    { (exit 1); exit 1; }; }
   1342 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1343   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1344    { (exit 1); exit 1; }; }
   1345 
   1346 
   1347 # Find the source files, if location was not specified.
   1348 if test -z "$srcdir"; then
   1349   ac_srcdir_defaulted=yes
   1350   # Try the directory containing this script, then the parent directory.
   1351   ac_confdir=`$as_dirname -- "$0" ||
   1352 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1353 	 X"$0" : 'X\(//\)[^/]' \| \
   1354 	 X"$0" : 'X\(//\)$' \| \
   1355 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1356 echo X"$0" |
   1357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1358 	    s//\1/
   1359 	    q
   1360 	  }
   1361 	  /^X\(\/\/\)[^/].*/{
   1362 	    s//\1/
   1363 	    q
   1364 	  }
   1365 	  /^X\(\/\/\)$/{
   1366 	    s//\1/
   1367 	    q
   1368 	  }
   1369 	  /^X\(\/\).*/{
   1370 	    s//\1/
   1371 	    q
   1372 	  }
   1373 	  s/.*/./; q'`
   1374   srcdir=$ac_confdir
   1375   if test ! -r "$srcdir/$ac_unique_file"; then
   1376     srcdir=..
   1377   fi
   1378 else
   1379   ac_srcdir_defaulted=no
   1380 fi
   1381 if test ! -r "$srcdir/$ac_unique_file"; then
   1382   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1383   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1384    { (exit 1); exit 1; }; }
   1385 fi
   1386 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1387 ac_abs_confdir=`(
   1388 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1389    { (exit 1); exit 1; }; }
   1390 	pwd)`
   1391 # When building in place, set srcdir=.
   1392 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1393   srcdir=.
   1394 fi
   1395 # Remove unnecessary trailing slashes from srcdir.
   1396 # Double slashes in file names in object file debugging info
   1397 # mess up M-x gdb in Emacs.
   1398 case $srcdir in
   1399 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1400 esac
   1401 for ac_var in $ac_precious_vars; do
   1402   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1403   eval ac_env_${ac_var}_value=\$${ac_var}
   1404   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1405   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1406 done
   1407 
   1408 #
   1409 # Report the --help message.
   1410 #
   1411 if test "$ac_init_help" = "long"; then
   1412   # Omit some internal or obsolete options to make the list less imposing.
   1413   # This message is too long to be a string in the A/UX 3.1 sh.
   1414   cat <<_ACEOF
   1415 \`configure' configures libXmu 1.0.4 to adapt to many kinds of systems.
   1416 
   1417 Usage: $0 [OPTION]... [VAR=VALUE]...
   1418 
   1419 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1420 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1421 
   1422 Defaults for the options are specified in brackets.
   1423 
   1424 Configuration:
   1425   -h, --help              display this help and exit
   1426       --help=short        display options specific to this package
   1427       --help=recursive    display the short help of all the included packages
   1428   -V, --version           display version information and exit
   1429   -q, --quiet, --silent   do not print \`checking...' messages
   1430       --cache-file=FILE   cache test results in FILE [disabled]
   1431   -C, --config-cache      alias for \`--cache-file=config.cache'
   1432   -n, --no-create         do not create output files
   1433       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1434 
   1435 Installation directories:
   1436   --prefix=PREFIX         install architecture-independent files in PREFIX
   1437 			  [$ac_default_prefix]
   1438   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1439 			  [PREFIX]
   1440 
   1441 By default, \`make install' will install all the files in
   1442 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1443 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1444 for instance \`--prefix=\$HOME'.
   1445 
   1446 For better control, use the options below.
   1447 
   1448 Fine tuning of the installation directories:
   1449   --bindir=DIR           user executables [EPREFIX/bin]
   1450   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1451   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1452   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1453   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1454   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1455   --libdir=DIR           object code libraries [EPREFIX/lib]
   1456   --includedir=DIR       C header files [PREFIX/include]
   1457   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1458   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1459   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1460   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1461   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1462   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1463   --docdir=DIR           documentation root [DATAROOTDIR/doc/libXmu]
   1464   --htmldir=DIR          html documentation [DOCDIR]
   1465   --dvidir=DIR           dvi documentation [DOCDIR]
   1466   --pdfdir=DIR           pdf documentation [DOCDIR]
   1467   --psdir=DIR            ps documentation [DOCDIR]
   1468 _ACEOF
   1469 
   1470   cat <<\_ACEOF
   1471 
   1472 Program names:
   1473   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1474   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1475   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1476 
   1477 System types:
   1478   --build=BUILD     configure for building on BUILD [guessed]
   1479   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1480 _ACEOF
   1481 fi
   1482 
   1483 if test -n "$ac_init_help"; then
   1484   case $ac_init_help in
   1485      short | recursive ) echo "Configuration of libXmu 1.0.4:";;
   1486    esac
   1487   cat <<\_ACEOF
   1488 
   1489 Optional Features:
   1490   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1491   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1492   --enable-maintainer-mode  enable make rules and dependencies not useful
   1493 			  (and sometimes confusing) to the casual installer
   1494   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1495   --enable-static[=PKGS]  build static libraries [default=yes]
   1496   --enable-fast-install[=PKGS]
   1497                           optimize for fast installation [default=yes]
   1498   --disable-dependency-tracking  speeds up one-time build
   1499   --enable-dependency-tracking   do not reject slow dependency extractors
   1500   --disable-libtool-lock  avoid locking (might break parallel builds)
   1501   --enable-unix-transport Enable UNIX domain socket transport
   1502   --enable-tcp-transport  Enable TCP socket transport
   1503   --enable-IPv6           Enable IPv6 support
   1504   --enable-local-transport
   1505                           Enable os-specific local transport
   1506   --enable-lint-library   Create lint library (default: disabled)
   1507 
   1508 Optional Packages:
   1509   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1510   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1511   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1512   --with-pic              try to use only PIC/non-PIC objects [default=use
   1513                           both]
   1514   --with-tags[=TAGS]      include additional configurations [automatic]
   1515   --with-lint             Use a lint-style source code checker (default:
   1516                           disabled)
   1517   --with-release-version=STRING
   1518                           Use release version string in package name
   1519 
   1520 Some influential environment variables:
   1521   CC          C compiler command
   1522   CFLAGS      C compiler flags
   1523   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1524               nonstandard directory <lib dir>
   1525   LIBS        libraries to pass to the linker, e.g. -l<library>
   1526   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1527               you have headers in a nonstandard directory <include dir>
   1528   CPP         C preprocessor
   1529   CXX         C++ compiler command
   1530   CXXFLAGS    C++ compiler flags
   1531   CXXCPP      C++ preprocessor
   1532   F77         Fortran 77 compiler command
   1533   FFLAGS      Fortran 77 compiler flags
   1534   PKG_CONFIG  path to pkg-config utility
   1535   XMU_CFLAGS  C compiler flags for XMU, overriding pkg-config
   1536   XMU_LIBS    linker flags for XMU, overriding pkg-config
   1537   XMUU_CFLAGS C compiler flags for XMUU, overriding pkg-config
   1538   XMUU_LIBS   linker flags for XMUU, overriding pkg-config
   1539 
   1540 Use these variables to override the choices made by `configure' or to help
   1541 it to find libraries and programs with nonstandard names/locations.
   1542 
   1543 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1544 _ACEOF
   1545 ac_status=$?
   1546 fi
   1547 
   1548 if test "$ac_init_help" = "recursive"; then
   1549   # If there are subdirs, report their specific --help.
   1550   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1551     test -d "$ac_dir" || continue
   1552     ac_builddir=.
   1553 
   1554 case "$ac_dir" in
   1555 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1556 *)
   1557   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1558   # A ".." for each directory in $ac_dir_suffix.
   1559   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1560   case $ac_top_builddir_sub in
   1561   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1562   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1563   esac ;;
   1564 esac
   1565 ac_abs_top_builddir=$ac_pwd
   1566 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1567 # for backward compatibility:
   1568 ac_top_builddir=$ac_top_build_prefix
   1569 
   1570 case $srcdir in
   1571   .)  # We are building in place.
   1572     ac_srcdir=.
   1573     ac_top_srcdir=$ac_top_builddir_sub
   1574     ac_abs_top_srcdir=$ac_pwd ;;
   1575   [\\/]* | ?:[\\/]* )  # Absolute name.
   1576     ac_srcdir=$srcdir$ac_dir_suffix;
   1577     ac_top_srcdir=$srcdir
   1578     ac_abs_top_srcdir=$srcdir ;;
   1579   *) # Relative name.
   1580     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1581     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1582     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1583 esac
   1584 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1585 
   1586     cd "$ac_dir" || { ac_status=$?; continue; }
   1587     # Check for guested configure.
   1588     if test -f "$ac_srcdir/configure.gnu"; then
   1589       echo &&
   1590       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1591     elif test -f "$ac_srcdir/configure"; then
   1592       echo &&
   1593       $SHELL "$ac_srcdir/configure" --help=recursive
   1594     else
   1595       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1596     fi || ac_status=$?
   1597     cd "$ac_pwd" || { ac_status=$?; break; }
   1598   done
   1599 fi
   1600 
   1601 test -n "$ac_init_help" && exit $ac_status
   1602 if $ac_init_version; then
   1603   cat <<\_ACEOF
   1604 libXmu configure 1.0.4
   1605 generated by GNU Autoconf 2.61
   1606 
   1607 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1608 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1609 This configure script is free software; the Free Software Foundation
   1610 gives unlimited permission to copy, distribute and modify it.
   1611 _ACEOF
   1612   exit
   1613 fi
   1614 cat >config.log <<_ACEOF
   1615 This file contains any messages produced by compilers while
   1616 running configure, to aid debugging if configure makes a mistake.
   1617 
   1618 It was created by libXmu $as_me 1.0.4, which was
   1619 generated by GNU Autoconf 2.61.  Invocation command line was
   1620 
   1621   $ $0 $@
   1622 
   1623 _ACEOF
   1624 exec 5>>config.log
   1625 {
   1626 cat <<_ASUNAME
   1627 ## --------- ##
   1628 ## Platform. ##
   1629 ## --------- ##
   1630 
   1631 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1632 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1633 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1634 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1635 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1636 
   1637 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1638 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1639 
   1640 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1641 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1642 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1643 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1644 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1645 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1646 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1647 
   1648 _ASUNAME
   1649 
   1650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1651 for as_dir in $PATH
   1652 do
   1653   IFS=$as_save_IFS
   1654   test -z "$as_dir" && as_dir=.
   1655   echo "PATH: $as_dir"
   1656 done
   1657 IFS=$as_save_IFS
   1658 
   1659 } >&5
   1660 
   1661 cat >&5 <<_ACEOF
   1662 
   1663 
   1664 ## ----------- ##
   1665 ## Core tests. ##
   1666 ## ----------- ##
   1667 
   1668 _ACEOF
   1669 
   1670 
   1671 # Keep a trace of the command line.
   1672 # Strip out --no-create and --no-recursion so they do not pile up.
   1673 # Strip out --silent because we don't want to record it for future runs.
   1674 # Also quote any args containing shell meta-characters.
   1675 # Make two passes to allow for proper duplicate-argument suppression.
   1676 ac_configure_args=
   1677 ac_configure_args0=
   1678 ac_configure_args1=
   1679 ac_must_keep_next=false
   1680 for ac_pass in 1 2
   1681 do
   1682   for ac_arg
   1683   do
   1684     case $ac_arg in
   1685     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1686     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1687     | -silent | --silent | --silen | --sile | --sil)
   1688       continue ;;
   1689     *\'*)
   1690       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1691     esac
   1692     case $ac_pass in
   1693     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1694     2)
   1695       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1696       if test $ac_must_keep_next = true; then
   1697 	ac_must_keep_next=false # Got value, back to normal.
   1698       else
   1699 	case $ac_arg in
   1700 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1701 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1702 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1703 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1704 	    case "$ac_configure_args0 " in
   1705 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1706 	    esac
   1707 	    ;;
   1708 	  -* ) ac_must_keep_next=true ;;
   1709 	esac
   1710       fi
   1711       ac_configure_args="$ac_configure_args '$ac_arg'"
   1712       ;;
   1713     esac
   1714   done
   1715 done
   1716 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1717 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1718 
   1719 # When interrupted or exit'd, cleanup temporary files, and complete
   1720 # config.log.  We remove comments because anyway the quotes in there
   1721 # would cause problems or look ugly.
   1722 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1723 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1724 trap 'exit_status=$?
   1725   # Save into config.log some information that might help in debugging.
   1726   {
   1727     echo
   1728 
   1729     cat <<\_ASBOX
   1730 ## ---------------- ##
   1731 ## Cache variables. ##
   1732 ## ---------------- ##
   1733 _ASBOX
   1734     echo
   1735     # The following way of writing the cache mishandles newlines in values,
   1736 (
   1737   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1738     eval ac_val=\$$ac_var
   1739     case $ac_val in #(
   1740     *${as_nl}*)
   1741       case $ac_var in #(
   1742       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1743 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1744       esac
   1745       case $ac_var in #(
   1746       _ | IFS | as_nl) ;; #(
   1747       *) $as_unset $ac_var ;;
   1748       esac ;;
   1749     esac
   1750   done
   1751   (set) 2>&1 |
   1752     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1753     *${as_nl}ac_space=\ *)
   1754       sed -n \
   1755 	"s/'\''/'\''\\\\'\'''\''/g;
   1756 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1757       ;; #(
   1758     *)
   1759       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1760       ;;
   1761     esac |
   1762     sort
   1763 )
   1764     echo
   1765 
   1766     cat <<\_ASBOX
   1767 ## ----------------- ##
   1768 ## Output variables. ##
   1769 ## ----------------- ##
   1770 _ASBOX
   1771     echo
   1772     for ac_var in $ac_subst_vars
   1773     do
   1774       eval ac_val=\$$ac_var
   1775       case $ac_val in
   1776       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1777       esac
   1778       echo "$ac_var='\''$ac_val'\''"
   1779     done | sort
   1780     echo
   1781 
   1782     if test -n "$ac_subst_files"; then
   1783       cat <<\_ASBOX
   1784 ## ------------------- ##
   1785 ## File substitutions. ##
   1786 ## ------------------- ##
   1787 _ASBOX
   1788       echo
   1789       for ac_var in $ac_subst_files
   1790       do
   1791 	eval ac_val=\$$ac_var
   1792 	case $ac_val in
   1793 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1794 	esac
   1795 	echo "$ac_var='\''$ac_val'\''"
   1796       done | sort
   1797       echo
   1798     fi
   1799 
   1800     if test -s confdefs.h; then
   1801       cat <<\_ASBOX
   1802 ## ----------- ##
   1803 ## confdefs.h. ##
   1804 ## ----------- ##
   1805 _ASBOX
   1806       echo
   1807       cat confdefs.h
   1808       echo
   1809     fi
   1810     test "$ac_signal" != 0 &&
   1811       echo "$as_me: caught signal $ac_signal"
   1812     echo "$as_me: exit $exit_status"
   1813   } >&5
   1814   rm -f core *.core core.conftest.* &&
   1815     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1816     exit $exit_status
   1817 ' 0
   1818 for ac_signal in 1 2 13 15; do
   1819   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1820 done
   1821 ac_signal=0
   1822 
   1823 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1824 rm -f -r conftest* confdefs.h
   1825 
   1826 # Predefined preprocessor variables.
   1827 
   1828 cat >>confdefs.h <<_ACEOF
   1829 #define PACKAGE_NAME "$PACKAGE_NAME"
   1830 _ACEOF
   1831 
   1832 
   1833 cat >>confdefs.h <<_ACEOF
   1834 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1835 _ACEOF
   1836 
   1837 
   1838 cat >>confdefs.h <<_ACEOF
   1839 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1840 _ACEOF
   1841 
   1842 
   1843 cat >>confdefs.h <<_ACEOF
   1844 #define PACKAGE_STRING "$PACKAGE_STRING"
   1845 _ACEOF
   1846 
   1847 
   1848 cat >>confdefs.h <<_ACEOF
   1849 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1850 _ACEOF
   1851 
   1852 
   1853 # Let the site file select an alternate cache file if it wants to.
   1854 # Prefer explicitly selected file to automatically selected ones.
   1855 if test -n "$CONFIG_SITE"; then
   1856   set x "$CONFIG_SITE"
   1857 elif test "x$prefix" != xNONE; then
   1858   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1859 else
   1860   set x "$ac_default_prefix/share/config.site" \
   1861 	"$ac_default_prefix/etc/config.site"
   1862 fi
   1863 shift
   1864 for ac_site_file
   1865 do
   1866   if test -r "$ac_site_file"; then
   1867     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1868 echo "$as_me: loading site script $ac_site_file" >&6;}
   1869     sed 's/^/| /' "$ac_site_file" >&5
   1870     . "$ac_site_file"
   1871   fi
   1872 done
   1873 
   1874 if test -r "$cache_file"; then
   1875   # Some versions of bash will fail to source /dev/null (special
   1876   # files actually), so we avoid doing that.
   1877   if test -f "$cache_file"; then
   1878     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1879 echo "$as_me: loading cache $cache_file" >&6;}
   1880     case $cache_file in
   1881       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1882       *)                      . "./$cache_file";;
   1883     esac
   1884   fi
   1885 else
   1886   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1887 echo "$as_me: creating cache $cache_file" >&6;}
   1888   >$cache_file
   1889 fi
   1890 
   1891 # Check that the precious variables saved in the cache have kept the same
   1892 # value.
   1893 ac_cache_corrupted=false
   1894 for ac_var in $ac_precious_vars; do
   1895   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1896   eval ac_new_set=\$ac_env_${ac_var}_set
   1897   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1898   eval ac_new_val=\$ac_env_${ac_var}_value
   1899   case $ac_old_set,$ac_new_set in
   1900     set,)
   1901       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1902 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1903       ac_cache_corrupted=: ;;
   1904     ,set)
   1905       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1906 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1907       ac_cache_corrupted=: ;;
   1908     ,);;
   1909     *)
   1910       if test "x$ac_old_val" != "x$ac_new_val"; then
   1911 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1912 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1913 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1914 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1915 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1916 echo "$as_me:   current value: $ac_new_val" >&2;}
   1917 	ac_cache_corrupted=:
   1918       fi;;
   1919   esac
   1920   # Pass precious variables to config.status.
   1921   if test "$ac_new_set" = set; then
   1922     case $ac_new_val in
   1923     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1924     *) ac_arg=$ac_var=$ac_new_val ;;
   1925     esac
   1926     case " $ac_configure_args " in
   1927       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1928       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1929     esac
   1930   fi
   1931 done
   1932 if $ac_cache_corrupted; then
   1933   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1934 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1935   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1936 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1937    { (exit 1); exit 1; }; }
   1938 fi
   1939 
   1940 
   1941 
   1942 
   1943 
   1944 
   1945 
   1946 
   1947 
   1948 
   1949 
   1950 
   1951 
   1952 
   1953 
   1954 
   1955 
   1956 
   1957 
   1958 
   1959 
   1960 
   1961 
   1962 
   1963 
   1964 ac_ext=c
   1965 ac_cpp='$CPP $CPPFLAGS'
   1966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1969 
   1970 
   1971 
   1972 
   1973 ac_aux_dir=
   1974 for ac_dir in . "$srcdir"/.; do
   1975   if test -f "$ac_dir/install-sh"; then
   1976     ac_aux_dir=$ac_dir
   1977     ac_install_sh="$ac_aux_dir/install-sh -c"
   1978     break
   1979   elif test -f "$ac_dir/install.sh"; then
   1980     ac_aux_dir=$ac_dir
   1981     ac_install_sh="$ac_aux_dir/install.sh -c"
   1982     break
   1983   elif test -f "$ac_dir/shtool"; then
   1984     ac_aux_dir=$ac_dir
   1985     ac_install_sh="$ac_aux_dir/shtool install -c"
   1986     break
   1987   fi
   1988 done
   1989 if test -z "$ac_aux_dir"; then
   1990   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   1991 echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   1992    { (exit 1); exit 1; }; }
   1993 fi
   1994 
   1995 # These three variables are undocumented and unsupported,
   1996 # and are intended to be withdrawn in a future Autoconf release.
   1997 # They can cause serious problems if a builder's source tree is in a directory
   1998 # whose full name contains unusual characters.
   1999 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2000 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2001 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2002 
   2003 
   2004 am__api_version='1.10'
   2005 
   2006 # Find a good install program.  We prefer a C program (faster),
   2007 # so one script is as good as another.  But avoid the broken or
   2008 # incompatible versions:
   2009 # SysV /etc/install, /usr/sbin/install
   2010 # SunOS /usr/etc/install
   2011 # IRIX /sbin/install
   2012 # AIX /bin/install
   2013 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2014 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2015 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2016 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2017 # OS/2's system install, which has a completely different semantic
   2018 # ./install, which can be erroneously created by make from ./install.sh.
   2019 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2020 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2021 if test -z "$INSTALL"; then
   2022 if test "${ac_cv_path_install+set}" = set; then
   2023   echo $ECHO_N "(cached) $ECHO_C" >&6
   2024 else
   2025   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2026 for as_dir in $PATH
   2027 do
   2028   IFS=$as_save_IFS
   2029   test -z "$as_dir" && as_dir=.
   2030   # Account for people who put trailing slashes in PATH elements.
   2031 case $as_dir/ in
   2032   ./ | .// | /cC/* | \
   2033   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2034   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2035   /usr/ucb/* ) ;;
   2036   *)
   2037     # OSF1 and SCO ODT 3.0 have their own names for install.
   2038     # Don't use installbsd from OSF since it installs stuff as root
   2039     # by default.
   2040     for ac_prog in ginstall scoinst install; do
   2041       for ac_exec_ext in '' $ac_executable_extensions; do
   2042 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2043 	  if test $ac_prog = install &&
   2044 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2045 	    # AIX install.  It has an incompatible calling convention.
   2046 	    :
   2047 	  elif test $ac_prog = install &&
   2048 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2049 	    # program-specific install script used by HP pwplus--don't use.
   2050 	    :
   2051 	  else
   2052 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2053 	    break 3
   2054 	  fi
   2055 	fi
   2056       done
   2057     done
   2058     ;;
   2059 esac
   2060 done
   2061 IFS=$as_save_IFS
   2062 
   2063 
   2064 fi
   2065   if test "${ac_cv_path_install+set}" = set; then
   2066     INSTALL=$ac_cv_path_install
   2067   else
   2068     # As a last resort, use the slow shell script.  Don't cache a
   2069     # value for INSTALL within a source directory, because that will
   2070     # break other packages using the cache if that directory is
   2071     # removed, or if the value is a relative name.
   2072     INSTALL=$ac_install_sh
   2073   fi
   2074 fi
   2075 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2076 echo "${ECHO_T}$INSTALL" >&6; }
   2077 
   2078 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2079 # It thinks the first close brace ends the variable substitution.
   2080 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2081 
   2082 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2083 
   2084 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2085 
   2086 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2087 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2088 # Just in case
   2089 sleep 1
   2090 echo timestamp > conftest.file
   2091 # Do `set' in a subshell so we don't clobber the current shell's
   2092 # arguments.  Must try -L first in case configure is actually a
   2093 # symlink; some systems play weird games with the mod time of symlinks
   2094 # (eg FreeBSD returns the mod time of the symlink's containing
   2095 # directory).
   2096 if (
   2097    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2098    if test "$*" = "X"; then
   2099       # -L didn't work.
   2100       set X `ls -t $srcdir/configure conftest.file`
   2101    fi
   2102    rm -f conftest.file
   2103    if test "$*" != "X $srcdir/configure conftest.file" \
   2104       && test "$*" != "X conftest.file $srcdir/configure"; then
   2105 
   2106       # If neither matched, then we have a broken ls.  This can happen
   2107       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2108       # broken ls alias from the environment.  This has actually
   2109       # happened.  Such a system could not be considered "sane".
   2110       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2111 alias in your environment" >&5
   2112 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2113 alias in your environment" >&2;}
   2114    { (exit 1); exit 1; }; }
   2115    fi
   2116 
   2117    test "$2" = conftest.file
   2118    )
   2119 then
   2120    # Ok.
   2121    :
   2122 else
   2123    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2124 Check your system clock" >&5
   2125 echo "$as_me: error: newly created file is older than distributed files!
   2126 Check your system clock" >&2;}
   2127    { (exit 1); exit 1; }; }
   2128 fi
   2129 { echo "$as_me:$LINENO: result: yes" >&5
   2130 echo "${ECHO_T}yes" >&6; }
   2131 test "$program_prefix" != NONE &&
   2132   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2133 # Use a double $ so make ignores it.
   2134 test "$program_suffix" != NONE &&
   2135   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2136 # Double any \ or $.  echo might interpret backslashes.
   2137 # By default was `s,x,x', remove it if useless.
   2138 cat <<\_ACEOF >conftest.sed
   2139 s/[\\$]/&&/g;s/;s,x,x,$//
   2140 _ACEOF
   2141 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2142 rm -f conftest.sed
   2143 
   2144 # expand $ac_aux_dir to an absolute path
   2145 am_aux_dir=`cd $ac_aux_dir && pwd`
   2146 
   2147 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2148 # Use eval to expand $SHELL
   2149 if eval "$MISSING --run true"; then
   2150   am_missing_run="$MISSING --run "
   2151 else
   2152   am_missing_run=
   2153   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2154 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2155 fi
   2156 
   2157 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2158 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2159 if test -z "$MKDIR_P"; then
   2160   if test "${ac_cv_path_mkdir+set}" = set; then
   2161   echo $ECHO_N "(cached) $ECHO_C" >&6
   2162 else
   2163   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2164 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2165 do
   2166   IFS=$as_save_IFS
   2167   test -z "$as_dir" && as_dir=.
   2168   for ac_prog in mkdir gmkdir; do
   2169 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2170 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2171 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2172 	     'mkdir (GNU coreutils) '* | \
   2173 	     'mkdir (coreutils) '* | \
   2174 	     'mkdir (fileutils) '4.1*)
   2175 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2176 	       break 3;;
   2177 	   esac
   2178 	 done
   2179        done
   2180 done
   2181 IFS=$as_save_IFS
   2182 
   2183 fi
   2184 
   2185   if test "${ac_cv_path_mkdir+set}" = set; then
   2186     MKDIR_P="$ac_cv_path_mkdir -p"
   2187   else
   2188     # As a last resort, use the slow shell script.  Don't cache a
   2189     # value for MKDIR_P within a source directory, because that will
   2190     # break other packages using the cache if that directory is
   2191     # removed, or if the value is a relative name.
   2192     test -d ./--version && rmdir ./--version
   2193     MKDIR_P="$ac_install_sh -d"
   2194   fi
   2195 fi
   2196 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2197 echo "${ECHO_T}$MKDIR_P" >&6; }
   2198 
   2199 mkdir_p="$MKDIR_P"
   2200 case $mkdir_p in
   2201   [\\/$]* | ?:[\\/]*) ;;
   2202   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2203 esac
   2204 
   2205 for ac_prog in gawk mawk nawk awk
   2206 do
   2207   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2208 set dummy $ac_prog; ac_word=$2
   2209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2211 if test "${ac_cv_prog_AWK+set}" = set; then
   2212   echo $ECHO_N "(cached) $ECHO_C" >&6
   2213 else
   2214   if test -n "$AWK"; then
   2215   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2216 else
   2217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2218 for as_dir in $PATH
   2219 do
   2220   IFS=$as_save_IFS
   2221   test -z "$as_dir" && as_dir=.
   2222   for ac_exec_ext in '' $ac_executable_extensions; do
   2223   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2224     ac_cv_prog_AWK="$ac_prog"
   2225     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2226     break 2
   2227   fi
   2228 done
   2229 done
   2230 IFS=$as_save_IFS
   2231 
   2232 fi
   2233 fi
   2234 AWK=$ac_cv_prog_AWK
   2235 if test -n "$AWK"; then
   2236   { echo "$as_me:$LINENO: result: $AWK" >&5
   2237 echo "${ECHO_T}$AWK" >&6; }
   2238 else
   2239   { echo "$as_me:$LINENO: result: no" >&5
   2240 echo "${ECHO_T}no" >&6; }
   2241 fi
   2242 
   2243 
   2244   test -n "$AWK" && break
   2245 done
   2246 
   2247 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2248 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2249 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2250 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2251   echo $ECHO_N "(cached) $ECHO_C" >&6
   2252 else
   2253   cat >conftest.make <<\_ACEOF
   2254 SHELL = /bin/sh
   2255 all:
   2256 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2257 _ACEOF
   2258 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2259 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2260   *@@@%%%=?*=@@@%%%*)
   2261     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2262   *)
   2263     eval ac_cv_prog_make_${ac_make}_set=no;;
   2264 esac
   2265 rm -f conftest.make
   2266 fi
   2267 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2268   { echo "$as_me:$LINENO: result: yes" >&5
   2269 echo "${ECHO_T}yes" >&6; }
   2270   SET_MAKE=
   2271 else
   2272   { echo "$as_me:$LINENO: result: no" >&5
   2273 echo "${ECHO_T}no" >&6; }
   2274   SET_MAKE="MAKE=${MAKE-make}"
   2275 fi
   2276 
   2277 rm -rf .tst 2>/dev/null
   2278 mkdir .tst 2>/dev/null
   2279 if test -d .tst; then
   2280   am__leading_dot=.
   2281 else
   2282   am__leading_dot=_
   2283 fi
   2284 rmdir .tst 2>/dev/null
   2285 
   2286 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2287   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2288   # is not polluted with repeated "-I."
   2289   am__isrc=' -I$(srcdir)'
   2290   # test to see if srcdir already configured
   2291   if test -f $srcdir/config.status; then
   2292     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2293 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2294    { (exit 1); exit 1; }; }
   2295   fi
   2296 fi
   2297 
   2298 # test whether we have cygpath
   2299 if test -z "$CYGPATH_W"; then
   2300   if (cygpath --version) >/dev/null 2>/dev/null; then
   2301     CYGPATH_W='cygpath -w'
   2302   else
   2303     CYGPATH_W=echo
   2304   fi
   2305 fi
   2306 
   2307 
   2308 # Define the identity of the package.
   2309  PACKAGE='libXmu'
   2310  VERSION='1.0.4'
   2311 
   2312 
   2313 cat >>confdefs.h <<_ACEOF
   2314 #define PACKAGE "$PACKAGE"
   2315 _ACEOF
   2316 
   2317 
   2318 cat >>confdefs.h <<_ACEOF
   2319 #define VERSION "$VERSION"
   2320 _ACEOF
   2321 
   2322 # Some tools Automake needs.
   2323 
   2324 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2325 
   2326 
   2327 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2328 
   2329 
   2330 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2331 
   2332 
   2333 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2334 
   2335 
   2336 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2337 
   2338 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2339 
   2340 # Installed binaries are usually stripped using `strip' when the user
   2341 # run `make install-strip'.  However `strip' might not be the right
   2342 # tool to use in cross-compilation environments, therefore Automake
   2343 # will honor the `STRIP' environment variable to overrule this program.
   2344 if test "$cross_compiling" != no; then
   2345   if test -n "$ac_tool_prefix"; then
   2346   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2347 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2350 if test "${ac_cv_prog_STRIP+set}" = set; then
   2351   echo $ECHO_N "(cached) $ECHO_C" >&6
   2352 else
   2353   if test -n "$STRIP"; then
   2354   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2355 else
   2356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2357 for as_dir in $PATH
   2358 do
   2359   IFS=$as_save_IFS
   2360   test -z "$as_dir" && as_dir=.
   2361   for ac_exec_ext in '' $ac_executable_extensions; do
   2362   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2363     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2364     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2365     break 2
   2366   fi
   2367 done
   2368 done
   2369 IFS=$as_save_IFS
   2370 
   2371 fi
   2372 fi
   2373 STRIP=$ac_cv_prog_STRIP
   2374 if test -n "$STRIP"; then
   2375   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2376 echo "${ECHO_T}$STRIP" >&6; }
   2377 else
   2378   { echo "$as_me:$LINENO: result: no" >&5
   2379 echo "${ECHO_T}no" >&6; }
   2380 fi
   2381 
   2382 
   2383 fi
   2384 if test -z "$ac_cv_prog_STRIP"; then
   2385   ac_ct_STRIP=$STRIP
   2386   # Extract the first word of "strip", so it can be a program name with args.
   2387 set dummy strip; ac_word=$2
   2388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2390 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2391   echo $ECHO_N "(cached) $ECHO_C" >&6
   2392 else
   2393   if test -n "$ac_ct_STRIP"; then
   2394   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2395 else
   2396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2397 for as_dir in $PATH
   2398 do
   2399   IFS=$as_save_IFS
   2400   test -z "$as_dir" && as_dir=.
   2401   for ac_exec_ext in '' $ac_executable_extensions; do
   2402   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2403     ac_cv_prog_ac_ct_STRIP="strip"
   2404     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2405     break 2
   2406   fi
   2407 done
   2408 done
   2409 IFS=$as_save_IFS
   2410 
   2411 fi
   2412 fi
   2413 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2414 if test -n "$ac_ct_STRIP"; then
   2415   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2416 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2417 else
   2418   { echo "$as_me:$LINENO: result: no" >&5
   2419 echo "${ECHO_T}no" >&6; }
   2420 fi
   2421 
   2422   if test "x$ac_ct_STRIP" = x; then
   2423     STRIP=":"
   2424   else
   2425     case $cross_compiling:$ac_tool_warned in
   2426 yes:)
   2427 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2428 whose name does not start with the host triplet.  If you think this
   2429 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2430 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2431 whose name does not start with the host triplet.  If you think this
   2432 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2433 ac_tool_warned=yes ;;
   2434 esac
   2435     STRIP=$ac_ct_STRIP
   2436   fi
   2437 else
   2438   STRIP="$ac_cv_prog_STRIP"
   2439 fi
   2440 
   2441 fi
   2442 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2443 
   2444 # We need awk for the "check" target.  The system "awk" is bad on
   2445 # some platforms.
   2446 # Always define AMTAR for backward compatibility.
   2447 
   2448 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2449 
   2450 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2451 
   2452 
   2453 
   2454 
   2455 
   2456 
   2457 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2458 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2459     # Check whether --enable-maintainer-mode was given.
   2460 if test "${enable_maintainer_mode+set}" = set; then
   2461   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2462 else
   2463   USE_MAINTAINER_MODE=no
   2464 fi
   2465 
   2466   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2467 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2468    if test $USE_MAINTAINER_MODE = yes; then
   2469   MAINTAINER_MODE_TRUE=
   2470   MAINTAINER_MODE_FALSE='#'
   2471 else
   2472   MAINTAINER_MODE_TRUE='#'
   2473   MAINTAINER_MODE_FALSE=
   2474 fi
   2475 
   2476   MAINT=$MAINTAINER_MODE_TRUE
   2477 
   2478 
   2479 
   2480 ac_config_headers="$ac_config_headers config.h"
   2481 
   2482 
   2483 # Require xorg-macros version 1.1.0 or newer for XORG_WITH_LINT macro
   2484 
   2485 
   2486 	XORG_MACROS_needed_version=1.1
   2487 	XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
   2488 	XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
   2489 	{ echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5
   2490 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; }
   2491 	XORG_MACROS_version=1.1.5
   2492 	XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
   2493 	XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
   2494 	if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
   2495 		{ { echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5
   2496 echo "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;}
   2497    { (exit 1); exit 1; }; }
   2498 	fi
   2499 	if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
   2500 		{ { 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
   2501 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;}
   2502    { (exit 1); exit 1; }; }
   2503 	fi
   2504 	{ echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5
   2505 echo "${ECHO_T}yes, $XORG_MACROS_version" >&6; }
   2506 
   2507 
   2508 
   2509 # Checks for programs.
   2510 # Check whether --enable-shared was given.
   2511 if test "${enable_shared+set}" = set; then
   2512   enableval=$enable_shared; p=${PACKAGE-default}
   2513     case $enableval in
   2514     yes) enable_shared=yes ;;
   2515     no) enable_shared=no ;;
   2516     *)
   2517       enable_shared=no
   2518       # Look at the argument we got.  We use all the common list separators.
   2519       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2520       for pkg in $enableval; do
   2521 	IFS="$lt_save_ifs"
   2522 	if test "X$pkg" = "X$p"; then
   2523 	  enable_shared=yes
   2524 	fi
   2525       done
   2526       IFS="$lt_save_ifs"
   2527       ;;
   2528     esac
   2529 else
   2530   enable_shared=yes
   2531 fi
   2532 
   2533 
   2534 # Check whether --enable-static was given.
   2535 if test "${enable_static+set}" = set; then
   2536   enableval=$enable_static; p=${PACKAGE-default}
   2537     case $enableval in
   2538     yes) enable_static=yes ;;
   2539     no) enable_static=no ;;
   2540     *)
   2541      enable_static=no
   2542       # Look at the argument we got.  We use all the common list separators.
   2543       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2544       for pkg in $enableval; do
   2545 	IFS="$lt_save_ifs"
   2546 	if test "X$pkg" = "X$p"; then
   2547 	  enable_static=yes
   2548 	fi
   2549       done
   2550       IFS="$lt_save_ifs"
   2551       ;;
   2552     esac
   2553 else
   2554   enable_static=yes
   2555 fi
   2556 
   2557 
   2558 # Check whether --enable-fast-install was given.
   2559 if test "${enable_fast_install+set}" = set; then
   2560   enableval=$enable_fast_install; p=${PACKAGE-default}
   2561     case $enableval in
   2562     yes) enable_fast_install=yes ;;
   2563     no) enable_fast_install=no ;;
   2564     *)
   2565       enable_fast_install=no
   2566       # Look at the argument we got.  We use all the common list separators.
   2567       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2568       for pkg in $enableval; do
   2569 	IFS="$lt_save_ifs"
   2570 	if test "X$pkg" = "X$p"; then
   2571 	  enable_fast_install=yes
   2572 	fi
   2573       done
   2574       IFS="$lt_save_ifs"
   2575       ;;
   2576     esac
   2577 else
   2578   enable_fast_install=yes
   2579 fi
   2580 
   2581 
   2582 # Make sure we can run config.sub.
   2583 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2584   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2585 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2586    { (exit 1); exit 1; }; }
   2587 
   2588 { echo "$as_me:$LINENO: checking build system type" >&5
   2589 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   2590 if test "${ac_cv_build+set}" = set; then
   2591   echo $ECHO_N "(cached) $ECHO_C" >&6
   2592 else
   2593   ac_build_alias=$build_alias
   2594 test "x$ac_build_alias" = x &&
   2595   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2596 test "x$ac_build_alias" = x &&
   2597   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2598 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2599    { (exit 1); exit 1; }; }
   2600 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2601   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2602 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2603    { (exit 1); exit 1; }; }
   2604 
   2605 fi
   2606 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2607 echo "${ECHO_T}$ac_cv_build" >&6; }
   2608 case $ac_cv_build in
   2609 *-*-*) ;;
   2610 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2611 echo "$as_me: error: invalid value of canonical build" >&2;}
   2612    { (exit 1); exit 1; }; };;
   2613 esac
   2614 build=$ac_cv_build
   2615 ac_save_IFS=$IFS; IFS='-'
   2616 set x $ac_cv_build
   2617 shift
   2618 build_cpu=$1
   2619 build_vendor=$2
   2620 shift; shift
   2621 # Remember, the first character of IFS is used to create $*,
   2622 # except with old shells:
   2623 build_os=$*
   2624 IFS=$ac_save_IFS
   2625 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2626 
   2627 
   2628 { echo "$as_me:$LINENO: checking host system type" >&5
   2629 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   2630 if test "${ac_cv_host+set}" = set; then
   2631   echo $ECHO_N "(cached) $ECHO_C" >&6
   2632 else
   2633   if test "x$host_alias" = x; then
   2634   ac_cv_host=$ac_cv_build
   2635 else
   2636   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2637     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2638 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2639    { (exit 1); exit 1; }; }
   2640 fi
   2641 
   2642 fi
   2643 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2644 echo "${ECHO_T}$ac_cv_host" >&6; }
   2645 case $ac_cv_host in
   2646 *-*-*) ;;
   2647 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2648 echo "$as_me: error: invalid value of canonical host" >&2;}
   2649    { (exit 1); exit 1; }; };;
   2650 esac
   2651 host=$ac_cv_host
   2652 ac_save_IFS=$IFS; IFS='-'
   2653 set x $ac_cv_host
   2654 shift
   2655 host_cpu=$1
   2656 host_vendor=$2
   2657 shift; shift
   2658 # Remember, the first character of IFS is used to create $*,
   2659 # except with old shells:
   2660 host_os=$*
   2661 IFS=$ac_save_IFS
   2662 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2663 
   2664 
   2665 DEPDIR="${am__leading_dot}deps"
   2666 
   2667 ac_config_commands="$ac_config_commands depfiles"
   2668 
   2669 
   2670 am_make=${MAKE-make}
   2671 cat > confinc << 'END'
   2672 am__doit:
   2673 	@echo done
   2674 .PHONY: am__doit
   2675 END
   2676 # If we don't find an include directive, just comment out the code.
   2677 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2678 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   2679 am__include="#"
   2680 am__quote=
   2681 _am_result=none
   2682 # First try GNU make style include.
   2683 echo "include confinc" > confmf
   2684 # We grep out `Entering directory' and `Leaving directory'
   2685 # messages which can occur if `w' ends up in MAKEFLAGS.
   2686 # In particular we don't look at `^make:' because GNU make might
   2687 # be invoked under some other name (usually "gmake"), in which
   2688 # case it prints its new name instead of `make'.
   2689 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2690    am__include=include
   2691    am__quote=
   2692    _am_result=GNU
   2693 fi
   2694 # Now try BSD make style include.
   2695 if test "$am__include" = "#"; then
   2696    echo '.include "confinc"' > confmf
   2697    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2698       am__include=.include
   2699       am__quote="\""
   2700       _am_result=BSD
   2701    fi
   2702 fi
   2703 
   2704 
   2705 { echo "$as_me:$LINENO: result: $_am_result" >&5
   2706 echo "${ECHO_T}$_am_result" >&6; }
   2707 rm -f confinc confmf
   2708 
   2709 # Check whether --enable-dependency-tracking was given.
   2710 if test "${enable_dependency_tracking+set}" = set; then
   2711   enableval=$enable_dependency_tracking;
   2712 fi
   2713 
   2714 if test "x$enable_dependency_tracking" != xno; then
   2715   am_depcomp="$ac_aux_dir/depcomp"
   2716   AMDEPBACKSLASH='\'
   2717 fi
   2718  if test "x$enable_dependency_tracking" != xno; then
   2719   AMDEP_TRUE=
   2720   AMDEP_FALSE='#'
   2721 else
   2722   AMDEP_TRUE='#'
   2723   AMDEP_FALSE=
   2724 fi
   2725 
   2726 
   2727 ac_ext=c
   2728 ac_cpp='$CPP $CPPFLAGS'
   2729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2732 if test -n "$ac_tool_prefix"; then
   2733   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2734 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2735 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2737 if test "${ac_cv_prog_CC+set}" = set; then
   2738   echo $ECHO_N "(cached) $ECHO_C" >&6
   2739 else
   2740   if test -n "$CC"; then
   2741   ac_cv_prog_CC="$CC" # Let the user override the test.
   2742 else
   2743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2744 for as_dir in $PATH
   2745 do
   2746   IFS=$as_save_IFS
   2747   test -z "$as_dir" && as_dir=.
   2748   for ac_exec_ext in '' $ac_executable_extensions; do
   2749   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2750     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2751     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2752     break 2
   2753   fi
   2754 done
   2755 done
   2756 IFS=$as_save_IFS
   2757 
   2758 fi
   2759 fi
   2760 CC=$ac_cv_prog_CC
   2761 if test -n "$CC"; then
   2762   { echo "$as_me:$LINENO: result: $CC" >&5
   2763 echo "${ECHO_T}$CC" >&6; }
   2764 else
   2765   { echo "$as_me:$LINENO: result: no" >&5
   2766 echo "${ECHO_T}no" >&6; }
   2767 fi
   2768 
   2769 
   2770 fi
   2771 if test -z "$ac_cv_prog_CC"; then
   2772   ac_ct_CC=$CC
   2773   # Extract the first word of "gcc", so it can be a program name with args.
   2774 set dummy gcc; ac_word=$2
   2775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2777 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2778   echo $ECHO_N "(cached) $ECHO_C" >&6
   2779 else
   2780   if test -n "$ac_ct_CC"; then
   2781   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2782 else
   2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2784 for as_dir in $PATH
   2785 do
   2786   IFS=$as_save_IFS
   2787   test -z "$as_dir" && as_dir=.
   2788   for ac_exec_ext in '' $ac_executable_extensions; do
   2789   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2790     ac_cv_prog_ac_ct_CC="gcc"
   2791     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2792     break 2
   2793   fi
   2794 done
   2795 done
   2796 IFS=$as_save_IFS
   2797 
   2798 fi
   2799 fi
   2800 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2801 if test -n "$ac_ct_CC"; then
   2802   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2803 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2804 else
   2805   { echo "$as_me:$LINENO: result: no" >&5
   2806 echo "${ECHO_T}no" >&6; }
   2807 fi
   2808 
   2809   if test "x$ac_ct_CC" = x; then
   2810     CC=""
   2811   else
   2812     case $cross_compiling:$ac_tool_warned in
   2813 yes:)
   2814 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2815 whose name does not start with the host triplet.  If you think this
   2816 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2817 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2818 whose name does not start with the host triplet.  If you think this
   2819 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2820 ac_tool_warned=yes ;;
   2821 esac
   2822     CC=$ac_ct_CC
   2823   fi
   2824 else
   2825   CC="$ac_cv_prog_CC"
   2826 fi
   2827 
   2828 if test -z "$CC"; then
   2829           if test -n "$ac_tool_prefix"; then
   2830     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2831 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2834 if test "${ac_cv_prog_CC+set}" = set; then
   2835   echo $ECHO_N "(cached) $ECHO_C" >&6
   2836 else
   2837   if test -n "$CC"; then
   2838   ac_cv_prog_CC="$CC" # Let the user override the test.
   2839 else
   2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2841 for as_dir in $PATH
   2842 do
   2843   IFS=$as_save_IFS
   2844   test -z "$as_dir" && as_dir=.
   2845   for ac_exec_ext in '' $ac_executable_extensions; do
   2846   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2847     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2848     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2849     break 2
   2850   fi
   2851 done
   2852 done
   2853 IFS=$as_save_IFS
   2854 
   2855 fi
   2856 fi
   2857 CC=$ac_cv_prog_CC
   2858 if test -n "$CC"; then
   2859   { echo "$as_me:$LINENO: result: $CC" >&5
   2860 echo "${ECHO_T}$CC" >&6; }
   2861 else
   2862   { echo "$as_me:$LINENO: result: no" >&5
   2863 echo "${ECHO_T}no" >&6; }
   2864 fi
   2865 
   2866 
   2867   fi
   2868 fi
   2869 if test -z "$CC"; then
   2870   # Extract the first word of "cc", so it can be a program name with args.
   2871 set dummy cc; ac_word=$2
   2872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2874 if test "${ac_cv_prog_CC+set}" = set; then
   2875   echo $ECHO_N "(cached) $ECHO_C" >&6
   2876 else
   2877   if test -n "$CC"; then
   2878   ac_cv_prog_CC="$CC" # Let the user override the test.
   2879 else
   2880   ac_prog_rejected=no
   2881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2882 for as_dir in $PATH
   2883 do
   2884   IFS=$as_save_IFS
   2885   test -z "$as_dir" && as_dir=.
   2886   for ac_exec_ext in '' $ac_executable_extensions; do
   2887   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2888     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2889        ac_prog_rejected=yes
   2890        continue
   2891      fi
   2892     ac_cv_prog_CC="cc"
   2893     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2894     break 2
   2895   fi
   2896 done
   2897 done
   2898 IFS=$as_save_IFS
   2899 
   2900 if test $ac_prog_rejected = yes; then
   2901   # We found a bogon in the path, so make sure we never use it.
   2902   set dummy $ac_cv_prog_CC
   2903   shift
   2904   if test $# != 0; then
   2905     # We chose a different compiler from the bogus one.
   2906     # However, it has the same basename, so the bogon will be chosen
   2907     # first if we set CC to just the basename; use the full file name.
   2908     shift
   2909     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2910   fi
   2911 fi
   2912 fi
   2913 fi
   2914 CC=$ac_cv_prog_CC
   2915 if test -n "$CC"; then
   2916   { echo "$as_me:$LINENO: result: $CC" >&5
   2917 echo "${ECHO_T}$CC" >&6; }
   2918 else
   2919   { echo "$as_me:$LINENO: result: no" >&5
   2920 echo "${ECHO_T}no" >&6; }
   2921 fi
   2922 
   2923 
   2924 fi
   2925 if test -z "$CC"; then
   2926   if test -n "$ac_tool_prefix"; then
   2927   for ac_prog in cl.exe
   2928   do
   2929     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2933 if test "${ac_cv_prog_CC+set}" = set; then
   2934   echo $ECHO_N "(cached) $ECHO_C" >&6
   2935 else
   2936   if test -n "$CC"; then
   2937   ac_cv_prog_CC="$CC" # Let the user override the test.
   2938 else
   2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2940 for as_dir in $PATH
   2941 do
   2942   IFS=$as_save_IFS
   2943   test -z "$as_dir" && as_dir=.
   2944   for ac_exec_ext in '' $ac_executable_extensions; do
   2945   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2946     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2947     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2948     break 2
   2949   fi
   2950 done
   2951 done
   2952 IFS=$as_save_IFS
   2953 
   2954 fi
   2955 fi
   2956 CC=$ac_cv_prog_CC
   2957 if test -n "$CC"; then
   2958   { echo "$as_me:$LINENO: result: $CC" >&5
   2959 echo "${ECHO_T}$CC" >&6; }
   2960 else
   2961   { echo "$as_me:$LINENO: result: no" >&5
   2962 echo "${ECHO_T}no" >&6; }
   2963 fi
   2964 
   2965 
   2966     test -n "$CC" && break
   2967   done
   2968 fi
   2969 if test -z "$CC"; then
   2970   ac_ct_CC=$CC
   2971   for ac_prog in cl.exe
   2972 do
   2973   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2974 set dummy $ac_prog; ac_word=$2
   2975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2977 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2978   echo $ECHO_N "(cached) $ECHO_C" >&6
   2979 else
   2980   if test -n "$ac_ct_CC"; then
   2981   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2982 else
   2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2984 for as_dir in $PATH
   2985 do
   2986   IFS=$as_save_IFS
   2987   test -z "$as_dir" && as_dir=.
   2988   for ac_exec_ext in '' $ac_executable_extensions; do
   2989   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2990     ac_cv_prog_ac_ct_CC="$ac_prog"
   2991     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2992     break 2
   2993   fi
   2994 done
   2995 done
   2996 IFS=$as_save_IFS
   2997 
   2998 fi
   2999 fi
   3000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3001 if test -n "$ac_ct_CC"; then
   3002   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3003 echo "${ECHO_T}$ac_ct_CC" >&6; }
   3004 else
   3005   { echo "$as_me:$LINENO: result: no" >&5
   3006 echo "${ECHO_T}no" >&6; }
   3007 fi
   3008 
   3009 
   3010   test -n "$ac_ct_CC" && break
   3011 done
   3012 
   3013   if test "x$ac_ct_CC" = x; then
   3014     CC=""
   3015   else
   3016     case $cross_compiling:$ac_tool_warned in
   3017 yes:)
   3018 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   3019 whose name does not start with the host triplet.  If you think this
   3020 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   3021 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   3022 whose name does not start with the host triplet.  If you think this
   3023 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   3024 ac_tool_warned=yes ;;
   3025 esac
   3026     CC=$ac_ct_CC
   3027   fi
   3028 fi
   3029 
   3030 fi
   3031 
   3032 
   3033 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3034 See \`config.log' for more details." >&5
   3035 echo "$as_me: error: no acceptable C compiler found in \$PATH
   3036 See \`config.log' for more details." >&2;}
   3037    { (exit 1); exit 1; }; }
   3038 
   3039 # Provide some information about the compiler.
   3040 echo "$as_me:$LINENO: checking for C compiler version" >&5
   3041 ac_compiler=`set X $ac_compile; echo $2`
   3042 { (ac_try="$ac_compiler --version >&5"
   3043 case "(($ac_try" in
   3044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3045   *) ac_try_echo=$ac_try;;
   3046 esac
   3047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3048   (eval "$ac_compiler --version >&5") 2>&5
   3049   ac_status=$?
   3050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3051   (exit $ac_status); }
   3052 { (ac_try="$ac_compiler -v >&5"
   3053 case "(($ac_try" in
   3054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3055   *) ac_try_echo=$ac_try;;
   3056 esac
   3057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3058   (eval "$ac_compiler -v >&5") 2>&5
   3059   ac_status=$?
   3060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3061   (exit $ac_status); }
   3062 { (ac_try="$ac_compiler -V >&5"
   3063 case "(($ac_try" in
   3064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3065   *) ac_try_echo=$ac_try;;
   3066 esac
   3067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3068   (eval "$ac_compiler -V >&5") 2>&5
   3069   ac_status=$?
   3070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3071   (exit $ac_status); }
   3072 
   3073 cat >conftest.$ac_ext <<_ACEOF
   3074 /* confdefs.h.  */
   3075 _ACEOF
   3076 cat confdefs.h >>conftest.$ac_ext
   3077 cat >>conftest.$ac_ext <<_ACEOF
   3078 /* end confdefs.h.  */
   3079 
   3080 int
   3081 main ()
   3082 {
   3083 
   3084   ;
   3085   return 0;
   3086 }
   3087 _ACEOF
   3088 ac_clean_files_save=$ac_clean_files
   3089 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   3090 # Try to create an executable without -o first, disregard a.out.
   3091 # It will help us diagnose broken compilers, and finding out an intuition
   3092 # of exeext.
   3093 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3094 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   3095 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3096 #
   3097 # List of possible output files, starting from the most likely.
   3098 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   3099 # only as a last resort.  b.out is created by i960 compilers.
   3100 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   3101 #
   3102 # The IRIX 6 linker writes into existing files which may not be
   3103 # executable, retaining their permissions.  Remove them first so a
   3104 # subsequent execution test works.
   3105 ac_rmfiles=
   3106 for ac_file in $ac_files
   3107 do
   3108   case $ac_file in
   3109     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3110     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3111   esac
   3112 done
   3113 rm -f $ac_rmfiles
   3114 
   3115 if { (ac_try="$ac_link_default"
   3116 case "(($ac_try" in
   3117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3118   *) ac_try_echo=$ac_try;;
   3119 esac
   3120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3121   (eval "$ac_link_default") 2>&5
   3122   ac_status=$?
   3123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3124   (exit $ac_status); }; then
   3125   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3126 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3127 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3128 # so that the user can short-circuit this test for compilers unknown to
   3129 # Autoconf.
   3130 for ac_file in $ac_files ''
   3131 do
   3132   test -f "$ac_file" || continue
   3133   case $ac_file in
   3134     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   3135 	;;
   3136     [ab].out )
   3137 	# We found the default executable, but exeext='' is most
   3138 	# certainly right.
   3139 	break;;
   3140     *.* )
   3141         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3142 	then :; else
   3143 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3144 	fi
   3145 	# We set ac_cv_exeext here because the later test for it is not
   3146 	# safe: cross compilers may not add the suffix if given an `-o'
   3147 	# argument, so we may need to know it at that point already.
   3148 	# Even if this section looks crufty: it has the advantage of
   3149 	# actually working.
   3150 	break;;
   3151     * )
   3152 	break;;
   3153   esac
   3154 done
   3155 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3156 
   3157 else
   3158   ac_file=''
   3159 fi
   3160 
   3161 { echo "$as_me:$LINENO: result: $ac_file" >&5
   3162 echo "${ECHO_T}$ac_file" >&6; }
   3163 if test -z "$ac_file"; then
   3164   echo "$as_me: failed program was:" >&5
   3165 sed 's/^/| /' conftest.$ac_ext >&5
   3166 
   3167 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   3168 See \`config.log' for more details." >&5
   3169 echo "$as_me: error: C compiler cannot create executables
   3170 See \`config.log' for more details." >&2;}
   3171    { (exit 77); exit 77; }; }
   3172 fi
   3173 
   3174 ac_exeext=$ac_cv_exeext
   3175 
   3176 # Check that the compiler produces executables we can run.  If not, either
   3177 # the compiler is broken, or we cross compile.
   3178 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3179 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   3180 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3181 # If not cross compiling, check that we can run a simple program.
   3182 if test "$cross_compiling" != yes; then
   3183   if { ac_try='./$ac_file'
   3184   { (case "(($ac_try" in
   3185   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3186   *) ac_try_echo=$ac_try;;
   3187 esac
   3188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3189   (eval "$ac_try") 2>&5
   3190   ac_status=$?
   3191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3192   (exit $ac_status); }; }; then
   3193     cross_compiling=no
   3194   else
   3195     if test "$cross_compiling" = maybe; then
   3196 	cross_compiling=yes
   3197     else
   3198 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3199 If you meant to cross compile, use \`--host'.
   3200 See \`config.log' for more details." >&5
   3201 echo "$as_me: error: cannot run C compiled programs.
   3202 If you meant to cross compile, use \`--host'.
   3203 See \`config.log' for more details." >&2;}
   3204    { (exit 1); exit 1; }; }
   3205     fi
   3206   fi
   3207 fi
   3208 { echo "$as_me:$LINENO: result: yes" >&5
   3209 echo "${ECHO_T}yes" >&6; }
   3210 
   3211 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   3212 ac_clean_files=$ac_clean_files_save
   3213 # Check that the compiler produces executables we can run.  If not, either
   3214 # the compiler is broken, or we cross compile.
   3215 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3216 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   3217 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3218 echo "${ECHO_T}$cross_compiling" >&6; }
   3219 
   3220 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3221 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   3222 if { (ac_try="$ac_link"
   3223 case "(($ac_try" in
   3224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3225   *) ac_try_echo=$ac_try;;
   3226 esac
   3227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3228   (eval "$ac_link") 2>&5
   3229   ac_status=$?
   3230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3231   (exit $ac_status); }; then
   3232   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3233 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3234 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3235 # `rm'.
   3236 for ac_file in conftest.exe conftest conftest.*; do
   3237   test -f "$ac_file" || continue
   3238   case $ac_file in
   3239     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3240     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3241 	  break;;
   3242     * ) break;;
   3243   esac
   3244 done
   3245 else
   3246   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3247 See \`config.log' for more details." >&5
   3248 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3249 See \`config.log' for more details." >&2;}
   3250    { (exit 1); exit 1; }; }
   3251 fi
   3252 
   3253 rm -f conftest$ac_cv_exeext
   3254 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3255 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3256 
   3257 rm -f conftest.$ac_ext
   3258 EXEEXT=$ac_cv_exeext
   3259 ac_exeext=$EXEEXT
   3260 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3261 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3262 if test "${ac_cv_objext+set}" = set; then
   3263   echo $ECHO_N "(cached) $ECHO_C" >&6
   3264 else
   3265   cat >conftest.$ac_ext <<_ACEOF
   3266 /* confdefs.h.  */
   3267 _ACEOF
   3268 cat confdefs.h >>conftest.$ac_ext
   3269 cat >>conftest.$ac_ext <<_ACEOF
   3270 /* end confdefs.h.  */
   3271 
   3272 int
   3273 main ()
   3274 {
   3275 
   3276   ;
   3277   return 0;
   3278 }
   3279 _ACEOF
   3280 rm -f conftest.o conftest.obj
   3281 if { (ac_try="$ac_compile"
   3282 case "(($ac_try" in
   3283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3284   *) ac_try_echo=$ac_try;;
   3285 esac
   3286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3287   (eval "$ac_compile") 2>&5
   3288   ac_status=$?
   3289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3290   (exit $ac_status); }; then
   3291   for ac_file in conftest.o conftest.obj conftest.*; do
   3292   test -f "$ac_file" || continue;
   3293   case $ac_file in
   3294     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3295     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3296        break;;
   3297   esac
   3298 done
   3299 else
   3300   echo "$as_me: failed program was:" >&5
   3301 sed 's/^/| /' conftest.$ac_ext >&5
   3302 
   3303 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3304 See \`config.log' for more details." >&5
   3305 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3306 See \`config.log' for more details." >&2;}
   3307    { (exit 1); exit 1; }; }
   3308 fi
   3309 
   3310 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3311 fi
   3312 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3313 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3314 OBJEXT=$ac_cv_objext
   3315 ac_objext=$OBJEXT
   3316 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3317 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3318 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3319   echo $ECHO_N "(cached) $ECHO_C" >&6
   3320 else
   3321   cat >conftest.$ac_ext <<_ACEOF
   3322 /* confdefs.h.  */
   3323 _ACEOF
   3324 cat confdefs.h >>conftest.$ac_ext
   3325 cat >>conftest.$ac_ext <<_ACEOF
   3326 /* end confdefs.h.  */
   3327 
   3328 int
   3329 main ()
   3330 {
   3331 #ifndef __GNUC__
   3332        choke me
   3333 #endif
   3334 
   3335   ;
   3336   return 0;
   3337 }
   3338 _ACEOF
   3339 rm -f conftest.$ac_objext
   3340 if { (ac_try="$ac_compile"
   3341 case "(($ac_try" in
   3342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3343   *) ac_try_echo=$ac_try;;
   3344 esac
   3345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3346   (eval "$ac_compile") 2>conftest.er1
   3347   ac_status=$?
   3348   grep -v '^ *+' conftest.er1 >conftest.err
   3349   rm -f conftest.er1
   3350   cat conftest.err >&5
   3351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3352   (exit $ac_status); } && {
   3353 	 test -z "$ac_c_werror_flag" ||
   3354 	 test ! -s conftest.err
   3355        } && test -s conftest.$ac_objext; then
   3356   ac_compiler_gnu=yes
   3357 else
   3358   echo "$as_me: failed program was:" >&5
   3359 sed 's/^/| /' conftest.$ac_ext >&5
   3360 
   3361 	ac_compiler_gnu=no
   3362 fi
   3363 
   3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3365 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3366 
   3367 fi
   3368 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3369 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3370 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3371 ac_test_CFLAGS=${CFLAGS+set}
   3372 ac_save_CFLAGS=$CFLAGS
   3373 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3374 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3375 if test "${ac_cv_prog_cc_g+set}" = set; then
   3376   echo $ECHO_N "(cached) $ECHO_C" >&6
   3377 else
   3378   ac_save_c_werror_flag=$ac_c_werror_flag
   3379    ac_c_werror_flag=yes
   3380    ac_cv_prog_cc_g=no
   3381    CFLAGS="-g"
   3382    cat >conftest.$ac_ext <<_ACEOF
   3383 /* confdefs.h.  */
   3384 _ACEOF
   3385 cat confdefs.h >>conftest.$ac_ext
   3386 cat >>conftest.$ac_ext <<_ACEOF
   3387 /* end confdefs.h.  */
   3388 
   3389 int
   3390 main ()
   3391 {
   3392 
   3393   ;
   3394   return 0;
   3395 }
   3396 _ACEOF
   3397 rm -f conftest.$ac_objext
   3398 if { (ac_try="$ac_compile"
   3399 case "(($ac_try" in
   3400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3401   *) ac_try_echo=$ac_try;;
   3402 esac
   3403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3404   (eval "$ac_compile") 2>conftest.er1
   3405   ac_status=$?
   3406   grep -v '^ *+' conftest.er1 >conftest.err
   3407   rm -f conftest.er1
   3408   cat conftest.err >&5
   3409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3410   (exit $ac_status); } && {
   3411 	 test -z "$ac_c_werror_flag" ||
   3412 	 test ! -s conftest.err
   3413        } && test -s conftest.$ac_objext; then
   3414   ac_cv_prog_cc_g=yes
   3415 else
   3416   echo "$as_me: failed program was:" >&5
   3417 sed 's/^/| /' conftest.$ac_ext >&5
   3418 
   3419 	CFLAGS=""
   3420       cat >conftest.$ac_ext <<_ACEOF
   3421 /* confdefs.h.  */
   3422 _ACEOF
   3423 cat confdefs.h >>conftest.$ac_ext
   3424 cat >>conftest.$ac_ext <<_ACEOF
   3425 /* end confdefs.h.  */
   3426 
   3427 int
   3428 main ()
   3429 {
   3430 
   3431   ;
   3432   return 0;
   3433 }
   3434 _ACEOF
   3435 rm -f conftest.$ac_objext
   3436 if { (ac_try="$ac_compile"
   3437 case "(($ac_try" in
   3438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3439   *) ac_try_echo=$ac_try;;
   3440 esac
   3441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3442   (eval "$ac_compile") 2>conftest.er1
   3443   ac_status=$?
   3444   grep -v '^ *+' conftest.er1 >conftest.err
   3445   rm -f conftest.er1
   3446   cat conftest.err >&5
   3447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3448   (exit $ac_status); } && {
   3449 	 test -z "$ac_c_werror_flag" ||
   3450 	 test ! -s conftest.err
   3451        } && test -s conftest.$ac_objext; then
   3452   :
   3453 else
   3454   echo "$as_me: failed program was:" >&5
   3455 sed 's/^/| /' conftest.$ac_ext >&5
   3456 
   3457 	ac_c_werror_flag=$ac_save_c_werror_flag
   3458 	 CFLAGS="-g"
   3459 	 cat >conftest.$ac_ext <<_ACEOF
   3460 /* confdefs.h.  */
   3461 _ACEOF
   3462 cat confdefs.h >>conftest.$ac_ext
   3463 cat >>conftest.$ac_ext <<_ACEOF
   3464 /* end confdefs.h.  */
   3465 
   3466 int
   3467 main ()
   3468 {
   3469 
   3470   ;
   3471   return 0;
   3472 }
   3473 _ACEOF
   3474 rm -f conftest.$ac_objext
   3475 if { (ac_try="$ac_compile"
   3476 case "(($ac_try" in
   3477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3478   *) ac_try_echo=$ac_try;;
   3479 esac
   3480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3481   (eval "$ac_compile") 2>conftest.er1
   3482   ac_status=$?
   3483   grep -v '^ *+' conftest.er1 >conftest.err
   3484   rm -f conftest.er1
   3485   cat conftest.err >&5
   3486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3487   (exit $ac_status); } && {
   3488 	 test -z "$ac_c_werror_flag" ||
   3489 	 test ! -s conftest.err
   3490        } && test -s conftest.$ac_objext; then
   3491   ac_cv_prog_cc_g=yes
   3492 else
   3493   echo "$as_me: failed program was:" >&5
   3494 sed 's/^/| /' conftest.$ac_ext >&5
   3495 
   3496 
   3497 fi
   3498 
   3499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3500 fi
   3501 
   3502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3503 fi
   3504 
   3505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3506    ac_c_werror_flag=$ac_save_c_werror_flag
   3507 fi
   3508 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3509 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3510 if test "$ac_test_CFLAGS" = set; then
   3511   CFLAGS=$ac_save_CFLAGS
   3512 elif test $ac_cv_prog_cc_g = yes; then
   3513   if test "$GCC" = yes; then
   3514     CFLAGS="-g -O2"
   3515   else
   3516     CFLAGS="-g"
   3517   fi
   3518 else
   3519   if test "$GCC" = yes; then
   3520     CFLAGS="-O2"
   3521   else
   3522     CFLAGS=
   3523   fi
   3524 fi
   3525 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3526 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3527 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3528   echo $ECHO_N "(cached) $ECHO_C" >&6
   3529 else
   3530   ac_cv_prog_cc_c89=no
   3531 ac_save_CC=$CC
   3532 cat >conftest.$ac_ext <<_ACEOF
   3533 /* confdefs.h.  */
   3534 _ACEOF
   3535 cat confdefs.h >>conftest.$ac_ext
   3536 cat >>conftest.$ac_ext <<_ACEOF
   3537 /* end confdefs.h.  */
   3538 #include <stdarg.h>
   3539 #include <stdio.h>
   3540 #include <sys/types.h>
   3541 #include <sys/stat.h>
   3542 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3543 struct buf { int x; };
   3544 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3545 static char *e (p, i)
   3546      char **p;
   3547      int i;
   3548 {
   3549   return p[i];
   3550 }
   3551 static char *f (char * (*g) (char **, int), char **p, ...)
   3552 {
   3553   char *s;
   3554   va_list v;
   3555   va_start (v,p);
   3556   s = g (p, va_arg (v,int));
   3557   va_end (v);
   3558   return s;
   3559 }
   3560 
   3561 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3562    function prototypes and stuff, but not '\xHH' hex character constants.
   3563    These don't provoke an error unfortunately, instead are silently treated
   3564    as 'x'.  The following induces an error, until -std is added to get
   3565    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3566    array size at least.  It's necessary to write '\x00'==0 to get something
   3567    that's true only with -std.  */
   3568 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3569 
   3570 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3571    inside strings and character constants.  */
   3572 #define FOO(x) 'x'
   3573 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3574 
   3575 int test (int i, double x);
   3576 struct s1 {int (*f) (int a);};
   3577 struct s2 {int (*f) (double a);};
   3578 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3579 int argc;
   3580 char **argv;
   3581 int
   3582 main ()
   3583 {
   3584 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3585   ;
   3586   return 0;
   3587 }
   3588 _ACEOF
   3589 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3590 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3591 do
   3592   CC="$ac_save_CC $ac_arg"
   3593   rm -f conftest.$ac_objext
   3594 if { (ac_try="$ac_compile"
   3595 case "(($ac_try" in
   3596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3597   *) ac_try_echo=$ac_try;;
   3598 esac
   3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3600   (eval "$ac_compile") 2>conftest.er1
   3601   ac_status=$?
   3602   grep -v '^ *+' conftest.er1 >conftest.err
   3603   rm -f conftest.er1
   3604   cat conftest.err >&5
   3605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3606   (exit $ac_status); } && {
   3607 	 test -z "$ac_c_werror_flag" ||
   3608 	 test ! -s conftest.err
   3609        } && test -s conftest.$ac_objext; then
   3610   ac_cv_prog_cc_c89=$ac_arg
   3611 else
   3612   echo "$as_me: failed program was:" >&5
   3613 sed 's/^/| /' conftest.$ac_ext >&5
   3614 
   3615 
   3616 fi
   3617 
   3618 rm -f core conftest.err conftest.$ac_objext
   3619   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3620 done
   3621 rm -f conftest.$ac_ext
   3622 CC=$ac_save_CC
   3623 
   3624 fi
   3625 # AC_CACHE_VAL
   3626 case "x$ac_cv_prog_cc_c89" in
   3627   x)
   3628     { echo "$as_me:$LINENO: result: none needed" >&5
   3629 echo "${ECHO_T}none needed" >&6; } ;;
   3630   xno)
   3631     { echo "$as_me:$LINENO: result: unsupported" >&5
   3632 echo "${ECHO_T}unsupported" >&6; } ;;
   3633   *)
   3634     CC="$CC $ac_cv_prog_cc_c89"
   3635     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3636 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3637 esac
   3638 
   3639 
   3640 ac_ext=c
   3641 ac_cpp='$CPP $CPPFLAGS'
   3642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3645 
   3646 depcc="$CC"   am_compiler_list=
   3647 
   3648 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3649 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3650 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3651   echo $ECHO_N "(cached) $ECHO_C" >&6
   3652 else
   3653   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3654   # We make a subdir and do the tests there.  Otherwise we can end up
   3655   # making bogus files that we don't know about and never remove.  For
   3656   # instance it was reported that on HP-UX the gcc test will end up
   3657   # making a dummy file named `D' -- because `-MD' means `put the output
   3658   # in D'.
   3659   mkdir conftest.dir
   3660   # Copy depcomp to subdir because otherwise we won't find it if we're
   3661   # using a relative directory.
   3662   cp "$am_depcomp" conftest.dir
   3663   cd conftest.dir
   3664   # We will build objects and dependencies in a subdirectory because
   3665   # it helps to detect inapplicable dependency modes.  For instance
   3666   # both Tru64's cc and ICC support -MD to output dependencies as a
   3667   # side effect of compilation, but ICC will put the dependencies in
   3668   # the current directory while Tru64 will put them in the object
   3669   # directory.
   3670   mkdir sub
   3671 
   3672   am_cv_CC_dependencies_compiler_type=none
   3673   if test "$am_compiler_list" = ""; then
   3674      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3675   fi
   3676   for depmode in $am_compiler_list; do
   3677     # Setup a source with many dependencies, because some compilers
   3678     # like to wrap large dependency lists on column 80 (with \), and
   3679     # we should not choose a depcomp mode which is confused by this.
   3680     #
   3681     # We need to recreate these files for each test, as the compiler may
   3682     # overwrite some of them when testing with obscure command lines.
   3683     # This happens at least with the AIX C compiler.
   3684     : > sub/conftest.c
   3685     for i in 1 2 3 4 5 6; do
   3686       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3687       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3688       # Solaris 8's {/usr,}/bin/sh.
   3689       touch sub/conftst$i.h
   3690     done
   3691     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3692 
   3693     case $depmode in
   3694     nosideeffect)
   3695       # after this tag, mechanisms are not by side-effect, so they'll
   3696       # only be used when explicitly requested
   3697       if test "x$enable_dependency_tracking" = xyes; then
   3698 	continue
   3699       else
   3700 	break
   3701       fi
   3702       ;;
   3703     none) break ;;
   3704     esac
   3705     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3706     # mode.  It turns out that the SunPro C++ compiler does not properly
   3707     # handle `-M -o', and we need to detect this.
   3708     if depmode=$depmode \
   3709        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3710        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3711        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3712          >/dev/null 2>conftest.err &&
   3713        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3714        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3715        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3716        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3717       # icc doesn't choke on unknown options, it will just issue warnings
   3718       # or remarks (even with -Werror).  So we grep stderr for any message
   3719       # that says an option was ignored or not supported.
   3720       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3721       #   icc: Command line warning: ignoring option '-M'; no argument required
   3722       # The diagnosis changed in icc 8.0:
   3723       #   icc: Command line remark: option '-MP' not supported
   3724       if (grep 'ignoring option' conftest.err ||
   3725           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3726         am_cv_CC_dependencies_compiler_type=$depmode
   3727         break
   3728       fi
   3729     fi
   3730   done
   3731 
   3732   cd ..
   3733   rm -rf conftest.dir
   3734 else
   3735   am_cv_CC_dependencies_compiler_type=none
   3736 fi
   3737 
   3738 fi
   3739 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3740 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3741 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3742 
   3743  if
   3744   test "x$enable_dependency_tracking" != xno \
   3745   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3746   am__fastdepCC_TRUE=
   3747   am__fastdepCC_FALSE='#'
   3748 else
   3749   am__fastdepCC_TRUE='#'
   3750   am__fastdepCC_FALSE=
   3751 fi
   3752 
   3753 
   3754 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3755 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3756 if test "${lt_cv_path_SED+set}" = set; then
   3757   echo $ECHO_N "(cached) $ECHO_C" >&6
   3758 else
   3759   # Loop through the user's path and test for sed and gsed.
   3760 # Then use that list of sed's as ones to test for truncation.
   3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3762 for as_dir in $PATH
   3763 do
   3764   IFS=$as_save_IFS
   3765   test -z "$as_dir" && as_dir=.
   3766   for lt_ac_prog in sed gsed; do
   3767     for ac_exec_ext in '' $ac_executable_extensions; do
   3768       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   3769         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3770       fi
   3771     done
   3772   done
   3773 done
   3774 lt_ac_max=0
   3775 lt_ac_count=0
   3776 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3777 # along with /bin/sed that truncates output.
   3778 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3779   test ! -f $lt_ac_sed && continue
   3780   cat /dev/null > conftest.in
   3781   lt_ac_count=0
   3782   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3783   # Check for GNU sed and select it if it is found.
   3784   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3785     lt_cv_path_SED=$lt_ac_sed
   3786     break
   3787   fi
   3788   while true; do
   3789     cat conftest.in conftest.in >conftest.tmp
   3790     mv conftest.tmp conftest.in
   3791     cp conftest.in conftest.nl
   3792     echo >>conftest.nl
   3793     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3794     cmp -s conftest.out conftest.nl || break
   3795     # 10000 chars as input seems more than enough
   3796     test $lt_ac_count -gt 10 && break
   3797     lt_ac_count=`expr $lt_ac_count + 1`
   3798     if test $lt_ac_count -gt $lt_ac_max; then
   3799       lt_ac_max=$lt_ac_count
   3800       lt_cv_path_SED=$lt_ac_sed
   3801     fi
   3802   done
   3803 done
   3804 
   3805 fi
   3806 
   3807 SED=$lt_cv_path_SED
   3808 { echo "$as_me:$LINENO: result: $SED" >&5
   3809 echo "${ECHO_T}$SED" >&6; }
   3810 
   3811 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3812 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3813 if test "${ac_cv_path_GREP+set}" = set; then
   3814   echo $ECHO_N "(cached) $ECHO_C" >&6
   3815 else
   3816   # Extract the first word of "grep ggrep" to use in msg output
   3817 if test -z "$GREP"; then
   3818 set dummy grep ggrep; ac_prog_name=$2
   3819 if test "${ac_cv_path_GREP+set}" = set; then
   3820   echo $ECHO_N "(cached) $ECHO_C" >&6
   3821 else
   3822   ac_path_GREP_found=false
   3823 # Loop through the user's path and test for each of PROGNAME-LIST
   3824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3825 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3826 do
   3827   IFS=$as_save_IFS
   3828   test -z "$as_dir" && as_dir=.
   3829   for ac_prog in grep ggrep; do
   3830   for ac_exec_ext in '' $ac_executable_extensions; do
   3831     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3832     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3833     # Check for GNU ac_path_GREP and select it if it is found.
   3834   # Check for GNU $ac_path_GREP
   3835 case `"$ac_path_GREP" --version 2>&1` in
   3836 *GNU*)
   3837   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3838 *)
   3839   ac_count=0
   3840   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3841   while :
   3842   do
   3843     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3844     mv "conftest.tmp" "conftest.in"
   3845     cp "conftest.in" "conftest.nl"
   3846     echo 'GREP' >> "conftest.nl"
   3847     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3848     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3849     ac_count=`expr $ac_count + 1`
   3850     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3851       # Best one so far, save it but keep looking for a better one
   3852       ac_cv_path_GREP="$ac_path_GREP"
   3853       ac_path_GREP_max=$ac_count
   3854     fi
   3855     # 10*(2^10) chars as input seems more than enough
   3856     test $ac_count -gt 10 && break
   3857   done
   3858   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3859 esac
   3860 
   3861 
   3862     $ac_path_GREP_found && break 3
   3863   done
   3864 done
   3865 
   3866 done
   3867 IFS=$as_save_IFS
   3868 
   3869 
   3870 fi
   3871 
   3872 GREP="$ac_cv_path_GREP"
   3873 if test -z "$GREP"; then
   3874   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3875 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3876    { (exit 1); exit 1; }; }
   3877 fi
   3878 
   3879 else
   3880   ac_cv_path_GREP=$GREP
   3881 fi
   3882 
   3883 
   3884 fi
   3885 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3886 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3887  GREP="$ac_cv_path_GREP"
   3888 
   3889 
   3890 { echo "$as_me:$LINENO: checking for egrep" >&5
   3891 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3892 if test "${ac_cv_path_EGREP+set}" = set; then
   3893   echo $ECHO_N "(cached) $ECHO_C" >&6
   3894 else
   3895   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3896    then ac_cv_path_EGREP="$GREP -E"
   3897    else
   3898      # Extract the first word of "egrep" to use in msg output
   3899 if test -z "$EGREP"; then
   3900 set dummy egrep; ac_prog_name=$2
   3901 if test "${ac_cv_path_EGREP+set}" = set; then
   3902   echo $ECHO_N "(cached) $ECHO_C" >&6
   3903 else
   3904   ac_path_EGREP_found=false
   3905 # Loop through the user's path and test for each of PROGNAME-LIST
   3906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3907 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3908 do
   3909   IFS=$as_save_IFS
   3910   test -z "$as_dir" && as_dir=.
   3911   for ac_prog in egrep; do
   3912   for ac_exec_ext in '' $ac_executable_extensions; do
   3913     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3914     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3915     # Check for GNU ac_path_EGREP and select it if it is found.
   3916   # Check for GNU $ac_path_EGREP
   3917 case `"$ac_path_EGREP" --version 2>&1` in
   3918 *GNU*)
   3919   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3920 *)
   3921   ac_count=0
   3922   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3923   while :
   3924   do
   3925     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3926     mv "conftest.tmp" "conftest.in"
   3927     cp "conftest.in" "conftest.nl"
   3928     echo 'EGREP' >> "conftest.nl"
   3929     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3930     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3931     ac_count=`expr $ac_count + 1`
   3932     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3933       # Best one so far, save it but keep looking for a better one
   3934       ac_cv_path_EGREP="$ac_path_EGREP"
   3935       ac_path_EGREP_max=$ac_count
   3936     fi
   3937     # 10*(2^10) chars as input seems more than enough
   3938     test $ac_count -gt 10 && break
   3939   done
   3940   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3941 esac
   3942 
   3943 
   3944     $ac_path_EGREP_found && break 3
   3945   done
   3946 done
   3947 
   3948 done
   3949 IFS=$as_save_IFS
   3950 
   3951 
   3952 fi
   3953 
   3954 EGREP="$ac_cv_path_EGREP"
   3955 if test -z "$EGREP"; then
   3956   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3957 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3958    { (exit 1); exit 1; }; }
   3959 fi
   3960 
   3961 else
   3962   ac_cv_path_EGREP=$EGREP
   3963 fi
   3964 
   3965 
   3966    fi
   3967 fi
   3968 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3969 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3970  EGREP="$ac_cv_path_EGREP"
   3971 
   3972 
   3973 
   3974 # Check whether --with-gnu-ld was given.
   3975 if test "${with_gnu_ld+set}" = set; then
   3976   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   3977 else
   3978   with_gnu_ld=no
   3979 fi
   3980 
   3981 ac_prog=ld
   3982 if test "$GCC" = yes; then
   3983   # Check if gcc -print-prog-name=ld gives a path.
   3984   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   3985 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   3986   case $host in
   3987   *-*-mingw*)
   3988     # gcc leaves a trailing carriage return which upsets mingw
   3989     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   3990   *)
   3991     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   3992   esac
   3993   case $ac_prog in
   3994     # Accept absolute paths.
   3995     [\\/]* | ?:[\\/]*)
   3996       re_direlt='/[^/][^/]*/\.\./'
   3997       # Canonicalize the pathname of ld
   3998       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   3999       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4000 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4001       done
   4002       test -z "$LD" && LD="$ac_prog"
   4003       ;;
   4004   "")
   4005     # If it fails, then pretend we aren't using GCC.
   4006     ac_prog=ld
   4007     ;;
   4008   *)
   4009     # If it is relative, then search for the first ld in PATH.
   4010     with_gnu_ld=unknown
   4011     ;;
   4012   esac
   4013 elif test "$with_gnu_ld" = yes; then
   4014   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4015 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4016 else
   4017   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4018 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4019 fi
   4020 if test "${lt_cv_path_LD+set}" = set; then
   4021   echo $ECHO_N "(cached) $ECHO_C" >&6
   4022 else
   4023   if test -z "$LD"; then
   4024   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4025   for ac_dir in $PATH; do
   4026     IFS="$lt_save_ifs"
   4027     test -z "$ac_dir" && ac_dir=.
   4028     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4029       lt_cv_path_LD="$ac_dir/$ac_prog"
   4030       # Check to see if the program is GNU ld.  I'd rather use --version,
   4031       # but apparently some variants of GNU ld only accept -v.
   4032       # Break only if it was the GNU/non-GNU ld that we prefer.
   4033       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4034       *GNU* | *'with BFD'*)
   4035 	test "$with_gnu_ld" != no && break
   4036 	;;
   4037       *)
   4038 	test "$with_gnu_ld" != yes && break
   4039 	;;
   4040       esac
   4041     fi
   4042   done
   4043   IFS="$lt_save_ifs"
   4044 else
   4045   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4046 fi
   4047 fi
   4048 
   4049 LD="$lt_cv_path_LD"
   4050 if test -n "$LD"; then
   4051   { echo "$as_me:$LINENO: result: $LD" >&5
   4052 echo "${ECHO_T}$LD" >&6; }
   4053 else
   4054   { echo "$as_me:$LINENO: result: no" >&5
   4055 echo "${ECHO_T}no" >&6; }
   4056 fi
   4057 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4058 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4059    { (exit 1); exit 1; }; }
   4060 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4061 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4062 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4063   echo $ECHO_N "(cached) $ECHO_C" >&6
   4064 else
   4065   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4066 case `$LD -v 2>&1 </dev/null` in
   4067 *GNU* | *'with BFD'*)
   4068   lt_cv_prog_gnu_ld=yes
   4069   ;;
   4070 *)
   4071   lt_cv_prog_gnu_ld=no
   4072   ;;
   4073 esac
   4074 fi
   4075 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4076 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4077 with_gnu_ld=$lt_cv_prog_gnu_ld
   4078 
   4079 
   4080 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4081 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4082 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4083   echo $ECHO_N "(cached) $ECHO_C" >&6
   4084 else
   4085   lt_cv_ld_reload_flag='-r'
   4086 fi
   4087 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4088 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4089 reload_flag=$lt_cv_ld_reload_flag
   4090 case $reload_flag in
   4091 "" | " "*) ;;
   4092 *) reload_flag=" $reload_flag" ;;
   4093 esac
   4094 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4095 case $host_os in
   4096   darwin*)
   4097     if test "$GCC" = yes; then
   4098       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4099     else
   4100       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4101     fi
   4102     ;;
   4103 esac
   4104 
   4105 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4106 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4107 if test "${lt_cv_path_NM+set}" = set; then
   4108   echo $ECHO_N "(cached) $ECHO_C" >&6
   4109 else
   4110   if test -n "$NM"; then
   4111   # Let the user override the test.
   4112   lt_cv_path_NM="$NM"
   4113 else
   4114   lt_nm_to_check="${ac_tool_prefix}nm"
   4115   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4116     lt_nm_to_check="$lt_nm_to_check nm"
   4117   fi
   4118   for lt_tmp_nm in $lt_nm_to_check; do
   4119     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4120     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4121       IFS="$lt_save_ifs"
   4122       test -z "$ac_dir" && ac_dir=.
   4123       tmp_nm="$ac_dir/$lt_tmp_nm"
   4124       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4125 	# Check to see if the nm accepts a BSD-compat flag.
   4126 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4127 	#   nm: unknown option "B" ignored
   4128 	# Tru64's nm complains that /dev/null is an invalid object file
   4129 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4130 	*/dev/null* | *'Invalid file or object type'*)
   4131 	  lt_cv_path_NM="$tmp_nm -B"
   4132 	  break
   4133 	  ;;
   4134 	*)
   4135 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4136 	  */dev/null*)
   4137 	    lt_cv_path_NM="$tmp_nm -p"
   4138 	    break
   4139 	    ;;
   4140 	  *)
   4141 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4142 	    continue # so that we can try to find one that supports BSD flags
   4143 	    ;;
   4144 	  esac
   4145 	  ;;
   4146 	esac
   4147       fi
   4148     done
   4149     IFS="$lt_save_ifs"
   4150   done
   4151   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4152 fi
   4153 fi
   4154 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4155 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4156 NM="$lt_cv_path_NM"
   4157 
   4158 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4159 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4160 LN_S=$as_ln_s
   4161 if test "$LN_S" = "ln -s"; then
   4162   { echo "$as_me:$LINENO: result: yes" >&5
   4163 echo "${ECHO_T}yes" >&6; }
   4164 else
   4165   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4166 echo "${ECHO_T}no, using $LN_S" >&6; }
   4167 fi
   4168 
   4169 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   4170 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
   4171 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4172   echo $ECHO_N "(cached) $ECHO_C" >&6
   4173 else
   4174   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4175 lt_cv_file_magic_test_file=
   4176 lt_cv_deplibs_check_method='unknown'
   4177 # Need to set the preceding variable on all platforms that support
   4178 # interlibrary dependencies.
   4179 # 'none' -- dependencies not supported.
   4180 # `unknown' -- same as none, but documents that we really don't know.
   4181 # 'pass_all' -- all dependencies passed with no checks.
   4182 # 'test_compile' -- check by making test program.
   4183 # 'file_magic [[regex]]' -- check by looking for files in library path
   4184 # which responds to the $file_magic_cmd with a given extended regex.
   4185 # If you have `file' or equivalent on your system and you're not sure
   4186 # whether `pass_all' will *always* work, you probably want this one.
   4187 
   4188 case $host_os in
   4189 aix4* | aix5*)
   4190   lt_cv_deplibs_check_method=pass_all
   4191   ;;
   4192 
   4193 beos*)
   4194   lt_cv_deplibs_check_method=pass_all
   4195   ;;
   4196 
   4197 bsdi[45]*)
   4198   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4199   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4200   lt_cv_file_magic_test_file=/shlib/libc.so
   4201   ;;
   4202 
   4203 cygwin*)
   4204   # func_win32_libid is a shell function defined in ltmain.sh
   4205   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4206   lt_cv_file_magic_cmd='func_win32_libid'
   4207   ;;
   4208 
   4209 mingw* | pw32*)
   4210   # Base MSYS/MinGW do not provide the 'file' command needed by
   4211   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   4212   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4213   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4214   ;;
   4215 
   4216 darwin* | rhapsody*)
   4217   lt_cv_deplibs_check_method=pass_all
   4218   ;;
   4219 
   4220 freebsd* | kfreebsd*-gnu | dragonfly*)
   4221   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4222     case $host_cpu in
   4223     i*86 )
   4224       # Not sure whether the presence of OpenBSD here was a mistake.
   4225       # Let's accept both of them until this is cleared up.
   4226       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4227       lt_cv_file_magic_cmd=/usr/bin/file
   4228       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4229       ;;
   4230     esac
   4231   else
   4232     lt_cv_deplibs_check_method=pass_all
   4233   fi
   4234   ;;
   4235 
   4236 gnu*)
   4237   lt_cv_deplibs_check_method=pass_all
   4238   ;;
   4239 
   4240 hpux10.20* | hpux11*)
   4241   lt_cv_file_magic_cmd=/usr/bin/file
   4242   case $host_cpu in
   4243   ia64*)
   4244     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4245     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4246     ;;
   4247   hppa*64*)
   4248     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]'
   4249     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4250     ;;
   4251   *)
   4252     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4253     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4254     ;;
   4255   esac
   4256   ;;
   4257 
   4258 interix3*)
   4259   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4260   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4261   ;;
   4262 
   4263 irix5* | irix6* | nonstopux*)
   4264   case $LD in
   4265   *-32|*"-32 ") libmagic=32-bit;;
   4266   *-n32|*"-n32 ") libmagic=N32;;
   4267   *-64|*"-64 ") libmagic=64-bit;;
   4268   *) libmagic=never-match;;
   4269   esac
   4270   lt_cv_deplibs_check_method=pass_all
   4271   ;;
   4272 
   4273 # This must be Linux ELF.
   4274 linux*)
   4275   lt_cv_deplibs_check_method=pass_all
   4276   ;;
   4277 
   4278 netbsd*)
   4279   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4280     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4281   else
   4282     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4283   fi
   4284   ;;
   4285 
   4286 newos6*)
   4287   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4288   lt_cv_file_magic_cmd=/usr/bin/file
   4289   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4290   ;;
   4291 
   4292 nto-qnx*)
   4293   lt_cv_deplibs_check_method=unknown
   4294   ;;
   4295 
   4296 openbsd*)
   4297   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4298     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4299   else
   4300     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4301   fi
   4302   ;;
   4303 
   4304 osf3* | osf4* | osf5*)
   4305   lt_cv_deplibs_check_method=pass_all
   4306   ;;
   4307 
   4308 solaris*)
   4309   lt_cv_deplibs_check_method=pass_all
   4310   ;;
   4311 
   4312 sysv4 | sysv4.3*)
   4313   case $host_vendor in
   4314   motorola)
   4315     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]'
   4316     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4317     ;;
   4318   ncr)
   4319     lt_cv_deplibs_check_method=pass_all
   4320     ;;
   4321   sequent)
   4322     lt_cv_file_magic_cmd='/bin/file'
   4323     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4324     ;;
   4325   sni)
   4326     lt_cv_file_magic_cmd='/bin/file'
   4327     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4328     lt_cv_file_magic_test_file=/lib/libc.so
   4329     ;;
   4330   siemens)
   4331     lt_cv_deplibs_check_method=pass_all
   4332     ;;
   4333   pc)
   4334     lt_cv_deplibs_check_method=pass_all
   4335     ;;
   4336   esac
   4337   ;;
   4338 
   4339 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4340   lt_cv_deplibs_check_method=pass_all
   4341   ;;
   4342 esac
   4343 
   4344 fi
   4345 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4346 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4347 file_magic_cmd=$lt_cv_file_magic_cmd
   4348 deplibs_check_method=$lt_cv_deplibs_check_method
   4349 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4350 
   4351 
   4352 
   4353 
   4354 # If no C compiler was specified, use CC.
   4355 LTCC=${LTCC-"$CC"}
   4356 
   4357 # If no C compiler flags were specified, use CFLAGS.
   4358 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4359 
   4360 # Allow CC to be a program name with arguments.
   4361 compiler=$CC
   4362 
   4363 
   4364 # Check whether --enable-libtool-lock was given.
   4365 if test "${enable_libtool_lock+set}" = set; then
   4366   enableval=$enable_libtool_lock;
   4367 fi
   4368 
   4369 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4370 
   4371 # Some flags need to be propagated to the compiler or linker for good
   4372 # libtool support.
   4373 case $host in
   4374 ia64-*-hpux*)
   4375   # Find out which ABI we are using.
   4376   echo 'int i;' > conftest.$ac_ext
   4377   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4378   (eval $ac_compile) 2>&5
   4379   ac_status=$?
   4380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4381   (exit $ac_status); }; then
   4382     case `/usr/bin/file conftest.$ac_objext` in
   4383     *ELF-32*)
   4384       HPUX_IA64_MODE="32"
   4385       ;;
   4386     *ELF-64*)
   4387       HPUX_IA64_MODE="64"
   4388       ;;
   4389     esac
   4390   fi
   4391   rm -rf conftest*
   4392   ;;
   4393 *-*-irix6*)
   4394   # Find out which ABI we are using.
   4395   echo '#line 4395 "configure"' > conftest.$ac_ext
   4396   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4397   (eval $ac_compile) 2>&5
   4398   ac_status=$?
   4399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4400   (exit $ac_status); }; then
   4401    if test "$lt_cv_prog_gnu_ld" = yes; then
   4402     case `/usr/bin/file conftest.$ac_objext` in
   4403     *32-bit*)
   4404       LD="${LD-ld} -melf32bsmip"
   4405       ;;
   4406     *N32*)
   4407       LD="${LD-ld} -melf32bmipn32"
   4408       ;;
   4409     *64-bit*)
   4410       LD="${LD-ld} -melf64bmip"
   4411       ;;
   4412     esac
   4413    else
   4414     case `/usr/bin/file conftest.$ac_objext` in
   4415     *32-bit*)
   4416       LD="${LD-ld} -32"
   4417       ;;
   4418     *N32*)
   4419       LD="${LD-ld} -n32"
   4420       ;;
   4421     *64-bit*)
   4422       LD="${LD-ld} -64"
   4423       ;;
   4424     esac
   4425    fi
   4426   fi
   4427   rm -rf conftest*
   4428   ;;
   4429 
   4430 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   4431   # Find out which ABI we are using.
   4432   echo 'int i;' > conftest.$ac_ext
   4433   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4434   (eval $ac_compile) 2>&5
   4435   ac_status=$?
   4436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4437   (exit $ac_status); }; then
   4438     case `/usr/bin/file conftest.o` in
   4439     *32-bit*)
   4440       case $host in
   4441         x86_64-*linux*)
   4442           LD="${LD-ld} -m elf_i386"
   4443           ;;
   4444         ppc64-*linux*|powerpc64-*linux*)
   4445           LD="${LD-ld} -m elf32ppclinux"
   4446           ;;
   4447         s390x-*linux*)
   4448           LD="${LD-ld} -m elf_s390"
   4449           ;;
   4450         sparc64-*linux*)
   4451           LD="${LD-ld} -m elf32_sparc"
   4452           ;;
   4453       esac
   4454       ;;
   4455     *64-bit*)
   4456       case $host in
   4457         x86_64-*linux*)
   4458           LD="${LD-ld} -m elf_x86_64"
   4459           ;;
   4460         ppc*-*linux*|powerpc*-*linux*)
   4461           LD="${LD-ld} -m elf64ppc"
   4462           ;;
   4463         s390*-*linux*)
   4464           LD="${LD-ld} -m elf64_s390"
   4465           ;;
   4466         sparc*-*linux*)
   4467           LD="${LD-ld} -m elf64_sparc"
   4468           ;;
   4469       esac
   4470       ;;
   4471     esac
   4472   fi
   4473   rm -rf conftest*
   4474   ;;
   4475 
   4476 *-*-sco3.2v5*)
   4477   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4478   SAVE_CFLAGS="$CFLAGS"
   4479   CFLAGS="$CFLAGS -belf"
   4480   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4481 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4482 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4483   echo $ECHO_N "(cached) $ECHO_C" >&6
   4484 else
   4485   ac_ext=c
   4486 ac_cpp='$CPP $CPPFLAGS'
   4487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4490 
   4491      cat >conftest.$ac_ext <<_ACEOF
   4492 /* confdefs.h.  */
   4493 _ACEOF
   4494 cat confdefs.h >>conftest.$ac_ext
   4495 cat >>conftest.$ac_ext <<_ACEOF
   4496 /* end confdefs.h.  */
   4497 
   4498 int
   4499 main ()
   4500 {
   4501 
   4502   ;
   4503   return 0;
   4504 }
   4505 _ACEOF
   4506 rm -f conftest.$ac_objext conftest$ac_exeext
   4507 if { (ac_try="$ac_link"
   4508 case "(($ac_try" in
   4509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4510   *) ac_try_echo=$ac_try;;
   4511 esac
   4512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4513   (eval "$ac_link") 2>conftest.er1
   4514   ac_status=$?
   4515   grep -v '^ *+' conftest.er1 >conftest.err
   4516   rm -f conftest.er1
   4517   cat conftest.err >&5
   4518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4519   (exit $ac_status); } && {
   4520 	 test -z "$ac_c_werror_flag" ||
   4521 	 test ! -s conftest.err
   4522        } && test -s conftest$ac_exeext &&
   4523        $as_test_x conftest$ac_exeext; then
   4524   lt_cv_cc_needs_belf=yes
   4525 else
   4526   echo "$as_me: failed program was:" >&5
   4527 sed 's/^/| /' conftest.$ac_ext >&5
   4528 
   4529 	lt_cv_cc_needs_belf=no
   4530 fi
   4531 
   4532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4533       conftest$ac_exeext conftest.$ac_ext
   4534      ac_ext=c
   4535 ac_cpp='$CPP $CPPFLAGS'
   4536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4539 
   4540 fi
   4541 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4542 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4543   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4544     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4545     CFLAGS="$SAVE_CFLAGS"
   4546   fi
   4547   ;;
   4548 sparc*-*solaris*)
   4549   # Find out which ABI we are using.
   4550   echo 'int i;' > conftest.$ac_ext
   4551   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4552   (eval $ac_compile) 2>&5
   4553   ac_status=$?
   4554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4555   (exit $ac_status); }; then
   4556     case `/usr/bin/file conftest.o` in
   4557     *64-bit*)
   4558       case $lt_cv_prog_gnu_ld in
   4559       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4560       *)    LD="${LD-ld} -64" ;;
   4561       esac
   4562       ;;
   4563     esac
   4564   fi
   4565   rm -rf conftest*
   4566   ;;
   4567 
   4568 
   4569 esac
   4570 
   4571 need_locks="$enable_libtool_lock"
   4572 
   4573 
   4574 ac_ext=c
   4575 ac_cpp='$CPP $CPPFLAGS'
   4576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4579 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4580 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4581 # On Suns, sometimes $CPP names a directory.
   4582 if test -n "$CPP" && test -d "$CPP"; then
   4583   CPP=
   4584 fi
   4585 if test -z "$CPP"; then
   4586   if test "${ac_cv_prog_CPP+set}" = set; then
   4587   echo $ECHO_N "(cached) $ECHO_C" >&6
   4588 else
   4589       # Double quotes because CPP needs to be expanded
   4590     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4591     do
   4592       ac_preproc_ok=false
   4593 for ac_c_preproc_warn_flag in '' yes
   4594 do
   4595   # Use a header file that comes with gcc, so configuring glibc
   4596   # with a fresh cross-compiler works.
   4597   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4598   # <limits.h> exists even on freestanding compilers.
   4599   # On the NeXT, cc -E runs the code through the compiler's parser,
   4600   # not just through cpp. "Syntax error" is here to catch this case.
   4601   cat >conftest.$ac_ext <<_ACEOF
   4602 /* confdefs.h.  */
   4603 _ACEOF
   4604 cat confdefs.h >>conftest.$ac_ext
   4605 cat >>conftest.$ac_ext <<_ACEOF
   4606 /* end confdefs.h.  */
   4607 #ifdef __STDC__
   4608 # include <limits.h>
   4609 #else
   4610 # include <assert.h>
   4611 #endif
   4612 		     Syntax error
   4613 _ACEOF
   4614 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4615 case "(($ac_try" in
   4616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4617   *) ac_try_echo=$ac_try;;
   4618 esac
   4619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4620   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4621   ac_status=$?
   4622   grep -v '^ *+' conftest.er1 >conftest.err
   4623   rm -f conftest.er1
   4624   cat conftest.err >&5
   4625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4626   (exit $ac_status); } >/dev/null && {
   4627 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4628 	 test ! -s conftest.err
   4629        }; then
   4630   :
   4631 else
   4632   echo "$as_me: failed program was:" >&5
   4633 sed 's/^/| /' conftest.$ac_ext >&5
   4634 
   4635   # Broken: fails on valid input.
   4636 continue
   4637 fi
   4638 
   4639 rm -f conftest.err conftest.$ac_ext
   4640 
   4641   # OK, works on sane cases.  Now check whether nonexistent headers
   4642   # can be detected and how.
   4643   cat >conftest.$ac_ext <<_ACEOF
   4644 /* confdefs.h.  */
   4645 _ACEOF
   4646 cat confdefs.h >>conftest.$ac_ext
   4647 cat >>conftest.$ac_ext <<_ACEOF
   4648 /* end confdefs.h.  */
   4649 #include <ac_nonexistent.h>
   4650 _ACEOF
   4651 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4652 case "(($ac_try" in
   4653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4654   *) ac_try_echo=$ac_try;;
   4655 esac
   4656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4657   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4658   ac_status=$?
   4659   grep -v '^ *+' conftest.er1 >conftest.err
   4660   rm -f conftest.er1
   4661   cat conftest.err >&5
   4662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4663   (exit $ac_status); } >/dev/null && {
   4664 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4665 	 test ! -s conftest.err
   4666        }; then
   4667   # Broken: success on invalid input.
   4668 continue
   4669 else
   4670   echo "$as_me: failed program was:" >&5
   4671 sed 's/^/| /' conftest.$ac_ext >&5
   4672 
   4673   # Passes both tests.
   4674 ac_preproc_ok=:
   4675 break
   4676 fi
   4677 
   4678 rm -f conftest.err conftest.$ac_ext
   4679 
   4680 done
   4681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4682 rm -f conftest.err conftest.$ac_ext
   4683 if $ac_preproc_ok; then
   4684   break
   4685 fi
   4686 
   4687     done
   4688     ac_cv_prog_CPP=$CPP
   4689 
   4690 fi
   4691   CPP=$ac_cv_prog_CPP
   4692 else
   4693   ac_cv_prog_CPP=$CPP
   4694 fi
   4695 { echo "$as_me:$LINENO: result: $CPP" >&5
   4696 echo "${ECHO_T}$CPP" >&6; }
   4697 ac_preproc_ok=false
   4698 for ac_c_preproc_warn_flag in '' yes
   4699 do
   4700   # Use a header file that comes with gcc, so configuring glibc
   4701   # with a fresh cross-compiler works.
   4702   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4703   # <limits.h> exists even on freestanding compilers.
   4704   # On the NeXT, cc -E runs the code through the compiler's parser,
   4705   # not just through cpp. "Syntax error" is here to catch this case.
   4706   cat >conftest.$ac_ext <<_ACEOF
   4707 /* confdefs.h.  */
   4708 _ACEOF
   4709 cat confdefs.h >>conftest.$ac_ext
   4710 cat >>conftest.$ac_ext <<_ACEOF
   4711 /* end confdefs.h.  */
   4712 #ifdef __STDC__
   4713 # include <limits.h>
   4714 #else
   4715 # include <assert.h>
   4716 #endif
   4717 		     Syntax error
   4718 _ACEOF
   4719 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4720 case "(($ac_try" in
   4721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4722   *) ac_try_echo=$ac_try;;
   4723 esac
   4724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4725   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4726   ac_status=$?
   4727   grep -v '^ *+' conftest.er1 >conftest.err
   4728   rm -f conftest.er1
   4729   cat conftest.err >&5
   4730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4731   (exit $ac_status); } >/dev/null && {
   4732 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4733 	 test ! -s conftest.err
   4734        }; then
   4735   :
   4736 else
   4737   echo "$as_me: failed program was:" >&5
   4738 sed 's/^/| /' conftest.$ac_ext >&5
   4739 
   4740   # Broken: fails on valid input.
   4741 continue
   4742 fi
   4743 
   4744 rm -f conftest.err conftest.$ac_ext
   4745 
   4746   # OK, works on sane cases.  Now check whether nonexistent headers
   4747   # can be detected and how.
   4748   cat >conftest.$ac_ext <<_ACEOF
   4749 /* confdefs.h.  */
   4750 _ACEOF
   4751 cat confdefs.h >>conftest.$ac_ext
   4752 cat >>conftest.$ac_ext <<_ACEOF
   4753 /* end confdefs.h.  */
   4754 #include <ac_nonexistent.h>
   4755 _ACEOF
   4756 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4757 case "(($ac_try" in
   4758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4759   *) ac_try_echo=$ac_try;;
   4760 esac
   4761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4762   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4763   ac_status=$?
   4764   grep -v '^ *+' conftest.er1 >conftest.err
   4765   rm -f conftest.er1
   4766   cat conftest.err >&5
   4767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4768   (exit $ac_status); } >/dev/null && {
   4769 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4770 	 test ! -s conftest.err
   4771        }; then
   4772   # Broken: success on invalid input.
   4773 continue
   4774 else
   4775   echo "$as_me: failed program was:" >&5
   4776 sed 's/^/| /' conftest.$ac_ext >&5
   4777 
   4778   # Passes both tests.
   4779 ac_preproc_ok=:
   4780 break
   4781 fi
   4782 
   4783 rm -f conftest.err conftest.$ac_ext
   4784 
   4785 done
   4786 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4787 rm -f conftest.err conftest.$ac_ext
   4788 if $ac_preproc_ok; then
   4789   :
   4790 else
   4791   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4792 See \`config.log' for more details." >&5
   4793 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4794 See \`config.log' for more details." >&2;}
   4795    { (exit 1); exit 1; }; }
   4796 fi
   4797 
   4798 ac_ext=c
   4799 ac_cpp='$CPP $CPPFLAGS'
   4800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4803 
   4804 
   4805 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4806 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4807 if test "${ac_cv_header_stdc+set}" = set; then
   4808   echo $ECHO_N "(cached) $ECHO_C" >&6
   4809 else
   4810   cat >conftest.$ac_ext <<_ACEOF
   4811 /* confdefs.h.  */
   4812 _ACEOF
   4813 cat confdefs.h >>conftest.$ac_ext
   4814 cat >>conftest.$ac_ext <<_ACEOF
   4815 /* end confdefs.h.  */
   4816 #include <stdlib.h>
   4817 #include <stdarg.h>
   4818 #include <string.h>
   4819 #include <float.h>
   4820 
   4821 int
   4822 main ()
   4823 {
   4824 
   4825   ;
   4826   return 0;
   4827 }
   4828 _ACEOF
   4829 rm -f conftest.$ac_objext
   4830 if { (ac_try="$ac_compile"
   4831 case "(($ac_try" in
   4832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4833   *) ac_try_echo=$ac_try;;
   4834 esac
   4835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4836   (eval "$ac_compile") 2>conftest.er1
   4837   ac_status=$?
   4838   grep -v '^ *+' conftest.er1 >conftest.err
   4839   rm -f conftest.er1
   4840   cat conftest.err >&5
   4841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4842   (exit $ac_status); } && {
   4843 	 test -z "$ac_c_werror_flag" ||
   4844 	 test ! -s conftest.err
   4845        } && test -s conftest.$ac_objext; then
   4846   ac_cv_header_stdc=yes
   4847 else
   4848   echo "$as_me: failed program was:" >&5
   4849 sed 's/^/| /' conftest.$ac_ext >&5
   4850 
   4851 	ac_cv_header_stdc=no
   4852 fi
   4853 
   4854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4855 
   4856 if test $ac_cv_header_stdc = yes; then
   4857   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4858   cat >conftest.$ac_ext <<_ACEOF
   4859 /* confdefs.h.  */
   4860 _ACEOF
   4861 cat confdefs.h >>conftest.$ac_ext
   4862 cat >>conftest.$ac_ext <<_ACEOF
   4863 /* end confdefs.h.  */
   4864 #include <string.h>
   4865 
   4866 _ACEOF
   4867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4868   $EGREP "memchr" >/dev/null 2>&1; then
   4869   :
   4870 else
   4871   ac_cv_header_stdc=no
   4872 fi
   4873 rm -f conftest*
   4874 
   4875 fi
   4876 
   4877 if test $ac_cv_header_stdc = yes; then
   4878   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4879   cat >conftest.$ac_ext <<_ACEOF
   4880 /* confdefs.h.  */
   4881 _ACEOF
   4882 cat confdefs.h >>conftest.$ac_ext
   4883 cat >>conftest.$ac_ext <<_ACEOF
   4884 /* end confdefs.h.  */
   4885 #include <stdlib.h>
   4886 
   4887 _ACEOF
   4888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4889   $EGREP "free" >/dev/null 2>&1; then
   4890   :
   4891 else
   4892   ac_cv_header_stdc=no
   4893 fi
   4894 rm -f conftest*
   4895 
   4896 fi
   4897 
   4898 if test $ac_cv_header_stdc = yes; then
   4899   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4900   if test "$cross_compiling" = yes; then
   4901   :
   4902 else
   4903   cat >conftest.$ac_ext <<_ACEOF
   4904 /* confdefs.h.  */
   4905 _ACEOF
   4906 cat confdefs.h >>conftest.$ac_ext
   4907 cat >>conftest.$ac_ext <<_ACEOF
   4908 /* end confdefs.h.  */
   4909 #include <ctype.h>
   4910 #include <stdlib.h>
   4911 #if ((' ' & 0x0FF) == 0x020)
   4912 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4913 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4914 #else
   4915 # define ISLOWER(c) \
   4916 		   (('a' <= (c) && (c) <= 'i') \
   4917 		     || ('j' <= (c) && (c) <= 'r') \
   4918 		     || ('s' <= (c) && (c) <= 'z'))
   4919 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4920 #endif
   4921 
   4922 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4923 int
   4924 main ()
   4925 {
   4926   int i;
   4927   for (i = 0; i < 256; i++)
   4928     if (XOR (islower (i), ISLOWER (i))
   4929 	|| toupper (i) != TOUPPER (i))
   4930       return 2;
   4931   return 0;
   4932 }
   4933 _ACEOF
   4934 rm -f conftest$ac_exeext
   4935 if { (ac_try="$ac_link"
   4936 case "(($ac_try" in
   4937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4938   *) ac_try_echo=$ac_try;;
   4939 esac
   4940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4941   (eval "$ac_link") 2>&5
   4942   ac_status=$?
   4943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4944   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4945   { (case "(($ac_try" in
   4946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4947   *) ac_try_echo=$ac_try;;
   4948 esac
   4949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4950   (eval "$ac_try") 2>&5
   4951   ac_status=$?
   4952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4953   (exit $ac_status); }; }; then
   4954   :
   4955 else
   4956   echo "$as_me: program exited with status $ac_status" >&5
   4957 echo "$as_me: failed program was:" >&5
   4958 sed 's/^/| /' conftest.$ac_ext >&5
   4959 
   4960 ( exit $ac_status )
   4961 ac_cv_header_stdc=no
   4962 fi
   4963 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4964 fi
   4965 
   4966 
   4967 fi
   4968 fi
   4969 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4970 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   4971 if test $ac_cv_header_stdc = yes; then
   4972 
   4973 cat >>confdefs.h <<\_ACEOF
   4974 #define STDC_HEADERS 1
   4975 _ACEOF
   4976 
   4977 fi
   4978 
   4979 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4990 		  inttypes.h stdint.h unistd.h
   4991 do
   4992 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4993 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   4994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   4995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   4996   echo $ECHO_N "(cached) $ECHO_C" >&6
   4997 else
   4998   cat >conftest.$ac_ext <<_ACEOF
   4999 /* confdefs.h.  */
   5000 _ACEOF
   5001 cat confdefs.h >>conftest.$ac_ext
   5002 cat >>conftest.$ac_ext <<_ACEOF
   5003 /* end confdefs.h.  */
   5004 $ac_includes_default
   5005 
   5006 #include <$ac_header>
   5007 _ACEOF
   5008 rm -f conftest.$ac_objext
   5009 if { (ac_try="$ac_compile"
   5010 case "(($ac_try" in
   5011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5012   *) ac_try_echo=$ac_try;;
   5013 esac
   5014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5015   (eval "$ac_compile") 2>conftest.er1
   5016   ac_status=$?
   5017   grep -v '^ *+' conftest.er1 >conftest.err
   5018   rm -f conftest.er1
   5019   cat conftest.err >&5
   5020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5021   (exit $ac_status); } && {
   5022 	 test -z "$ac_c_werror_flag" ||
   5023 	 test ! -s conftest.err
   5024        } && test -s conftest.$ac_objext; then
   5025   eval "$as_ac_Header=yes"
   5026 else
   5027   echo "$as_me: failed program was:" >&5
   5028 sed 's/^/| /' conftest.$ac_ext >&5
   5029 
   5030 	eval "$as_ac_Header=no"
   5031 fi
   5032 
   5033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5034 fi
   5035 ac_res=`eval echo '${'$as_ac_Header'}'`
   5036 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5037 echo "${ECHO_T}$ac_res" >&6; }
   5038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5039   cat >>confdefs.h <<_ACEOF
   5040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5041 _ACEOF
   5042 
   5043 fi
   5044 
   5045 done
   5046 
   5047 
   5048 
   5049 for ac_header in dlfcn.h
   5050 do
   5051 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5052 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5053   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5055 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5056   echo $ECHO_N "(cached) $ECHO_C" >&6
   5057 fi
   5058 ac_res=`eval echo '${'$as_ac_Header'}'`
   5059 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5060 echo "${ECHO_T}$ac_res" >&6; }
   5061 else
   5062   # Is the header compilable?
   5063 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5064 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5065 cat >conftest.$ac_ext <<_ACEOF
   5066 /* confdefs.h.  */
   5067 _ACEOF
   5068 cat confdefs.h >>conftest.$ac_ext
   5069 cat >>conftest.$ac_ext <<_ACEOF
   5070 /* end confdefs.h.  */
   5071 $ac_includes_default
   5072 #include <$ac_header>
   5073 _ACEOF
   5074 rm -f conftest.$ac_objext
   5075 if { (ac_try="$ac_compile"
   5076 case "(($ac_try" in
   5077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5078   *) ac_try_echo=$ac_try;;
   5079 esac
   5080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5081   (eval "$ac_compile") 2>conftest.er1
   5082   ac_status=$?
   5083   grep -v '^ *+' conftest.er1 >conftest.err
   5084   rm -f conftest.er1
   5085   cat conftest.err >&5
   5086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5087   (exit $ac_status); } && {
   5088 	 test -z "$ac_c_werror_flag" ||
   5089 	 test ! -s conftest.err
   5090        } && test -s conftest.$ac_objext; then
   5091   ac_header_compiler=yes
   5092 else
   5093   echo "$as_me: failed program was:" >&5
   5094 sed 's/^/| /' conftest.$ac_ext >&5
   5095 
   5096 	ac_header_compiler=no
   5097 fi
   5098 
   5099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5100 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5101 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5102 
   5103 # Is the header present?
   5104 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5105 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5106 cat >conftest.$ac_ext <<_ACEOF
   5107 /* confdefs.h.  */
   5108 _ACEOF
   5109 cat confdefs.h >>conftest.$ac_ext
   5110 cat >>conftest.$ac_ext <<_ACEOF
   5111 /* end confdefs.h.  */
   5112 #include <$ac_header>
   5113 _ACEOF
   5114 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5115 case "(($ac_try" in
   5116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5117   *) ac_try_echo=$ac_try;;
   5118 esac
   5119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5120   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5121   ac_status=$?
   5122   grep -v '^ *+' conftest.er1 >conftest.err
   5123   rm -f conftest.er1
   5124   cat conftest.err >&5
   5125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5126   (exit $ac_status); } >/dev/null && {
   5127 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5128 	 test ! -s conftest.err
   5129        }; then
   5130   ac_header_preproc=yes
   5131 else
   5132   echo "$as_me: failed program was:" >&5
   5133 sed 's/^/| /' conftest.$ac_ext >&5
   5134 
   5135   ac_header_preproc=no
   5136 fi
   5137 
   5138 rm -f conftest.err conftest.$ac_ext
   5139 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5140 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5141 
   5142 # So?  What about this header?
   5143 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5144   yes:no: )
   5145     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5146 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5147     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5148 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5149     ac_header_preproc=yes
   5150     ;;
   5151   no:yes:* )
   5152     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5153 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5154     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5155 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5156     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5157 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5158     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5159 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5160     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5161 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5162     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5163 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5164     ( cat <<\_ASBOX
   5165 ## ---------------------------------------------------------------------- ##
   5166 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5167 ## ---------------------------------------------------------------------- ##
   5168 _ASBOX
   5169      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5170     ;;
   5171 esac
   5172 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5174 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5175   echo $ECHO_N "(cached) $ECHO_C" >&6
   5176 else
   5177   eval "$as_ac_Header=\$ac_header_preproc"
   5178 fi
   5179 ac_res=`eval echo '${'$as_ac_Header'}'`
   5180 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5181 echo "${ECHO_T}$ac_res" >&6; }
   5182 
   5183 fi
   5184 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5185   cat >>confdefs.h <<_ACEOF
   5186 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5187 _ACEOF
   5188 
   5189 fi
   5190 
   5191 done
   5192 
   5193 ac_ext=cpp
   5194 ac_cpp='$CXXCPP $CPPFLAGS'
   5195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5198 if test -z "$CXX"; then
   5199   if test -n "$CCC"; then
   5200     CXX=$CCC
   5201   else
   5202     if test -n "$ac_tool_prefix"; then
   5203   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5204   do
   5205     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5206 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5209 if test "${ac_cv_prog_CXX+set}" = set; then
   5210   echo $ECHO_N "(cached) $ECHO_C" >&6
   5211 else
   5212   if test -n "$CXX"; then
   5213   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5214 else
   5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5216 for as_dir in $PATH
   5217 do
   5218   IFS=$as_save_IFS
   5219   test -z "$as_dir" && as_dir=.
   5220   for ac_exec_ext in '' $ac_executable_extensions; do
   5221   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5222     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5223     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5224     break 2
   5225   fi
   5226 done
   5227 done
   5228 IFS=$as_save_IFS
   5229 
   5230 fi
   5231 fi
   5232 CXX=$ac_cv_prog_CXX
   5233 if test -n "$CXX"; then
   5234   { echo "$as_me:$LINENO: result: $CXX" >&5
   5235 echo "${ECHO_T}$CXX" >&6; }
   5236 else
   5237   { echo "$as_me:$LINENO: result: no" >&5
   5238 echo "${ECHO_T}no" >&6; }
   5239 fi
   5240 
   5241 
   5242     test -n "$CXX" && break
   5243   done
   5244 fi
   5245 if test -z "$CXX"; then
   5246   ac_ct_CXX=$CXX
   5247   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5248 do
   5249   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5250 set dummy $ac_prog; ac_word=$2
   5251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5253 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5254   echo $ECHO_N "(cached) $ECHO_C" >&6
   5255 else
   5256   if test -n "$ac_ct_CXX"; then
   5257   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5258 else
   5259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5260 for as_dir in $PATH
   5261 do
   5262   IFS=$as_save_IFS
   5263   test -z "$as_dir" && as_dir=.
   5264   for ac_exec_ext in '' $ac_executable_extensions; do
   5265   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5266     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5267     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5268     break 2
   5269   fi
   5270 done
   5271 done
   5272 IFS=$as_save_IFS
   5273 
   5274 fi
   5275 fi
   5276 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5277 if test -n "$ac_ct_CXX"; then
   5278   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5279 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5280 else
   5281   { echo "$as_me:$LINENO: result: no" >&5
   5282 echo "${ECHO_T}no" >&6; }
   5283 fi
   5284 
   5285 
   5286   test -n "$ac_ct_CXX" && break
   5287 done
   5288 
   5289   if test "x$ac_ct_CXX" = x; then
   5290     CXX="g++"
   5291   else
   5292     case $cross_compiling:$ac_tool_warned in
   5293 yes:)
   5294 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5295 whose name does not start with the host triplet.  If you think this
   5296 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5297 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5298 whose name does not start with the host triplet.  If you think this
   5299 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5300 ac_tool_warned=yes ;;
   5301 esac
   5302     CXX=$ac_ct_CXX
   5303   fi
   5304 fi
   5305 
   5306   fi
   5307 fi
   5308 # Provide some information about the compiler.
   5309 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5310 ac_compiler=`set X $ac_compile; echo $2`
   5311 { (ac_try="$ac_compiler --version >&5"
   5312 case "(($ac_try" in
   5313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5314   *) ac_try_echo=$ac_try;;
   5315 esac
   5316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5317   (eval "$ac_compiler --version >&5") 2>&5
   5318   ac_status=$?
   5319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5320   (exit $ac_status); }
   5321 { (ac_try="$ac_compiler -v >&5"
   5322 case "(($ac_try" in
   5323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5324   *) ac_try_echo=$ac_try;;
   5325 esac
   5326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5327   (eval "$ac_compiler -v >&5") 2>&5
   5328   ac_status=$?
   5329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5330   (exit $ac_status); }
   5331 { (ac_try="$ac_compiler -V >&5"
   5332 case "(($ac_try" in
   5333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5334   *) ac_try_echo=$ac_try;;
   5335 esac
   5336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5337   (eval "$ac_compiler -V >&5") 2>&5
   5338   ac_status=$?
   5339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5340   (exit $ac_status); }
   5341 
   5342 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5343 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5344 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5345   echo $ECHO_N "(cached) $ECHO_C" >&6
   5346 else
   5347   cat >conftest.$ac_ext <<_ACEOF
   5348 /* confdefs.h.  */
   5349 _ACEOF
   5350 cat confdefs.h >>conftest.$ac_ext
   5351 cat >>conftest.$ac_ext <<_ACEOF
   5352 /* end confdefs.h.  */
   5353 
   5354 int
   5355 main ()
   5356 {
   5357 #ifndef __GNUC__
   5358        choke me
   5359 #endif
   5360 
   5361   ;
   5362   return 0;
   5363 }
   5364 _ACEOF
   5365 rm -f conftest.$ac_objext
   5366 if { (ac_try="$ac_compile"
   5367 case "(($ac_try" in
   5368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5369   *) ac_try_echo=$ac_try;;
   5370 esac
   5371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5372   (eval "$ac_compile") 2>conftest.er1
   5373   ac_status=$?
   5374   grep -v '^ *+' conftest.er1 >conftest.err
   5375   rm -f conftest.er1
   5376   cat conftest.err >&5
   5377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5378   (exit $ac_status); } && {
   5379 	 test -z "$ac_cxx_werror_flag" ||
   5380 	 test ! -s conftest.err
   5381        } && test -s conftest.$ac_objext; then
   5382   ac_compiler_gnu=yes
   5383 else
   5384   echo "$as_me: failed program was:" >&5
   5385 sed 's/^/| /' conftest.$ac_ext >&5
   5386 
   5387 	ac_compiler_gnu=no
   5388 fi
   5389 
   5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5391 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5392 
   5393 fi
   5394 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5395 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5396 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5397 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5398 ac_save_CXXFLAGS=$CXXFLAGS
   5399 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5400 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5401 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5402   echo $ECHO_N "(cached) $ECHO_C" >&6
   5403 else
   5404   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5405    ac_cxx_werror_flag=yes
   5406    ac_cv_prog_cxx_g=no
   5407    CXXFLAGS="-g"
   5408    cat >conftest.$ac_ext <<_ACEOF
   5409 /* confdefs.h.  */
   5410 _ACEOF
   5411 cat confdefs.h >>conftest.$ac_ext
   5412 cat >>conftest.$ac_ext <<_ACEOF
   5413 /* end confdefs.h.  */
   5414 
   5415 int
   5416 main ()
   5417 {
   5418 
   5419   ;
   5420   return 0;
   5421 }
   5422 _ACEOF
   5423 rm -f conftest.$ac_objext
   5424 if { (ac_try="$ac_compile"
   5425 case "(($ac_try" in
   5426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5427   *) ac_try_echo=$ac_try;;
   5428 esac
   5429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5430   (eval "$ac_compile") 2>conftest.er1
   5431   ac_status=$?
   5432   grep -v '^ *+' conftest.er1 >conftest.err
   5433   rm -f conftest.er1
   5434   cat conftest.err >&5
   5435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5436   (exit $ac_status); } && {
   5437 	 test -z "$ac_cxx_werror_flag" ||
   5438 	 test ! -s conftest.err
   5439        } && test -s conftest.$ac_objext; then
   5440   ac_cv_prog_cxx_g=yes
   5441 else
   5442   echo "$as_me: failed program was:" >&5
   5443 sed 's/^/| /' conftest.$ac_ext >&5
   5444 
   5445 	CXXFLAGS=""
   5446       cat >conftest.$ac_ext <<_ACEOF
   5447 /* confdefs.h.  */
   5448 _ACEOF
   5449 cat confdefs.h >>conftest.$ac_ext
   5450 cat >>conftest.$ac_ext <<_ACEOF
   5451 /* end confdefs.h.  */
   5452 
   5453 int
   5454 main ()
   5455 {
   5456 
   5457   ;
   5458   return 0;
   5459 }
   5460 _ACEOF
   5461 rm -f conftest.$ac_objext
   5462 if { (ac_try="$ac_compile"
   5463 case "(($ac_try" in
   5464   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5465   *) ac_try_echo=$ac_try;;
   5466 esac
   5467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5468   (eval "$ac_compile") 2>conftest.er1
   5469   ac_status=$?
   5470   grep -v '^ *+' conftest.er1 >conftest.err
   5471   rm -f conftest.er1
   5472   cat conftest.err >&5
   5473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5474   (exit $ac_status); } && {
   5475 	 test -z "$ac_cxx_werror_flag" ||
   5476 	 test ! -s conftest.err
   5477        } && test -s conftest.$ac_objext; then
   5478   :
   5479 else
   5480   echo "$as_me: failed program was:" >&5
   5481 sed 's/^/| /' conftest.$ac_ext >&5
   5482 
   5483 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5484 	 CXXFLAGS="-g"
   5485 	 cat >conftest.$ac_ext <<_ACEOF
   5486 /* confdefs.h.  */
   5487 _ACEOF
   5488 cat confdefs.h >>conftest.$ac_ext
   5489 cat >>conftest.$ac_ext <<_ACEOF
   5490 /* end confdefs.h.  */
   5491 
   5492 int
   5493 main ()
   5494 {
   5495 
   5496   ;
   5497   return 0;
   5498 }
   5499 _ACEOF
   5500 rm -f conftest.$ac_objext
   5501 if { (ac_try="$ac_compile"
   5502 case "(($ac_try" in
   5503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5504   *) ac_try_echo=$ac_try;;
   5505 esac
   5506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5507   (eval "$ac_compile") 2>conftest.er1
   5508   ac_status=$?
   5509   grep -v '^ *+' conftest.er1 >conftest.err
   5510   rm -f conftest.er1
   5511   cat conftest.err >&5
   5512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5513   (exit $ac_status); } && {
   5514 	 test -z "$ac_cxx_werror_flag" ||
   5515 	 test ! -s conftest.err
   5516        } && test -s conftest.$ac_objext; then
   5517   ac_cv_prog_cxx_g=yes
   5518 else
   5519   echo "$as_me: failed program was:" >&5
   5520 sed 's/^/| /' conftest.$ac_ext >&5
   5521 
   5522 
   5523 fi
   5524 
   5525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5526 fi
   5527 
   5528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5529 fi
   5530 
   5531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5532    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5533 fi
   5534 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5535 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5536 if test "$ac_test_CXXFLAGS" = set; then
   5537   CXXFLAGS=$ac_save_CXXFLAGS
   5538 elif test $ac_cv_prog_cxx_g = yes; then
   5539   if test "$GXX" = yes; then
   5540     CXXFLAGS="-g -O2"
   5541   else
   5542     CXXFLAGS="-g"
   5543   fi
   5544 else
   5545   if test "$GXX" = yes; then
   5546     CXXFLAGS="-O2"
   5547   else
   5548     CXXFLAGS=
   5549   fi
   5550 fi
   5551 ac_ext=cpp
   5552 ac_cpp='$CXXCPP $CPPFLAGS'
   5553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5556 
   5557 depcc="$CXX"  am_compiler_list=
   5558 
   5559 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5560 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5561 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5562   echo $ECHO_N "(cached) $ECHO_C" >&6
   5563 else
   5564   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5565   # We make a subdir and do the tests there.  Otherwise we can end up
   5566   # making bogus files that we don't know about and never remove.  For
   5567   # instance it was reported that on HP-UX the gcc test will end up
   5568   # making a dummy file named `D' -- because `-MD' means `put the output
   5569   # in D'.
   5570   mkdir conftest.dir
   5571   # Copy depcomp to subdir because otherwise we won't find it if we're
   5572   # using a relative directory.
   5573   cp "$am_depcomp" conftest.dir
   5574   cd conftest.dir
   5575   # We will build objects and dependencies in a subdirectory because
   5576   # it helps to detect inapplicable dependency modes.  For instance
   5577   # both Tru64's cc and ICC support -MD to output dependencies as a
   5578   # side effect of compilation, but ICC will put the dependencies in
   5579   # the current directory while Tru64 will put them in the object
   5580   # directory.
   5581   mkdir sub
   5582 
   5583   am_cv_CXX_dependencies_compiler_type=none
   5584   if test "$am_compiler_list" = ""; then
   5585      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5586   fi
   5587   for depmode in $am_compiler_list; do
   5588     # Setup a source with many dependencies, because some compilers
   5589     # like to wrap large dependency lists on column 80 (with \), and
   5590     # we should not choose a depcomp mode which is confused by this.
   5591     #
   5592     # We need to recreate these files for each test, as the compiler may
   5593     # overwrite some of them when testing with obscure command lines.
   5594     # This happens at least with the AIX C compiler.
   5595     : > sub/conftest.c
   5596     for i in 1 2 3 4 5 6; do
   5597       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5598       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5599       # Solaris 8's {/usr,}/bin/sh.
   5600       touch sub/conftst$i.h
   5601     done
   5602     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5603 
   5604     case $depmode in
   5605     nosideeffect)
   5606       # after this tag, mechanisms are not by side-effect, so they'll
   5607       # only be used when explicitly requested
   5608       if test "x$enable_dependency_tracking" = xyes; then
   5609 	continue
   5610       else
   5611 	break
   5612       fi
   5613       ;;
   5614     none) break ;;
   5615     esac
   5616     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5617     # mode.  It turns out that the SunPro C++ compiler does not properly
   5618     # handle `-M -o', and we need to detect this.
   5619     if depmode=$depmode \
   5620        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5621        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5622        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5623          >/dev/null 2>conftest.err &&
   5624        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5625        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5626        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5627        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5628       # icc doesn't choke on unknown options, it will just issue warnings
   5629       # or remarks (even with -Werror).  So we grep stderr for any message
   5630       # that says an option was ignored or not supported.
   5631       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5632       #   icc: Command line warning: ignoring option '-M'; no argument required
   5633       # The diagnosis changed in icc 8.0:
   5634       #   icc: Command line remark: option '-MP' not supported
   5635       if (grep 'ignoring option' conftest.err ||
   5636           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5637         am_cv_CXX_dependencies_compiler_type=$depmode
   5638         break
   5639       fi
   5640     fi
   5641   done
   5642 
   5643   cd ..
   5644   rm -rf conftest.dir
   5645 else
   5646   am_cv_CXX_dependencies_compiler_type=none
   5647 fi
   5648 
   5649 fi
   5650 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5651 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5652 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5653 
   5654  if
   5655   test "x$enable_dependency_tracking" != xno \
   5656   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5657   am__fastdepCXX_TRUE=
   5658   am__fastdepCXX_FALSE='#'
   5659 else
   5660   am__fastdepCXX_TRUE='#'
   5661   am__fastdepCXX_FALSE=
   5662 fi
   5663 
   5664 
   5665 
   5666 
   5667 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5668     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5669     (test "X$CXX" != "Xg++"))) ; then
   5670   ac_ext=cpp
   5671 ac_cpp='$CXXCPP $CPPFLAGS'
   5672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5675 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5676 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5677 if test -z "$CXXCPP"; then
   5678   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5679   echo $ECHO_N "(cached) $ECHO_C" >&6
   5680 else
   5681       # Double quotes because CXXCPP needs to be expanded
   5682     for CXXCPP in "$CXX -E" "/lib/cpp"
   5683     do
   5684       ac_preproc_ok=false
   5685 for ac_cxx_preproc_warn_flag in '' yes
   5686 do
   5687   # Use a header file that comes with gcc, so configuring glibc
   5688   # with a fresh cross-compiler works.
   5689   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5690   # <limits.h> exists even on freestanding compilers.
   5691   # On the NeXT, cc -E runs the code through the compiler's parser,
   5692   # not just through cpp. "Syntax error" is here to catch this case.
   5693   cat >conftest.$ac_ext <<_ACEOF
   5694 /* confdefs.h.  */
   5695 _ACEOF
   5696 cat confdefs.h >>conftest.$ac_ext
   5697 cat >>conftest.$ac_ext <<_ACEOF
   5698 /* end confdefs.h.  */
   5699 #ifdef __STDC__
   5700 # include <limits.h>
   5701 #else
   5702 # include <assert.h>
   5703 #endif
   5704 		     Syntax error
   5705 _ACEOF
   5706 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5707 case "(($ac_try" in
   5708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5709   *) ac_try_echo=$ac_try;;
   5710 esac
   5711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5712   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5713   ac_status=$?
   5714   grep -v '^ *+' conftest.er1 >conftest.err
   5715   rm -f conftest.er1
   5716   cat conftest.err >&5
   5717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5718   (exit $ac_status); } >/dev/null && {
   5719 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5720 	 test ! -s conftest.err
   5721        }; then
   5722   :
   5723 else
   5724   echo "$as_me: failed program was:" >&5
   5725 sed 's/^/| /' conftest.$ac_ext >&5
   5726 
   5727   # Broken: fails on valid input.
   5728 continue
   5729 fi
   5730 
   5731 rm -f conftest.err conftest.$ac_ext
   5732 
   5733   # OK, works on sane cases.  Now check whether nonexistent headers
   5734   # can be detected and how.
   5735   cat >conftest.$ac_ext <<_ACEOF
   5736 /* confdefs.h.  */
   5737 _ACEOF
   5738 cat confdefs.h >>conftest.$ac_ext
   5739 cat >>conftest.$ac_ext <<_ACEOF
   5740 /* end confdefs.h.  */
   5741 #include <ac_nonexistent.h>
   5742 _ACEOF
   5743 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5744 case "(($ac_try" in
   5745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5746   *) ac_try_echo=$ac_try;;
   5747 esac
   5748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5749   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5750   ac_status=$?
   5751   grep -v '^ *+' conftest.er1 >conftest.err
   5752   rm -f conftest.er1
   5753   cat conftest.err >&5
   5754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5755   (exit $ac_status); } >/dev/null && {
   5756 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5757 	 test ! -s conftest.err
   5758        }; then
   5759   # Broken: success on invalid input.
   5760 continue
   5761 else
   5762   echo "$as_me: failed program was:" >&5
   5763 sed 's/^/| /' conftest.$ac_ext >&5
   5764 
   5765   # Passes both tests.
   5766 ac_preproc_ok=:
   5767 break
   5768 fi
   5769 
   5770 rm -f conftest.err conftest.$ac_ext
   5771 
   5772 done
   5773 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5774 rm -f conftest.err conftest.$ac_ext
   5775 if $ac_preproc_ok; then
   5776   break
   5777 fi
   5778 
   5779     done
   5780     ac_cv_prog_CXXCPP=$CXXCPP
   5781 
   5782 fi
   5783   CXXCPP=$ac_cv_prog_CXXCPP
   5784 else
   5785   ac_cv_prog_CXXCPP=$CXXCPP
   5786 fi
   5787 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5788 echo "${ECHO_T}$CXXCPP" >&6; }
   5789 ac_preproc_ok=false
   5790 for ac_cxx_preproc_warn_flag in '' yes
   5791 do
   5792   # Use a header file that comes with gcc, so configuring glibc
   5793   # with a fresh cross-compiler works.
   5794   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5795   # <limits.h> exists even on freestanding compilers.
   5796   # On the NeXT, cc -E runs the code through the compiler's parser,
   5797   # not just through cpp. "Syntax error" is here to catch this case.
   5798   cat >conftest.$ac_ext <<_ACEOF
   5799 /* confdefs.h.  */
   5800 _ACEOF
   5801 cat confdefs.h >>conftest.$ac_ext
   5802 cat >>conftest.$ac_ext <<_ACEOF
   5803 /* end confdefs.h.  */
   5804 #ifdef __STDC__
   5805 # include <limits.h>
   5806 #else
   5807 # include <assert.h>
   5808 #endif
   5809 		     Syntax error
   5810 _ACEOF
   5811 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5812 case "(($ac_try" in
   5813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5814   *) ac_try_echo=$ac_try;;
   5815 esac
   5816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5817   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5818   ac_status=$?
   5819   grep -v '^ *+' conftest.er1 >conftest.err
   5820   rm -f conftest.er1
   5821   cat conftest.err >&5
   5822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5823   (exit $ac_status); } >/dev/null && {
   5824 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5825 	 test ! -s conftest.err
   5826        }; then
   5827   :
   5828 else
   5829   echo "$as_me: failed program was:" >&5
   5830 sed 's/^/| /' conftest.$ac_ext >&5
   5831 
   5832   # Broken: fails on valid input.
   5833 continue
   5834 fi
   5835 
   5836 rm -f conftest.err conftest.$ac_ext
   5837 
   5838   # OK, works on sane cases.  Now check whether nonexistent headers
   5839   # can be detected and how.
   5840   cat >conftest.$ac_ext <<_ACEOF
   5841 /* confdefs.h.  */
   5842 _ACEOF
   5843 cat confdefs.h >>conftest.$ac_ext
   5844 cat >>conftest.$ac_ext <<_ACEOF
   5845 /* end confdefs.h.  */
   5846 #include <ac_nonexistent.h>
   5847 _ACEOF
   5848 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5849 case "(($ac_try" in
   5850   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5851   *) ac_try_echo=$ac_try;;
   5852 esac
   5853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5854   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5855   ac_status=$?
   5856   grep -v '^ *+' conftest.er1 >conftest.err
   5857   rm -f conftest.er1
   5858   cat conftest.err >&5
   5859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5860   (exit $ac_status); } >/dev/null && {
   5861 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5862 	 test ! -s conftest.err
   5863        }; then
   5864   # Broken: success on invalid input.
   5865 continue
   5866 else
   5867   echo "$as_me: failed program was:" >&5
   5868 sed 's/^/| /' conftest.$ac_ext >&5
   5869 
   5870   # Passes both tests.
   5871 ac_preproc_ok=:
   5872 break
   5873 fi
   5874 
   5875 rm -f conftest.err conftest.$ac_ext
   5876 
   5877 done
   5878 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5879 rm -f conftest.err conftest.$ac_ext
   5880 if $ac_preproc_ok; then
   5881   :
   5882 else
   5883   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5884 See \`config.log' for more details." >&5
   5885 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5886 See \`config.log' for more details." >&2;}
   5887    { (exit 1); exit 1; }; }
   5888 fi
   5889 
   5890 ac_ext=cpp
   5891 ac_cpp='$CXXCPP $CPPFLAGS'
   5892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5895 
   5896 fi
   5897 
   5898 
   5899 ac_ext=f
   5900 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5901 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5902 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5903 if test -n "$ac_tool_prefix"; then
   5904   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
   5905   do
   5906     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5907 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5910 if test "${ac_cv_prog_F77+set}" = set; then
   5911   echo $ECHO_N "(cached) $ECHO_C" >&6
   5912 else
   5913   if test -n "$F77"; then
   5914   ac_cv_prog_F77="$F77" # Let the user override the test.
   5915 else
   5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5917 for as_dir in $PATH
   5918 do
   5919   IFS=$as_save_IFS
   5920   test -z "$as_dir" && as_dir=.
   5921   for ac_exec_ext in '' $ac_executable_extensions; do
   5922   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5923     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5924     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5925     break 2
   5926   fi
   5927 done
   5928 done
   5929 IFS=$as_save_IFS
   5930 
   5931 fi
   5932 fi
   5933 F77=$ac_cv_prog_F77
   5934 if test -n "$F77"; then
   5935   { echo "$as_me:$LINENO: result: $F77" >&5
   5936 echo "${ECHO_T}$F77" >&6; }
   5937 else
   5938   { echo "$as_me:$LINENO: result: no" >&5
   5939 echo "${ECHO_T}no" >&6; }
   5940 fi
   5941 
   5942 
   5943     test -n "$F77" && break
   5944   done
   5945 fi
   5946 if test -z "$F77"; then
   5947   ac_ct_F77=$F77
   5948   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
   5949 do
   5950   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5951 set dummy $ac_prog; ac_word=$2
   5952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5954 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5955   echo $ECHO_N "(cached) $ECHO_C" >&6
   5956 else
   5957   if test -n "$ac_ct_F77"; then
   5958   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5959 else
   5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5961 for as_dir in $PATH
   5962 do
   5963   IFS=$as_save_IFS
   5964   test -z "$as_dir" && as_dir=.
   5965   for ac_exec_ext in '' $ac_executable_extensions; do
   5966   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5967     ac_cv_prog_ac_ct_F77="$ac_prog"
   5968     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5969     break 2
   5970   fi
   5971 done
   5972 done
   5973 IFS=$as_save_IFS
   5974 
   5975 fi
   5976 fi
   5977 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   5978 if test -n "$ac_ct_F77"; then
   5979   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   5980 echo "${ECHO_T}$ac_ct_F77" >&6; }
   5981 else
   5982   { echo "$as_me:$LINENO: result: no" >&5
   5983 echo "${ECHO_T}no" >&6; }
   5984 fi
   5985 
   5986 
   5987   test -n "$ac_ct_F77" && break
   5988 done
   5989 
   5990   if test "x$ac_ct_F77" = x; then
   5991     F77=""
   5992   else
   5993     case $cross_compiling:$ac_tool_warned in
   5994 yes:)
   5995 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5996 whose name does not start with the host triplet.  If you think this
   5997 configuration is useful to you, please write to autoconf@gnu.org." >&5
   5998 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5999 whose name does not start with the host triplet.  If you think this
   6000 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6001 ac_tool_warned=yes ;;
   6002 esac
   6003     F77=$ac_ct_F77
   6004   fi
   6005 fi
   6006 
   6007 
   6008 # Provide some information about the compiler.
   6009 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6010 ac_compiler=`set X $ac_compile; echo $2`
   6011 { (ac_try="$ac_compiler --version >&5"
   6012 case "(($ac_try" in
   6013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6014   *) ac_try_echo=$ac_try;;
   6015 esac
   6016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6017   (eval "$ac_compiler --version >&5") 2>&5
   6018   ac_status=$?
   6019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6020   (exit $ac_status); }
   6021 { (ac_try="$ac_compiler -v >&5"
   6022 case "(($ac_try" in
   6023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6024   *) ac_try_echo=$ac_try;;
   6025 esac
   6026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6027   (eval "$ac_compiler -v >&5") 2>&5
   6028   ac_status=$?
   6029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6030   (exit $ac_status); }
   6031 { (ac_try="$ac_compiler -V >&5"
   6032 case "(($ac_try" in
   6033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6034   *) ac_try_echo=$ac_try;;
   6035 esac
   6036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6037   (eval "$ac_compiler -V >&5") 2>&5
   6038   ac_status=$?
   6039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6040   (exit $ac_status); }
   6041 rm -f a.out
   6042 
   6043 # If we don't use `.F' as extension, the preprocessor is not run on the
   6044 # input file.  (Note that this only needs to work for GNU compilers.)
   6045 ac_save_ext=$ac_ext
   6046 ac_ext=F
   6047 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6048 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6049 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6050   echo $ECHO_N "(cached) $ECHO_C" >&6
   6051 else
   6052   cat >conftest.$ac_ext <<_ACEOF
   6053       program main
   6054 #ifndef __GNUC__
   6055        choke me
   6056 #endif
   6057 
   6058       end
   6059 _ACEOF
   6060 rm -f conftest.$ac_objext
   6061 if { (ac_try="$ac_compile"
   6062 case "(($ac_try" in
   6063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6064   *) ac_try_echo=$ac_try;;
   6065 esac
   6066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6067   (eval "$ac_compile") 2>conftest.er1
   6068   ac_status=$?
   6069   grep -v '^ *+' conftest.er1 >conftest.err
   6070   rm -f conftest.er1
   6071   cat conftest.err >&5
   6072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6073   (exit $ac_status); } && {
   6074 	 test -z "$ac_f77_werror_flag" ||
   6075 	 test ! -s conftest.err
   6076        } && test -s conftest.$ac_objext; then
   6077   ac_compiler_gnu=yes
   6078 else
   6079   echo "$as_me: failed program was:" >&5
   6080 sed 's/^/| /' conftest.$ac_ext >&5
   6081 
   6082 	ac_compiler_gnu=no
   6083 fi
   6084 
   6085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6086 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6087 
   6088 fi
   6089 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6090 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6091 ac_ext=$ac_save_ext
   6092 ac_test_FFLAGS=${FFLAGS+set}
   6093 ac_save_FFLAGS=$FFLAGS
   6094 FFLAGS=
   6095 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6096 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6097 if test "${ac_cv_prog_f77_g+set}" = set; then
   6098   echo $ECHO_N "(cached) $ECHO_C" >&6
   6099 else
   6100   FFLAGS=-g
   6101 cat >conftest.$ac_ext <<_ACEOF
   6102       program main
   6103 
   6104       end
   6105 _ACEOF
   6106 rm -f conftest.$ac_objext
   6107 if { (ac_try="$ac_compile"
   6108 case "(($ac_try" in
   6109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6110   *) ac_try_echo=$ac_try;;
   6111 esac
   6112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6113   (eval "$ac_compile") 2>conftest.er1
   6114   ac_status=$?
   6115   grep -v '^ *+' conftest.er1 >conftest.err
   6116   rm -f conftest.er1
   6117   cat conftest.err >&5
   6118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6119   (exit $ac_status); } && {
   6120 	 test -z "$ac_f77_werror_flag" ||
   6121 	 test ! -s conftest.err
   6122        } && test -s conftest.$ac_objext; then
   6123   ac_cv_prog_f77_g=yes
   6124 else
   6125   echo "$as_me: failed program was:" >&5
   6126 sed 's/^/| /' conftest.$ac_ext >&5
   6127 
   6128 	ac_cv_prog_f77_g=no
   6129 fi
   6130 
   6131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6132 
   6133 fi
   6134 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6135 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6136 if test "$ac_test_FFLAGS" = set; then
   6137   FFLAGS=$ac_save_FFLAGS
   6138 elif test $ac_cv_prog_f77_g = yes; then
   6139   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6140     FFLAGS="-g -O2"
   6141   else
   6142     FFLAGS="-g"
   6143   fi
   6144 else
   6145   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6146     FFLAGS="-O2"
   6147   else
   6148     FFLAGS=
   6149   fi
   6150 fi
   6151 
   6152 G77=`test $ac_compiler_gnu = yes && echo yes`
   6153 ac_ext=c
   6154 ac_cpp='$CPP $CPPFLAGS'
   6155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6158 
   6159 
   6160 
   6161 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6162 
   6163 # find the maximum length of command line arguments
   6164 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6165 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6166 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6167   echo $ECHO_N "(cached) $ECHO_C" >&6
   6168 else
   6169     i=0
   6170   teststring="ABCD"
   6171 
   6172   case $build_os in
   6173   msdosdjgpp*)
   6174     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6175     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6176     # during glob expansion).  Even if it were fixed, the result of this
   6177     # check would be larger than it should be.
   6178     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6179     ;;
   6180 
   6181   gnu*)
   6182     # Under GNU Hurd, this test is not required because there is
   6183     # no limit to the length of command line arguments.
   6184     # Libtool will interpret -1 as no limit whatsoever
   6185     lt_cv_sys_max_cmd_len=-1;
   6186     ;;
   6187 
   6188   cygwin* | mingw*)
   6189     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6190     # about 5 minutes as the teststring grows exponentially.
   6191     # Worse, since 9x/ME are not pre-emptively multitasking,
   6192     # you end up with a "frozen" computer, even though with patience
   6193     # the test eventually succeeds (with a max line length of 256k).
   6194     # Instead, let's just punt: use the minimum linelength reported by
   6195     # all of the supported platforms: 8192 (on NT/2K/XP).
   6196     lt_cv_sys_max_cmd_len=8192;
   6197     ;;
   6198 
   6199   amigaos*)
   6200     # On AmigaOS with pdksh, this test takes hours, literally.
   6201     # So we just punt and use a minimum line length of 8192.
   6202     lt_cv_sys_max_cmd_len=8192;
   6203     ;;
   6204 
   6205   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6206     # This has been around since 386BSD, at least.  Likely further.
   6207     if test -x /sbin/sysctl; then
   6208       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6209     elif test -x /usr/sbin/sysctl; then
   6210       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6211     else
   6212       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6213     fi
   6214     # And add a safety zone
   6215     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6216     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6217     ;;
   6218 
   6219   interix*)
   6220     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6221     lt_cv_sys_max_cmd_len=196608
   6222     ;;
   6223 
   6224   osf*)
   6225     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6226     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6227     # nice to cause kernel panics so lets avoid the loop below.
   6228     # First set a reasonable default.
   6229     lt_cv_sys_max_cmd_len=16384
   6230     #
   6231     if test -x /sbin/sysconfig; then
   6232       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6233         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6234       esac
   6235     fi
   6236     ;;
   6237   sco3.2v5*)
   6238     lt_cv_sys_max_cmd_len=102400
   6239     ;;
   6240   sysv5* | sco5v6* | sysv4.2uw2*)
   6241     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6242     if test -n "$kargmax"; then
   6243       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6244     else
   6245       lt_cv_sys_max_cmd_len=32768
   6246     fi
   6247     ;;
   6248   *)
   6249     # If test is not a shell built-in, we'll probably end up computing a
   6250     # maximum length that is only half of the actual maximum length, but
   6251     # we can't tell.
   6252     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6253     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6254 	       = "XX$teststring") >/dev/null 2>&1 &&
   6255 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6256 	    lt_cv_sys_max_cmd_len=$new_result &&
   6257 	    test $i != 17 # 1/2 MB should be enough
   6258     do
   6259       i=`expr $i + 1`
   6260       teststring=$teststring$teststring
   6261     done
   6262     teststring=
   6263     # Add a significant safety factor because C++ compilers can tack on massive
   6264     # amounts of additional arguments before passing them to the linker.
   6265     # It appears as though 1/2 is a usable value.
   6266     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6267     ;;
   6268   esac
   6269 
   6270 fi
   6271 
   6272 if test -n $lt_cv_sys_max_cmd_len ; then
   6273   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6274 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6275 else
   6276   { echo "$as_me:$LINENO: result: none" >&5
   6277 echo "${ECHO_T}none" >&6; }
   6278 fi
   6279 
   6280 
   6281 
   6282 
   6283 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6284 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6285 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6286 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6287   echo $ECHO_N "(cached) $ECHO_C" >&6
   6288 else
   6289 
   6290 # These are sane defaults that work on at least a few old systems.
   6291 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6292 
   6293 # Character class describing NM global symbol codes.
   6294 symcode='[BCDEGRST]'
   6295 
   6296 # Regexp to match symbols that can be accessed directly from C.
   6297 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6298 
   6299 # Transform an extracted symbol line into a proper C declaration
   6300 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6301 
   6302 # Transform an extracted symbol line into symbol name and symbol address
   6303 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   6304 
   6305 # Define system-specific variables.
   6306 case $host_os in
   6307 aix*)
   6308   symcode='[BCDT]'
   6309   ;;
   6310 cygwin* | mingw* | pw32*)
   6311   symcode='[ABCDGISTW]'
   6312   ;;
   6313 hpux*) # Its linker distinguishes data from code symbols
   6314   if test "$host_cpu" = ia64; then
   6315     symcode='[ABCDEGRST]'
   6316   fi
   6317   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6318   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'"
   6319   ;;
   6320 linux*)
   6321   if test "$host_cpu" = ia64; then
   6322     symcode='[ABCDGIRSTW]'
   6323     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6324     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'"
   6325   fi
   6326   ;;
   6327 irix* | nonstopux*)
   6328   symcode='[BCDEGRST]'
   6329   ;;
   6330 osf*)
   6331   symcode='[BCDEGQRST]'
   6332   ;;
   6333 solaris*)
   6334   symcode='[BDRT]'
   6335   ;;
   6336 sco3.2v5*)
   6337   symcode='[DT]'
   6338   ;;
   6339 sysv4.2uw2*)
   6340   symcode='[DT]'
   6341   ;;
   6342 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6343   symcode='[ABDT]'
   6344   ;;
   6345 sysv4)
   6346   symcode='[DFNSTU]'
   6347   ;;
   6348 esac
   6349 
   6350 # Handle CRLF in mingw tool chain
   6351 opt_cr=
   6352 case $build_os in
   6353 mingw*)
   6354   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6355   ;;
   6356 esac
   6357 
   6358 # If we're using GNU nm, then use its standard symbol codes.
   6359 case `$NM -V 2>&1` in
   6360 *GNU* | *'with BFD'*)
   6361   symcode='[ABCDGIRSTW]' ;;
   6362 esac
   6363 
   6364 # Try without a prefix undercore, then with it.
   6365 for ac_symprfx in "" "_"; do
   6366 
   6367   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6368   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6369 
   6370   # Write the raw and C identifiers.
   6371   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6372 
   6373   # Check to see that the pipe works correctly.
   6374   pipe_works=no
   6375 
   6376   rm -f conftest*
   6377   cat > conftest.$ac_ext <<EOF
   6378 #ifdef __cplusplus
   6379 extern "C" {
   6380 #endif
   6381 char nm_test_var;
   6382 void nm_test_func(){}
   6383 #ifdef __cplusplus
   6384 }
   6385 #endif
   6386 int main(){nm_test_var='a';nm_test_func();return(0);}
   6387 EOF
   6388 
   6389   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6390   (eval $ac_compile) 2>&5
   6391   ac_status=$?
   6392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6393   (exit $ac_status); }; then
   6394     # Now try to grab the symbols.
   6395     nlist=conftest.nm
   6396     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6397   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6398   ac_status=$?
   6399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6400   (exit $ac_status); } && test -s "$nlist"; then
   6401       # Try sorting and uniquifying the output.
   6402       if sort "$nlist" | uniq > "$nlist"T; then
   6403 	mv -f "$nlist"T "$nlist"
   6404       else
   6405 	rm -f "$nlist"T
   6406       fi
   6407 
   6408       # Make sure that we snagged all the symbols we need.
   6409       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6410 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6411 	  cat <<EOF > conftest.$ac_ext
   6412 #ifdef __cplusplus
   6413 extern "C" {
   6414 #endif
   6415 
   6416 EOF
   6417 	  # Now generate the symbol file.
   6418 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6419 
   6420 	  cat <<EOF >> conftest.$ac_ext
   6421 #if defined (__STDC__) && __STDC__
   6422 # define lt_ptr_t void *
   6423 #else
   6424 # define lt_ptr_t char *
   6425 # define const
   6426 #endif
   6427 
   6428 /* The mapping between symbol names and symbols. */
   6429 const struct {
   6430   const char *name;
   6431   lt_ptr_t address;
   6432 }
   6433 lt_preloaded_symbols[] =
   6434 {
   6435 EOF
   6436 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6437 	  cat <<\EOF >> conftest.$ac_ext
   6438   {0, (lt_ptr_t) 0}
   6439 };
   6440 
   6441 #ifdef __cplusplus
   6442 }
   6443 #endif
   6444 EOF
   6445 	  # Now try linking the two files.
   6446 	  mv conftest.$ac_objext conftstm.$ac_objext
   6447 	  lt_save_LIBS="$LIBS"
   6448 	  lt_save_CFLAGS="$CFLAGS"
   6449 	  LIBS="conftstm.$ac_objext"
   6450 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6451 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6452   (eval $ac_link) 2>&5
   6453   ac_status=$?
   6454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6455   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6456 	    pipe_works=yes
   6457 	  fi
   6458 	  LIBS="$lt_save_LIBS"
   6459 	  CFLAGS="$lt_save_CFLAGS"
   6460 	else
   6461 	  echo "cannot find nm_test_func in $nlist" >&5
   6462 	fi
   6463       else
   6464 	echo "cannot find nm_test_var in $nlist" >&5
   6465       fi
   6466     else
   6467       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6468     fi
   6469   else
   6470     echo "$progname: failed program was:" >&5
   6471     cat conftest.$ac_ext >&5
   6472   fi
   6473   rm -f conftest* conftst*
   6474 
   6475   # Do not use the global_symbol_pipe unless it works.
   6476   if test "$pipe_works" = yes; then
   6477     break
   6478   else
   6479     lt_cv_sys_global_symbol_pipe=
   6480   fi
   6481 done
   6482 
   6483 fi
   6484 
   6485 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6486   lt_cv_sys_global_symbol_to_cdecl=
   6487 fi
   6488 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6489   { echo "$as_me:$LINENO: result: failed" >&5
   6490 echo "${ECHO_T}failed" >&6; }
   6491 else
   6492   { echo "$as_me:$LINENO: result: ok" >&5
   6493 echo "${ECHO_T}ok" >&6; }
   6494 fi
   6495 
   6496 { echo "$as_me:$LINENO: checking for objdir" >&5
   6497 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6498 if test "${lt_cv_objdir+set}" = set; then
   6499   echo $ECHO_N "(cached) $ECHO_C" >&6
   6500 else
   6501   rm -f .libs 2>/dev/null
   6502 mkdir .libs 2>/dev/null
   6503 if test -d .libs; then
   6504   lt_cv_objdir=.libs
   6505 else
   6506   # MS-DOS does not allow filenames that begin with a dot.
   6507   lt_cv_objdir=_libs
   6508 fi
   6509 rmdir .libs 2>/dev/null
   6510 fi
   6511 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6512 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6513 objdir=$lt_cv_objdir
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 case $host_os in
   6520 aix3*)
   6521   # AIX sometimes has problems with the GCC collect2 program.  For some
   6522   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6523   # vanish in a puff of smoke.
   6524   if test "X${COLLECT_NAMES+set}" != Xset; then
   6525     COLLECT_NAMES=
   6526     export COLLECT_NAMES
   6527   fi
   6528   ;;
   6529 esac
   6530 
   6531 # Sed substitution that helps us do robust quoting.  It backslashifies
   6532 # metacharacters that are still active within double-quoted strings.
   6533 Xsed='sed -e 1s/^X//'
   6534 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6535 
   6536 # Same as above, but do not quote variable references.
   6537 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6538 
   6539 # Sed substitution to delay expansion of an escaped shell variable in a
   6540 # double_quote_subst'ed string.
   6541 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6542 
   6543 # Sed substitution to avoid accidental globbing in evaled expressions
   6544 no_glob_subst='s/\*/\\\*/g'
   6545 
   6546 # Constants:
   6547 rm="rm -f"
   6548 
   6549 # Global variables:
   6550 default_ofile=libtool
   6551 can_build_shared=yes
   6552 
   6553 # All known linkers require a `.a' archive for static linking (except MSVC,
   6554 # which needs '.lib').
   6555 libext=a
   6556 ltmain="$ac_aux_dir/ltmain.sh"
   6557 ofile="$default_ofile"
   6558 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6559 
   6560 if test -n "$ac_tool_prefix"; then
   6561   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6562 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6565 if test "${ac_cv_prog_AR+set}" = set; then
   6566   echo $ECHO_N "(cached) $ECHO_C" >&6
   6567 else
   6568   if test -n "$AR"; then
   6569   ac_cv_prog_AR="$AR" # Let the user override the test.
   6570 else
   6571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6572 for as_dir in $PATH
   6573 do
   6574   IFS=$as_save_IFS
   6575   test -z "$as_dir" && as_dir=.
   6576   for ac_exec_ext in '' $ac_executable_extensions; do
   6577   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6578     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6579     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6580     break 2
   6581   fi
   6582 done
   6583 done
   6584 IFS=$as_save_IFS
   6585 
   6586 fi
   6587 fi
   6588 AR=$ac_cv_prog_AR
   6589 if test -n "$AR"; then
   6590   { echo "$as_me:$LINENO: result: $AR" >&5
   6591 echo "${ECHO_T}$AR" >&6; }
   6592 else
   6593   { echo "$as_me:$LINENO: result: no" >&5
   6594 echo "${ECHO_T}no" >&6; }
   6595 fi
   6596 
   6597 
   6598 fi
   6599 if test -z "$ac_cv_prog_AR"; then
   6600   ac_ct_AR=$AR
   6601   # Extract the first word of "ar", so it can be a program name with args.
   6602 set dummy ar; ac_word=$2
   6603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6605 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6606   echo $ECHO_N "(cached) $ECHO_C" >&6
   6607 else
   6608   if test -n "$ac_ct_AR"; then
   6609   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6610 else
   6611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6612 for as_dir in $PATH
   6613 do
   6614   IFS=$as_save_IFS
   6615   test -z "$as_dir" && as_dir=.
   6616   for ac_exec_ext in '' $ac_executable_extensions; do
   6617   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6618     ac_cv_prog_ac_ct_AR="ar"
   6619     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6620     break 2
   6621   fi
   6622 done
   6623 done
   6624 IFS=$as_save_IFS
   6625 
   6626 fi
   6627 fi
   6628 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6629 if test -n "$ac_ct_AR"; then
   6630   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6631 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6632 else
   6633   { echo "$as_me:$LINENO: result: no" >&5
   6634 echo "${ECHO_T}no" >&6; }
   6635 fi
   6636 
   6637   if test "x$ac_ct_AR" = x; then
   6638     AR="false"
   6639   else
   6640     case $cross_compiling:$ac_tool_warned in
   6641 yes:)
   6642 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6643 whose name does not start with the host triplet.  If you think this
   6644 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6645 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6646 whose name does not start with the host triplet.  If you think this
   6647 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6648 ac_tool_warned=yes ;;
   6649 esac
   6650     AR=$ac_ct_AR
   6651   fi
   6652 else
   6653   AR="$ac_cv_prog_AR"
   6654 fi
   6655 
   6656 if test -n "$ac_tool_prefix"; then
   6657   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6658 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6659 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6661 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6662   echo $ECHO_N "(cached) $ECHO_C" >&6
   6663 else
   6664   if test -n "$RANLIB"; then
   6665   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6666 else
   6667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6668 for as_dir in $PATH
   6669 do
   6670   IFS=$as_save_IFS
   6671   test -z "$as_dir" && as_dir=.
   6672   for ac_exec_ext in '' $ac_executable_extensions; do
   6673   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6674     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6675     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6676     break 2
   6677   fi
   6678 done
   6679 done
   6680 IFS=$as_save_IFS
   6681 
   6682 fi
   6683 fi
   6684 RANLIB=$ac_cv_prog_RANLIB
   6685 if test -n "$RANLIB"; then
   6686   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6687 echo "${ECHO_T}$RANLIB" >&6; }
   6688 else
   6689   { echo "$as_me:$LINENO: result: no" >&5
   6690 echo "${ECHO_T}no" >&6; }
   6691 fi
   6692 
   6693 
   6694 fi
   6695 if test -z "$ac_cv_prog_RANLIB"; then
   6696   ac_ct_RANLIB=$RANLIB
   6697   # Extract the first word of "ranlib", so it can be a program name with args.
   6698 set dummy ranlib; ac_word=$2
   6699 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6701 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6702   echo $ECHO_N "(cached) $ECHO_C" >&6
   6703 else
   6704   if test -n "$ac_ct_RANLIB"; then
   6705   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6706 else
   6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6708 for as_dir in $PATH
   6709 do
   6710   IFS=$as_save_IFS
   6711   test -z "$as_dir" && as_dir=.
   6712   for ac_exec_ext in '' $ac_executable_extensions; do
   6713   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6714     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6715     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6716     break 2
   6717   fi
   6718 done
   6719 done
   6720 IFS=$as_save_IFS
   6721 
   6722 fi
   6723 fi
   6724 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6725 if test -n "$ac_ct_RANLIB"; then
   6726   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6727 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6728 else
   6729   { echo "$as_me:$LINENO: result: no" >&5
   6730 echo "${ECHO_T}no" >&6; }
   6731 fi
   6732 
   6733   if test "x$ac_ct_RANLIB" = x; then
   6734     RANLIB=":"
   6735   else
   6736     case $cross_compiling:$ac_tool_warned in
   6737 yes:)
   6738 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6739 whose name does not start with the host triplet.  If you think this
   6740 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6741 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6742 whose name does not start with the host triplet.  If you think this
   6743 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6744 ac_tool_warned=yes ;;
   6745 esac
   6746     RANLIB=$ac_ct_RANLIB
   6747   fi
   6748 else
   6749   RANLIB="$ac_cv_prog_RANLIB"
   6750 fi
   6751 
   6752 if test -n "$ac_tool_prefix"; then
   6753   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6754 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6757 if test "${ac_cv_prog_STRIP+set}" = set; then
   6758   echo $ECHO_N "(cached) $ECHO_C" >&6
   6759 else
   6760   if test -n "$STRIP"; then
   6761   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6762 else
   6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6764 for as_dir in $PATH
   6765 do
   6766   IFS=$as_save_IFS
   6767   test -z "$as_dir" && as_dir=.
   6768   for ac_exec_ext in '' $ac_executable_extensions; do
   6769   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6770     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6771     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6772     break 2
   6773   fi
   6774 done
   6775 done
   6776 IFS=$as_save_IFS
   6777 
   6778 fi
   6779 fi
   6780 STRIP=$ac_cv_prog_STRIP
   6781 if test -n "$STRIP"; then
   6782   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6783 echo "${ECHO_T}$STRIP" >&6; }
   6784 else
   6785   { echo "$as_me:$LINENO: result: no" >&5
   6786 echo "${ECHO_T}no" >&6; }
   6787 fi
   6788 
   6789 
   6790 fi
   6791 if test -z "$ac_cv_prog_STRIP"; then
   6792   ac_ct_STRIP=$STRIP
   6793   # Extract the first word of "strip", so it can be a program name with args.
   6794 set dummy strip; ac_word=$2
   6795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6797 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6798   echo $ECHO_N "(cached) $ECHO_C" >&6
   6799 else
   6800   if test -n "$ac_ct_STRIP"; then
   6801   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6802 else
   6803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6804 for as_dir in $PATH
   6805 do
   6806   IFS=$as_save_IFS
   6807   test -z "$as_dir" && as_dir=.
   6808   for ac_exec_ext in '' $ac_executable_extensions; do
   6809   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6810     ac_cv_prog_ac_ct_STRIP="strip"
   6811     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6812     break 2
   6813   fi
   6814 done
   6815 done
   6816 IFS=$as_save_IFS
   6817 
   6818 fi
   6819 fi
   6820 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6821 if test -n "$ac_ct_STRIP"; then
   6822   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6823 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6824 else
   6825   { echo "$as_me:$LINENO: result: no" >&5
   6826 echo "${ECHO_T}no" >&6; }
   6827 fi
   6828 
   6829   if test "x$ac_ct_STRIP" = x; then
   6830     STRIP=":"
   6831   else
   6832     case $cross_compiling:$ac_tool_warned in
   6833 yes:)
   6834 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6835 whose name does not start with the host triplet.  If you think this
   6836 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6837 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6838 whose name does not start with the host triplet.  If you think this
   6839 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6840 ac_tool_warned=yes ;;
   6841 esac
   6842     STRIP=$ac_ct_STRIP
   6843   fi
   6844 else
   6845   STRIP="$ac_cv_prog_STRIP"
   6846 fi
   6847 
   6848 
   6849 old_CC="$CC"
   6850 old_CFLAGS="$CFLAGS"
   6851 
   6852 # Set sane defaults for various variables
   6853 test -z "$AR" && AR=ar
   6854 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6855 test -z "$AS" && AS=as
   6856 test -z "$CC" && CC=cc
   6857 test -z "$LTCC" && LTCC=$CC
   6858 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6859 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6860 test -z "$LD" && LD=ld
   6861 test -z "$LN_S" && LN_S="ln -s"
   6862 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6863 test -z "$NM" && NM=nm
   6864 test -z "$SED" && SED=sed
   6865 test -z "$OBJDUMP" && OBJDUMP=objdump
   6866 test -z "$RANLIB" && RANLIB=:
   6867 test -z "$STRIP" && STRIP=:
   6868 test -z "$ac_objext" && ac_objext=o
   6869 
   6870 # Determine commands to create old-style static archives.
   6871 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   6872 old_postinstall_cmds='chmod 644 $oldlib'
   6873 old_postuninstall_cmds=
   6874 
   6875 if test -n "$RANLIB"; then
   6876   case $host_os in
   6877   openbsd*)
   6878     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6879     ;;
   6880   *)
   6881     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6882     ;;
   6883   esac
   6884   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6885 fi
   6886 
   6887 for cc_temp in $compiler""; do
   6888   case $cc_temp in
   6889     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6890     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6891     \-*) ;;
   6892     *) break;;
   6893   esac
   6894 done
   6895 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6896 
   6897 
   6898 # Only perform the check for file, if the check method requires it
   6899 case $deplibs_check_method in
   6900 file_magic*)
   6901   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6902     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6903 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   6904 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6905   echo $ECHO_N "(cached) $ECHO_C" >&6
   6906 else
   6907   case $MAGIC_CMD in
   6908 [\\/*] |  ?:[\\/]*)
   6909   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6910   ;;
   6911 *)
   6912   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6913   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6914   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6915   for ac_dir in $ac_dummy; do
   6916     IFS="$lt_save_ifs"
   6917     test -z "$ac_dir" && ac_dir=.
   6918     if test -f $ac_dir/${ac_tool_prefix}file; then
   6919       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6920       if test -n "$file_magic_test_file"; then
   6921 	case $deplibs_check_method in
   6922 	"file_magic "*)
   6923 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6924 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6925 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6926 	    $EGREP "$file_magic_regex" > /dev/null; then
   6927 	    :
   6928 	  else
   6929 	    cat <<EOF 1>&2
   6930 
   6931 *** Warning: the command libtool uses to detect shared libraries,
   6932 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6933 *** The result is that libtool may fail to recognize shared libraries
   6934 *** as such.  This will affect the creation of libtool libraries that
   6935 *** depend on shared libraries, but programs linked with such libtool
   6936 *** libraries will work regardless of this problem.  Nevertheless, you
   6937 *** may want to report the problem to your system manager and/or to
   6938 *** bug-libtool@gnu.org
   6939 
   6940 EOF
   6941 	  fi ;;
   6942 	esac
   6943       fi
   6944       break
   6945     fi
   6946   done
   6947   IFS="$lt_save_ifs"
   6948   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6949   ;;
   6950 esac
   6951 fi
   6952 
   6953 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6954 if test -n "$MAGIC_CMD"; then
   6955   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6956 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6957 else
   6958   { echo "$as_me:$LINENO: result: no" >&5
   6959 echo "${ECHO_T}no" >&6; }
   6960 fi
   6961 
   6962 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6963   if test -n "$ac_tool_prefix"; then
   6964     { echo "$as_me:$LINENO: checking for file" >&5
   6965 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   6966 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6967   echo $ECHO_N "(cached) $ECHO_C" >&6
   6968 else
   6969   case $MAGIC_CMD in
   6970 [\\/*] |  ?:[\\/]*)
   6971   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6972   ;;
   6973 *)
   6974   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6975   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6976   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6977   for ac_dir in $ac_dummy; do
   6978     IFS="$lt_save_ifs"
   6979     test -z "$ac_dir" && ac_dir=.
   6980     if test -f $ac_dir/file; then
   6981       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   6982       if test -n "$file_magic_test_file"; then
   6983 	case $deplibs_check_method in
   6984 	"file_magic "*)
   6985 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6986 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6987 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6988 	    $EGREP "$file_magic_regex" > /dev/null; then
   6989 	    :
   6990 	  else
   6991 	    cat <<EOF 1>&2
   6992 
   6993 *** Warning: the command libtool uses to detect shared libraries,
   6994 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6995 *** The result is that libtool may fail to recognize shared libraries
   6996 *** as such.  This will affect the creation of libtool libraries that
   6997 *** depend on shared libraries, but programs linked with such libtool
   6998 *** libraries will work regardless of this problem.  Nevertheless, you
   6999 *** may want to report the problem to your system manager and/or to
   7000 *** bug-libtool@gnu.org
   7001 
   7002 EOF
   7003 	  fi ;;
   7004 	esac
   7005       fi
   7006       break
   7007     fi
   7008   done
   7009   IFS="$lt_save_ifs"
   7010   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7011   ;;
   7012 esac
   7013 fi
   7014 
   7015 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7016 if test -n "$MAGIC_CMD"; then
   7017   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7018 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7019 else
   7020   { echo "$as_me:$LINENO: result: no" >&5
   7021 echo "${ECHO_T}no" >&6; }
   7022 fi
   7023 
   7024   else
   7025     MAGIC_CMD=:
   7026   fi
   7027 fi
   7028 
   7029   fi
   7030   ;;
   7031 esac
   7032 
   7033 enable_dlopen=no
   7034 enable_win32_dll=no
   7035 
   7036 # Check whether --enable-libtool-lock was given.
   7037 if test "${enable_libtool_lock+set}" = set; then
   7038   enableval=$enable_libtool_lock;
   7039 fi
   7040 
   7041 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7042 
   7043 
   7044 # Check whether --with-pic was given.
   7045 if test "${with_pic+set}" = set; then
   7046   withval=$with_pic; pic_mode="$withval"
   7047 else
   7048   pic_mode=default
   7049 fi
   7050 
   7051 test -z "$pic_mode" && pic_mode=default
   7052 
   7053 # Use C for the default configuration in the libtool script
   7054 tagname=
   7055 lt_save_CC="$CC"
   7056 ac_ext=c
   7057 ac_cpp='$CPP $CPPFLAGS'
   7058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7061 
   7062 
   7063 # Source file extension for C test sources.
   7064 ac_ext=c
   7065 
   7066 # Object file extension for compiled C test sources.
   7067 objext=o
   7068 objext=$objext
   7069 
   7070 # Code to be used in simple compile tests
   7071 lt_simple_compile_test_code="int some_variable = 0;\n"
   7072 
   7073 # Code to be used in simple link tests
   7074 lt_simple_link_test_code='int main(){return(0);}\n'
   7075 
   7076 
   7077 # If no C compiler was specified, use CC.
   7078 LTCC=${LTCC-"$CC"}
   7079 
   7080 # If no C compiler flags were specified, use CFLAGS.
   7081 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7082 
   7083 # Allow CC to be a program name with arguments.
   7084 compiler=$CC
   7085 
   7086 
   7087 # save warnings/boilerplate of simple test code
   7088 ac_outfile=conftest.$ac_objext
   7089 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   7090 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7091 _lt_compiler_boilerplate=`cat conftest.err`
   7092 $rm conftest*
   7093 
   7094 ac_outfile=conftest.$ac_objext
   7095 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   7096 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7097 _lt_linker_boilerplate=`cat conftest.err`
   7098 $rm conftest*
   7099 
   7100 
   7101 
   7102 lt_prog_compiler_no_builtin_flag=
   7103 
   7104 if test "$GCC" = yes; then
   7105   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7106 
   7107 
   7108 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7109 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7110 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7111   echo $ECHO_N "(cached) $ECHO_C" >&6
   7112 else
   7113   lt_cv_prog_compiler_rtti_exceptions=no
   7114   ac_outfile=conftest.$ac_objext
   7115    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7116    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7117    # Insert the option either (1) after the last *FLAGS variable, or
   7118    # (2) before a word containing "conftest.", or (3) at the end.
   7119    # Note that $ac_compile itself does not contain backslashes and begins
   7120    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7121    # The option is referenced via a variable to avoid confusing sed.
   7122    lt_compile=`echo "$ac_compile" | $SED \
   7123    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7124    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7125    -e 's:$: $lt_compiler_flag:'`
   7126    (eval echo "\"\$as_me:7126: $lt_compile\"" >&5)
   7127    (eval "$lt_compile" 2>conftest.err)
   7128    ac_status=$?
   7129    cat conftest.err >&5
   7130    echo "$as_me:7130: \$? = $ac_status" >&5
   7131    if (exit $ac_status) && test -s "$ac_outfile"; then
   7132      # The compiler can only warn and ignore the option if not recognized
   7133      # So say no if there are warnings other than the usual output.
   7134      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7135      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7136      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7137        lt_cv_prog_compiler_rtti_exceptions=yes
   7138      fi
   7139    fi
   7140    $rm conftest*
   7141 
   7142 fi
   7143 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7144 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7145 
   7146 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7147     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7148 else
   7149     :
   7150 fi
   7151 
   7152 fi
   7153 
   7154 lt_prog_compiler_wl=
   7155 lt_prog_compiler_pic=
   7156 lt_prog_compiler_static=
   7157 
   7158 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7159 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7160 
   7161   if test "$GCC" = yes; then
   7162     lt_prog_compiler_wl='-Wl,'
   7163     lt_prog_compiler_static='-static'
   7164 
   7165     case $host_os in
   7166       aix*)
   7167       # All AIX code is PIC.
   7168       if test "$host_cpu" = ia64; then
   7169 	# AIX 5 now supports IA64 processor
   7170 	lt_prog_compiler_static='-Bstatic'
   7171       fi
   7172       ;;
   7173 
   7174     amigaos*)
   7175       # FIXME: we need at least 68020 code to build shared libraries, but
   7176       # adding the `-m68020' flag to GCC prevents building anything better,
   7177       # like `-m68040'.
   7178       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7179       ;;
   7180 
   7181     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7182       # PIC is the default for these OSes.
   7183       ;;
   7184 
   7185     mingw* | pw32* | os2*)
   7186       # This hack is so that the source file can tell whether it is being
   7187       # built for inclusion in a dll (and should export symbols for example).
   7188       lt_prog_compiler_pic='-DDLL_EXPORT'
   7189       ;;
   7190 
   7191     darwin* | rhapsody*)
   7192       # PIC is the default on this platform
   7193       # Common symbols not allowed in MH_DYLIB files
   7194       lt_prog_compiler_pic='-fno-common'
   7195       ;;
   7196 
   7197     interix3*)
   7198       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7199       # Instead, we relocate shared libraries at runtime.
   7200       ;;
   7201 
   7202     msdosdjgpp*)
   7203       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7204       # on systems that don't support them.
   7205       lt_prog_compiler_can_build_shared=no
   7206       enable_shared=no
   7207       ;;
   7208 
   7209     sysv4*MP*)
   7210       if test -d /usr/nec; then
   7211 	lt_prog_compiler_pic=-Kconform_pic
   7212       fi
   7213       ;;
   7214 
   7215     hpux*)
   7216       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7217       # not for PA HP-UX.
   7218       case $host_cpu in
   7219       hppa*64*|ia64*)
   7220 	# +Z the default
   7221 	;;
   7222       *)
   7223 	lt_prog_compiler_pic='-fPIC'
   7224 	;;
   7225       esac
   7226       ;;
   7227 
   7228     *)
   7229       lt_prog_compiler_pic='-fPIC'
   7230       ;;
   7231     esac
   7232   else
   7233     # PORTME Check for flag to pass linker flags through the system compiler.
   7234     case $host_os in
   7235     aix*)
   7236       lt_prog_compiler_wl='-Wl,'
   7237       if test "$host_cpu" = ia64; then
   7238 	# AIX 5 now supports IA64 processor
   7239 	lt_prog_compiler_static='-Bstatic'
   7240       else
   7241 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7242       fi
   7243       ;;
   7244       darwin*)
   7245         # PIC is the default on this platform
   7246         # Common symbols not allowed in MH_DYLIB files
   7247        case $cc_basename in
   7248          xlc*)
   7249          lt_prog_compiler_pic='-qnocommon'
   7250          lt_prog_compiler_wl='-Wl,'
   7251          ;;
   7252        esac
   7253        ;;
   7254 
   7255     mingw* | pw32* | os2*)
   7256       # This hack is so that the source file can tell whether it is being
   7257       # built for inclusion in a dll (and should export symbols for example).
   7258       lt_prog_compiler_pic='-DDLL_EXPORT'
   7259       ;;
   7260 
   7261     hpux9* | hpux10* | hpux11*)
   7262       lt_prog_compiler_wl='-Wl,'
   7263       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7264       # not for PA HP-UX.
   7265       case $host_cpu in
   7266       hppa*64*|ia64*)
   7267 	# +Z the default
   7268 	;;
   7269       *)
   7270 	lt_prog_compiler_pic='+Z'
   7271 	;;
   7272       esac
   7273       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7274       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7275       ;;
   7276 
   7277     irix5* | irix6* | nonstopux*)
   7278       lt_prog_compiler_wl='-Wl,'
   7279       # PIC (with -KPIC) is the default.
   7280       lt_prog_compiler_static='-non_shared'
   7281       ;;
   7282 
   7283     newsos6)
   7284       lt_prog_compiler_pic='-KPIC'
   7285       lt_prog_compiler_static='-Bstatic'
   7286       ;;
   7287 
   7288     linux*)
   7289       case $cc_basename in
   7290       icc* | ecc*)
   7291 	lt_prog_compiler_wl='-Wl,'
   7292 	lt_prog_compiler_pic='-KPIC'
   7293 	lt_prog_compiler_static='-static'
   7294         ;;
   7295       pgcc* | pgf77* | pgf90* | pgf95*)
   7296         # Portland Group compilers (*not* the Pentium gcc compiler,
   7297 	# which looks to be a dead project)
   7298 	lt_prog_compiler_wl='-Wl,'
   7299 	lt_prog_compiler_pic='-fpic'
   7300 	lt_prog_compiler_static='-Bstatic'
   7301         ;;
   7302       ccc*)
   7303         lt_prog_compiler_wl='-Wl,'
   7304         # All Alpha code is PIC.
   7305         lt_prog_compiler_static='-non_shared'
   7306         ;;
   7307       esac
   7308       ;;
   7309 
   7310     osf3* | osf4* | osf5*)
   7311       lt_prog_compiler_wl='-Wl,'
   7312       # All OSF/1 code is PIC.
   7313       lt_prog_compiler_static='-non_shared'
   7314       ;;
   7315 
   7316     solaris*)
   7317       lt_prog_compiler_pic='-KPIC'
   7318       lt_prog_compiler_static='-Bstatic'
   7319       case $cc_basename in
   7320       f77* | f90* | f95*)
   7321 	lt_prog_compiler_wl='-Qoption ld ';;
   7322       *)
   7323 	lt_prog_compiler_wl='-Wl,';;
   7324       esac
   7325       ;;
   7326 
   7327     sunos4*)
   7328       lt_prog_compiler_wl='-Qoption ld '
   7329       lt_prog_compiler_pic='-PIC'
   7330       lt_prog_compiler_static='-Bstatic'
   7331       ;;
   7332 
   7333     sysv4 | sysv4.2uw2* | sysv4.3*)
   7334       lt_prog_compiler_wl='-Wl,'
   7335       lt_prog_compiler_pic='-KPIC'
   7336       lt_prog_compiler_static='-Bstatic'
   7337       ;;
   7338 
   7339     sysv4*MP*)
   7340       if test -d /usr/nec ;then
   7341 	lt_prog_compiler_pic='-Kconform_pic'
   7342 	lt_prog_compiler_static='-Bstatic'
   7343       fi
   7344       ;;
   7345 
   7346     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7347       lt_prog_compiler_wl='-Wl,'
   7348       lt_prog_compiler_pic='-KPIC'
   7349       lt_prog_compiler_static='-Bstatic'
   7350       ;;
   7351 
   7352     unicos*)
   7353       lt_prog_compiler_wl='-Wl,'
   7354       lt_prog_compiler_can_build_shared=no
   7355       ;;
   7356 
   7357     uts4*)
   7358       lt_prog_compiler_pic='-pic'
   7359       lt_prog_compiler_static='-Bstatic'
   7360       ;;
   7361 
   7362     *)
   7363       lt_prog_compiler_can_build_shared=no
   7364       ;;
   7365     esac
   7366   fi
   7367 
   7368 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7369 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7370 
   7371 #
   7372 # Check to make sure the PIC flag actually works.
   7373 #
   7374 if test -n "$lt_prog_compiler_pic"; then
   7375 
   7376 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7377 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7378 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7379   echo $ECHO_N "(cached) $ECHO_C" >&6
   7380 else
   7381   lt_prog_compiler_pic_works=no
   7382   ac_outfile=conftest.$ac_objext
   7383    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7384    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7385    # Insert the option either (1) after the last *FLAGS variable, or
   7386    # (2) before a word containing "conftest.", or (3) at the end.
   7387    # Note that $ac_compile itself does not contain backslashes and begins
   7388    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7389    # The option is referenced via a variable to avoid confusing sed.
   7390    lt_compile=`echo "$ac_compile" | $SED \
   7391    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7392    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7393    -e 's:$: $lt_compiler_flag:'`
   7394    (eval echo "\"\$as_me:7394: $lt_compile\"" >&5)
   7395    (eval "$lt_compile" 2>conftest.err)
   7396    ac_status=$?
   7397    cat conftest.err >&5
   7398    echo "$as_me:7398: \$? = $ac_status" >&5
   7399    if (exit $ac_status) && test -s "$ac_outfile"; then
   7400      # The compiler can only warn and ignore the option if not recognized
   7401      # So say no if there are warnings other than the usual output.
   7402      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7403      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7404      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7405        lt_prog_compiler_pic_works=yes
   7406      fi
   7407    fi
   7408    $rm conftest*
   7409 
   7410 fi
   7411 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7412 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7413 
   7414 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7415     case $lt_prog_compiler_pic in
   7416      "" | " "*) ;;
   7417      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7418      esac
   7419 else
   7420     lt_prog_compiler_pic=
   7421      lt_prog_compiler_can_build_shared=no
   7422 fi
   7423 
   7424 fi
   7425 case $host_os in
   7426   # For platforms which do not support PIC, -DPIC is meaningless:
   7427   *djgpp*)
   7428     lt_prog_compiler_pic=
   7429     ;;
   7430   *)
   7431     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7432     ;;
   7433 esac
   7434 
   7435 #
   7436 # Check to make sure the static flag actually works.
   7437 #
   7438 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7439 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7440 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7441 if test "${lt_prog_compiler_static_works+set}" = set; then
   7442   echo $ECHO_N "(cached) $ECHO_C" >&6
   7443 else
   7444   lt_prog_compiler_static_works=no
   7445    save_LDFLAGS="$LDFLAGS"
   7446    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7447    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   7448    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7449      # The linker can only warn and ignore the option if not recognized
   7450      # So say no if there are warnings
   7451      if test -s conftest.err; then
   7452        # Append any errors to the config.log.
   7453        cat conftest.err 1>&5
   7454        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7455        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7456        if diff conftest.exp conftest.er2 >/dev/null; then
   7457          lt_prog_compiler_static_works=yes
   7458        fi
   7459      else
   7460        lt_prog_compiler_static_works=yes
   7461      fi
   7462    fi
   7463    $rm conftest*
   7464    LDFLAGS="$save_LDFLAGS"
   7465 
   7466 fi
   7467 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7468 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7469 
   7470 if test x"$lt_prog_compiler_static_works" = xyes; then
   7471     :
   7472 else
   7473     lt_prog_compiler_static=
   7474 fi
   7475 
   7476 
   7477 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7478 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7479 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7480   echo $ECHO_N "(cached) $ECHO_C" >&6
   7481 else
   7482   lt_cv_prog_compiler_c_o=no
   7483    $rm -r conftest 2>/dev/null
   7484    mkdir conftest
   7485    cd conftest
   7486    mkdir out
   7487    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7488 
   7489    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7490    # Insert the option either (1) after the last *FLAGS variable, or
   7491    # (2) before a word containing "conftest.", or (3) at the end.
   7492    # Note that $ac_compile itself does not contain backslashes and begins
   7493    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7494    lt_compile=`echo "$ac_compile" | $SED \
   7495    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7496    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7497    -e 's:$: $lt_compiler_flag:'`
   7498    (eval echo "\"\$as_me:7498: $lt_compile\"" >&5)
   7499    (eval "$lt_compile" 2>out/conftest.err)
   7500    ac_status=$?
   7501    cat out/conftest.err >&5
   7502    echo "$as_me:7502: \$? = $ac_status" >&5
   7503    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7504    then
   7505      # The compiler can only warn and ignore the option if not recognized
   7506      # So say no if there are warnings
   7507      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7508      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7509      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7510        lt_cv_prog_compiler_c_o=yes
   7511      fi
   7512    fi
   7513    chmod u+w . 2>&5
   7514    $rm conftest*
   7515    # SGI C++ compiler will create directory out/ii_files/ for
   7516    # template instantiation
   7517    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7518    $rm out/* && rmdir out
   7519    cd ..
   7520    rmdir conftest
   7521    $rm conftest*
   7522 
   7523 fi
   7524 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7525 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7526 
   7527 
   7528 hard_links="nottested"
   7529 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7530   # do not overwrite the value of need_locks provided by the user
   7531   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7532 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7533   hard_links=yes
   7534   $rm conftest*
   7535   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7536   touch conftest.a
   7537   ln conftest.a conftest.b 2>&5 || hard_links=no
   7538   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7539   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7540 echo "${ECHO_T}$hard_links" >&6; }
   7541   if test "$hard_links" = no; then
   7542     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7543 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7544     need_locks=warn
   7545   fi
   7546 else
   7547   need_locks=no
   7548 fi
   7549 
   7550 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7551 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7552 
   7553   runpath_var=
   7554   allow_undefined_flag=
   7555   enable_shared_with_static_runtimes=no
   7556   archive_cmds=
   7557   archive_expsym_cmds=
   7558   old_archive_From_new_cmds=
   7559   old_archive_from_expsyms_cmds=
   7560   export_dynamic_flag_spec=
   7561   whole_archive_flag_spec=
   7562   thread_safe_flag_spec=
   7563   hardcode_libdir_flag_spec=
   7564   hardcode_libdir_flag_spec_ld=
   7565   hardcode_libdir_separator=
   7566   hardcode_direct=no
   7567   hardcode_minus_L=no
   7568   hardcode_shlibpath_var=unsupported
   7569   link_all_deplibs=unknown
   7570   hardcode_automatic=no
   7571   module_cmds=
   7572   module_expsym_cmds=
   7573   always_export_symbols=no
   7574   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7575   # include_expsyms should be a list of space-separated symbols to be *always*
   7576   # included in the symbol list
   7577   include_expsyms=
   7578   # exclude_expsyms can be an extended regexp of symbols to exclude
   7579   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7580   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7581   # as well as any symbol that contains `d'.
   7582   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7583   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7584   # platforms (ab)use it in PIC code, but their linkers get confused if
   7585   # the symbol is explicitly referenced.  Since portable code cannot
   7586   # rely on this symbol name, it's probably fine to never include it in
   7587   # preloaded symbol tables.
   7588   extract_expsyms_cmds=
   7589   # Just being paranoid about ensuring that cc_basename is set.
   7590   for cc_temp in $compiler""; do
   7591   case $cc_temp in
   7592     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7593     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7594     \-*) ;;
   7595     *) break;;
   7596   esac
   7597 done
   7598 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7599 
   7600   case $host_os in
   7601   cygwin* | mingw* | pw32*)
   7602     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7603     # When not using gcc, we currently assume that we are using
   7604     # Microsoft Visual C++.
   7605     if test "$GCC" != yes; then
   7606       with_gnu_ld=no
   7607     fi
   7608     ;;
   7609   interix*)
   7610     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7611     with_gnu_ld=yes
   7612     ;;
   7613   openbsd*)
   7614     with_gnu_ld=no
   7615     ;;
   7616   esac
   7617 
   7618   ld_shlibs=yes
   7619   if test "$with_gnu_ld" = yes; then
   7620     # If archive_cmds runs LD, not CC, wlarc should be empty
   7621     wlarc='${wl}'
   7622 
   7623     # Set some defaults for GNU ld with shared library support. These
   7624     # are reset later if shared libraries are not supported. Putting them
   7625     # here allows them to be overridden if necessary.
   7626     runpath_var=LD_RUN_PATH
   7627     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7628     export_dynamic_flag_spec='${wl}--export-dynamic'
   7629     # ancient GNU ld didn't support --whole-archive et. al.
   7630     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7631 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7632       else
   7633   	whole_archive_flag_spec=
   7634     fi
   7635     supports_anon_versioning=no
   7636     case `$LD -v 2>/dev/null` in
   7637       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7638       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7639       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7640       *\ 2.11.*) ;; # other 2.11 versions
   7641       *) supports_anon_versioning=yes ;;
   7642     esac
   7643 
   7644     # See if GNU ld supports shared libraries.
   7645     case $host_os in
   7646     aix3* | aix4* | aix5*)
   7647       # On AIX/PPC, the GNU linker is very broken
   7648       if test "$host_cpu" != ia64; then
   7649 	ld_shlibs=no
   7650 	cat <<EOF 1>&2
   7651 
   7652 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7653 *** to be unable to reliably create shared libraries on AIX.
   7654 *** Therefore, libtool is disabling shared libraries support.  If you
   7655 *** really care for shared libraries, you may want to modify your PATH
   7656 *** so that a non-GNU linker is found, and then restart.
   7657 
   7658 EOF
   7659       fi
   7660       ;;
   7661 
   7662     amigaos*)
   7663       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)'
   7664       hardcode_libdir_flag_spec='-L$libdir'
   7665       hardcode_minus_L=yes
   7666 
   7667       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7668       # that the semantics of dynamic libraries on AmigaOS, at least up
   7669       # to version 4, is to share data among multiple programs linked
   7670       # with the same dynamic library.  Since this doesn't match the
   7671       # behavior of shared libraries on other platforms, we can't use
   7672       # them.
   7673       ld_shlibs=no
   7674       ;;
   7675 
   7676     beos*)
   7677       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7678 	allow_undefined_flag=unsupported
   7679 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7680 	# support --undefined.  This deserves some investigation.  FIXME
   7681 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7682       else
   7683 	ld_shlibs=no
   7684       fi
   7685       ;;
   7686 
   7687     cygwin* | mingw* | pw32*)
   7688       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7689       # as there is no search path for DLLs.
   7690       hardcode_libdir_flag_spec='-L$libdir'
   7691       allow_undefined_flag=unsupported
   7692       always_export_symbols=no
   7693       enable_shared_with_static_runtimes=yes
   7694       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   7695 
   7696       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   7697         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7698 	# If the export-symbols file already is a .def file (1st line
   7699 	# is EXPORTS), use it as is; otherwise, prepend...
   7700 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7701 	  cp $export_symbols $output_objdir/$soname.def;
   7702 	else
   7703 	  echo EXPORTS > $output_objdir/$soname.def;
   7704 	  cat $export_symbols >> $output_objdir/$soname.def;
   7705 	fi~
   7706 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7707       else
   7708 	ld_shlibs=no
   7709       fi
   7710       ;;
   7711 
   7712     interix3*)
   7713       hardcode_direct=no
   7714       hardcode_shlibpath_var=no
   7715       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7716       export_dynamic_flag_spec='${wl}-E'
   7717       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7718       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7719       # default) and relocated if they conflict, which is a slow very memory
   7720       # consuming and fragmenting process.  To avoid this, we pick a random,
   7721       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7722       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7723       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7724       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'
   7725       ;;
   7726 
   7727     linux*)
   7728       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7729 	tmp_addflag=
   7730 	case $cc_basename,$host_cpu in
   7731 	pgcc*)				# Portland Group C compiler
   7732 	  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'
   7733 	  tmp_addflag=' $pic_flag'
   7734 	  ;;
   7735 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7736 	  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'
   7737 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7738 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   7739 	  tmp_addflag=' -i_dynamic' ;;
   7740 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7741 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7742 	ifc* | ifort*)			# Intel Fortran compiler
   7743 	  tmp_addflag=' -nofor_main' ;;
   7744 	esac
   7745 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7746 
   7747 	if test $supports_anon_versioning = yes; then
   7748 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   7749   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7750   $echo "local: *; };" >> $output_objdir/$libname.ver~
   7751 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7752 	fi
   7753       else
   7754 	ld_shlibs=no
   7755       fi
   7756       ;;
   7757 
   7758     netbsd*)
   7759       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7760 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7761 	wlarc=
   7762       else
   7763 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7764 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7765       fi
   7766       ;;
   7767 
   7768     solaris*)
   7769       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   7770 	ld_shlibs=no
   7771 	cat <<EOF 1>&2
   7772 
   7773 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7774 *** create shared libraries on Solaris systems.  Therefore, libtool
   7775 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7776 *** binutils to release 2.9.1 or newer.  Another option is to modify
   7777 *** your PATH or compiler configuration so that the native linker is
   7778 *** used, and then restart.
   7779 
   7780 EOF
   7781       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7782 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7783 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7784       else
   7785 	ld_shlibs=no
   7786       fi
   7787       ;;
   7788 
   7789     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7790       case `$LD -v 2>&1` in
   7791         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7792 	ld_shlibs=no
   7793 	cat <<_LT_EOF 1>&2
   7794 
   7795 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7796 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7797 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7798 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7799 *** your PATH or compiler configuration so that the native linker is
   7800 *** used, and then restart.
   7801 
   7802 _LT_EOF
   7803 	;;
   7804 	*)
   7805 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7806 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   7807 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   7808 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   7809 	  else
   7810 	    ld_shlibs=no
   7811 	  fi
   7812 	;;
   7813       esac
   7814       ;;
   7815 
   7816     sunos4*)
   7817       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7818       wlarc=
   7819       hardcode_direct=yes
   7820       hardcode_shlibpath_var=no
   7821       ;;
   7822 
   7823     *)
   7824       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7825 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7826 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7827       else
   7828 	ld_shlibs=no
   7829       fi
   7830       ;;
   7831     esac
   7832 
   7833     if test "$ld_shlibs" = no; then
   7834       runpath_var=
   7835       hardcode_libdir_flag_spec=
   7836       export_dynamic_flag_spec=
   7837       whole_archive_flag_spec=
   7838     fi
   7839   else
   7840     # PORTME fill in a description of your system's linker (not GNU ld)
   7841     case $host_os in
   7842     aix3*)
   7843       allow_undefined_flag=unsupported
   7844       always_export_symbols=yes
   7845       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'
   7846       # Note: this linker hardcodes the directories in LIBPATH if there
   7847       # are no directories specified by -L.
   7848       hardcode_minus_L=yes
   7849       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7850 	# Neither direct hardcoding nor static linking is supported with a
   7851 	# broken collect2.
   7852 	hardcode_direct=unsupported
   7853       fi
   7854       ;;
   7855 
   7856     aix4* | aix5*)
   7857       if test "$host_cpu" = ia64; then
   7858 	# On IA64, the linker does run time linking by default, so we don't
   7859 	# have to do anything special.
   7860 	aix_use_runtimelinking=no
   7861 	exp_sym_flag='-Bexport'
   7862 	no_entry_flag=""
   7863       else
   7864 	# If we're using GNU nm, then we don't want the "-C" option.
   7865 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7866 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   7867 	  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'
   7868 	else
   7869 	  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'
   7870 	fi
   7871 	aix_use_runtimelinking=no
   7872 
   7873 	# Test if we are trying to use run time linking or normal
   7874 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7875 	# need to do runtime linking.
   7876 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   7877 	  for ld_flag in $LDFLAGS; do
   7878   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7879   	    aix_use_runtimelinking=yes
   7880   	    break
   7881   	  fi
   7882 	  done
   7883 	  ;;
   7884 	esac
   7885 
   7886 	exp_sym_flag='-bexport'
   7887 	no_entry_flag='-bnoentry'
   7888       fi
   7889 
   7890       # When large executables or shared objects are built, AIX ld can
   7891       # have problems creating the table of contents.  If linking a library
   7892       # or program results in "error TOC overflow" add -mminimal-toc to
   7893       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7894       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7895 
   7896       archive_cmds=''
   7897       hardcode_direct=yes
   7898       hardcode_libdir_separator=':'
   7899       link_all_deplibs=yes
   7900 
   7901       if test "$GCC" = yes; then
   7902 	case $host_os in aix4.[012]|aix4.[012].*)
   7903 	# We only want to do this on AIX 4.2 and lower, the check
   7904 	# below for broken collect2 doesn't work under 4.3+
   7905 	  collect2name=`${CC} -print-prog-name=collect2`
   7906 	  if test -f "$collect2name" && \
   7907   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   7908 	  then
   7909   	  # We have reworked collect2
   7910   	  hardcode_direct=yes
   7911 	  else
   7912   	  # We have old collect2
   7913   	  hardcode_direct=unsupported
   7914   	  # It fails to find uninstalled libraries when the uninstalled
   7915   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   7916   	  # to unsupported forces relinking
   7917   	  hardcode_minus_L=yes
   7918   	  hardcode_libdir_flag_spec='-L$libdir'
   7919   	  hardcode_libdir_separator=
   7920 	  fi
   7921 	  ;;
   7922 	esac
   7923 	shared_flag='-shared'
   7924 	if test "$aix_use_runtimelinking" = yes; then
   7925 	  shared_flag="$shared_flag "'${wl}-G'
   7926 	fi
   7927       else
   7928 	# not using gcc
   7929 	if test "$host_cpu" = ia64; then
   7930   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   7931   	# chokes on -Wl,-G. The following line is correct:
   7932 	  shared_flag='-G'
   7933 	else
   7934 	  if test "$aix_use_runtimelinking" = yes; then
   7935 	    shared_flag='${wl}-G'
   7936 	  else
   7937 	    shared_flag='${wl}-bM:SRE'
   7938 	  fi
   7939 	fi
   7940       fi
   7941 
   7942       # It seems that -bexpall does not export symbols beginning with
   7943       # underscore (_), so it is better to generate a list of symbols to export.
   7944       always_export_symbols=yes
   7945       if test "$aix_use_runtimelinking" = yes; then
   7946 	# Warning - without using the other runtime loading flags (-brtl),
   7947 	# -berok will link without error, but may produce a broken library.
   7948 	allow_undefined_flag='-berok'
   7949        # Determine the default libpath from the value encoded in an empty executable.
   7950        cat >conftest.$ac_ext <<_ACEOF
   7951 /* confdefs.h.  */
   7952 _ACEOF
   7953 cat confdefs.h >>conftest.$ac_ext
   7954 cat >>conftest.$ac_ext <<_ACEOF
   7955 /* end confdefs.h.  */
   7956 
   7957 int
   7958 main ()
   7959 {
   7960 
   7961   ;
   7962   return 0;
   7963 }
   7964 _ACEOF
   7965 rm -f conftest.$ac_objext conftest$ac_exeext
   7966 if { (ac_try="$ac_link"
   7967 case "(($ac_try" in
   7968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7969   *) ac_try_echo=$ac_try;;
   7970 esac
   7971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7972   (eval "$ac_link") 2>conftest.er1
   7973   ac_status=$?
   7974   grep -v '^ *+' conftest.er1 >conftest.err
   7975   rm -f conftest.er1
   7976   cat conftest.err >&5
   7977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7978   (exit $ac_status); } && {
   7979 	 test -z "$ac_c_werror_flag" ||
   7980 	 test ! -s conftest.err
   7981        } && test -s conftest$ac_exeext &&
   7982        $as_test_x conftest$ac_exeext; then
   7983 
   7984 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7985 }'`
   7986 # Check for a 64-bit object if we didn't find anything.
   7987 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; }
   7988 }'`; fi
   7989 else
   7990   echo "$as_me: failed program was:" >&5
   7991 sed 's/^/| /' conftest.$ac_ext >&5
   7992 
   7993 
   7994 fi
   7995 
   7996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7997       conftest$ac_exeext conftest.$ac_ext
   7998 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   7999 
   8000        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8001 	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"
   8002        else
   8003 	if test "$host_cpu" = ia64; then
   8004 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8005 	  allow_undefined_flag="-z nodefs"
   8006 	  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"
   8007 	else
   8008 	 # Determine the default libpath from the value encoded in an empty executable.
   8009 	 cat >conftest.$ac_ext <<_ACEOF
   8010 /* confdefs.h.  */
   8011 _ACEOF
   8012 cat confdefs.h >>conftest.$ac_ext
   8013 cat >>conftest.$ac_ext <<_ACEOF
   8014 /* end confdefs.h.  */
   8015 
   8016 int
   8017 main ()
   8018 {
   8019 
   8020   ;
   8021   return 0;
   8022 }
   8023 _ACEOF
   8024 rm -f conftest.$ac_objext conftest$ac_exeext
   8025 if { (ac_try="$ac_link"
   8026 case "(($ac_try" in
   8027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8028   *) ac_try_echo=$ac_try;;
   8029 esac
   8030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8031   (eval "$ac_link") 2>conftest.er1
   8032   ac_status=$?
   8033   grep -v '^ *+' conftest.er1 >conftest.err
   8034   rm -f conftest.er1
   8035   cat conftest.err >&5
   8036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8037   (exit $ac_status); } && {
   8038 	 test -z "$ac_c_werror_flag" ||
   8039 	 test ! -s conftest.err
   8040        } && test -s conftest$ac_exeext &&
   8041        $as_test_x conftest$ac_exeext; then
   8042 
   8043 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8044 }'`
   8045 # Check for a 64-bit object if we didn't find anything.
   8046 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; }
   8047 }'`; fi
   8048 else
   8049   echo "$as_me: failed program was:" >&5
   8050 sed 's/^/| /' conftest.$ac_ext >&5
   8051 
   8052 
   8053 fi
   8054 
   8055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8056       conftest$ac_exeext conftest.$ac_ext
   8057 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8058 
   8059 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8060 	  # Warning - without using the other run time loading flags,
   8061 	  # -berok will link without error, but may produce a broken library.
   8062 	  no_undefined_flag=' ${wl}-bernotok'
   8063 	  allow_undefined_flag=' ${wl}-berok'
   8064 	  # Exported symbols can be pulled into shared objects from archives
   8065 	  whole_archive_flag_spec='$convenience'
   8066 	  archive_cmds_need_lc=yes
   8067 	  # This is similar to how AIX traditionally builds its shared libraries.
   8068 	  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'
   8069 	fi
   8070       fi
   8071       ;;
   8072 
   8073     amigaos*)
   8074       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)'
   8075       hardcode_libdir_flag_spec='-L$libdir'
   8076       hardcode_minus_L=yes
   8077       # see comment about different semantics on the GNU ld section
   8078       ld_shlibs=no
   8079       ;;
   8080 
   8081     bsdi[45]*)
   8082       export_dynamic_flag_spec=-rdynamic
   8083       ;;
   8084 
   8085     cygwin* | mingw* | pw32*)
   8086       # When not using gcc, we currently assume that we are using
   8087       # Microsoft Visual C++.
   8088       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8089       # no search path for DLLs.
   8090       hardcode_libdir_flag_spec=' '
   8091       allow_undefined_flag=unsupported
   8092       # Tell ltmain to make .lib files, not .a files.
   8093       libext=lib
   8094       # Tell ltmain to make .dll files, not .so files.
   8095       shrext_cmds=".dll"
   8096       # FIXME: Setting linknames here is a bad hack.
   8097       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8098       # The linker will automatically build a .lib file if we build a DLL.
   8099       old_archive_From_new_cmds='true'
   8100       # FIXME: Should let the user specify the lib program.
   8101       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   8102       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8103       enable_shared_with_static_runtimes=yes
   8104       ;;
   8105 
   8106     darwin* | rhapsody*)
   8107       case $host_os in
   8108         rhapsody* | darwin1.[012])
   8109          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8110          ;;
   8111        *) # Darwin 1.3 on
   8112          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8113            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8114          else
   8115            case ${MACOSX_DEPLOYMENT_TARGET} in
   8116              10.[012])
   8117                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8118                ;;
   8119              10.*)
   8120                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8121                ;;
   8122            esac
   8123          fi
   8124          ;;
   8125       esac
   8126       archive_cmds_need_lc=no
   8127       hardcode_direct=no
   8128       hardcode_automatic=yes
   8129       hardcode_shlibpath_var=unsupported
   8130       whole_archive_flag_spec=''
   8131       link_all_deplibs=yes
   8132     if test "$GCC" = yes ; then
   8133     	output_verbose_link_cmd='echo'
   8134         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8135       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8136       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8137       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}'
   8138       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}'
   8139     else
   8140       case $cc_basename in
   8141         xlc*)
   8142          output_verbose_link_cmd='echo'
   8143          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   8144          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8145           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8146          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}'
   8147           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}'
   8148           ;;
   8149        *)
   8150          ld_shlibs=no
   8151           ;;
   8152       esac
   8153     fi
   8154       ;;
   8155 
   8156     dgux*)
   8157       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8158       hardcode_libdir_flag_spec='-L$libdir'
   8159       hardcode_shlibpath_var=no
   8160       ;;
   8161 
   8162     freebsd1*)
   8163       ld_shlibs=no
   8164       ;;
   8165 
   8166     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8167     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8168     # does not break anything, and helps significantly (at the cost of a little
   8169     # extra space).
   8170     freebsd2.2*)
   8171       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8172       hardcode_libdir_flag_spec='-R$libdir'
   8173       hardcode_direct=yes
   8174       hardcode_shlibpath_var=no
   8175       ;;
   8176 
   8177     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8178     freebsd2*)
   8179       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8180       hardcode_direct=yes
   8181       hardcode_minus_L=yes
   8182       hardcode_shlibpath_var=no
   8183       ;;
   8184 
   8185     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8186     freebsd* | kfreebsd*-gnu | dragonfly*)
   8187       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8188       hardcode_libdir_flag_spec='-R$libdir'
   8189       hardcode_direct=yes
   8190       hardcode_shlibpath_var=no
   8191       ;;
   8192 
   8193     hpux9*)
   8194       if test "$GCC" = yes; then
   8195 	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'
   8196       else
   8197 	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'
   8198       fi
   8199       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8200       hardcode_libdir_separator=:
   8201       hardcode_direct=yes
   8202 
   8203       # hardcode_minus_L: Not really in the search PATH,
   8204       # but as the default location of the library.
   8205       hardcode_minus_L=yes
   8206       export_dynamic_flag_spec='${wl}-E'
   8207       ;;
   8208 
   8209     hpux10*)
   8210       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8211 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8212       else
   8213 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8214       fi
   8215       if test "$with_gnu_ld" = no; then
   8216 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8217 	hardcode_libdir_separator=:
   8218 
   8219 	hardcode_direct=yes
   8220 	export_dynamic_flag_spec='${wl}-E'
   8221 
   8222 	# hardcode_minus_L: Not really in the search PATH,
   8223 	# but as the default location of the library.
   8224 	hardcode_minus_L=yes
   8225       fi
   8226       ;;
   8227 
   8228     hpux11*)
   8229       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8230 	case $host_cpu in
   8231 	hppa*64*)
   8232 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8233 	  ;;
   8234 	ia64*)
   8235 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8236 	  ;;
   8237 	*)
   8238 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8239 	  ;;
   8240 	esac
   8241       else
   8242 	case $host_cpu in
   8243 	hppa*64*)
   8244 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8245 	  ;;
   8246 	ia64*)
   8247 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8248 	  ;;
   8249 	*)
   8250 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8251 	  ;;
   8252 	esac
   8253       fi
   8254       if test "$with_gnu_ld" = no; then
   8255 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8256 	hardcode_libdir_separator=:
   8257 
   8258 	case $host_cpu in
   8259 	hppa*64*|ia64*)
   8260 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8261 	  hardcode_direct=no
   8262 	  hardcode_shlibpath_var=no
   8263 	  ;;
   8264 	*)
   8265 	  hardcode_direct=yes
   8266 	  export_dynamic_flag_spec='${wl}-E'
   8267 
   8268 	  # hardcode_minus_L: Not really in the search PATH,
   8269 	  # but as the default location of the library.
   8270 	  hardcode_minus_L=yes
   8271 	  ;;
   8272 	esac
   8273       fi
   8274       ;;
   8275 
   8276     irix5* | irix6* | nonstopux*)
   8277       if test "$GCC" = yes; then
   8278 	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'
   8279       else
   8280 	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'
   8281 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8282       fi
   8283       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8284       hardcode_libdir_separator=:
   8285       link_all_deplibs=yes
   8286       ;;
   8287 
   8288     netbsd*)
   8289       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8290 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8291       else
   8292 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8293       fi
   8294       hardcode_libdir_flag_spec='-R$libdir'
   8295       hardcode_direct=yes
   8296       hardcode_shlibpath_var=no
   8297       ;;
   8298 
   8299     newsos6)
   8300       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8301       hardcode_direct=yes
   8302       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8303       hardcode_libdir_separator=:
   8304       hardcode_shlibpath_var=no
   8305       ;;
   8306 
   8307     openbsd*)
   8308       hardcode_direct=yes
   8309       hardcode_shlibpath_var=no
   8310       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8311 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8312 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8313 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8314 	export_dynamic_flag_spec='${wl}-E'
   8315       else
   8316        case $host_os in
   8317 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8318 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8319 	   hardcode_libdir_flag_spec='-R$libdir'
   8320 	   ;;
   8321 	 *)
   8322 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8323 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8324 	   ;;
   8325        esac
   8326       fi
   8327       ;;
   8328 
   8329     os2*)
   8330       hardcode_libdir_flag_spec='-L$libdir'
   8331       hardcode_minus_L=yes
   8332       allow_undefined_flag=unsupported
   8333       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'
   8334       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8335       ;;
   8336 
   8337     osf3*)
   8338       if test "$GCC" = yes; then
   8339 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8340 	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'
   8341       else
   8342 	allow_undefined_flag=' -expect_unresolved \*'
   8343 	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'
   8344       fi
   8345       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8346       hardcode_libdir_separator=:
   8347       ;;
   8348 
   8349     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8350       if test "$GCC" = yes; then
   8351 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8352 	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'
   8353 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8354       else
   8355 	allow_undefined_flag=' -expect_unresolved \*'
   8356 	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'
   8357 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8358 	$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'
   8359 
   8360 	# Both c and cxx compiler support -rpath directly
   8361 	hardcode_libdir_flag_spec='-rpath $libdir'
   8362       fi
   8363       hardcode_libdir_separator=:
   8364       ;;
   8365 
   8366     solaris*)
   8367       no_undefined_flag=' -z text'
   8368       if test "$GCC" = yes; then
   8369 	wlarc='${wl}'
   8370 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8371 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8372 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8373       else
   8374 	wlarc=''
   8375 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8376 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8377   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8378       fi
   8379       hardcode_libdir_flag_spec='-R$libdir'
   8380       hardcode_shlibpath_var=no
   8381       case $host_os in
   8382       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8383       *)
   8384  	# The compiler driver will combine linker options so we
   8385  	# cannot just pass the convience library names through
   8386  	# without $wl, iff we do not link with $LD.
   8387  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   8388  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8389  	case $wlarc in
   8390  	'')
   8391  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   8392  	*)
   8393  	  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' ;;
   8394  	esac ;;
   8395       esac
   8396       link_all_deplibs=yes
   8397       ;;
   8398 
   8399     sunos4*)
   8400       if test "x$host_vendor" = xsequent; then
   8401 	# Use $CC to link under sequent, because it throws in some extra .o
   8402 	# files that make .init and .fini sections work.
   8403 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8404       else
   8405 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8406       fi
   8407       hardcode_libdir_flag_spec='-L$libdir'
   8408       hardcode_direct=yes
   8409       hardcode_minus_L=yes
   8410       hardcode_shlibpath_var=no
   8411       ;;
   8412 
   8413     sysv4)
   8414       case $host_vendor in
   8415 	sni)
   8416 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8417 	  hardcode_direct=yes # is this really true???
   8418 	;;
   8419 	siemens)
   8420 	  ## LD is ld it makes a PLAMLIB
   8421 	  ## CC just makes a GrossModule.
   8422 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8423 	  reload_cmds='$CC -r -o $output$reload_objs'
   8424 	  hardcode_direct=no
   8425         ;;
   8426 	motorola)
   8427 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8428 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8429 	;;
   8430       esac
   8431       runpath_var='LD_RUN_PATH'
   8432       hardcode_shlibpath_var=no
   8433       ;;
   8434 
   8435     sysv4.3*)
   8436       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8437       hardcode_shlibpath_var=no
   8438       export_dynamic_flag_spec='-Bexport'
   8439       ;;
   8440 
   8441     sysv4*MP*)
   8442       if test -d /usr/nec; then
   8443 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8444 	hardcode_shlibpath_var=no
   8445 	runpath_var=LD_RUN_PATH
   8446 	hardcode_runpath_var=yes
   8447 	ld_shlibs=yes
   8448       fi
   8449       ;;
   8450 
   8451     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   8452       no_undefined_flag='${wl}-z,text'
   8453       archive_cmds_need_lc=no
   8454       hardcode_shlibpath_var=no
   8455       runpath_var='LD_RUN_PATH'
   8456 
   8457       if test "$GCC" = yes; then
   8458 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8459 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8460       else
   8461 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8462 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8463       fi
   8464       ;;
   8465 
   8466     sysv5* | sco3.2v5* | sco5v6*)
   8467       # Note: We can NOT use -z defs as we might desire, because we do not
   8468       # link with -lc, and that would cause any symbols used from libc to
   8469       # always be unresolved, which means just about no library would
   8470       # ever link correctly.  If we're not using GNU ld we use -z text
   8471       # though, which does catch some bad symbols but isn't as heavy-handed
   8472       # as -z defs.
   8473       no_undefined_flag='${wl}-z,text'
   8474       allow_undefined_flag='${wl}-z,nodefs'
   8475       archive_cmds_need_lc=no
   8476       hardcode_shlibpath_var=no
   8477       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8478       hardcode_libdir_separator=':'
   8479       link_all_deplibs=yes
   8480       export_dynamic_flag_spec='${wl}-Bexport'
   8481       runpath_var='LD_RUN_PATH'
   8482 
   8483       if test "$GCC" = yes; then
   8484 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8485 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8486       else
   8487 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8488 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8489       fi
   8490       ;;
   8491 
   8492     uts4*)
   8493       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8494       hardcode_libdir_flag_spec='-L$libdir'
   8495       hardcode_shlibpath_var=no
   8496       ;;
   8497 
   8498     *)
   8499       ld_shlibs=no
   8500       ;;
   8501     esac
   8502   fi
   8503 
   8504 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8505 echo "${ECHO_T}$ld_shlibs" >&6; }
   8506 test "$ld_shlibs" = no && can_build_shared=no
   8507 
   8508 #
   8509 # Do we need to explicitly link libc?
   8510 #
   8511 case "x$archive_cmds_need_lc" in
   8512 x|xyes)
   8513   # Assume -lc should be added
   8514   archive_cmds_need_lc=yes
   8515 
   8516   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8517     case $archive_cmds in
   8518     *'~'*)
   8519       # FIXME: we may have to deal with multi-command sequences.
   8520       ;;
   8521     '$CC '*)
   8522       # Test whether the compiler implicitly links with -lc since on some
   8523       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8524       # to ld, don't add -lc before -lgcc.
   8525       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8526 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8527       $rm conftest*
   8528       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8529 
   8530       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8531   (eval $ac_compile) 2>&5
   8532   ac_status=$?
   8533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8534   (exit $ac_status); } 2>conftest.err; then
   8535         soname=conftest
   8536         lib=conftest
   8537         libobjs=conftest.$ac_objext
   8538         deplibs=
   8539         wl=$lt_prog_compiler_wl
   8540 	pic_flag=$lt_prog_compiler_pic
   8541         compiler_flags=-v
   8542         linker_flags=-v
   8543         verstring=
   8544         output_objdir=.
   8545         libname=conftest
   8546         lt_save_allow_undefined_flag=$allow_undefined_flag
   8547         allow_undefined_flag=
   8548         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8549   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8550   ac_status=$?
   8551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8552   (exit $ac_status); }
   8553         then
   8554 	  archive_cmds_need_lc=no
   8555         else
   8556 	  archive_cmds_need_lc=yes
   8557         fi
   8558         allow_undefined_flag=$lt_save_allow_undefined_flag
   8559       else
   8560         cat conftest.err 1>&5
   8561       fi
   8562       $rm conftest*
   8563       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8564 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8565       ;;
   8566     esac
   8567   fi
   8568   ;;
   8569 esac
   8570 
   8571 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8572 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8573 library_names_spec=
   8574 libname_spec='lib$name'
   8575 soname_spec=
   8576 shrext_cmds=".so"
   8577 postinstall_cmds=
   8578 postuninstall_cmds=
   8579 finish_cmds=
   8580 finish_eval=
   8581 shlibpath_var=
   8582 shlibpath_overrides_runpath=unknown
   8583 version_type=none
   8584 dynamic_linker="$host_os ld.so"
   8585 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8586 if test "$GCC" = yes; then
   8587   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8588   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   8589     # if the path contains ";" then we assume it to be the separator
   8590     # otherwise default to the standard path separator (i.e. ":") - it is
   8591     # assumed that no part of a normal pathname contains ";" but that should
   8592     # okay in the real world where ";" in dirpaths is itself problematic.
   8593     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8594   else
   8595     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8596   fi
   8597 else
   8598   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8599 fi
   8600 need_lib_prefix=unknown
   8601 hardcode_into_libs=no
   8602 
   8603 # when you set need_version to no, make sure it does not cause -set_version
   8604 # flags to be left without arguments
   8605 need_version=unknown
   8606 
   8607 case $host_os in
   8608 aix3*)
   8609   version_type=linux
   8610   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8611   shlibpath_var=LIBPATH
   8612 
   8613   # AIX 3 has no versioning support, so we append a major version to the name.
   8614   soname_spec='${libname}${release}${shared_ext}$major'
   8615   ;;
   8616 
   8617 aix4* | aix5*)
   8618   version_type=linux
   8619   need_lib_prefix=no
   8620   need_version=no
   8621   hardcode_into_libs=yes
   8622   if test "$host_cpu" = ia64; then
   8623     # AIX 5 supports IA64
   8624     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8625     shlibpath_var=LD_LIBRARY_PATH
   8626   else
   8627     # With GCC up to 2.95.x, collect2 would create an import file
   8628     # for dependence libraries.  The import file would start with
   8629     # the line `#! .'.  This would cause the generated library to
   8630     # depend on `.', always an invalid library.  This was fixed in
   8631     # development snapshots of GCC prior to 3.0.
   8632     case $host_os in
   8633       aix4 | aix4.[01] | aix4.[01].*)
   8634       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8635 	   echo ' yes '
   8636 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8637 	:
   8638       else
   8639 	can_build_shared=no
   8640       fi
   8641       ;;
   8642     esac
   8643     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8644     # soname into executable. Probably we can add versioning support to
   8645     # collect2, so additional links can be useful in future.
   8646     if test "$aix_use_runtimelinking" = yes; then
   8647       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8648       # instead of lib<name>.a to let people know that these are not
   8649       # typical AIX shared libraries.
   8650       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8651     else
   8652       # We preserve .a as extension for shared libraries through AIX4.2
   8653       # and later when we are not doing run time linking.
   8654       library_names_spec='${libname}${release}.a $libname.a'
   8655       soname_spec='${libname}${release}${shared_ext}$major'
   8656     fi
   8657     shlibpath_var=LIBPATH
   8658   fi
   8659   ;;
   8660 
   8661 amigaos*)
   8662   library_names_spec='$libname.ixlibrary $libname.a'
   8663   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   8664   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'
   8665   ;;
   8666 
   8667 beos*)
   8668   library_names_spec='${libname}${shared_ext}'
   8669   dynamic_linker="$host_os ld.so"
   8670   shlibpath_var=LIBRARY_PATH
   8671   ;;
   8672 
   8673 bsdi[45]*)
   8674   version_type=linux
   8675   need_version=no
   8676   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8677   soname_spec='${libname}${release}${shared_ext}$major'
   8678   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   8679   shlibpath_var=LD_LIBRARY_PATH
   8680   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   8681   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   8682   # the default ld.so.conf also contains /usr/contrib/lib and
   8683   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   8684   # libtool to hard-code these into programs
   8685   ;;
   8686 
   8687 cygwin* | mingw* | pw32*)
   8688   version_type=windows
   8689   shrext_cmds=".dll"
   8690   need_version=no
   8691   need_lib_prefix=no
   8692 
   8693   case $GCC,$host_os in
   8694   yes,cygwin* | yes,mingw* | yes,pw32*)
   8695     library_names_spec='$libname.dll.a'
   8696     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   8697     postinstall_cmds='base_file=`basename \${file}`~
   8698       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   8699       dldir=$destdir/`dirname \$dlpath`~
   8700       test -d \$dldir || mkdir -p \$dldir~
   8701       $install_prog $dir/$dlname \$dldir/$dlname~
   8702       chmod a+x \$dldir/$dlname'
   8703     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   8704       dlpath=$dir/\$dldll~
   8705        $rm \$dlpath'
   8706     shlibpath_overrides_runpath=yes
   8707 
   8708     case $host_os in
   8709     cygwin*)
   8710       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   8711       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8712       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   8713       ;;
   8714     mingw*)
   8715       # MinGW DLLs use traditional 'lib' prefix
   8716       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8717       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8718       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   8719         # It is most probably a Windows format PATH printed by
   8720         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   8721         # path with ; separators, and with drive letters. We can handle the
   8722         # drive letters (cygwin fileutils understands them), so leave them,
   8723         # especially as we might pass files found there to a mingw objdump,
   8724         # which wouldn't understand a cygwinified path. Ahh.
   8725         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8726       else
   8727         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8728       fi
   8729       ;;
   8730     pw32*)
   8731       # pw32 DLLs use 'pw' prefix rather than 'lib'
   8732       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8733       ;;
   8734     esac
   8735     ;;
   8736 
   8737   *)
   8738     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8739     ;;
   8740   esac
   8741   dynamic_linker='Win32 ld.exe'
   8742   # FIXME: first we should search . and the directory the executable is in
   8743   shlibpath_var=PATH
   8744   ;;
   8745 
   8746 darwin* | rhapsody*)
   8747   dynamic_linker="$host_os dyld"
   8748   version_type=darwin
   8749   need_lib_prefix=no
   8750   need_version=no
   8751   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8752   soname_spec='${libname}${release}${major}$shared_ext'
   8753   shlibpath_overrides_runpath=yes
   8754   shlibpath_var=DYLD_LIBRARY_PATH
   8755   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   8756   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   8757   if test "$GCC" = yes; then
   8758     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"`
   8759   else
   8760     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   8761   fi
   8762   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8763   ;;
   8764 
   8765 dgux*)
   8766   version_type=linux
   8767   need_lib_prefix=no
   8768   need_version=no
   8769   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8770   soname_spec='${libname}${release}${shared_ext}$major'
   8771   shlibpath_var=LD_LIBRARY_PATH
   8772   ;;
   8773 
   8774 freebsd1*)
   8775   dynamic_linker=no
   8776   ;;
   8777 
   8778 kfreebsd*-gnu)
   8779   version_type=linux
   8780   need_lib_prefix=no
   8781   need_version=no
   8782   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8783   soname_spec='${libname}${release}${shared_ext}$major'
   8784   shlibpath_var=LD_LIBRARY_PATH
   8785   shlibpath_overrides_runpath=no
   8786   hardcode_into_libs=yes
   8787   dynamic_linker='GNU ld.so'
   8788   ;;
   8789 
   8790 freebsd* | dragonfly*)
   8791   # DragonFly does not have aout.  When/if they implement a new
   8792   # versioning mechanism, adjust this.
   8793   if test -x /usr/bin/objformat; then
   8794     objformat=`/usr/bin/objformat`
   8795   else
   8796     case $host_os in
   8797     freebsd[123]*) objformat=aout ;;
   8798     *) objformat=elf ;;
   8799     esac
   8800   fi
   8801   version_type=freebsd-$objformat
   8802   case $version_type in
   8803     freebsd-elf*)
   8804       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8805       need_version=no
   8806       need_lib_prefix=no
   8807       ;;
   8808     freebsd-*)
   8809       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8810       need_version=yes
   8811       ;;
   8812   esac
   8813   shlibpath_var=LD_LIBRARY_PATH
   8814   case $host_os in
   8815   freebsd2*)
   8816     shlibpath_overrides_runpath=yes
   8817     ;;
   8818   freebsd3.[01]* | freebsdelf3.[01]*)
   8819     shlibpath_overrides_runpath=yes
   8820     hardcode_into_libs=yes
   8821     ;;
   8822   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8823   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8824     shlibpath_overrides_runpath=no
   8825     hardcode_into_libs=yes
   8826     ;;
   8827   freebsd*) # from 4.6 on
   8828     shlibpath_overrides_runpath=yes
   8829     hardcode_into_libs=yes
   8830     ;;
   8831   esac
   8832   ;;
   8833 
   8834 gnu*)
   8835   version_type=linux
   8836   need_lib_prefix=no
   8837   need_version=no
   8838   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8839   soname_spec='${libname}${release}${shared_ext}$major'
   8840   shlibpath_var=LD_LIBRARY_PATH
   8841   hardcode_into_libs=yes
   8842   ;;
   8843 
   8844 hpux9* | hpux10* | hpux11*)
   8845   # Give a soname corresponding to the major version so that dld.sl refuses to
   8846   # link against other versions.
   8847   version_type=sunos
   8848   need_lib_prefix=no
   8849   need_version=no
   8850   case $host_cpu in
   8851   ia64*)
   8852     shrext_cmds='.so'
   8853     hardcode_into_libs=yes
   8854     dynamic_linker="$host_os dld.so"
   8855     shlibpath_var=LD_LIBRARY_PATH
   8856     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8857     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8858     soname_spec='${libname}${release}${shared_ext}$major'
   8859     if test "X$HPUX_IA64_MODE" = X32; then
   8860       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8861     else
   8862       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8863     fi
   8864     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8865     ;;
   8866    hppa*64*)
   8867      shrext_cmds='.sl'
   8868      hardcode_into_libs=yes
   8869      dynamic_linker="$host_os dld.sl"
   8870      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8871      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8872      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8873      soname_spec='${libname}${release}${shared_ext}$major'
   8874      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   8875      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8876      ;;
   8877    *)
   8878     shrext_cmds='.sl'
   8879     dynamic_linker="$host_os dld.sl"
   8880     shlibpath_var=SHLIB_PATH
   8881     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   8882     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8883     soname_spec='${libname}${release}${shared_ext}$major'
   8884     ;;
   8885   esac
   8886   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   8887   postinstall_cmds='chmod 555 $lib'
   8888   ;;
   8889 
   8890 interix3*)
   8891   version_type=linux
   8892   need_lib_prefix=no
   8893   need_version=no
   8894   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8895   soname_spec='${libname}${release}${shared_ext}$major'
   8896   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   8897   shlibpath_var=LD_LIBRARY_PATH
   8898   shlibpath_overrides_runpath=no
   8899   hardcode_into_libs=yes
   8900   ;;
   8901 
   8902 irix5* | irix6* | nonstopux*)
   8903   case $host_os in
   8904     nonstopux*) version_type=nonstopux ;;
   8905     *)
   8906 	if test "$lt_cv_prog_gnu_ld" = yes; then
   8907 		version_type=linux
   8908 	else
   8909 		version_type=irix
   8910 	fi ;;
   8911   esac
   8912   need_lib_prefix=no
   8913   need_version=no
   8914   soname_spec='${libname}${release}${shared_ext}$major'
   8915   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   8916   case $host_os in
   8917   irix5* | nonstopux*)
   8918     libsuff= shlibsuff=
   8919     ;;
   8920   *)
   8921     case $LD in # libtool.m4 will add one of these switches to LD
   8922     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   8923       libsuff= shlibsuff= libmagic=32-bit;;
   8924     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   8925       libsuff=32 shlibsuff=N32 libmagic=N32;;
   8926     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   8927       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   8928     *) libsuff= shlibsuff= libmagic=never-match;;
   8929     esac
   8930     ;;
   8931   esac
   8932   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   8933   shlibpath_overrides_runpath=no
   8934   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   8935   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   8936   hardcode_into_libs=yes
   8937   ;;
   8938 
   8939 # No shared lib support for Linux oldld, aout, or coff.
   8940 linux*oldld* | linux*aout* | linux*coff*)
   8941   dynamic_linker=no
   8942   ;;
   8943 
   8944 # This must be Linux ELF.
   8945 linux*)
   8946   version_type=linux
   8947   need_lib_prefix=no
   8948   need_version=no
   8949   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8950   soname_spec='${libname}${release}${shared_ext}$major'
   8951   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   8952   shlibpath_var=LD_LIBRARY_PATH
   8953   shlibpath_overrides_runpath=no
   8954   # This implies no fast_install, which is unacceptable.
   8955   # Some rework will be needed to allow for fast_install
   8956   # before this can be enabled.
   8957   hardcode_into_libs=yes
   8958 
   8959   # Append ld.so.conf contents to the search path
   8960   if test -f /etc/ld.so.conf; then
   8961     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' ' '`
   8962     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   8963   fi
   8964 
   8965   # We used to test for /lib/ld.so.1 and disable shared libraries on
   8966   # powerpc, because MkLinux only supported shared libraries with the
   8967   # GNU dynamic linker.  Since this was broken with cross compilers,
   8968   # most powerpc-linux boxes support dynamic linking these days and
   8969   # people can always --disable-shared, the test was removed, and we
   8970   # assume the GNU/Linux dynamic linker is in use.
   8971   dynamic_linker='GNU/Linux ld.so'
   8972   ;;
   8973 
   8974 knetbsd*-gnu)
   8975   version_type=linux
   8976   need_lib_prefix=no
   8977   need_version=no
   8978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8979   soname_spec='${libname}${release}${shared_ext}$major'
   8980   shlibpath_var=LD_LIBRARY_PATH
   8981   shlibpath_overrides_runpath=no
   8982   hardcode_into_libs=yes
   8983   dynamic_linker='GNU ld.so'
   8984   ;;
   8985 
   8986 netbsd*)
   8987   version_type=sunos
   8988   need_lib_prefix=no
   8989   need_version=no
   8990   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8991     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8992     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   8993     dynamic_linker='NetBSD (a.out) ld.so'
   8994   else
   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     dynamic_linker='NetBSD ld.elf_so'
   8998   fi
   8999   shlibpath_var=LD_LIBRARY_PATH
   9000   shlibpath_overrides_runpath=yes
   9001   hardcode_into_libs=yes
   9002   ;;
   9003 
   9004 newsos6)
   9005   version_type=linux
   9006   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9007   shlibpath_var=LD_LIBRARY_PATH
   9008   shlibpath_overrides_runpath=yes
   9009   ;;
   9010 
   9011 nto-qnx*)
   9012   version_type=linux
   9013   need_lib_prefix=no
   9014   need_version=no
   9015   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9016   soname_spec='${libname}${release}${shared_ext}$major'
   9017   shlibpath_var=LD_LIBRARY_PATH
   9018   shlibpath_overrides_runpath=yes
   9019   ;;
   9020 
   9021 openbsd*)
   9022   version_type=sunos
   9023   sys_lib_dlsearch_path_spec="/usr/lib"
   9024   need_lib_prefix=no
   9025   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9026   case $host_os in
   9027     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9028     *)                         need_version=no  ;;
   9029   esac
   9030   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9031   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9032   shlibpath_var=LD_LIBRARY_PATH
   9033   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9034     case $host_os in
   9035       openbsd2.[89] | openbsd2.[89].*)
   9036 	shlibpath_overrides_runpath=no
   9037 	;;
   9038       *)
   9039 	shlibpath_overrides_runpath=yes
   9040 	;;
   9041       esac
   9042   else
   9043     shlibpath_overrides_runpath=yes
   9044   fi
   9045   ;;
   9046 
   9047 os2*)
   9048   libname_spec='$name'
   9049   shrext_cmds=".dll"
   9050   need_lib_prefix=no
   9051   library_names_spec='$libname${shared_ext} $libname.a'
   9052   dynamic_linker='OS/2 ld.exe'
   9053   shlibpath_var=LIBPATH
   9054   ;;
   9055 
   9056 osf3* | osf4* | osf5*)
   9057   version_type=osf
   9058   need_lib_prefix=no
   9059   need_version=no
   9060   soname_spec='${libname}${release}${shared_ext}$major'
   9061   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9062   shlibpath_var=LD_LIBRARY_PATH
   9063   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9064   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9065   ;;
   9066 
   9067 solaris*)
   9068   version_type=linux
   9069   need_lib_prefix=no
   9070   need_version=no
   9071   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9072   soname_spec='${libname}${release}${shared_ext}$major'
   9073   shlibpath_var=LD_LIBRARY_PATH
   9074   shlibpath_overrides_runpath=yes
   9075   hardcode_into_libs=yes
   9076   # ldd complains unless libraries are executable
   9077   postinstall_cmds='chmod +x $lib'
   9078   ;;
   9079 
   9080 sunos4*)
   9081   version_type=sunos
   9082   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9083   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9084   shlibpath_var=LD_LIBRARY_PATH
   9085   shlibpath_overrides_runpath=yes
   9086   if test "$with_gnu_ld" = yes; then
   9087     need_lib_prefix=no
   9088   fi
   9089   need_version=yes
   9090   ;;
   9091 
   9092 sysv4 | sysv4.3*)
   9093   version_type=linux
   9094   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9095   soname_spec='${libname}${release}${shared_ext}$major'
   9096   shlibpath_var=LD_LIBRARY_PATH
   9097   case $host_vendor in
   9098     sni)
   9099       shlibpath_overrides_runpath=no
   9100       need_lib_prefix=no
   9101       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9102       runpath_var=LD_RUN_PATH
   9103       ;;
   9104     siemens)
   9105       need_lib_prefix=no
   9106       ;;
   9107     motorola)
   9108       need_lib_prefix=no
   9109       need_version=no
   9110       shlibpath_overrides_runpath=no
   9111       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9112       ;;
   9113   esac
   9114   ;;
   9115 
   9116 sysv4*MP*)
   9117   if test -d /usr/nec ;then
   9118     version_type=linux
   9119     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9120     soname_spec='$libname${shared_ext}.$major'
   9121     shlibpath_var=LD_LIBRARY_PATH
   9122   fi
   9123   ;;
   9124 
   9125 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9126   version_type=freebsd-elf
   9127   need_lib_prefix=no
   9128   need_version=no
   9129   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9130   soname_spec='${libname}${release}${shared_ext}$major'
   9131   shlibpath_var=LD_LIBRARY_PATH
   9132   hardcode_into_libs=yes
   9133   if test "$with_gnu_ld" = yes; then
   9134     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9135     shlibpath_overrides_runpath=no
   9136   else
   9137     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9138     shlibpath_overrides_runpath=yes
   9139     case $host_os in
   9140       sco3.2v5*)
   9141         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9142 	;;
   9143     esac
   9144   fi
   9145   sys_lib_dlsearch_path_spec='/usr/lib'
   9146   ;;
   9147 
   9148 uts4*)
   9149   version_type=linux
   9150   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9151   soname_spec='${libname}${release}${shared_ext}$major'
   9152   shlibpath_var=LD_LIBRARY_PATH
   9153   ;;
   9154 
   9155 *)
   9156   dynamic_linker=no
   9157   ;;
   9158 esac
   9159 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9160 echo "${ECHO_T}$dynamic_linker" >&6; }
   9161 test "$dynamic_linker" = no && can_build_shared=no
   9162 
   9163 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9164 if test "$GCC" = yes; then
   9165   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9166 fi
   9167 
   9168 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9169 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9170 hardcode_action=
   9171 if test -n "$hardcode_libdir_flag_spec" || \
   9172    test -n "$runpath_var" || \
   9173    test "X$hardcode_automatic" = "Xyes" ; then
   9174 
   9175   # We can hardcode non-existant directories.
   9176   if test "$hardcode_direct" != no &&
   9177      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9178      # have to relink, otherwise we might link with an installed library
   9179      # when we should be linking with a yet-to-be-installed one
   9180      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9181      test "$hardcode_minus_L" != no; then
   9182     # Linking always hardcodes the temporary library directory.
   9183     hardcode_action=relink
   9184   else
   9185     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9186     hardcode_action=immediate
   9187   fi
   9188 else
   9189   # We cannot hardcode anything, or else we can only hardcode existing
   9190   # directories.
   9191   hardcode_action=unsupported
   9192 fi
   9193 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9194 echo "${ECHO_T}$hardcode_action" >&6; }
   9195 
   9196 if test "$hardcode_action" = relink; then
   9197   # Fast installation is not supported
   9198   enable_fast_install=no
   9199 elif test "$shlibpath_overrides_runpath" = yes ||
   9200      test "$enable_shared" = no; then
   9201   # Fast installation is not necessary
   9202   enable_fast_install=needless
   9203 fi
   9204 
   9205 striplib=
   9206 old_striplib=
   9207 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9208 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9209 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9210   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9211   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9212   { echo "$as_me:$LINENO: result: yes" >&5
   9213 echo "${ECHO_T}yes" >&6; }
   9214 else
   9215 # FIXME - insert some real tests, host_os isn't really good enough
   9216   case $host_os in
   9217    darwin*)
   9218        if test -n "$STRIP" ; then
   9219          striplib="$STRIP -x"
   9220          { echo "$as_me:$LINENO: result: yes" >&5
   9221 echo "${ECHO_T}yes" >&6; }
   9222        else
   9223   { echo "$as_me:$LINENO: result: no" >&5
   9224 echo "${ECHO_T}no" >&6; }
   9225 fi
   9226        ;;
   9227    *)
   9228   { echo "$as_me:$LINENO: result: no" >&5
   9229 echo "${ECHO_T}no" >&6; }
   9230     ;;
   9231   esac
   9232 fi
   9233 
   9234 if test "x$enable_dlopen" != xyes; then
   9235   enable_dlopen=unknown
   9236   enable_dlopen_self=unknown
   9237   enable_dlopen_self_static=unknown
   9238 else
   9239   lt_cv_dlopen=no
   9240   lt_cv_dlopen_libs=
   9241 
   9242   case $host_os in
   9243   beos*)
   9244     lt_cv_dlopen="load_add_on"
   9245     lt_cv_dlopen_libs=
   9246     lt_cv_dlopen_self=yes
   9247     ;;
   9248 
   9249   mingw* | pw32*)
   9250     lt_cv_dlopen="LoadLibrary"
   9251     lt_cv_dlopen_libs=
   9252    ;;
   9253 
   9254   cygwin*)
   9255     lt_cv_dlopen="dlopen"
   9256     lt_cv_dlopen_libs=
   9257    ;;
   9258 
   9259   darwin*)
   9260   # if libdl is installed we need to link against it
   9261     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9262 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9263 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9264   echo $ECHO_N "(cached) $ECHO_C" >&6
   9265 else
   9266   ac_check_lib_save_LIBS=$LIBS
   9267 LIBS="-ldl  $LIBS"
   9268 cat >conftest.$ac_ext <<_ACEOF
   9269 /* confdefs.h.  */
   9270 _ACEOF
   9271 cat confdefs.h >>conftest.$ac_ext
   9272 cat >>conftest.$ac_ext <<_ACEOF
   9273 /* end confdefs.h.  */
   9274 
   9275 /* Override any GCC internal prototype to avoid an error.
   9276    Use char because int might match the return type of a GCC
   9277    builtin and then its argument prototype would still apply.  */
   9278 #ifdef __cplusplus
   9279 extern "C"
   9280 #endif
   9281 char dlopen ();
   9282 int
   9283 main ()
   9284 {
   9285 return dlopen ();
   9286   ;
   9287   return 0;
   9288 }
   9289 _ACEOF
   9290 rm -f conftest.$ac_objext conftest$ac_exeext
   9291 if { (ac_try="$ac_link"
   9292 case "(($ac_try" in
   9293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9294   *) ac_try_echo=$ac_try;;
   9295 esac
   9296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9297   (eval "$ac_link") 2>conftest.er1
   9298   ac_status=$?
   9299   grep -v '^ *+' conftest.er1 >conftest.err
   9300   rm -f conftest.er1
   9301   cat conftest.err >&5
   9302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9303   (exit $ac_status); } && {
   9304 	 test -z "$ac_c_werror_flag" ||
   9305 	 test ! -s conftest.err
   9306        } && test -s conftest$ac_exeext &&
   9307        $as_test_x conftest$ac_exeext; then
   9308   ac_cv_lib_dl_dlopen=yes
   9309 else
   9310   echo "$as_me: failed program was:" >&5
   9311 sed 's/^/| /' conftest.$ac_ext >&5
   9312 
   9313 	ac_cv_lib_dl_dlopen=no
   9314 fi
   9315 
   9316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9317       conftest$ac_exeext conftest.$ac_ext
   9318 LIBS=$ac_check_lib_save_LIBS
   9319 fi
   9320 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9321 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9322 if test $ac_cv_lib_dl_dlopen = yes; then
   9323   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9324 else
   9325 
   9326     lt_cv_dlopen="dyld"
   9327     lt_cv_dlopen_libs=
   9328     lt_cv_dlopen_self=yes
   9329 
   9330 fi
   9331 
   9332    ;;
   9333 
   9334   *)
   9335     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9336 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9337 if test "${ac_cv_func_shl_load+set}" = set; then
   9338   echo $ECHO_N "(cached) $ECHO_C" >&6
   9339 else
   9340   cat >conftest.$ac_ext <<_ACEOF
   9341 /* confdefs.h.  */
   9342 _ACEOF
   9343 cat confdefs.h >>conftest.$ac_ext
   9344 cat >>conftest.$ac_ext <<_ACEOF
   9345 /* end confdefs.h.  */
   9346 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9347    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9348 #define shl_load innocuous_shl_load
   9349 
   9350 /* System header to define __stub macros and hopefully few prototypes,
   9351     which can conflict with char shl_load (); below.
   9352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9353     <limits.h> exists even on freestanding compilers.  */
   9354 
   9355 #ifdef __STDC__
   9356 # include <limits.h>
   9357 #else
   9358 # include <assert.h>
   9359 #endif
   9360 
   9361 #undef shl_load
   9362 
   9363 /* Override any GCC internal prototype to avoid an error.
   9364    Use char because int might match the return type of a GCC
   9365    builtin and then its argument prototype would still apply.  */
   9366 #ifdef __cplusplus
   9367 extern "C"
   9368 #endif
   9369 char shl_load ();
   9370 /* The GNU C library defines this for functions which it implements
   9371     to always fail with ENOSYS.  Some functions are actually named
   9372     something starting with __ and the normal name is an alias.  */
   9373 #if defined __stub_shl_load || defined __stub___shl_load
   9374 choke me
   9375 #endif
   9376 
   9377 int
   9378 main ()
   9379 {
   9380 return shl_load ();
   9381   ;
   9382   return 0;
   9383 }
   9384 _ACEOF
   9385 rm -f conftest.$ac_objext conftest$ac_exeext
   9386 if { (ac_try="$ac_link"
   9387 case "(($ac_try" in
   9388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9389   *) ac_try_echo=$ac_try;;
   9390 esac
   9391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9392   (eval "$ac_link") 2>conftest.er1
   9393   ac_status=$?
   9394   grep -v '^ *+' conftest.er1 >conftest.err
   9395   rm -f conftest.er1
   9396   cat conftest.err >&5
   9397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9398   (exit $ac_status); } && {
   9399 	 test -z "$ac_c_werror_flag" ||
   9400 	 test ! -s conftest.err
   9401        } && test -s conftest$ac_exeext &&
   9402        $as_test_x conftest$ac_exeext; then
   9403   ac_cv_func_shl_load=yes
   9404 else
   9405   echo "$as_me: failed program was:" >&5
   9406 sed 's/^/| /' conftest.$ac_ext >&5
   9407 
   9408 	ac_cv_func_shl_load=no
   9409 fi
   9410 
   9411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9412       conftest$ac_exeext conftest.$ac_ext
   9413 fi
   9414 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9415 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9416 if test $ac_cv_func_shl_load = yes; then
   9417   lt_cv_dlopen="shl_load"
   9418 else
   9419   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9420 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9421 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9422   echo $ECHO_N "(cached) $ECHO_C" >&6
   9423 else
   9424   ac_check_lib_save_LIBS=$LIBS
   9425 LIBS="-ldld  $LIBS"
   9426 cat >conftest.$ac_ext <<_ACEOF
   9427 /* confdefs.h.  */
   9428 _ACEOF
   9429 cat confdefs.h >>conftest.$ac_ext
   9430 cat >>conftest.$ac_ext <<_ACEOF
   9431 /* end confdefs.h.  */
   9432 
   9433 /* Override any GCC internal prototype to avoid an error.
   9434    Use char because int might match the return type of a GCC
   9435    builtin and then its argument prototype would still apply.  */
   9436 #ifdef __cplusplus
   9437 extern "C"
   9438 #endif
   9439 char shl_load ();
   9440 int
   9441 main ()
   9442 {
   9443 return shl_load ();
   9444   ;
   9445   return 0;
   9446 }
   9447 _ACEOF
   9448 rm -f conftest.$ac_objext conftest$ac_exeext
   9449 if { (ac_try="$ac_link"
   9450 case "(($ac_try" in
   9451   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9452   *) ac_try_echo=$ac_try;;
   9453 esac
   9454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9455   (eval "$ac_link") 2>conftest.er1
   9456   ac_status=$?
   9457   grep -v '^ *+' conftest.er1 >conftest.err
   9458   rm -f conftest.er1
   9459   cat conftest.err >&5
   9460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9461   (exit $ac_status); } && {
   9462 	 test -z "$ac_c_werror_flag" ||
   9463 	 test ! -s conftest.err
   9464        } && test -s conftest$ac_exeext &&
   9465        $as_test_x conftest$ac_exeext; then
   9466   ac_cv_lib_dld_shl_load=yes
   9467 else
   9468   echo "$as_me: failed program was:" >&5
   9469 sed 's/^/| /' conftest.$ac_ext >&5
   9470 
   9471 	ac_cv_lib_dld_shl_load=no
   9472 fi
   9473 
   9474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9475       conftest$ac_exeext conftest.$ac_ext
   9476 LIBS=$ac_check_lib_save_LIBS
   9477 fi
   9478 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9479 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9480 if test $ac_cv_lib_dld_shl_load = yes; then
   9481   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9482 else
   9483   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9484 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9485 if test "${ac_cv_func_dlopen+set}" = set; then
   9486   echo $ECHO_N "(cached) $ECHO_C" >&6
   9487 else
   9488   cat >conftest.$ac_ext <<_ACEOF
   9489 /* confdefs.h.  */
   9490 _ACEOF
   9491 cat confdefs.h >>conftest.$ac_ext
   9492 cat >>conftest.$ac_ext <<_ACEOF
   9493 /* end confdefs.h.  */
   9494 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9495    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9496 #define dlopen innocuous_dlopen
   9497 
   9498 /* System header to define __stub macros and hopefully few prototypes,
   9499     which can conflict with char dlopen (); below.
   9500     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9501     <limits.h> exists even on freestanding compilers.  */
   9502 
   9503 #ifdef __STDC__
   9504 # include <limits.h>
   9505 #else
   9506 # include <assert.h>
   9507 #endif
   9508 
   9509 #undef dlopen
   9510 
   9511 /* Override any GCC internal prototype to avoid an error.
   9512    Use char because int might match the return type of a GCC
   9513    builtin and then its argument prototype would still apply.  */
   9514 #ifdef __cplusplus
   9515 extern "C"
   9516 #endif
   9517 char dlopen ();
   9518 /* The GNU C library defines this for functions which it implements
   9519     to always fail with ENOSYS.  Some functions are actually named
   9520     something starting with __ and the normal name is an alias.  */
   9521 #if defined __stub_dlopen || defined __stub___dlopen
   9522 choke me
   9523 #endif
   9524 
   9525 int
   9526 main ()
   9527 {
   9528 return dlopen ();
   9529   ;
   9530   return 0;
   9531 }
   9532 _ACEOF
   9533 rm -f conftest.$ac_objext conftest$ac_exeext
   9534 if { (ac_try="$ac_link"
   9535 case "(($ac_try" in
   9536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9537   *) ac_try_echo=$ac_try;;
   9538 esac
   9539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9540   (eval "$ac_link") 2>conftest.er1
   9541   ac_status=$?
   9542   grep -v '^ *+' conftest.er1 >conftest.err
   9543   rm -f conftest.er1
   9544   cat conftest.err >&5
   9545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9546   (exit $ac_status); } && {
   9547 	 test -z "$ac_c_werror_flag" ||
   9548 	 test ! -s conftest.err
   9549        } && test -s conftest$ac_exeext &&
   9550        $as_test_x conftest$ac_exeext; then
   9551   ac_cv_func_dlopen=yes
   9552 else
   9553   echo "$as_me: failed program was:" >&5
   9554 sed 's/^/| /' conftest.$ac_ext >&5
   9555 
   9556 	ac_cv_func_dlopen=no
   9557 fi
   9558 
   9559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9560       conftest$ac_exeext conftest.$ac_ext
   9561 fi
   9562 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   9563 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   9564 if test $ac_cv_func_dlopen = yes; then
   9565   lt_cv_dlopen="dlopen"
   9566 else
   9567   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9568 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9569 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9570   echo $ECHO_N "(cached) $ECHO_C" >&6
   9571 else
   9572   ac_check_lib_save_LIBS=$LIBS
   9573 LIBS="-ldl  $LIBS"
   9574 cat >conftest.$ac_ext <<_ACEOF
   9575 /* confdefs.h.  */
   9576 _ACEOF
   9577 cat confdefs.h >>conftest.$ac_ext
   9578 cat >>conftest.$ac_ext <<_ACEOF
   9579 /* end confdefs.h.  */
   9580 
   9581 /* Override any GCC internal prototype to avoid an error.
   9582    Use char because int might match the return type of a GCC
   9583    builtin and then its argument prototype would still apply.  */
   9584 #ifdef __cplusplus
   9585 extern "C"
   9586 #endif
   9587 char dlopen ();
   9588 int
   9589 main ()
   9590 {
   9591 return dlopen ();
   9592   ;
   9593   return 0;
   9594 }
   9595 _ACEOF
   9596 rm -f conftest.$ac_objext conftest$ac_exeext
   9597 if { (ac_try="$ac_link"
   9598 case "(($ac_try" in
   9599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9600   *) ac_try_echo=$ac_try;;
   9601 esac
   9602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9603   (eval "$ac_link") 2>conftest.er1
   9604   ac_status=$?
   9605   grep -v '^ *+' conftest.er1 >conftest.err
   9606   rm -f conftest.er1
   9607   cat conftest.err >&5
   9608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9609   (exit $ac_status); } && {
   9610 	 test -z "$ac_c_werror_flag" ||
   9611 	 test ! -s conftest.err
   9612        } && test -s conftest$ac_exeext &&
   9613        $as_test_x conftest$ac_exeext; then
   9614   ac_cv_lib_dl_dlopen=yes
   9615 else
   9616   echo "$as_me: failed program was:" >&5
   9617 sed 's/^/| /' conftest.$ac_ext >&5
   9618 
   9619 	ac_cv_lib_dl_dlopen=no
   9620 fi
   9621 
   9622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9623       conftest$ac_exeext conftest.$ac_ext
   9624 LIBS=$ac_check_lib_save_LIBS
   9625 fi
   9626 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9627 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9628 if test $ac_cv_lib_dl_dlopen = yes; then
   9629   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9630 else
   9631   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   9632 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   9633 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   9634   echo $ECHO_N "(cached) $ECHO_C" >&6
   9635 else
   9636   ac_check_lib_save_LIBS=$LIBS
   9637 LIBS="-lsvld  $LIBS"
   9638 cat >conftest.$ac_ext <<_ACEOF
   9639 /* confdefs.h.  */
   9640 _ACEOF
   9641 cat confdefs.h >>conftest.$ac_ext
   9642 cat >>conftest.$ac_ext <<_ACEOF
   9643 /* end confdefs.h.  */
   9644 
   9645 /* Override any GCC internal prototype to avoid an error.
   9646    Use char because int might match the return type of a GCC
   9647    builtin and then its argument prototype would still apply.  */
   9648 #ifdef __cplusplus
   9649 extern "C"
   9650 #endif
   9651 char dlopen ();
   9652 int
   9653 main ()
   9654 {
   9655 return dlopen ();
   9656   ;
   9657   return 0;
   9658 }
   9659 _ACEOF
   9660 rm -f conftest.$ac_objext conftest$ac_exeext
   9661 if { (ac_try="$ac_link"
   9662 case "(($ac_try" in
   9663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9664   *) ac_try_echo=$ac_try;;
   9665 esac
   9666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9667   (eval "$ac_link") 2>conftest.er1
   9668   ac_status=$?
   9669   grep -v '^ *+' conftest.er1 >conftest.err
   9670   rm -f conftest.er1
   9671   cat conftest.err >&5
   9672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9673   (exit $ac_status); } && {
   9674 	 test -z "$ac_c_werror_flag" ||
   9675 	 test ! -s conftest.err
   9676        } && test -s conftest$ac_exeext &&
   9677        $as_test_x conftest$ac_exeext; then
   9678   ac_cv_lib_svld_dlopen=yes
   9679 else
   9680   echo "$as_me: failed program was:" >&5
   9681 sed 's/^/| /' conftest.$ac_ext >&5
   9682 
   9683 	ac_cv_lib_svld_dlopen=no
   9684 fi
   9685 
   9686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9687       conftest$ac_exeext conftest.$ac_ext
   9688 LIBS=$ac_check_lib_save_LIBS
   9689 fi
   9690 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   9691 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   9692 if test $ac_cv_lib_svld_dlopen = yes; then
   9693   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   9694 else
   9695   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   9696 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   9697 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   9698   echo $ECHO_N "(cached) $ECHO_C" >&6
   9699 else
   9700   ac_check_lib_save_LIBS=$LIBS
   9701 LIBS="-ldld  $LIBS"
   9702 cat >conftest.$ac_ext <<_ACEOF
   9703 /* confdefs.h.  */
   9704 _ACEOF
   9705 cat confdefs.h >>conftest.$ac_ext
   9706 cat >>conftest.$ac_ext <<_ACEOF
   9707 /* end confdefs.h.  */
   9708 
   9709 /* Override any GCC internal prototype to avoid an error.
   9710    Use char because int might match the return type of a GCC
   9711    builtin and then its argument prototype would still apply.  */
   9712 #ifdef __cplusplus
   9713 extern "C"
   9714 #endif
   9715 char dld_link ();
   9716 int
   9717 main ()
   9718 {
   9719 return dld_link ();
   9720   ;
   9721   return 0;
   9722 }
   9723 _ACEOF
   9724 rm -f conftest.$ac_objext conftest$ac_exeext
   9725 if { (ac_try="$ac_link"
   9726 case "(($ac_try" in
   9727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9728   *) ac_try_echo=$ac_try;;
   9729 esac
   9730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9731   (eval "$ac_link") 2>conftest.er1
   9732   ac_status=$?
   9733   grep -v '^ *+' conftest.er1 >conftest.err
   9734   rm -f conftest.er1
   9735   cat conftest.err >&5
   9736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9737   (exit $ac_status); } && {
   9738 	 test -z "$ac_c_werror_flag" ||
   9739 	 test ! -s conftest.err
   9740        } && test -s conftest$ac_exeext &&
   9741        $as_test_x conftest$ac_exeext; then
   9742   ac_cv_lib_dld_dld_link=yes
   9743 else
   9744   echo "$as_me: failed program was:" >&5
   9745 sed 's/^/| /' conftest.$ac_ext >&5
   9746 
   9747 	ac_cv_lib_dld_dld_link=no
   9748 fi
   9749 
   9750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9751       conftest$ac_exeext conftest.$ac_ext
   9752 LIBS=$ac_check_lib_save_LIBS
   9753 fi
   9754 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   9755 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   9756 if test $ac_cv_lib_dld_dld_link = yes; then
   9757   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   9758 fi
   9759 
   9760 
   9761 fi
   9762 
   9763 
   9764 fi
   9765 
   9766 
   9767 fi
   9768 
   9769 
   9770 fi
   9771 
   9772 
   9773 fi
   9774 
   9775     ;;
   9776   esac
   9777 
   9778   if test "x$lt_cv_dlopen" != xno; then
   9779     enable_dlopen=yes
   9780   else
   9781     enable_dlopen=no
   9782   fi
   9783 
   9784   case $lt_cv_dlopen in
   9785   dlopen)
   9786     save_CPPFLAGS="$CPPFLAGS"
   9787     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   9788 
   9789     save_LDFLAGS="$LDFLAGS"
   9790     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   9791 
   9792     save_LIBS="$LIBS"
   9793     LIBS="$lt_cv_dlopen_libs $LIBS"
   9794 
   9795     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   9796 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   9797 if test "${lt_cv_dlopen_self+set}" = set; then
   9798   echo $ECHO_N "(cached) $ECHO_C" >&6
   9799 else
   9800   	  if test "$cross_compiling" = yes; then :
   9801   lt_cv_dlopen_self=cross
   9802 else
   9803   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9804   lt_status=$lt_dlunknown
   9805   cat > conftest.$ac_ext <<EOF
   9806 #line 9806 "configure"
   9807 #include "confdefs.h"
   9808 
   9809 #if HAVE_DLFCN_H
   9810 #include <dlfcn.h>
   9811 #endif
   9812 
   9813 #include <stdio.h>
   9814 
   9815 #ifdef RTLD_GLOBAL
   9816 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9817 #else
   9818 #  ifdef DL_GLOBAL
   9819 #    define LT_DLGLOBAL		DL_GLOBAL
   9820 #  else
   9821 #    define LT_DLGLOBAL		0
   9822 #  endif
   9823 #endif
   9824 
   9825 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9826    find out it does not work in some platform. */
   9827 #ifndef LT_DLLAZY_OR_NOW
   9828 #  ifdef RTLD_LAZY
   9829 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9830 #  else
   9831 #    ifdef DL_LAZY
   9832 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9833 #    else
   9834 #      ifdef RTLD_NOW
   9835 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9836 #      else
   9837 #        ifdef DL_NOW
   9838 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9839 #        else
   9840 #          define LT_DLLAZY_OR_NOW	0
   9841 #        endif
   9842 #      endif
   9843 #    endif
   9844 #  endif
   9845 #endif
   9846 
   9847 #ifdef __cplusplus
   9848 extern "C" void exit (int);
   9849 #endif
   9850 
   9851 void fnord() { int i=42;}
   9852 int main ()
   9853 {
   9854   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9855   int status = $lt_dlunknown;
   9856 
   9857   if (self)
   9858     {
   9859       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9860       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9861       /* dlclose (self); */
   9862     }
   9863   else
   9864     puts (dlerror ());
   9865 
   9866     exit (status);
   9867 }
   9868 EOF
   9869   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9870   (eval $ac_link) 2>&5
   9871   ac_status=$?
   9872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9873   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9874     (./conftest; exit; ) >&5 2>/dev/null
   9875     lt_status=$?
   9876     case x$lt_status in
   9877       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   9878       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   9879       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   9880     esac
   9881   else :
   9882     # compilation failed
   9883     lt_cv_dlopen_self=no
   9884   fi
   9885 fi
   9886 rm -fr conftest*
   9887 
   9888 
   9889 fi
   9890 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   9891 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   9892 
   9893     if test "x$lt_cv_dlopen_self" = xyes; then
   9894       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   9895       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   9896 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   9897 if test "${lt_cv_dlopen_self_static+set}" = set; then
   9898   echo $ECHO_N "(cached) $ECHO_C" >&6
   9899 else
   9900   	  if test "$cross_compiling" = yes; then :
   9901   lt_cv_dlopen_self_static=cross
   9902 else
   9903   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9904   lt_status=$lt_dlunknown
   9905   cat > conftest.$ac_ext <<EOF
   9906 #line 9906 "configure"
   9907 #include "confdefs.h"
   9908 
   9909 #if HAVE_DLFCN_H
   9910 #include <dlfcn.h>
   9911 #endif
   9912 
   9913 #include <stdio.h>
   9914 
   9915 #ifdef RTLD_GLOBAL
   9916 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9917 #else
   9918 #  ifdef DL_GLOBAL
   9919 #    define LT_DLGLOBAL		DL_GLOBAL
   9920 #  else
   9921 #    define LT_DLGLOBAL		0
   9922 #  endif
   9923 #endif
   9924 
   9925 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9926    find out it does not work in some platform. */
   9927 #ifndef LT_DLLAZY_OR_NOW
   9928 #  ifdef RTLD_LAZY
   9929 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9930 #  else
   9931 #    ifdef DL_LAZY
   9932 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9933 #    else
   9934 #      ifdef RTLD_NOW
   9935 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9936 #      else
   9937 #        ifdef DL_NOW
   9938 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9939 #        else
   9940 #          define LT_DLLAZY_OR_NOW	0
   9941 #        endif
   9942 #      endif
   9943 #    endif
   9944 #  endif
   9945 #endif
   9946 
   9947 #ifdef __cplusplus
   9948 extern "C" void exit (int);
   9949 #endif
   9950 
   9951 void fnord() { int i=42;}
   9952 int main ()
   9953 {
   9954   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9955   int status = $lt_dlunknown;
   9956 
   9957   if (self)
   9958     {
   9959       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9960       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9961       /* dlclose (self); */
   9962     }
   9963   else
   9964     puts (dlerror ());
   9965 
   9966     exit (status);
   9967 }
   9968 EOF
   9969   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9970   (eval $ac_link) 2>&5
   9971   ac_status=$?
   9972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9973   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9974     (./conftest; exit; ) >&5 2>/dev/null
   9975     lt_status=$?
   9976     case x$lt_status in
   9977       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   9978       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   9979       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   9980     esac
   9981   else :
   9982     # compilation failed
   9983     lt_cv_dlopen_self_static=no
   9984   fi
   9985 fi
   9986 rm -fr conftest*
   9987 
   9988 
   9989 fi
   9990 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   9991 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   9992     fi
   9993 
   9994     CPPFLAGS="$save_CPPFLAGS"
   9995     LDFLAGS="$save_LDFLAGS"
   9996     LIBS="$save_LIBS"
   9997     ;;
   9998   esac
   9999 
   10000   case $lt_cv_dlopen_self in
   10001   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10002   *) enable_dlopen_self=unknown ;;
   10003   esac
   10004 
   10005   case $lt_cv_dlopen_self_static in
   10006   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10007   *) enable_dlopen_self_static=unknown ;;
   10008   esac
   10009 fi
   10010 
   10011 
   10012 # Report which library types will actually be built
   10013 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10014 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   10015 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10016 echo "${ECHO_T}$can_build_shared" >&6; }
   10017 
   10018 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10019 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   10020 test "$can_build_shared" = "no" && enable_shared=no
   10021 
   10022 # On AIX, shared libraries and static libraries use the same namespace, and
   10023 # are all built from PIC.
   10024 case $host_os in
   10025 aix3*)
   10026   test "$enable_shared" = yes && enable_static=no
   10027   if test -n "$RANLIB"; then
   10028     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10029     postinstall_cmds='$RANLIB $lib'
   10030   fi
   10031   ;;
   10032 
   10033 aix4* | aix5*)
   10034   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10035     test "$enable_shared" = yes && enable_static=no
   10036   fi
   10037     ;;
   10038 esac
   10039 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10040 echo "${ECHO_T}$enable_shared" >&6; }
   10041 
   10042 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10043 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10044 # Make sure either enable_shared or enable_static is yes.
   10045 test "$enable_shared" = yes || enable_static=yes
   10046 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10047 echo "${ECHO_T}$enable_static" >&6; }
   10048 
   10049 # The else clause should only fire when bootstrapping the
   10050 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10051 # with your package, and you will get complaints that there are
   10052 # no rules to generate ltmain.sh.
   10053 if test -f "$ltmain"; then
   10054   # See if we are running on zsh, and set the options which allow our commands through
   10055   # without removal of \ escapes.
   10056   if test -n "${ZSH_VERSION+set}" ; then
   10057     setopt NO_GLOB_SUBST
   10058   fi
   10059   # Now quote all the things that may contain metacharacters while being
   10060   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10061   # variables and quote the copies for generation of the libtool script.
   10062   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10063     SED SHELL STRIP \
   10064     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10065     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10066     deplibs_check_method reload_flag reload_cmds need_locks \
   10067     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10068     lt_cv_sys_global_symbol_to_c_name_address \
   10069     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10070     old_postinstall_cmds old_postuninstall_cmds \
   10071     compiler \
   10072     CC \
   10073     LD \
   10074     lt_prog_compiler_wl \
   10075     lt_prog_compiler_pic \
   10076     lt_prog_compiler_static \
   10077     lt_prog_compiler_no_builtin_flag \
   10078     export_dynamic_flag_spec \
   10079     thread_safe_flag_spec \
   10080     whole_archive_flag_spec \
   10081     enable_shared_with_static_runtimes \
   10082     old_archive_cmds \
   10083     old_archive_from_new_cmds \
   10084     predep_objects \
   10085     postdep_objects \
   10086     predeps \
   10087     postdeps \
   10088     compiler_lib_search_path \
   10089     archive_cmds \
   10090     archive_expsym_cmds \
   10091     postinstall_cmds \
   10092     postuninstall_cmds \
   10093     old_archive_from_expsyms_cmds \
   10094     allow_undefined_flag \
   10095     no_undefined_flag \
   10096     export_symbols_cmds \
   10097     hardcode_libdir_flag_spec \
   10098     hardcode_libdir_flag_spec_ld \
   10099     hardcode_libdir_separator \
   10100     hardcode_automatic \
   10101     module_cmds \
   10102     module_expsym_cmds \
   10103     lt_cv_prog_compiler_c_o \
   10104     exclude_expsyms \
   10105     include_expsyms; do
   10106 
   10107     case $var in
   10108     old_archive_cmds | \
   10109     old_archive_from_new_cmds | \
   10110     archive_cmds | \
   10111     archive_expsym_cmds | \
   10112     module_cmds | \
   10113     module_expsym_cmds | \
   10114     old_archive_from_expsyms_cmds | \
   10115     export_symbols_cmds | \
   10116     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10117     postinstall_cmds | postuninstall_cmds | \
   10118     old_postinstall_cmds | old_postuninstall_cmds | \
   10119     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10120       # Double-quote double-evaled strings.
   10121       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10122       ;;
   10123     *)
   10124       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10125       ;;
   10126     esac
   10127   done
   10128 
   10129   case $lt_echo in
   10130   *'\$0 --fallback-echo"')
   10131     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10132     ;;
   10133   esac
   10134 
   10135 cfgfile="${ofile}T"
   10136   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10137   $rm -f "$cfgfile"
   10138   { echo "$as_me:$LINENO: creating $ofile" >&5
   10139 echo "$as_me: creating $ofile" >&6;}
   10140 
   10141   cat <<__EOF__ >> "$cfgfile"
   10142 #! $SHELL
   10143 
   10144 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10145 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10146 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10147 #
   10148 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   10149 # Free Software Foundation, Inc.
   10150 #
   10151 # This file is part of GNU Libtool:
   10152 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10153 #
   10154 # This program is free software; you can redistribute it and/or modify
   10155 # it under the terms of the GNU General Public License as published by
   10156 # the Free Software Foundation; either version 2 of the License, or
   10157 # (at your option) any later version.
   10158 #
   10159 # This program is distributed in the hope that it will be useful, but
   10160 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10161 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10162 # General Public License for more details.
   10163 #
   10164 # You should have received a copy of the GNU General Public License
   10165 # along with this program; if not, write to the Free Software
   10166 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10167 #
   10168 # As a special exception to the GNU General Public License, if you
   10169 # distribute this file as part of a program that contains a
   10170 # configuration script generated by Autoconf, you may include it under
   10171 # the same distribution terms that you use for the rest of that program.
   10172 
   10173 # A sed program that does not truncate output.
   10174 SED=$lt_SED
   10175 
   10176 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10177 Xsed="$SED -e 1s/^X//"
   10178 
   10179 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10180 # if CDPATH is set.
   10181 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10182 
   10183 # The names of the tagged configurations supported by this script.
   10184 available_tags=
   10185 
   10186 # ### BEGIN LIBTOOL CONFIG
   10187 
   10188 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10189 
   10190 # Shell to use when invoking shell scripts.
   10191 SHELL=$lt_SHELL
   10192 
   10193 # Whether or not to build shared libraries.
   10194 build_libtool_libs=$enable_shared
   10195 
   10196 # Whether or not to build static libraries.
   10197 build_old_libs=$enable_static
   10198 
   10199 # Whether or not to add -lc for building shared libraries.
   10200 build_libtool_need_lc=$archive_cmds_need_lc
   10201 
   10202 # Whether or not to disallow shared libs when runtime libs are static
   10203 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10204 
   10205 # Whether or not to optimize for fast installation.
   10206 fast_install=$enable_fast_install
   10207 
   10208 # The host system.
   10209 host_alias=$host_alias
   10210 host=$host
   10211 host_os=$host_os
   10212 
   10213 # The build system.
   10214 build_alias=$build_alias
   10215 build=$build
   10216 build_os=$build_os
   10217 
   10218 # An echo program that does not interpret backslashes.
   10219 echo=$lt_echo
   10220 
   10221 # The archiver.
   10222 AR=$lt_AR
   10223 AR_FLAGS=$lt_AR_FLAGS
   10224 
   10225 # A C compiler.
   10226 LTCC=$lt_LTCC
   10227 
   10228 # LTCC compiler flags.
   10229 LTCFLAGS=$lt_LTCFLAGS
   10230 
   10231 # A language-specific compiler.
   10232 CC=$lt_compiler
   10233 
   10234 # Is the compiler the GNU C compiler?
   10235 with_gcc=$GCC
   10236 
   10237 # An ERE matcher.
   10238 EGREP=$lt_EGREP
   10239 
   10240 # The linker used to build libraries.
   10241 LD=$lt_LD
   10242 
   10243 # Whether we need hard or soft links.
   10244 LN_S=$lt_LN_S
   10245 
   10246 # A BSD-compatible nm program.
   10247 NM=$lt_NM
   10248 
   10249 # A symbol stripping program
   10250 STRIP=$lt_STRIP
   10251 
   10252 # Used to examine libraries when file_magic_cmd begins "file"
   10253 MAGIC_CMD=$MAGIC_CMD
   10254 
   10255 # Used on cygwin: DLL creation program.
   10256 DLLTOOL="$DLLTOOL"
   10257 
   10258 # Used on cygwin: object dumper.
   10259 OBJDUMP="$OBJDUMP"
   10260 
   10261 # Used on cygwin: assembler.
   10262 AS="$AS"
   10263 
   10264 # The name of the directory that contains temporary libtool files.
   10265 objdir=$objdir
   10266 
   10267 # How to create reloadable object files.
   10268 reload_flag=$lt_reload_flag
   10269 reload_cmds=$lt_reload_cmds
   10270 
   10271 # How to pass a linker flag through the compiler.
   10272 wl=$lt_lt_prog_compiler_wl
   10273 
   10274 # Object file suffix (normally "o").
   10275 objext="$ac_objext"
   10276 
   10277 # Old archive suffix (normally "a").
   10278 libext="$libext"
   10279 
   10280 # Shared library suffix (normally ".so").
   10281 shrext_cmds='$shrext_cmds'
   10282 
   10283 # Executable file suffix (normally "").
   10284 exeext="$exeext"
   10285 
   10286 # Additional compiler flags for building library objects.
   10287 pic_flag=$lt_lt_prog_compiler_pic
   10288 pic_mode=$pic_mode
   10289 
   10290 # What is the maximum length of a command?
   10291 max_cmd_len=$lt_cv_sys_max_cmd_len
   10292 
   10293 # Does compiler simultaneously support -c and -o options?
   10294 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10295 
   10296 # Must we lock files when doing compilation?
   10297 need_locks=$lt_need_locks
   10298 
   10299 # Do we need the lib prefix for modules?
   10300 need_lib_prefix=$need_lib_prefix
   10301 
   10302 # Do we need a version for libraries?
   10303 need_version=$need_version
   10304 
   10305 # Whether dlopen is supported.
   10306 dlopen_support=$enable_dlopen
   10307 
   10308 # Whether dlopen of programs is supported.
   10309 dlopen_self=$enable_dlopen_self
   10310 
   10311 # Whether dlopen of statically linked programs is supported.
   10312 dlopen_self_static=$enable_dlopen_self_static
   10313 
   10314 # Compiler flag to prevent dynamic linking.
   10315 link_static_flag=$lt_lt_prog_compiler_static
   10316 
   10317 # Compiler flag to turn off builtin functions.
   10318 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10319 
   10320 # Compiler flag to allow reflexive dlopens.
   10321 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10322 
   10323 # Compiler flag to generate shared objects directly from archives.
   10324 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10325 
   10326 # Compiler flag to generate thread-safe objects.
   10327 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10328 
   10329 # Library versioning type.
   10330 version_type=$version_type
   10331 
   10332 # Format of library name prefix.
   10333 libname_spec=$lt_libname_spec
   10334 
   10335 # List of archive names.  First name is the real one, the rest are links.
   10336 # The last name is the one that the linker finds with -lNAME.
   10337 library_names_spec=$lt_library_names_spec
   10338 
   10339 # The coded name of the library, if different from the real name.
   10340 soname_spec=$lt_soname_spec
   10341 
   10342 # Commands used to build and install an old-style archive.
   10343 RANLIB=$lt_RANLIB
   10344 old_archive_cmds=$lt_old_archive_cmds
   10345 old_postinstall_cmds=$lt_old_postinstall_cmds
   10346 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10347 
   10348 # Create an old-style archive from a shared archive.
   10349 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10350 
   10351 # Create a temporary old-style archive to link instead of a shared archive.
   10352 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10353 
   10354 # Commands used to build and install a shared archive.
   10355 archive_cmds=$lt_archive_cmds
   10356 archive_expsym_cmds=$lt_archive_expsym_cmds
   10357 postinstall_cmds=$lt_postinstall_cmds
   10358 postuninstall_cmds=$lt_postuninstall_cmds
   10359 
   10360 # Commands used to build a loadable module (assumed same as above if empty)
   10361 module_cmds=$lt_module_cmds
   10362 module_expsym_cmds=$lt_module_expsym_cmds
   10363 
   10364 # Commands to strip libraries.
   10365 old_striplib=$lt_old_striplib
   10366 striplib=$lt_striplib
   10367 
   10368 # Dependencies to place before the objects being linked to create a
   10369 # shared library.
   10370 predep_objects=$lt_predep_objects
   10371 
   10372 # Dependencies to place after the objects being linked to create a
   10373 # shared library.
   10374 postdep_objects=$lt_postdep_objects
   10375 
   10376 # Dependencies to place before the objects being linked to create a
   10377 # shared library.
   10378 predeps=$lt_predeps
   10379 
   10380 # Dependencies to place after the objects being linked to create a
   10381 # shared library.
   10382 postdeps=$lt_postdeps
   10383 
   10384 # The library search path used internally by the compiler when linking
   10385 # a shared library.
   10386 compiler_lib_search_path=$lt_compiler_lib_search_path
   10387 
   10388 # Method to check whether dependent libraries are shared objects.
   10389 deplibs_check_method=$lt_deplibs_check_method
   10390 
   10391 # Command to use when deplibs_check_method == file_magic.
   10392 file_magic_cmd=$lt_file_magic_cmd
   10393 
   10394 # Flag that allows shared libraries with undefined symbols to be built.
   10395 allow_undefined_flag=$lt_allow_undefined_flag
   10396 
   10397 # Flag that forces no undefined symbols.
   10398 no_undefined_flag=$lt_no_undefined_flag
   10399 
   10400 # Commands used to finish a libtool library installation in a directory.
   10401 finish_cmds=$lt_finish_cmds
   10402 
   10403 # Same as above, but a single script fragment to be evaled but not shown.
   10404 finish_eval=$lt_finish_eval
   10405 
   10406 # Take the output of nm and produce a listing of raw symbols and C names.
   10407 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10408 
   10409 # Transform the output of nm in a proper C declaration
   10410 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10411 
   10412 # Transform the output of nm in a C name address pair
   10413 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10414 
   10415 # This is the shared library runtime path variable.
   10416 runpath_var=$runpath_var
   10417 
   10418 # This is the shared library path variable.
   10419 shlibpath_var=$shlibpath_var
   10420 
   10421 # Is shlibpath searched before the hard-coded library search path?
   10422 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10423 
   10424 # How to hardcode a shared library path into an executable.
   10425 hardcode_action=$hardcode_action
   10426 
   10427 # Whether we should hardcode library paths into libraries.
   10428 hardcode_into_libs=$hardcode_into_libs
   10429 
   10430 # Flag to hardcode \$libdir into a binary during linking.
   10431 # This must work even if \$libdir does not exist.
   10432 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10433 
   10434 # If ld is used when linking, flag to hardcode \$libdir into
   10435 # a binary during linking. This must work even if \$libdir does
   10436 # not exist.
   10437 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10438 
   10439 # Whether we need a single -rpath flag with a separated argument.
   10440 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10441 
   10442 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10443 # resulting binary.
   10444 hardcode_direct=$hardcode_direct
   10445 
   10446 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10447 # resulting binary.
   10448 hardcode_minus_L=$hardcode_minus_L
   10449 
   10450 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10451 # the resulting binary.
   10452 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10453 
   10454 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10455 # and all subsequent libraries and executables linked against it.
   10456 hardcode_automatic=$hardcode_automatic
   10457 
   10458 # Variables whose values should be saved in libtool wrapper scripts and
   10459 # restored at relink time.
   10460 variables_saved_for_relink="$variables_saved_for_relink"
   10461 
   10462 # Whether libtool must link a program against all its dependency libraries.
   10463 link_all_deplibs=$link_all_deplibs
   10464 
   10465 # Compile-time system search path for libraries
   10466 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10467 
   10468 # Run-time system search path for libraries
   10469 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10470 
   10471 # Fix the shell variable \$srcfile for the compiler.
   10472 fix_srcfile_path="$fix_srcfile_path"
   10473 
   10474 # Set to yes if exported symbols are required.
   10475 always_export_symbols=$always_export_symbols
   10476 
   10477 # The commands to list exported symbols.
   10478 export_symbols_cmds=$lt_export_symbols_cmds
   10479 
   10480 # The commands to extract the exported symbol list from a shared archive.
   10481 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10482 
   10483 # Symbols that should not be listed in the preloaded symbols.
   10484 exclude_expsyms=$lt_exclude_expsyms
   10485 
   10486 # Symbols that must always be exported.
   10487 include_expsyms=$lt_include_expsyms
   10488 
   10489 # ### END LIBTOOL CONFIG
   10490 
   10491 __EOF__
   10492 
   10493 
   10494   case $host_os in
   10495   aix3*)
   10496     cat <<\EOF >> "$cfgfile"
   10497 
   10498 # AIX sometimes has problems with the GCC collect2 program.  For some
   10499 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10500 # vanish in a puff of smoke.
   10501 if test "X${COLLECT_NAMES+set}" != Xset; then
   10502   COLLECT_NAMES=
   10503   export COLLECT_NAMES
   10504 fi
   10505 EOF
   10506     ;;
   10507   esac
   10508 
   10509   # We use sed instead of cat because bash on DJGPP gets confused if
   10510   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10511   # text mode, it properly converts lines to CR/LF.  This bash problem
   10512   # is reportedly fixed, but why not run on old versions too?
   10513   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10514 
   10515   mv -f "$cfgfile" "$ofile" || \
   10516     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10517   chmod +x "$ofile"
   10518 
   10519 else
   10520   # If there is no Makefile yet, we rely on a make rule to execute
   10521   # `config.status --recheck' to rerun these tests and create the
   10522   # libtool script then.
   10523   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10524   if test -f "$ltmain_in"; then
   10525     test -f Makefile && make "$ltmain"
   10526   fi
   10527 fi
   10528 
   10529 
   10530 ac_ext=c
   10531 ac_cpp='$CPP $CPPFLAGS'
   10532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10535 
   10536 CC="$lt_save_CC"
   10537 
   10538 
   10539 # Check whether --with-tags was given.
   10540 if test "${with_tags+set}" = set; then
   10541   withval=$with_tags; tagnames="$withval"
   10542 fi
   10543 
   10544 
   10545 if test -f "$ltmain" && test -n "$tagnames"; then
   10546   if test ! -f "${ofile}"; then
   10547     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10548 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10549   fi
   10550 
   10551   if test -z "$LTCC"; then
   10552     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10553     if test -z "$LTCC"; then
   10554       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10555 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   10556     else
   10557       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   10558 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   10559     fi
   10560   fi
   10561   if test -z "$LTCFLAGS"; then
   10562     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   10563   fi
   10564 
   10565   # Extract list of available tagged configurations in $ofile.
   10566   # Note that this assumes the entire list is on one line.
   10567   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   10568 
   10569   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10570   for tagname in $tagnames; do
   10571     IFS="$lt_save_ifs"
   10572     # Check whether tagname contains only valid characters
   10573     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   10574     "") ;;
   10575     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   10576 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   10577    { (exit 1); exit 1; }; }
   10578 	;;
   10579     esac
   10580 
   10581     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   10582     then
   10583       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   10584 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   10585    { (exit 1); exit 1; }; }
   10586     fi
   10587 
   10588     # Update the list of available tags.
   10589     if test -n "$tagname"; then
   10590       echo appending configuration tag \"$tagname\" to $ofile
   10591 
   10592       case $tagname in
   10593       CXX)
   10594 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   10595 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   10596 	    (test "X$CXX" != "Xg++"))) ; then
   10597 	  ac_ext=cpp
   10598 ac_cpp='$CXXCPP $CPPFLAGS'
   10599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   10602 
   10603 
   10604 
   10605 
   10606 archive_cmds_need_lc_CXX=no
   10607 allow_undefined_flag_CXX=
   10608 always_export_symbols_CXX=no
   10609 archive_expsym_cmds_CXX=
   10610 export_dynamic_flag_spec_CXX=
   10611 hardcode_direct_CXX=no
   10612 hardcode_libdir_flag_spec_CXX=
   10613 hardcode_libdir_flag_spec_ld_CXX=
   10614 hardcode_libdir_separator_CXX=
   10615 hardcode_minus_L_CXX=no
   10616 hardcode_shlibpath_var_CXX=unsupported
   10617 hardcode_automatic_CXX=no
   10618 module_cmds_CXX=
   10619 module_expsym_cmds_CXX=
   10620 link_all_deplibs_CXX=unknown
   10621 old_archive_cmds_CXX=$old_archive_cmds
   10622 no_undefined_flag_CXX=
   10623 whole_archive_flag_spec_CXX=
   10624 enable_shared_with_static_runtimes_CXX=no
   10625 
   10626 # Dependencies to place before and after the object being linked:
   10627 predep_objects_CXX=
   10628 postdep_objects_CXX=
   10629 predeps_CXX=
   10630 postdeps_CXX=
   10631 compiler_lib_search_path_CXX=
   10632 
   10633 # Source file extension for C++ test sources.
   10634 ac_ext=cpp
   10635 
   10636 # Object file extension for compiled C++ test sources.
   10637 objext=o
   10638 objext_CXX=$objext
   10639 
   10640 # Code to be used in simple compile tests
   10641 lt_simple_compile_test_code="int some_variable = 0;\n"
   10642 
   10643 # Code to be used in simple link tests
   10644 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   10645 
   10646 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   10647 
   10648 # If no C compiler was specified, use CC.
   10649 LTCC=${LTCC-"$CC"}
   10650 
   10651 # If no C compiler flags were specified, use CFLAGS.
   10652 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10653 
   10654 # Allow CC to be a program name with arguments.
   10655 compiler=$CC
   10656 
   10657 
   10658 # save warnings/boilerplate of simple test code
   10659 ac_outfile=conftest.$ac_objext
   10660 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   10661 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10662 _lt_compiler_boilerplate=`cat conftest.err`
   10663 $rm conftest*
   10664 
   10665 ac_outfile=conftest.$ac_objext
   10666 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   10667 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10668 _lt_linker_boilerplate=`cat conftest.err`
   10669 $rm conftest*
   10670 
   10671 
   10672 # Allow CC to be a program name with arguments.
   10673 lt_save_CC=$CC
   10674 lt_save_LD=$LD
   10675 lt_save_GCC=$GCC
   10676 GCC=$GXX
   10677 lt_save_with_gnu_ld=$with_gnu_ld
   10678 lt_save_path_LD=$lt_cv_path_LD
   10679 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   10680   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   10681 else
   10682   $as_unset lt_cv_prog_gnu_ld
   10683 fi
   10684 if test -n "${lt_cv_path_LDCXX+set}"; then
   10685   lt_cv_path_LD=$lt_cv_path_LDCXX
   10686 else
   10687   $as_unset lt_cv_path_LD
   10688 fi
   10689 test -z "${LDCXX+set}" || LD=$LDCXX
   10690 CC=${CXX-"c++"}
   10691 compiler=$CC
   10692 compiler_CXX=$CC
   10693 for cc_temp in $compiler""; do
   10694   case $cc_temp in
   10695     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10696     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10697     \-*) ;;
   10698     *) break;;
   10699   esac
   10700 done
   10701 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10702 
   10703 
   10704 # We don't want -fno-exception wen compiling C++ code, so set the
   10705 # no_builtin_flag separately
   10706 if test "$GXX" = yes; then
   10707   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   10708 else
   10709   lt_prog_compiler_no_builtin_flag_CXX=
   10710 fi
   10711 
   10712 if test "$GXX" = yes; then
   10713   # Set up default GNU C++ configuration
   10714 
   10715 
   10716 # Check whether --with-gnu-ld was given.
   10717 if test "${with_gnu_ld+set}" = set; then
   10718   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10719 else
   10720   with_gnu_ld=no
   10721 fi
   10722 
   10723 ac_prog=ld
   10724 if test "$GCC" = yes; then
   10725   # Check if gcc -print-prog-name=ld gives a path.
   10726   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   10727 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   10728   case $host in
   10729   *-*-mingw*)
   10730     # gcc leaves a trailing carriage return which upsets mingw
   10731     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10732   *)
   10733     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10734   esac
   10735   case $ac_prog in
   10736     # Accept absolute paths.
   10737     [\\/]* | ?:[\\/]*)
   10738       re_direlt='/[^/][^/]*/\.\./'
   10739       # Canonicalize the pathname of ld
   10740       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   10741       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10742 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   10743       done
   10744       test -z "$LD" && LD="$ac_prog"
   10745       ;;
   10746   "")
   10747     # If it fails, then pretend we aren't using GCC.
   10748     ac_prog=ld
   10749     ;;
   10750   *)
   10751     # If it is relative, then search for the first ld in PATH.
   10752     with_gnu_ld=unknown
   10753     ;;
   10754   esac
   10755 elif test "$with_gnu_ld" = yes; then
   10756   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   10757 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   10758 else
   10759   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10760 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   10761 fi
   10762 if test "${lt_cv_path_LD+set}" = set; then
   10763   echo $ECHO_N "(cached) $ECHO_C" >&6
   10764 else
   10765   if test -z "$LD"; then
   10766   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10767   for ac_dir in $PATH; do
   10768     IFS="$lt_save_ifs"
   10769     test -z "$ac_dir" && ac_dir=.
   10770     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10771       lt_cv_path_LD="$ac_dir/$ac_prog"
   10772       # Check to see if the program is GNU ld.  I'd rather use --version,
   10773       # but apparently some variants of GNU ld only accept -v.
   10774       # Break only if it was the GNU/non-GNU ld that we prefer.
   10775       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10776       *GNU* | *'with BFD'*)
   10777 	test "$with_gnu_ld" != no && break
   10778 	;;
   10779       *)
   10780 	test "$with_gnu_ld" != yes && break
   10781 	;;
   10782       esac
   10783     fi
   10784   done
   10785   IFS="$lt_save_ifs"
   10786 else
   10787   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10788 fi
   10789 fi
   10790 
   10791 LD="$lt_cv_path_LD"
   10792 if test -n "$LD"; then
   10793   { echo "$as_me:$LINENO: result: $LD" >&5
   10794 echo "${ECHO_T}$LD" >&6; }
   10795 else
   10796   { echo "$as_me:$LINENO: result: no" >&5
   10797 echo "${ECHO_T}no" >&6; }
   10798 fi
   10799 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10800 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10801    { (exit 1); exit 1; }; }
   10802 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10803 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   10804 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   10805   echo $ECHO_N "(cached) $ECHO_C" >&6
   10806 else
   10807   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10808 case `$LD -v 2>&1 </dev/null` in
   10809 *GNU* | *'with BFD'*)
   10810   lt_cv_prog_gnu_ld=yes
   10811   ;;
   10812 *)
   10813   lt_cv_prog_gnu_ld=no
   10814   ;;
   10815 esac
   10816 fi
   10817 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   10818 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   10819 with_gnu_ld=$lt_cv_prog_gnu_ld
   10820 
   10821 
   10822 
   10823   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   10824   # archiving commands below assume that GNU ld is being used.
   10825   if test "$with_gnu_ld" = yes; then
   10826     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10827     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'
   10828 
   10829     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10830     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10831 
   10832     # If archive_cmds runs LD, not CC, wlarc should be empty
   10833     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   10834     #     investigate it a little bit more. (MM)
   10835     wlarc='${wl}'
   10836 
   10837     # ancient GNU ld didn't support --whole-archive et. al.
   10838     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   10839 	grep 'no-whole-archive' > /dev/null; then
   10840       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10841     else
   10842       whole_archive_flag_spec_CXX=
   10843     fi
   10844   else
   10845     with_gnu_ld=no
   10846     wlarc=
   10847 
   10848     # A generic and very simple default shared library creation
   10849     # command for GNU C++ for the case where it uses the native
   10850     # linker, instead of GNU ld.  If possible, this setting should
   10851     # overridden to take advantage of the native linker features on
   10852     # the platform it is being used on.
   10853     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10854   fi
   10855 
   10856   # Commands to make compiler produce verbose output that lists
   10857   # what "hidden" libraries, object files and flags are used when
   10858   # linking a shared library.
   10859   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10860 
   10861 else
   10862   GXX=no
   10863   with_gnu_ld=no
   10864   wlarc=
   10865 fi
   10866 
   10867 # PORTME: fill in a description of your system's C++ link characteristics
   10868 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10869 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   10870 ld_shlibs_CXX=yes
   10871 case $host_os in
   10872   aix3*)
   10873     # FIXME: insert proper C++ library support
   10874     ld_shlibs_CXX=no
   10875     ;;
   10876   aix4* | aix5*)
   10877     if test "$host_cpu" = ia64; then
   10878       # On IA64, the linker does run time linking by default, so we don't
   10879       # have to do anything special.
   10880       aix_use_runtimelinking=no
   10881       exp_sym_flag='-Bexport'
   10882       no_entry_flag=""
   10883     else
   10884       aix_use_runtimelinking=no
   10885 
   10886       # Test if we are trying to use run time linking or normal
   10887       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10888       # need to do runtime linking.
   10889       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   10890 	for ld_flag in $LDFLAGS; do
   10891 	  case $ld_flag in
   10892 	  *-brtl*)
   10893 	    aix_use_runtimelinking=yes
   10894 	    break
   10895 	    ;;
   10896 	  esac
   10897 	done
   10898 	;;
   10899       esac
   10900 
   10901       exp_sym_flag='-bexport'
   10902       no_entry_flag='-bnoentry'
   10903     fi
   10904 
   10905     # When large executables or shared objects are built, AIX ld can
   10906     # have problems creating the table of contents.  If linking a library
   10907     # or program results in "error TOC overflow" add -mminimal-toc to
   10908     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10909     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10910 
   10911     archive_cmds_CXX=''
   10912     hardcode_direct_CXX=yes
   10913     hardcode_libdir_separator_CXX=':'
   10914     link_all_deplibs_CXX=yes
   10915 
   10916     if test "$GXX" = yes; then
   10917       case $host_os in aix4.[012]|aix4.[012].*)
   10918       # We only want to do this on AIX 4.2 and lower, the check
   10919       # below for broken collect2 doesn't work under 4.3+
   10920 	collect2name=`${CC} -print-prog-name=collect2`
   10921 	if test -f "$collect2name" && \
   10922 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   10923 	then
   10924 	  # We have reworked collect2
   10925 	  hardcode_direct_CXX=yes
   10926 	else
   10927 	  # We have old collect2
   10928 	  hardcode_direct_CXX=unsupported
   10929 	  # It fails to find uninstalled libraries when the uninstalled
   10930 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10931 	  # to unsupported forces relinking
   10932 	  hardcode_minus_L_CXX=yes
   10933 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   10934 	  hardcode_libdir_separator_CXX=
   10935 	fi
   10936 	;;
   10937       esac
   10938       shared_flag='-shared'
   10939       if test "$aix_use_runtimelinking" = yes; then
   10940 	shared_flag="$shared_flag "'${wl}-G'
   10941       fi
   10942     else
   10943       # not using gcc
   10944       if test "$host_cpu" = ia64; then
   10945 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10946 	# chokes on -Wl,-G. The following line is correct:
   10947 	shared_flag='-G'
   10948       else
   10949 	if test "$aix_use_runtimelinking" = yes; then
   10950 	  shared_flag='${wl}-G'
   10951 	else
   10952 	  shared_flag='${wl}-bM:SRE'
   10953 	fi
   10954       fi
   10955     fi
   10956 
   10957     # It seems that -bexpall does not export symbols beginning with
   10958     # underscore (_), so it is better to generate a list of symbols to export.
   10959     always_export_symbols_CXX=yes
   10960     if test "$aix_use_runtimelinking" = yes; then
   10961       # Warning - without using the other runtime loading flags (-brtl),
   10962       # -berok will link without error, but may produce a broken library.
   10963       allow_undefined_flag_CXX='-berok'
   10964       # Determine the default libpath from the value encoded in an empty executable.
   10965       cat >conftest.$ac_ext <<_ACEOF
   10966 /* confdefs.h.  */
   10967 _ACEOF
   10968 cat confdefs.h >>conftest.$ac_ext
   10969 cat >>conftest.$ac_ext <<_ACEOF
   10970 /* end confdefs.h.  */
   10971 
   10972 int
   10973 main ()
   10974 {
   10975 
   10976   ;
   10977   return 0;
   10978 }
   10979 _ACEOF
   10980 rm -f conftest.$ac_objext conftest$ac_exeext
   10981 if { (ac_try="$ac_link"
   10982 case "(($ac_try" in
   10983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10984   *) ac_try_echo=$ac_try;;
   10985 esac
   10986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10987   (eval "$ac_link") 2>conftest.er1
   10988   ac_status=$?
   10989   grep -v '^ *+' conftest.er1 >conftest.err
   10990   rm -f conftest.er1
   10991   cat conftest.err >&5
   10992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10993   (exit $ac_status); } && {
   10994 	 test -z "$ac_cxx_werror_flag" ||
   10995 	 test ! -s conftest.err
   10996        } && test -s conftest$ac_exeext &&
   10997        $as_test_x conftest$ac_exeext; then
   10998 
   10999 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11000 }'`
   11001 # Check for a 64-bit object if we didn't find anything.
   11002 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; }
   11003 }'`; fi
   11004 else
   11005   echo "$as_me: failed program was:" >&5
   11006 sed 's/^/| /' conftest.$ac_ext >&5
   11007 
   11008 
   11009 fi
   11010 
   11011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11012       conftest$ac_exeext conftest.$ac_ext
   11013 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11014 
   11015       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11016 
   11017       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"
   11018      else
   11019       if test "$host_cpu" = ia64; then
   11020 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11021 	allow_undefined_flag_CXX="-z nodefs"
   11022 	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"
   11023       else
   11024 	# Determine the default libpath from the value encoded in an empty executable.
   11025 	cat >conftest.$ac_ext <<_ACEOF
   11026 /* confdefs.h.  */
   11027 _ACEOF
   11028 cat confdefs.h >>conftest.$ac_ext
   11029 cat >>conftest.$ac_ext <<_ACEOF
   11030 /* end confdefs.h.  */
   11031 
   11032 int
   11033 main ()
   11034 {
   11035 
   11036   ;
   11037   return 0;
   11038 }
   11039 _ACEOF
   11040 rm -f conftest.$ac_objext conftest$ac_exeext
   11041 if { (ac_try="$ac_link"
   11042 case "(($ac_try" in
   11043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11044   *) ac_try_echo=$ac_try;;
   11045 esac
   11046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11047   (eval "$ac_link") 2>conftest.er1
   11048   ac_status=$?
   11049   grep -v '^ *+' conftest.er1 >conftest.err
   11050   rm -f conftest.er1
   11051   cat conftest.err >&5
   11052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11053   (exit $ac_status); } && {
   11054 	 test -z "$ac_cxx_werror_flag" ||
   11055 	 test ! -s conftest.err
   11056        } && test -s conftest$ac_exeext &&
   11057        $as_test_x conftest$ac_exeext; then
   11058 
   11059 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11060 }'`
   11061 # Check for a 64-bit object if we didn't find anything.
   11062 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; }
   11063 }'`; fi
   11064 else
   11065   echo "$as_me: failed program was:" >&5
   11066 sed 's/^/| /' conftest.$ac_ext >&5
   11067 
   11068 
   11069 fi
   11070 
   11071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11072       conftest$ac_exeext conftest.$ac_ext
   11073 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11074 
   11075 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11076 	# Warning - without using the other run time loading flags,
   11077 	# -berok will link without error, but may produce a broken library.
   11078 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11079 	allow_undefined_flag_CXX=' ${wl}-berok'
   11080 	# Exported symbols can be pulled into shared objects from archives
   11081 	whole_archive_flag_spec_CXX='$convenience'
   11082 	archive_cmds_need_lc_CXX=yes
   11083 	# This is similar to how AIX traditionally builds its shared libraries.
   11084 	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'
   11085       fi
   11086     fi
   11087     ;;
   11088 
   11089   beos*)
   11090     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11091       allow_undefined_flag_CXX=unsupported
   11092       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11093       # support --undefined.  This deserves some investigation.  FIXME
   11094       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11095     else
   11096       ld_shlibs_CXX=no
   11097     fi
   11098     ;;
   11099 
   11100   chorus*)
   11101     case $cc_basename in
   11102       *)
   11103 	# FIXME: insert proper C++ library support
   11104 	ld_shlibs_CXX=no
   11105 	;;
   11106     esac
   11107     ;;
   11108 
   11109   cygwin* | mingw* | pw32*)
   11110     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11111     # as there is no search path for DLLs.
   11112     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11113     allow_undefined_flag_CXX=unsupported
   11114     always_export_symbols_CXX=no
   11115     enable_shared_with_static_runtimes_CXX=yes
   11116 
   11117     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11118       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'
   11119       # If the export-symbols file already is a .def file (1st line
   11120       # is EXPORTS), use it as is; otherwise, prepend...
   11121       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11122 	cp $export_symbols $output_objdir/$soname.def;
   11123       else
   11124 	echo EXPORTS > $output_objdir/$soname.def;
   11125 	cat $export_symbols >> $output_objdir/$soname.def;
   11126       fi~
   11127       $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'
   11128     else
   11129       ld_shlibs_CXX=no
   11130     fi
   11131   ;;
   11132       darwin* | rhapsody*)
   11133         case $host_os in
   11134         rhapsody* | darwin1.[012])
   11135          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11136          ;;
   11137        *) # Darwin 1.3 on
   11138          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11139            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11140          else
   11141            case ${MACOSX_DEPLOYMENT_TARGET} in
   11142              10.[012])
   11143                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11144                ;;
   11145              10.*)
   11146                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11147                ;;
   11148            esac
   11149          fi
   11150          ;;
   11151         esac
   11152       archive_cmds_need_lc_CXX=no
   11153       hardcode_direct_CXX=no
   11154       hardcode_automatic_CXX=yes
   11155       hardcode_shlibpath_var_CXX=unsupported
   11156       whole_archive_flag_spec_CXX=''
   11157       link_all_deplibs_CXX=yes
   11158 
   11159     if test "$GXX" = yes ; then
   11160       lt_int_apple_cc_single_mod=no
   11161       output_verbose_link_cmd='echo'
   11162       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11163        lt_int_apple_cc_single_mod=yes
   11164       fi
   11165       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11166        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11167       else
   11168           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'
   11169         fi
   11170         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11171         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11172           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11173             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}'
   11174           else
   11175             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}'
   11176           fi
   11177             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}'
   11178       else
   11179       case $cc_basename in
   11180         xlc*)
   11181          output_verbose_link_cmd='echo'
   11182           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'
   11183           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11184           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11185           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}'
   11186           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}'
   11187           ;;
   11188        *)
   11189          ld_shlibs_CXX=no
   11190           ;;
   11191       esac
   11192       fi
   11193         ;;
   11194 
   11195   dgux*)
   11196     case $cc_basename in
   11197       ec++*)
   11198 	# FIXME: insert proper C++ library support
   11199 	ld_shlibs_CXX=no
   11200 	;;
   11201       ghcx*)
   11202 	# Green Hills C++ Compiler
   11203 	# FIXME: insert proper C++ library support
   11204 	ld_shlibs_CXX=no
   11205 	;;
   11206       *)
   11207 	# FIXME: insert proper C++ library support
   11208 	ld_shlibs_CXX=no
   11209 	;;
   11210     esac
   11211     ;;
   11212   freebsd[12]*)
   11213     # C++ shared libraries reported to be fairly broken before switch to ELF
   11214     ld_shlibs_CXX=no
   11215     ;;
   11216   freebsd-elf*)
   11217     archive_cmds_need_lc_CXX=no
   11218     ;;
   11219   freebsd* | kfreebsd*-gnu | dragonfly*)
   11220     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11221     # conventions
   11222     ld_shlibs_CXX=yes
   11223     ;;
   11224   gnu*)
   11225     ;;
   11226   hpux9*)
   11227     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11228     hardcode_libdir_separator_CXX=:
   11229     export_dynamic_flag_spec_CXX='${wl}-E'
   11230     hardcode_direct_CXX=yes
   11231     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11232 				# but as the default
   11233 				# location of the library.
   11234 
   11235     case $cc_basename in
   11236     CC*)
   11237       # FIXME: insert proper C++ library support
   11238       ld_shlibs_CXX=no
   11239       ;;
   11240     aCC*)
   11241       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'
   11242       # Commands to make compiler produce verbose output that lists
   11243       # what "hidden" libraries, object files and flags are used when
   11244       # linking a shared library.
   11245       #
   11246       # There doesn't appear to be a way to prevent this compiler from
   11247       # explicitly linking system object files so we need to strip them
   11248       # from the output so that they don't get included in the library
   11249       # dependencies.
   11250       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'
   11251       ;;
   11252     *)
   11253       if test "$GXX" = yes; then
   11254         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'
   11255       else
   11256         # FIXME: insert proper C++ library support
   11257         ld_shlibs_CXX=no
   11258       fi
   11259       ;;
   11260     esac
   11261     ;;
   11262   hpux10*|hpux11*)
   11263     if test $with_gnu_ld = no; then
   11264       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11265       hardcode_libdir_separator_CXX=:
   11266 
   11267       case $host_cpu in
   11268       hppa*64*|ia64*)
   11269 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   11270         ;;
   11271       *)
   11272 	export_dynamic_flag_spec_CXX='${wl}-E'
   11273         ;;
   11274       esac
   11275     fi
   11276     case $host_cpu in
   11277     hppa*64*|ia64*)
   11278       hardcode_direct_CXX=no
   11279       hardcode_shlibpath_var_CXX=no
   11280       ;;
   11281     *)
   11282       hardcode_direct_CXX=yes
   11283       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11284 					      # but as the default
   11285 					      # location of the library.
   11286       ;;
   11287     esac
   11288 
   11289     case $cc_basename in
   11290       CC*)
   11291 	# FIXME: insert proper C++ library support
   11292 	ld_shlibs_CXX=no
   11293 	;;
   11294       aCC*)
   11295 	case $host_cpu in
   11296 	hppa*64*)
   11297 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11298 	  ;;
   11299 	ia64*)
   11300 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11301 	  ;;
   11302 	*)
   11303 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11304 	  ;;
   11305 	esac
   11306 	# Commands to make compiler produce verbose output that lists
   11307 	# what "hidden" libraries, object files and flags are used when
   11308 	# linking a shared library.
   11309 	#
   11310 	# There doesn't appear to be a way to prevent this compiler from
   11311 	# explicitly linking system object files so we need to strip them
   11312 	# from the output so that they don't get included in the library
   11313 	# dependencies.
   11314 	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'
   11315 	;;
   11316       *)
   11317 	if test "$GXX" = yes; then
   11318 	  if test $with_gnu_ld = no; then
   11319 	    case $host_cpu in
   11320 	    hppa*64*)
   11321 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11322 	      ;;
   11323 	    ia64*)
   11324 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11325 	      ;;
   11326 	    *)
   11327 	      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'
   11328 	      ;;
   11329 	    esac
   11330 	  fi
   11331 	else
   11332 	  # FIXME: insert proper C++ library support
   11333 	  ld_shlibs_CXX=no
   11334 	fi
   11335 	;;
   11336     esac
   11337     ;;
   11338   interix3*)
   11339     hardcode_direct_CXX=no
   11340     hardcode_shlibpath_var_CXX=no
   11341     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11342     export_dynamic_flag_spec_CXX='${wl}-E'
   11343     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11344     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11345     # default) and relocated if they conflict, which is a slow very memory
   11346     # consuming and fragmenting process.  To avoid this, we pick a random,
   11347     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11348     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11349     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'
   11350     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'
   11351     ;;
   11352   irix5* | irix6*)
   11353     case $cc_basename in
   11354       CC*)
   11355 	# SGI C++
   11356 	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'
   11357 
   11358 	# Archives containing C++ object files must be created using
   11359 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11360 	# necessary to make sure instantiated templates are included
   11361 	# in the archive.
   11362 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11363 	;;
   11364       *)
   11365 	if test "$GXX" = yes; then
   11366 	  if test "$with_gnu_ld" = no; then
   11367 	    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'
   11368 	  else
   11369 	    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'
   11370 	  fi
   11371 	fi
   11372 	link_all_deplibs_CXX=yes
   11373 	;;
   11374     esac
   11375     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11376     hardcode_libdir_separator_CXX=:
   11377     ;;
   11378   linux*)
   11379     case $cc_basename in
   11380       KCC*)
   11381 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11382 
   11383 	# KCC will only create a shared library if the output file
   11384 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11385 	# to its proper name (with version) after linking.
   11386 	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'
   11387 	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'
   11388 	# Commands to make compiler produce verbose output that lists
   11389 	# what "hidden" libraries, object files and flags are used when
   11390 	# linking a shared library.
   11391 	#
   11392 	# There doesn't appear to be a way to prevent this compiler from
   11393 	# explicitly linking system object files so we need to strip them
   11394 	# from the output so that they don't get included in the library
   11395 	# dependencies.
   11396 	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'
   11397 
   11398 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11399 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11400 
   11401 	# Archives containing C++ object files must be created using
   11402 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11403 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11404 	;;
   11405       icpc*)
   11406 	# Intel C++
   11407 	with_gnu_ld=yes
   11408 	# version 8.0 and above of icpc choke on multiply defined symbols
   11409 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11410 	# earlier do not add the objects themselves.
   11411 	case `$CC -V 2>&1` in
   11412 	*"Version 7."*)
   11413   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11414   	  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'
   11415 	  ;;
   11416 	*)  # Version 8.0 or newer
   11417 	  tmp_idyn=
   11418 	  case $host_cpu in
   11419 	    ia64*) tmp_idyn=' -i_dynamic';;
   11420 	  esac
   11421   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11422 	  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'
   11423 	  ;;
   11424 	esac
   11425 	archive_cmds_need_lc_CXX=no
   11426 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11427 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11428 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11429 	;;
   11430       pgCC*)
   11431         # Portland Group C++ compiler
   11432 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11433   	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'
   11434 
   11435 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11436 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11437 	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'
   11438         ;;
   11439       cxx*)
   11440 	# Compaq C++
   11441 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11442 	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'
   11443 
   11444 	runpath_var=LD_RUN_PATH
   11445 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11446 	hardcode_libdir_separator_CXX=:
   11447 
   11448 	# Commands to make compiler produce verbose output that lists
   11449 	# what "hidden" libraries, object files and flags are used when
   11450 	# linking a shared library.
   11451 	#
   11452 	# There doesn't appear to be a way to prevent this compiler from
   11453 	# explicitly linking system object files so we need to strip them
   11454 	# from the output so that they don't get included in the library
   11455 	# dependencies.
   11456 	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'
   11457 	;;
   11458     esac
   11459     ;;
   11460   lynxos*)
   11461     # FIXME: insert proper C++ library support
   11462     ld_shlibs_CXX=no
   11463     ;;
   11464   m88k*)
   11465     # FIXME: insert proper C++ library support
   11466     ld_shlibs_CXX=no
   11467     ;;
   11468   mvs*)
   11469     case $cc_basename in
   11470       cxx*)
   11471 	# FIXME: insert proper C++ library support
   11472 	ld_shlibs_CXX=no
   11473 	;;
   11474       *)
   11475 	# FIXME: insert proper C++ library support
   11476 	ld_shlibs_CXX=no
   11477 	;;
   11478     esac
   11479     ;;
   11480   netbsd*)
   11481     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11482       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11483       wlarc=
   11484       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11485       hardcode_direct_CXX=yes
   11486       hardcode_shlibpath_var_CXX=no
   11487     fi
   11488     # Workaround some broken pre-1.5 toolchains
   11489     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11490     ;;
   11491   openbsd2*)
   11492     # C++ shared libraries are fairly broken
   11493     ld_shlibs_CXX=no
   11494     ;;
   11495   openbsd*)
   11496     hardcode_direct_CXX=yes
   11497     hardcode_shlibpath_var_CXX=no
   11498     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11499     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11500     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11501       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11502       export_dynamic_flag_spec_CXX='${wl}-E'
   11503       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11504     fi
   11505     output_verbose_link_cmd='echo'
   11506     ;;
   11507   osf3*)
   11508     case $cc_basename in
   11509       KCC*)
   11510 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11511 
   11512 	# KCC will only create a shared library if the output file
   11513 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11514 	# to its proper name (with version) after linking.
   11515 	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'
   11516 
   11517 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11518 	hardcode_libdir_separator_CXX=:
   11519 
   11520 	# Archives containing C++ object files must be created using
   11521 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11522 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11523 
   11524 	;;
   11525       RCC*)
   11526 	# Rational C++ 2.4.1
   11527 	# FIXME: insert proper C++ library support
   11528 	ld_shlibs_CXX=no
   11529 	;;
   11530       cxx*)
   11531 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11532 	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'
   11533 
   11534 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11535 	hardcode_libdir_separator_CXX=:
   11536 
   11537 	# Commands to make compiler produce verbose output that lists
   11538 	# what "hidden" libraries, object files and flags are used when
   11539 	# linking a shared library.
   11540 	#
   11541 	# There doesn't appear to be a way to prevent this compiler from
   11542 	# explicitly linking system object files so we need to strip them
   11543 	# from the output so that they don't get included in the library
   11544 	# dependencies.
   11545 	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'
   11546 	;;
   11547       *)
   11548 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11549 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11550 	  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'
   11551 
   11552 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11553 	  hardcode_libdir_separator_CXX=:
   11554 
   11555 	  # Commands to make compiler produce verbose output that lists
   11556 	  # what "hidden" libraries, object files and flags are used when
   11557 	  # linking a shared library.
   11558 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11559 
   11560 	else
   11561 	  # FIXME: insert proper C++ library support
   11562 	  ld_shlibs_CXX=no
   11563 	fi
   11564 	;;
   11565     esac
   11566     ;;
   11567   osf4* | osf5*)
   11568     case $cc_basename in
   11569       KCC*)
   11570 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11571 
   11572 	# KCC will only create a shared library if the output file
   11573 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11574 	# to its proper name (with version) after linking.
   11575 	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'
   11576 
   11577 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11578 	hardcode_libdir_separator_CXX=:
   11579 
   11580 	# Archives containing C++ object files must be created using
   11581 	# the KAI C++ compiler.
   11582 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   11583 	;;
   11584       RCC*)
   11585 	# Rational C++ 2.4.1
   11586 	# FIXME: insert proper C++ library support
   11587 	ld_shlibs_CXX=no
   11588 	;;
   11589       cxx*)
   11590 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   11591 	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'
   11592 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   11593 	  echo "-hidden">> $lib.exp~
   11594 	  $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~
   11595 	  $rm $lib.exp'
   11596 
   11597 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11598 	hardcode_libdir_separator_CXX=:
   11599 
   11600 	# Commands to make compiler produce verbose output that lists
   11601 	# what "hidden" libraries, object files and flags are used when
   11602 	# linking a shared library.
   11603 	#
   11604 	# There doesn't appear to be a way to prevent this compiler from
   11605 	# explicitly linking system object files so we need to strip them
   11606 	# from the output so that they don't get included in the library
   11607 	# dependencies.
   11608 	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'
   11609 	;;
   11610       *)
   11611 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11612 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11613 	 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'
   11614 
   11615 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11616 	  hardcode_libdir_separator_CXX=:
   11617 
   11618 	  # Commands to make compiler produce verbose output that lists
   11619 	  # what "hidden" libraries, object files and flags are used when
   11620 	  # linking a shared library.
   11621 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11622 
   11623 	else
   11624 	  # FIXME: insert proper C++ library support
   11625 	  ld_shlibs_CXX=no
   11626 	fi
   11627 	;;
   11628     esac
   11629     ;;
   11630   psos*)
   11631     # FIXME: insert proper C++ library support
   11632     ld_shlibs_CXX=no
   11633     ;;
   11634   sunos4*)
   11635     case $cc_basename in
   11636       CC*)
   11637 	# Sun C++ 4.x
   11638 	# FIXME: insert proper C++ library support
   11639 	ld_shlibs_CXX=no
   11640 	;;
   11641       lcc*)
   11642 	# Lucid
   11643 	# FIXME: insert proper C++ library support
   11644 	ld_shlibs_CXX=no
   11645 	;;
   11646       *)
   11647 	# FIXME: insert proper C++ library support
   11648 	ld_shlibs_CXX=no
   11649 	;;
   11650     esac
   11651     ;;
   11652   solaris*)
   11653     case $cc_basename in
   11654       CC*)
   11655 	# Sun C++ 4.2, 5.x and Centerline C++
   11656         archive_cmds_need_lc_CXX=yes
   11657 	no_undefined_flag_CXX=' -zdefs'
   11658 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11659 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11660 	$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'
   11661 
   11662 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   11663 	hardcode_shlibpath_var_CXX=no
   11664 	case $host_os in
   11665 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11666 	  *)
   11667 	    # The C++ compiler is used as linker so we must use $wl
   11668 	    # flag to pass the commands to the underlying system
   11669 	    # linker. We must also pass each convience library through
   11670 	    # to the system linker between allextract/defaultextract.
   11671 	    # The C++ compiler will combine linker options so we
   11672 	    # cannot just pass the convience library names through
   11673 	    # without $wl.
   11674 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   11675 	    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'
   11676 	    ;;
   11677 	esac
   11678 	link_all_deplibs_CXX=yes
   11679 
   11680 	output_verbose_link_cmd='echo'
   11681 
   11682 	# Archives containing C++ object files must be created using
   11683 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11684 	# necessary to make sure instantiated templates are included
   11685 	# in the archive.
   11686 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11687 	;;
   11688       gcx*)
   11689 	# Green Hills C++ Compiler
   11690 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11691 
   11692 	# The C++ compiler must be used to create the archive.
   11693 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   11694 	;;
   11695       *)
   11696 	# GNU C++ compiler with Solaris linker
   11697 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11698 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   11699 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   11700 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11701 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11702 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11703 
   11704 	    # Commands to make compiler produce verbose output that lists
   11705 	    # what "hidden" libraries, object files and flags are used when
   11706 	    # linking a shared library.
   11707 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11708 	  else
   11709 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   11710 	    # platform.
   11711 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11712 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11713 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11714 
   11715 	    # Commands to make compiler produce verbose output that lists
   11716 	    # what "hidden" libraries, object files and flags are used when
   11717 	    # linking a shared library.
   11718 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11719 	  fi
   11720 
   11721 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   11722 	fi
   11723 	;;
   11724     esac
   11725     ;;
   11726   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11727     no_undefined_flag_CXX='${wl}-z,text'
   11728     archive_cmds_need_lc_CXX=no
   11729     hardcode_shlibpath_var_CXX=no
   11730     runpath_var='LD_RUN_PATH'
   11731 
   11732     case $cc_basename in
   11733       CC*)
   11734 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11735 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11736 	;;
   11737       *)
   11738 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11739 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11740 	;;
   11741     esac
   11742     ;;
   11743   sysv5* | sco3.2v5* | sco5v6*)
   11744     # Note: We can NOT use -z defs as we might desire, because we do not
   11745     # link with -lc, and that would cause any symbols used from libc to
   11746     # always be unresolved, which means just about no library would
   11747     # ever link correctly.  If we're not using GNU ld we use -z text
   11748     # though, which does catch some bad symbols but isn't as heavy-handed
   11749     # as -z defs.
   11750     # For security reasons, it is highly recommended that you always
   11751     # use absolute paths for naming shared libraries, and exclude the
   11752     # DT_RUNPATH tag from executables and libraries.  But doing so
   11753     # requires that you compile everything twice, which is a pain.
   11754     # So that behaviour is only enabled if SCOABSPATH is set to a
   11755     # non-empty value in the environment.  Most likely only useful for
   11756     # creating official distributions of packages.
   11757     # This is a hack until libtool officially supports absolute path
   11758     # names for shared libraries.
   11759     no_undefined_flag_CXX='${wl}-z,text'
   11760     allow_undefined_flag_CXX='${wl}-z,nodefs'
   11761     archive_cmds_need_lc_CXX=no
   11762     hardcode_shlibpath_var_CXX=no
   11763     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   11764     hardcode_libdir_separator_CXX=':'
   11765     link_all_deplibs_CXX=yes
   11766     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   11767     runpath_var='LD_RUN_PATH'
   11768 
   11769     case $cc_basename in
   11770       CC*)
   11771 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11772 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11773 	;;
   11774       *)
   11775 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11776 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11777 	;;
   11778     esac
   11779     ;;
   11780   tandem*)
   11781     case $cc_basename in
   11782       NCC*)
   11783 	# NonStop-UX NCC 3.20
   11784 	# FIXME: insert proper C++ library support
   11785 	ld_shlibs_CXX=no
   11786 	;;
   11787       *)
   11788 	# FIXME: insert proper C++ library support
   11789 	ld_shlibs_CXX=no
   11790 	;;
   11791     esac
   11792     ;;
   11793   vxworks*)
   11794     # FIXME: insert proper C++ library support
   11795     ld_shlibs_CXX=no
   11796     ;;
   11797   *)
   11798     # FIXME: insert proper C++ library support
   11799     ld_shlibs_CXX=no
   11800     ;;
   11801 esac
   11802 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11803 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   11804 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11805 
   11806 GCC_CXX="$GXX"
   11807 LD_CXX="$LD"
   11808 
   11809 
   11810 cat > conftest.$ac_ext <<EOF
   11811 class Foo
   11812 {
   11813 public:
   11814   Foo (void) { a = 0; }
   11815 private:
   11816   int a;
   11817 };
   11818 EOF
   11819 
   11820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11821   (eval $ac_compile) 2>&5
   11822   ac_status=$?
   11823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11824   (exit $ac_status); }; then
   11825   # Parse the compiler output and extract the necessary
   11826   # objects, libraries and library flags.
   11827 
   11828   # Sentinel used to keep track of whether or not we are before
   11829   # the conftest object file.
   11830   pre_test_object_deps_done=no
   11831 
   11832   # The `*' in the case matches for architectures that use `case' in
   11833   # $output_verbose_cmd can trigger glob expansion during the loop
   11834   # eval without this substitution.
   11835   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   11836 
   11837   for p in `eval $output_verbose_link_cmd`; do
   11838     case $p in
   11839 
   11840     -L* | -R* | -l*)
   11841        # Some compilers place space between "-{L,R}" and the path.
   11842        # Remove the space.
   11843        if test $p = "-L" \
   11844 	  || test $p = "-R"; then
   11845 	 prev=$p
   11846 	 continue
   11847        else
   11848 	 prev=
   11849        fi
   11850 
   11851        if test "$pre_test_object_deps_done" = no; then
   11852 	 case $p in
   11853 	 -L* | -R*)
   11854 	   # Internal compiler library paths should come after those
   11855 	   # provided the user.  The postdeps already come after the
   11856 	   # user supplied libs so there is no need to process them.
   11857 	   if test -z "$compiler_lib_search_path_CXX"; then
   11858 	     compiler_lib_search_path_CXX="${prev}${p}"
   11859 	   else
   11860 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   11861 	   fi
   11862 	   ;;
   11863 	 # The "-l" case would never come before the object being
   11864 	 # linked, so don't bother handling this case.
   11865 	 esac
   11866        else
   11867 	 if test -z "$postdeps_CXX"; then
   11868 	   postdeps_CXX="${prev}${p}"
   11869 	 else
   11870 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   11871 	 fi
   11872        fi
   11873        ;;
   11874 
   11875     *.$objext)
   11876        # This assumes that the test object file only shows up
   11877        # once in the compiler output.
   11878        if test "$p" = "conftest.$objext"; then
   11879 	 pre_test_object_deps_done=yes
   11880 	 continue
   11881        fi
   11882 
   11883        if test "$pre_test_object_deps_done" = no; then
   11884 	 if test -z "$predep_objects_CXX"; then
   11885 	   predep_objects_CXX="$p"
   11886 	 else
   11887 	   predep_objects_CXX="$predep_objects_CXX $p"
   11888 	 fi
   11889        else
   11890 	 if test -z "$postdep_objects_CXX"; then
   11891 	   postdep_objects_CXX="$p"
   11892 	 else
   11893 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   11894 	 fi
   11895        fi
   11896        ;;
   11897 
   11898     *) ;; # Ignore the rest.
   11899 
   11900     esac
   11901   done
   11902 
   11903   # Clean up.
   11904   rm -f a.out a.exe
   11905 else
   11906   echo "libtool.m4: error: problem compiling CXX test program"
   11907 fi
   11908 
   11909 $rm -f confest.$objext
   11910 
   11911 # PORTME: override above test on systems where it is broken
   11912 case $host_os in
   11913 interix3*)
   11914   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   11915   # hack all around it, let's just trust "g++" to DTRT.
   11916   predep_objects_CXX=
   11917   postdep_objects_CXX=
   11918   postdeps_CXX=
   11919   ;;
   11920 
   11921 solaris*)
   11922   case $cc_basename in
   11923   CC*)
   11924     # Adding this requires a known-good setup of shared libraries for
   11925     # Sun compiler versions before 5.6, else PIC objects from an old
   11926     # archive will be linked into the output, leading to subtle bugs.
   11927     postdeps_CXX='-lCstd -lCrun'
   11928     ;;
   11929   esac
   11930   ;;
   11931 esac
   11932 
   11933 
   11934 case " $postdeps_CXX " in
   11935 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   11936 esac
   11937 
   11938 lt_prog_compiler_wl_CXX=
   11939 lt_prog_compiler_pic_CXX=
   11940 lt_prog_compiler_static_CXX=
   11941 
   11942 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   11943 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   11944 
   11945   # C++ specific cases for pic, static, wl, etc.
   11946   if test "$GXX" = yes; then
   11947     lt_prog_compiler_wl_CXX='-Wl,'
   11948     lt_prog_compiler_static_CXX='-static'
   11949 
   11950     case $host_os in
   11951     aix*)
   11952       # All AIX code is PIC.
   11953       if test "$host_cpu" = ia64; then
   11954 	# AIX 5 now supports IA64 processor
   11955 	lt_prog_compiler_static_CXX='-Bstatic'
   11956       fi
   11957       ;;
   11958     amigaos*)
   11959       # FIXME: we need at least 68020 code to build shared libraries, but
   11960       # adding the `-m68020' flag to GCC prevents building anything better,
   11961       # like `-m68040'.
   11962       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   11963       ;;
   11964     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   11965       # PIC is the default for these OSes.
   11966       ;;
   11967     mingw* | os2* | pw32*)
   11968       # This hack is so that the source file can tell whether it is being
   11969       # built for inclusion in a dll (and should export symbols for example).
   11970       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   11971       ;;
   11972     darwin* | rhapsody*)
   11973       # PIC is the default on this platform
   11974       # Common symbols not allowed in MH_DYLIB files
   11975       lt_prog_compiler_pic_CXX='-fno-common'
   11976       ;;
   11977     *djgpp*)
   11978       # DJGPP does not support shared libraries at all
   11979       lt_prog_compiler_pic_CXX=
   11980       ;;
   11981     interix3*)
   11982       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   11983       # Instead, we relocate shared libraries at runtime.
   11984       ;;
   11985     sysv4*MP*)
   11986       if test -d /usr/nec; then
   11987 	lt_prog_compiler_pic_CXX=-Kconform_pic
   11988       fi
   11989       ;;
   11990     hpux*)
   11991       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   11992       # not for PA HP-UX.
   11993       case $host_cpu in
   11994       hppa*64*|ia64*)
   11995 	;;
   11996       *)
   11997 	lt_prog_compiler_pic_CXX='-fPIC'
   11998 	;;
   11999       esac
   12000       ;;
   12001     *)
   12002       lt_prog_compiler_pic_CXX='-fPIC'
   12003       ;;
   12004     esac
   12005   else
   12006     case $host_os in
   12007       aix4* | aix5*)
   12008 	# All AIX code is PIC.
   12009 	if test "$host_cpu" = ia64; then
   12010 	  # AIX 5 now supports IA64 processor
   12011 	  lt_prog_compiler_static_CXX='-Bstatic'
   12012 	else
   12013 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12014 	fi
   12015 	;;
   12016       chorus*)
   12017 	case $cc_basename in
   12018 	cxch68*)
   12019 	  # Green Hills C++ Compiler
   12020 	  # _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"
   12021 	  ;;
   12022 	esac
   12023 	;;
   12024        darwin*)
   12025          # PIC is the default on this platform
   12026          # Common symbols not allowed in MH_DYLIB files
   12027          case $cc_basename in
   12028            xlc*)
   12029            lt_prog_compiler_pic_CXX='-qnocommon'
   12030            lt_prog_compiler_wl_CXX='-Wl,'
   12031            ;;
   12032          esac
   12033        ;;
   12034       dgux*)
   12035 	case $cc_basename in
   12036 	  ec++*)
   12037 	    lt_prog_compiler_pic_CXX='-KPIC'
   12038 	    ;;
   12039 	  ghcx*)
   12040 	    # Green Hills C++ Compiler
   12041 	    lt_prog_compiler_pic_CXX='-pic'
   12042 	    ;;
   12043 	  *)
   12044 	    ;;
   12045 	esac
   12046 	;;
   12047       freebsd* | kfreebsd*-gnu | dragonfly*)
   12048 	# FreeBSD uses GNU C++
   12049 	;;
   12050       hpux9* | hpux10* | hpux11*)
   12051 	case $cc_basename in
   12052 	  CC*)
   12053 	    lt_prog_compiler_wl_CXX='-Wl,'
   12054 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12055 	    if test "$host_cpu" != ia64; then
   12056 	      lt_prog_compiler_pic_CXX='+Z'
   12057 	    fi
   12058 	    ;;
   12059 	  aCC*)
   12060 	    lt_prog_compiler_wl_CXX='-Wl,'
   12061 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12062 	    case $host_cpu in
   12063 	    hppa*64*|ia64*)
   12064 	      # +Z the default
   12065 	      ;;
   12066 	    *)
   12067 	      lt_prog_compiler_pic_CXX='+Z'
   12068 	      ;;
   12069 	    esac
   12070 	    ;;
   12071 	  *)
   12072 	    ;;
   12073 	esac
   12074 	;;
   12075       interix*)
   12076 	# This is c89, which is MS Visual C++ (no shared libs)
   12077 	# Anyone wants to do a port?
   12078 	;;
   12079       irix5* | irix6* | nonstopux*)
   12080 	case $cc_basename in
   12081 	  CC*)
   12082 	    lt_prog_compiler_wl_CXX='-Wl,'
   12083 	    lt_prog_compiler_static_CXX='-non_shared'
   12084 	    # CC pic flag -KPIC is the default.
   12085 	    ;;
   12086 	  *)
   12087 	    ;;
   12088 	esac
   12089 	;;
   12090       linux*)
   12091 	case $cc_basename in
   12092 	  KCC*)
   12093 	    # KAI C++ Compiler
   12094 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12095 	    lt_prog_compiler_pic_CXX='-fPIC'
   12096 	    ;;
   12097 	  icpc* | ecpc*)
   12098 	    # Intel C++
   12099 	    lt_prog_compiler_wl_CXX='-Wl,'
   12100 	    lt_prog_compiler_pic_CXX='-KPIC'
   12101 	    lt_prog_compiler_static_CXX='-static'
   12102 	    ;;
   12103 	  pgCC*)
   12104 	    # Portland Group C++ compiler.
   12105 	    lt_prog_compiler_wl_CXX='-Wl,'
   12106 	    lt_prog_compiler_pic_CXX='-fpic'
   12107 	    lt_prog_compiler_static_CXX='-Bstatic'
   12108 	    ;;
   12109 	  cxx*)
   12110 	    # Compaq C++
   12111 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12112 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12113 	    lt_prog_compiler_pic_CXX=
   12114 	    lt_prog_compiler_static_CXX='-non_shared'
   12115 	    ;;
   12116 	  *)
   12117 	    ;;
   12118 	esac
   12119 	;;
   12120       lynxos*)
   12121 	;;
   12122       m88k*)
   12123 	;;
   12124       mvs*)
   12125 	case $cc_basename in
   12126 	  cxx*)
   12127 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12128 	    ;;
   12129 	  *)
   12130 	    ;;
   12131 	esac
   12132 	;;
   12133       netbsd*)
   12134 	;;
   12135       osf3* | osf4* | osf5*)
   12136 	case $cc_basename in
   12137 	  KCC*)
   12138 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12139 	    ;;
   12140 	  RCC*)
   12141 	    # Rational C++ 2.4.1
   12142 	    lt_prog_compiler_pic_CXX='-pic'
   12143 	    ;;
   12144 	  cxx*)
   12145 	    # Digital/Compaq C++
   12146 	    lt_prog_compiler_wl_CXX='-Wl,'
   12147 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12148 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12149 	    lt_prog_compiler_pic_CXX=
   12150 	    lt_prog_compiler_static_CXX='-non_shared'
   12151 	    ;;
   12152 	  *)
   12153 	    ;;
   12154 	esac
   12155 	;;
   12156       psos*)
   12157 	;;
   12158       solaris*)
   12159 	case $cc_basename in
   12160 	  CC*)
   12161 	    # Sun C++ 4.2, 5.x and Centerline C++
   12162 	    lt_prog_compiler_pic_CXX='-KPIC'
   12163 	    lt_prog_compiler_static_CXX='-Bstatic'
   12164 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12165 	    ;;
   12166 	  gcx*)
   12167 	    # Green Hills C++ Compiler
   12168 	    lt_prog_compiler_pic_CXX='-PIC'
   12169 	    ;;
   12170 	  *)
   12171 	    ;;
   12172 	esac
   12173 	;;
   12174       sunos4*)
   12175 	case $cc_basename in
   12176 	  CC*)
   12177 	    # Sun C++ 4.x
   12178 	    lt_prog_compiler_pic_CXX='-pic'
   12179 	    lt_prog_compiler_static_CXX='-Bstatic'
   12180 	    ;;
   12181 	  lcc*)
   12182 	    # Lucid
   12183 	    lt_prog_compiler_pic_CXX='-pic'
   12184 	    ;;
   12185 	  *)
   12186 	    ;;
   12187 	esac
   12188 	;;
   12189       tandem*)
   12190 	case $cc_basename in
   12191 	  NCC*)
   12192 	    # NonStop-UX NCC 3.20
   12193 	    lt_prog_compiler_pic_CXX='-KPIC'
   12194 	    ;;
   12195 	  *)
   12196 	    ;;
   12197 	esac
   12198 	;;
   12199       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12200 	case $cc_basename in
   12201 	  CC*)
   12202 	    lt_prog_compiler_wl_CXX='-Wl,'
   12203 	    lt_prog_compiler_pic_CXX='-KPIC'
   12204 	    lt_prog_compiler_static_CXX='-Bstatic'
   12205 	    ;;
   12206 	esac
   12207 	;;
   12208       vxworks*)
   12209 	;;
   12210       *)
   12211 	lt_prog_compiler_can_build_shared_CXX=no
   12212 	;;
   12213     esac
   12214   fi
   12215 
   12216 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12217 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12218 
   12219 #
   12220 # Check to make sure the PIC flag actually works.
   12221 #
   12222 if test -n "$lt_prog_compiler_pic_CXX"; then
   12223 
   12224 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12225 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12226 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12227   echo $ECHO_N "(cached) $ECHO_C" >&6
   12228 else
   12229   lt_prog_compiler_pic_works_CXX=no
   12230   ac_outfile=conftest.$ac_objext
   12231    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12232    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12233    # Insert the option either (1) after the last *FLAGS variable, or
   12234    # (2) before a word containing "conftest.", or (3) at the end.
   12235    # Note that $ac_compile itself does not contain backslashes and begins
   12236    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12237    # The option is referenced via a variable to avoid confusing sed.
   12238    lt_compile=`echo "$ac_compile" | $SED \
   12239    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12240    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12241    -e 's:$: $lt_compiler_flag:'`
   12242    (eval echo "\"\$as_me:12242: $lt_compile\"" >&5)
   12243    (eval "$lt_compile" 2>conftest.err)
   12244    ac_status=$?
   12245    cat conftest.err >&5
   12246    echo "$as_me:12246: \$? = $ac_status" >&5
   12247    if (exit $ac_status) && test -s "$ac_outfile"; then
   12248      # The compiler can only warn and ignore the option if not recognized
   12249      # So say no if there are warnings other than the usual output.
   12250      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12251      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12252      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12253        lt_prog_compiler_pic_works_CXX=yes
   12254      fi
   12255    fi
   12256    $rm conftest*
   12257 
   12258 fi
   12259 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12260 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12261 
   12262 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12263     case $lt_prog_compiler_pic_CXX in
   12264      "" | " "*) ;;
   12265      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12266      esac
   12267 else
   12268     lt_prog_compiler_pic_CXX=
   12269      lt_prog_compiler_can_build_shared_CXX=no
   12270 fi
   12271 
   12272 fi
   12273 case $host_os in
   12274   # For platforms which do not support PIC, -DPIC is meaningless:
   12275   *djgpp*)
   12276     lt_prog_compiler_pic_CXX=
   12277     ;;
   12278   *)
   12279     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12280     ;;
   12281 esac
   12282 
   12283 #
   12284 # Check to make sure the static flag actually works.
   12285 #
   12286 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12287 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12288 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12289 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12290   echo $ECHO_N "(cached) $ECHO_C" >&6
   12291 else
   12292   lt_prog_compiler_static_works_CXX=no
   12293    save_LDFLAGS="$LDFLAGS"
   12294    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12295    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   12296    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12297      # The linker can only warn and ignore the option if not recognized
   12298      # So say no if there are warnings
   12299      if test -s conftest.err; then
   12300        # Append any errors to the config.log.
   12301        cat conftest.err 1>&5
   12302        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12303        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12304        if diff conftest.exp conftest.er2 >/dev/null; then
   12305          lt_prog_compiler_static_works_CXX=yes
   12306        fi
   12307      else
   12308        lt_prog_compiler_static_works_CXX=yes
   12309      fi
   12310    fi
   12311    $rm conftest*
   12312    LDFLAGS="$save_LDFLAGS"
   12313 
   12314 fi
   12315 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12316 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12317 
   12318 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12319     :
   12320 else
   12321     lt_prog_compiler_static_CXX=
   12322 fi
   12323 
   12324 
   12325 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12326 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12327 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12328   echo $ECHO_N "(cached) $ECHO_C" >&6
   12329 else
   12330   lt_cv_prog_compiler_c_o_CXX=no
   12331    $rm -r conftest 2>/dev/null
   12332    mkdir conftest
   12333    cd conftest
   12334    mkdir out
   12335    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12336 
   12337    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12338    # Insert the option either (1) after the last *FLAGS variable, or
   12339    # (2) before a word containing "conftest.", or (3) at the end.
   12340    # Note that $ac_compile itself does not contain backslashes and begins
   12341    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12342    lt_compile=`echo "$ac_compile" | $SED \
   12343    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12344    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12345    -e 's:$: $lt_compiler_flag:'`
   12346    (eval echo "\"\$as_me:12346: $lt_compile\"" >&5)
   12347    (eval "$lt_compile" 2>out/conftest.err)
   12348    ac_status=$?
   12349    cat out/conftest.err >&5
   12350    echo "$as_me:12350: \$? = $ac_status" >&5
   12351    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12352    then
   12353      # The compiler can only warn and ignore the option if not recognized
   12354      # So say no if there are warnings
   12355      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12356      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12357      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12358        lt_cv_prog_compiler_c_o_CXX=yes
   12359      fi
   12360    fi
   12361    chmod u+w . 2>&5
   12362    $rm conftest*
   12363    # SGI C++ compiler will create directory out/ii_files/ for
   12364    # template instantiation
   12365    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12366    $rm out/* && rmdir out
   12367    cd ..
   12368    rmdir conftest
   12369    $rm conftest*
   12370 
   12371 fi
   12372 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12373 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12374 
   12375 
   12376 hard_links="nottested"
   12377 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12378   # do not overwrite the value of need_locks provided by the user
   12379   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12380 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12381   hard_links=yes
   12382   $rm conftest*
   12383   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12384   touch conftest.a
   12385   ln conftest.a conftest.b 2>&5 || hard_links=no
   12386   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12387   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12388 echo "${ECHO_T}$hard_links" >&6; }
   12389   if test "$hard_links" = no; then
   12390     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12391 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12392     need_locks=warn
   12393   fi
   12394 else
   12395   need_locks=no
   12396 fi
   12397 
   12398 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12399 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12400 
   12401   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12402   case $host_os in
   12403   aix4* | aix5*)
   12404     # If we're using GNU nm, then we don't want the "-C" option.
   12405     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12406     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12407       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'
   12408     else
   12409       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'
   12410     fi
   12411     ;;
   12412   pw32*)
   12413     export_symbols_cmds_CXX="$ltdll_cmds"
   12414   ;;
   12415   cygwin* | mingw*)
   12416     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'
   12417   ;;
   12418   *)
   12419     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12420   ;;
   12421   esac
   12422 
   12423 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12424 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12425 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12426 
   12427 #
   12428 # Do we need to explicitly link libc?
   12429 #
   12430 case "x$archive_cmds_need_lc_CXX" in
   12431 x|xyes)
   12432   # Assume -lc should be added
   12433   archive_cmds_need_lc_CXX=yes
   12434 
   12435   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12436     case $archive_cmds_CXX in
   12437     *'~'*)
   12438       # FIXME: we may have to deal with multi-command sequences.
   12439       ;;
   12440     '$CC '*)
   12441       # Test whether the compiler implicitly links with -lc since on some
   12442       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12443       # to ld, don't add -lc before -lgcc.
   12444       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12445 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12446       $rm conftest*
   12447       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12448 
   12449       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12450   (eval $ac_compile) 2>&5
   12451   ac_status=$?
   12452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12453   (exit $ac_status); } 2>conftest.err; then
   12454         soname=conftest
   12455         lib=conftest
   12456         libobjs=conftest.$ac_objext
   12457         deplibs=
   12458         wl=$lt_prog_compiler_wl_CXX
   12459 	pic_flag=$lt_prog_compiler_pic_CXX
   12460         compiler_flags=-v
   12461         linker_flags=-v
   12462         verstring=
   12463         output_objdir=.
   12464         libname=conftest
   12465         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12466         allow_undefined_flag_CXX=
   12467         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12468   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12469   ac_status=$?
   12470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12471   (exit $ac_status); }
   12472         then
   12473 	  archive_cmds_need_lc_CXX=no
   12474         else
   12475 	  archive_cmds_need_lc_CXX=yes
   12476         fi
   12477         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12478       else
   12479         cat conftest.err 1>&5
   12480       fi
   12481       $rm conftest*
   12482       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12483 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   12484       ;;
   12485     esac
   12486   fi
   12487   ;;
   12488 esac
   12489 
   12490 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12491 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   12492 library_names_spec=
   12493 libname_spec='lib$name'
   12494 soname_spec=
   12495 shrext_cmds=".so"
   12496 postinstall_cmds=
   12497 postuninstall_cmds=
   12498 finish_cmds=
   12499 finish_eval=
   12500 shlibpath_var=
   12501 shlibpath_overrides_runpath=unknown
   12502 version_type=none
   12503 dynamic_linker="$host_os ld.so"
   12504 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12505 if test "$GCC" = yes; then
   12506   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12507   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   12508     # if the path contains ";" then we assume it to be the separator
   12509     # otherwise default to the standard path separator (i.e. ":") - it is
   12510     # assumed that no part of a normal pathname contains ";" but that should
   12511     # okay in the real world where ";" in dirpaths is itself problematic.
   12512     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12513   else
   12514     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12515   fi
   12516 else
   12517   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12518 fi
   12519 need_lib_prefix=unknown
   12520 hardcode_into_libs=no
   12521 
   12522 # when you set need_version to no, make sure it does not cause -set_version
   12523 # flags to be left without arguments
   12524 need_version=unknown
   12525 
   12526 case $host_os in
   12527 aix3*)
   12528   version_type=linux
   12529   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12530   shlibpath_var=LIBPATH
   12531 
   12532   # AIX 3 has no versioning support, so we append a major version to the name.
   12533   soname_spec='${libname}${release}${shared_ext}$major'
   12534   ;;
   12535 
   12536 aix4* | aix5*)
   12537   version_type=linux
   12538   need_lib_prefix=no
   12539   need_version=no
   12540   hardcode_into_libs=yes
   12541   if test "$host_cpu" = ia64; then
   12542     # AIX 5 supports IA64
   12543     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12544     shlibpath_var=LD_LIBRARY_PATH
   12545   else
   12546     # With GCC up to 2.95.x, collect2 would create an import file
   12547     # for dependence libraries.  The import file would start with
   12548     # the line `#! .'.  This would cause the generated library to
   12549     # depend on `.', always an invalid library.  This was fixed in
   12550     # development snapshots of GCC prior to 3.0.
   12551     case $host_os in
   12552       aix4 | aix4.[01] | aix4.[01].*)
   12553       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12554 	   echo ' yes '
   12555 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   12556 	:
   12557       else
   12558 	can_build_shared=no
   12559       fi
   12560       ;;
   12561     esac
   12562     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12563     # soname into executable. Probably we can add versioning support to
   12564     # collect2, so additional links can be useful in future.
   12565     if test "$aix_use_runtimelinking" = yes; then
   12566       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12567       # instead of lib<name>.a to let people know that these are not
   12568       # typical AIX shared libraries.
   12569       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12570     else
   12571       # We preserve .a as extension for shared libraries through AIX4.2
   12572       # and later when we are not doing run time linking.
   12573       library_names_spec='${libname}${release}.a $libname.a'
   12574       soname_spec='${libname}${release}${shared_ext}$major'
   12575     fi
   12576     shlibpath_var=LIBPATH
   12577   fi
   12578   ;;
   12579 
   12580 amigaos*)
   12581   library_names_spec='$libname.ixlibrary $libname.a'
   12582   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12583   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'
   12584   ;;
   12585 
   12586 beos*)
   12587   library_names_spec='${libname}${shared_ext}'
   12588   dynamic_linker="$host_os ld.so"
   12589   shlibpath_var=LIBRARY_PATH
   12590   ;;
   12591 
   12592 bsdi[45]*)
   12593   version_type=linux
   12594   need_version=no
   12595   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12596   soname_spec='${libname}${release}${shared_ext}$major'
   12597   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12598   shlibpath_var=LD_LIBRARY_PATH
   12599   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12600   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12601   # the default ld.so.conf also contains /usr/contrib/lib and
   12602   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12603   # libtool to hard-code these into programs
   12604   ;;
   12605 
   12606 cygwin* | mingw* | pw32*)
   12607   version_type=windows
   12608   shrext_cmds=".dll"
   12609   need_version=no
   12610   need_lib_prefix=no
   12611 
   12612   case $GCC,$host_os in
   12613   yes,cygwin* | yes,mingw* | yes,pw32*)
   12614     library_names_spec='$libname.dll.a'
   12615     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12616     postinstall_cmds='base_file=`basename \${file}`~
   12617       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   12618       dldir=$destdir/`dirname \$dlpath`~
   12619       test -d \$dldir || mkdir -p \$dldir~
   12620       $install_prog $dir/$dlname \$dldir/$dlname~
   12621       chmod a+x \$dldir/$dlname'
   12622     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12623       dlpath=$dir/\$dldll~
   12624        $rm \$dlpath'
   12625     shlibpath_overrides_runpath=yes
   12626 
   12627     case $host_os in
   12628     cygwin*)
   12629       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12630       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12631       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   12632       ;;
   12633     mingw*)
   12634       # MinGW DLLs use traditional 'lib' prefix
   12635       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12636       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12637       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   12638         # It is most probably a Windows format PATH printed by
   12639         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   12640         # path with ; separators, and with drive letters. We can handle the
   12641         # drive letters (cygwin fileutils understands them), so leave them,
   12642         # especially as we might pass files found there to a mingw objdump,
   12643         # which wouldn't understand a cygwinified path. Ahh.
   12644         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12645       else
   12646         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12647       fi
   12648       ;;
   12649     pw32*)
   12650       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12651       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12652       ;;
   12653     esac
   12654     ;;
   12655 
   12656   *)
   12657     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   12658     ;;
   12659   esac
   12660   dynamic_linker='Win32 ld.exe'
   12661   # FIXME: first we should search . and the directory the executable is in
   12662   shlibpath_var=PATH
   12663   ;;
   12664 
   12665 darwin* | rhapsody*)
   12666   dynamic_linker="$host_os dyld"
   12667   version_type=darwin
   12668   need_lib_prefix=no
   12669   need_version=no
   12670   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12671   soname_spec='${libname}${release}${major}$shared_ext'
   12672   shlibpath_overrides_runpath=yes
   12673   shlibpath_var=DYLD_LIBRARY_PATH
   12674   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12675   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   12676   if test "$GCC" = yes; then
   12677     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"`
   12678   else
   12679     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   12680   fi
   12681   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12682   ;;
   12683 
   12684 dgux*)
   12685   version_type=linux
   12686   need_lib_prefix=no
   12687   need_version=no
   12688   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12689   soname_spec='${libname}${release}${shared_ext}$major'
   12690   shlibpath_var=LD_LIBRARY_PATH
   12691   ;;
   12692 
   12693 freebsd1*)
   12694   dynamic_linker=no
   12695   ;;
   12696 
   12697 kfreebsd*-gnu)
   12698   version_type=linux
   12699   need_lib_prefix=no
   12700   need_version=no
   12701   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12702   soname_spec='${libname}${release}${shared_ext}$major'
   12703   shlibpath_var=LD_LIBRARY_PATH
   12704   shlibpath_overrides_runpath=no
   12705   hardcode_into_libs=yes
   12706   dynamic_linker='GNU ld.so'
   12707   ;;
   12708 
   12709 freebsd* | dragonfly*)
   12710   # DragonFly does not have aout.  When/if they implement a new
   12711   # versioning mechanism, adjust this.
   12712   if test -x /usr/bin/objformat; then
   12713     objformat=`/usr/bin/objformat`
   12714   else
   12715     case $host_os in
   12716     freebsd[123]*) objformat=aout ;;
   12717     *) objformat=elf ;;
   12718     esac
   12719   fi
   12720   version_type=freebsd-$objformat
   12721   case $version_type in
   12722     freebsd-elf*)
   12723       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12724       need_version=no
   12725       need_lib_prefix=no
   12726       ;;
   12727     freebsd-*)
   12728       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12729       need_version=yes
   12730       ;;
   12731   esac
   12732   shlibpath_var=LD_LIBRARY_PATH
   12733   case $host_os in
   12734   freebsd2*)
   12735     shlibpath_overrides_runpath=yes
   12736     ;;
   12737   freebsd3.[01]* | freebsdelf3.[01]*)
   12738     shlibpath_overrides_runpath=yes
   12739     hardcode_into_libs=yes
   12740     ;;
   12741   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12742   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12743     shlibpath_overrides_runpath=no
   12744     hardcode_into_libs=yes
   12745     ;;
   12746   freebsd*) # from 4.6 on
   12747     shlibpath_overrides_runpath=yes
   12748     hardcode_into_libs=yes
   12749     ;;
   12750   esac
   12751   ;;
   12752 
   12753 gnu*)
   12754   version_type=linux
   12755   need_lib_prefix=no
   12756   need_version=no
   12757   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12758   soname_spec='${libname}${release}${shared_ext}$major'
   12759   shlibpath_var=LD_LIBRARY_PATH
   12760   hardcode_into_libs=yes
   12761   ;;
   12762 
   12763 hpux9* | hpux10* | hpux11*)
   12764   # Give a soname corresponding to the major version so that dld.sl refuses to
   12765   # link against other versions.
   12766   version_type=sunos
   12767   need_lib_prefix=no
   12768   need_version=no
   12769   case $host_cpu in
   12770   ia64*)
   12771     shrext_cmds='.so'
   12772     hardcode_into_libs=yes
   12773     dynamic_linker="$host_os dld.so"
   12774     shlibpath_var=LD_LIBRARY_PATH
   12775     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12776     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12777     soname_spec='${libname}${release}${shared_ext}$major'
   12778     if test "X$HPUX_IA64_MODE" = X32; then
   12779       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12780     else
   12781       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12782     fi
   12783     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12784     ;;
   12785    hppa*64*)
   12786      shrext_cmds='.sl'
   12787      hardcode_into_libs=yes
   12788      dynamic_linker="$host_os dld.sl"
   12789      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12790      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12791      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12792      soname_spec='${libname}${release}${shared_ext}$major'
   12793      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12794      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12795      ;;
   12796    *)
   12797     shrext_cmds='.sl'
   12798     dynamic_linker="$host_os dld.sl"
   12799     shlibpath_var=SHLIB_PATH
   12800     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12801     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12802     soname_spec='${libname}${release}${shared_ext}$major'
   12803     ;;
   12804   esac
   12805   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12806   postinstall_cmds='chmod 555 $lib'
   12807   ;;
   12808 
   12809 interix3*)
   12810   version_type=linux
   12811   need_lib_prefix=no
   12812   need_version=no
   12813   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12814   soname_spec='${libname}${release}${shared_ext}$major'
   12815   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12816   shlibpath_var=LD_LIBRARY_PATH
   12817   shlibpath_overrides_runpath=no
   12818   hardcode_into_libs=yes
   12819   ;;
   12820 
   12821 irix5* | irix6* | nonstopux*)
   12822   case $host_os in
   12823     nonstopux*) version_type=nonstopux ;;
   12824     *)
   12825 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12826 		version_type=linux
   12827 	else
   12828 		version_type=irix
   12829 	fi ;;
   12830   esac
   12831   need_lib_prefix=no
   12832   need_version=no
   12833   soname_spec='${libname}${release}${shared_ext}$major'
   12834   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12835   case $host_os in
   12836   irix5* | nonstopux*)
   12837     libsuff= shlibsuff=
   12838     ;;
   12839   *)
   12840     case $LD in # libtool.m4 will add one of these switches to LD
   12841     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12842       libsuff= shlibsuff= libmagic=32-bit;;
   12843     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12844       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12845     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12846       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12847     *) libsuff= shlibsuff= libmagic=never-match;;
   12848     esac
   12849     ;;
   12850   esac
   12851   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12852   shlibpath_overrides_runpath=no
   12853   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12854   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12855   hardcode_into_libs=yes
   12856   ;;
   12857 
   12858 # No shared lib support for Linux oldld, aout, or coff.
   12859 linux*oldld* | linux*aout* | linux*coff*)
   12860   dynamic_linker=no
   12861   ;;
   12862 
   12863 # This must be Linux ELF.
   12864 linux*)
   12865   version_type=linux
   12866   need_lib_prefix=no
   12867   need_version=no
   12868   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12869   soname_spec='${libname}${release}${shared_ext}$major'
   12870   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12871   shlibpath_var=LD_LIBRARY_PATH
   12872   shlibpath_overrides_runpath=no
   12873   # This implies no fast_install, which is unacceptable.
   12874   # Some rework will be needed to allow for fast_install
   12875   # before this can be enabled.
   12876   hardcode_into_libs=yes
   12877 
   12878   # Append ld.so.conf contents to the search path
   12879   if test -f /etc/ld.so.conf; then
   12880     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' ' '`
   12881     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12882   fi
   12883 
   12884   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12885   # powerpc, because MkLinux only supported shared libraries with the
   12886   # GNU dynamic linker.  Since this was broken with cross compilers,
   12887   # most powerpc-linux boxes support dynamic linking these days and
   12888   # people can always --disable-shared, the test was removed, and we
   12889   # assume the GNU/Linux dynamic linker is in use.
   12890   dynamic_linker='GNU/Linux ld.so'
   12891   ;;
   12892 
   12893 knetbsd*-gnu)
   12894   version_type=linux
   12895   need_lib_prefix=no
   12896   need_version=no
   12897   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12898   soname_spec='${libname}${release}${shared_ext}$major'
   12899   shlibpath_var=LD_LIBRARY_PATH
   12900   shlibpath_overrides_runpath=no
   12901   hardcode_into_libs=yes
   12902   dynamic_linker='GNU ld.so'
   12903   ;;
   12904 
   12905 netbsd*)
   12906   version_type=sunos
   12907   need_lib_prefix=no
   12908   need_version=no
   12909   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12910     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12911     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12912     dynamic_linker='NetBSD (a.out) ld.so'
   12913   else
   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     dynamic_linker='NetBSD ld.elf_so'
   12917   fi
   12918   shlibpath_var=LD_LIBRARY_PATH
   12919   shlibpath_overrides_runpath=yes
   12920   hardcode_into_libs=yes
   12921   ;;
   12922 
   12923 newsos6)
   12924   version_type=linux
   12925   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12926   shlibpath_var=LD_LIBRARY_PATH
   12927   shlibpath_overrides_runpath=yes
   12928   ;;
   12929 
   12930 nto-qnx*)
   12931   version_type=linux
   12932   need_lib_prefix=no
   12933   need_version=no
   12934   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12935   soname_spec='${libname}${release}${shared_ext}$major'
   12936   shlibpath_var=LD_LIBRARY_PATH
   12937   shlibpath_overrides_runpath=yes
   12938   ;;
   12939 
   12940 openbsd*)
   12941   version_type=sunos
   12942   sys_lib_dlsearch_path_spec="/usr/lib"
   12943   need_lib_prefix=no
   12944   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   12945   case $host_os in
   12946     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   12947     *)                         need_version=no  ;;
   12948   esac
   12949   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12950   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12951   shlibpath_var=LD_LIBRARY_PATH
   12952   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12953     case $host_os in
   12954       openbsd2.[89] | openbsd2.[89].*)
   12955 	shlibpath_overrides_runpath=no
   12956 	;;
   12957       *)
   12958 	shlibpath_overrides_runpath=yes
   12959 	;;
   12960       esac
   12961   else
   12962     shlibpath_overrides_runpath=yes
   12963   fi
   12964   ;;
   12965 
   12966 os2*)
   12967   libname_spec='$name'
   12968   shrext_cmds=".dll"
   12969   need_lib_prefix=no
   12970   library_names_spec='$libname${shared_ext} $libname.a'
   12971   dynamic_linker='OS/2 ld.exe'
   12972   shlibpath_var=LIBPATH
   12973   ;;
   12974 
   12975 osf3* | osf4* | osf5*)
   12976   version_type=osf
   12977   need_lib_prefix=no
   12978   need_version=no
   12979   soname_spec='${libname}${release}${shared_ext}$major'
   12980   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12981   shlibpath_var=LD_LIBRARY_PATH
   12982   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12983   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   12984   ;;
   12985 
   12986 solaris*)
   12987   version_type=linux
   12988   need_lib_prefix=no
   12989   need_version=no
   12990   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12991   soname_spec='${libname}${release}${shared_ext}$major'
   12992   shlibpath_var=LD_LIBRARY_PATH
   12993   shlibpath_overrides_runpath=yes
   12994   hardcode_into_libs=yes
   12995   # ldd complains unless libraries are executable
   12996   postinstall_cmds='chmod +x $lib'
   12997   ;;
   12998 
   12999 sunos4*)
   13000   version_type=sunos
   13001   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13002   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13003   shlibpath_var=LD_LIBRARY_PATH
   13004   shlibpath_overrides_runpath=yes
   13005   if test "$with_gnu_ld" = yes; then
   13006     need_lib_prefix=no
   13007   fi
   13008   need_version=yes
   13009   ;;
   13010 
   13011 sysv4 | sysv4.3*)
   13012   version_type=linux
   13013   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13014   soname_spec='${libname}${release}${shared_ext}$major'
   13015   shlibpath_var=LD_LIBRARY_PATH
   13016   case $host_vendor in
   13017     sni)
   13018       shlibpath_overrides_runpath=no
   13019       need_lib_prefix=no
   13020       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13021       runpath_var=LD_RUN_PATH
   13022       ;;
   13023     siemens)
   13024       need_lib_prefix=no
   13025       ;;
   13026     motorola)
   13027       need_lib_prefix=no
   13028       need_version=no
   13029       shlibpath_overrides_runpath=no
   13030       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13031       ;;
   13032   esac
   13033   ;;
   13034 
   13035 sysv4*MP*)
   13036   if test -d /usr/nec ;then
   13037     version_type=linux
   13038     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13039     soname_spec='$libname${shared_ext}.$major'
   13040     shlibpath_var=LD_LIBRARY_PATH
   13041   fi
   13042   ;;
   13043 
   13044 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13045   version_type=freebsd-elf
   13046   need_lib_prefix=no
   13047   need_version=no
   13048   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13049   soname_spec='${libname}${release}${shared_ext}$major'
   13050   shlibpath_var=LD_LIBRARY_PATH
   13051   hardcode_into_libs=yes
   13052   if test "$with_gnu_ld" = yes; then
   13053     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13054     shlibpath_overrides_runpath=no
   13055   else
   13056     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13057     shlibpath_overrides_runpath=yes
   13058     case $host_os in
   13059       sco3.2v5*)
   13060         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13061 	;;
   13062     esac
   13063   fi
   13064   sys_lib_dlsearch_path_spec='/usr/lib'
   13065   ;;
   13066 
   13067 uts4*)
   13068   version_type=linux
   13069   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13070   soname_spec='${libname}${release}${shared_ext}$major'
   13071   shlibpath_var=LD_LIBRARY_PATH
   13072   ;;
   13073 
   13074 *)
   13075   dynamic_linker=no
   13076   ;;
   13077 esac
   13078 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13079 echo "${ECHO_T}$dynamic_linker" >&6; }
   13080 test "$dynamic_linker" = no && can_build_shared=no
   13081 
   13082 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13083 if test "$GCC" = yes; then
   13084   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13085 fi
   13086 
   13087 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13088 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13089 hardcode_action_CXX=
   13090 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13091    test -n "$runpath_var_CXX" || \
   13092    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13093 
   13094   # We can hardcode non-existant directories.
   13095   if test "$hardcode_direct_CXX" != no &&
   13096      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13097      # have to relink, otherwise we might link with an installed library
   13098      # when we should be linking with a yet-to-be-installed one
   13099      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13100      test "$hardcode_minus_L_CXX" != no; then
   13101     # Linking always hardcodes the temporary library directory.
   13102     hardcode_action_CXX=relink
   13103   else
   13104     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13105     hardcode_action_CXX=immediate
   13106   fi
   13107 else
   13108   # We cannot hardcode anything, or else we can only hardcode existing
   13109   # directories.
   13110   hardcode_action_CXX=unsupported
   13111 fi
   13112 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13113 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13114 
   13115 if test "$hardcode_action_CXX" = relink; then
   13116   # Fast installation is not supported
   13117   enable_fast_install=no
   13118 elif test "$shlibpath_overrides_runpath" = yes ||
   13119      test "$enable_shared" = no; then
   13120   # Fast installation is not necessary
   13121   enable_fast_install=needless
   13122 fi
   13123 
   13124 
   13125 # The else clause should only fire when bootstrapping the
   13126 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13127 # with your package, and you will get complaints that there are
   13128 # no rules to generate ltmain.sh.
   13129 if test -f "$ltmain"; then
   13130   # See if we are running on zsh, and set the options which allow our commands through
   13131   # without removal of \ escapes.
   13132   if test -n "${ZSH_VERSION+set}" ; then
   13133     setopt NO_GLOB_SUBST
   13134   fi
   13135   # Now quote all the things that may contain metacharacters while being
   13136   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13137   # variables and quote the copies for generation of the libtool script.
   13138   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13139     SED SHELL STRIP \
   13140     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13141     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13142     deplibs_check_method reload_flag reload_cmds need_locks \
   13143     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13144     lt_cv_sys_global_symbol_to_c_name_address \
   13145     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13146     old_postinstall_cmds old_postuninstall_cmds \
   13147     compiler_CXX \
   13148     CC_CXX \
   13149     LD_CXX \
   13150     lt_prog_compiler_wl_CXX \
   13151     lt_prog_compiler_pic_CXX \
   13152     lt_prog_compiler_static_CXX \
   13153     lt_prog_compiler_no_builtin_flag_CXX \
   13154     export_dynamic_flag_spec_CXX \
   13155     thread_safe_flag_spec_CXX \
   13156     whole_archive_flag_spec_CXX \
   13157     enable_shared_with_static_runtimes_CXX \
   13158     old_archive_cmds_CXX \
   13159     old_archive_from_new_cmds_CXX \
   13160     predep_objects_CXX \
   13161     postdep_objects_CXX \
   13162     predeps_CXX \
   13163     postdeps_CXX \
   13164     compiler_lib_search_path_CXX \
   13165     archive_cmds_CXX \
   13166     archive_expsym_cmds_CXX \
   13167     postinstall_cmds_CXX \
   13168     postuninstall_cmds_CXX \
   13169     old_archive_from_expsyms_cmds_CXX \
   13170     allow_undefined_flag_CXX \
   13171     no_undefined_flag_CXX \
   13172     export_symbols_cmds_CXX \
   13173     hardcode_libdir_flag_spec_CXX \
   13174     hardcode_libdir_flag_spec_ld_CXX \
   13175     hardcode_libdir_separator_CXX \
   13176     hardcode_automatic_CXX \
   13177     module_cmds_CXX \
   13178     module_expsym_cmds_CXX \
   13179     lt_cv_prog_compiler_c_o_CXX \
   13180     exclude_expsyms_CXX \
   13181     include_expsyms_CXX; do
   13182 
   13183     case $var in
   13184     old_archive_cmds_CXX | \
   13185     old_archive_from_new_cmds_CXX | \
   13186     archive_cmds_CXX | \
   13187     archive_expsym_cmds_CXX | \
   13188     module_cmds_CXX | \
   13189     module_expsym_cmds_CXX | \
   13190     old_archive_from_expsyms_cmds_CXX | \
   13191     export_symbols_cmds_CXX | \
   13192     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13193     postinstall_cmds | postuninstall_cmds | \
   13194     old_postinstall_cmds | old_postuninstall_cmds | \
   13195     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13196       # Double-quote double-evaled strings.
   13197       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13198       ;;
   13199     *)
   13200       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13201       ;;
   13202     esac
   13203   done
   13204 
   13205   case $lt_echo in
   13206   *'\$0 --fallback-echo"')
   13207     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13208     ;;
   13209   esac
   13210 
   13211 cfgfile="$ofile"
   13212 
   13213   cat <<__EOF__ >> "$cfgfile"
   13214 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13215 
   13216 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13217 
   13218 # Shell to use when invoking shell scripts.
   13219 SHELL=$lt_SHELL
   13220 
   13221 # Whether or not to build shared libraries.
   13222 build_libtool_libs=$enable_shared
   13223 
   13224 # Whether or not to build static libraries.
   13225 build_old_libs=$enable_static
   13226 
   13227 # Whether or not to add -lc for building shared libraries.
   13228 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13229 
   13230 # Whether or not to disallow shared libs when runtime libs are static
   13231 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13232 
   13233 # Whether or not to optimize for fast installation.
   13234 fast_install=$enable_fast_install
   13235 
   13236 # The host system.
   13237 host_alias=$host_alias
   13238 host=$host
   13239 host_os=$host_os
   13240 
   13241 # The build system.
   13242 build_alias=$build_alias
   13243 build=$build
   13244 build_os=$build_os
   13245 
   13246 # An echo program that does not interpret backslashes.
   13247 echo=$lt_echo
   13248 
   13249 # The archiver.
   13250 AR=$lt_AR
   13251 AR_FLAGS=$lt_AR_FLAGS
   13252 
   13253 # A C compiler.
   13254 LTCC=$lt_LTCC
   13255 
   13256 # LTCC compiler flags.
   13257 LTCFLAGS=$lt_LTCFLAGS
   13258 
   13259 # A language-specific compiler.
   13260 CC=$lt_compiler_CXX
   13261 
   13262 # Is the compiler the GNU C compiler?
   13263 with_gcc=$GCC_CXX
   13264 
   13265 # An ERE matcher.
   13266 EGREP=$lt_EGREP
   13267 
   13268 # The linker used to build libraries.
   13269 LD=$lt_LD_CXX
   13270 
   13271 # Whether we need hard or soft links.
   13272 LN_S=$lt_LN_S
   13273 
   13274 # A BSD-compatible nm program.
   13275 NM=$lt_NM
   13276 
   13277 # A symbol stripping program
   13278 STRIP=$lt_STRIP
   13279 
   13280 # Used to examine libraries when file_magic_cmd begins "file"
   13281 MAGIC_CMD=$MAGIC_CMD
   13282 
   13283 # Used on cygwin: DLL creation program.
   13284 DLLTOOL="$DLLTOOL"
   13285 
   13286 # Used on cygwin: object dumper.
   13287 OBJDUMP="$OBJDUMP"
   13288 
   13289 # Used on cygwin: assembler.
   13290 AS="$AS"
   13291 
   13292 # The name of the directory that contains temporary libtool files.
   13293 objdir=$objdir
   13294 
   13295 # How to create reloadable object files.
   13296 reload_flag=$lt_reload_flag
   13297 reload_cmds=$lt_reload_cmds
   13298 
   13299 # How to pass a linker flag through the compiler.
   13300 wl=$lt_lt_prog_compiler_wl_CXX
   13301 
   13302 # Object file suffix (normally "o").
   13303 objext="$ac_objext"
   13304 
   13305 # Old archive suffix (normally "a").
   13306 libext="$libext"
   13307 
   13308 # Shared library suffix (normally ".so").
   13309 shrext_cmds='$shrext_cmds'
   13310 
   13311 # Executable file suffix (normally "").
   13312 exeext="$exeext"
   13313 
   13314 # Additional compiler flags for building library objects.
   13315 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13316 pic_mode=$pic_mode
   13317 
   13318 # What is the maximum length of a command?
   13319 max_cmd_len=$lt_cv_sys_max_cmd_len
   13320 
   13321 # Does compiler simultaneously support -c and -o options?
   13322 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13323 
   13324 # Must we lock files when doing compilation?
   13325 need_locks=$lt_need_locks
   13326 
   13327 # Do we need the lib prefix for modules?
   13328 need_lib_prefix=$need_lib_prefix
   13329 
   13330 # Do we need a version for libraries?
   13331 need_version=$need_version
   13332 
   13333 # Whether dlopen is supported.
   13334 dlopen_support=$enable_dlopen
   13335 
   13336 # Whether dlopen of programs is supported.
   13337 dlopen_self=$enable_dlopen_self
   13338 
   13339 # Whether dlopen of statically linked programs is supported.
   13340 dlopen_self_static=$enable_dlopen_self_static
   13341 
   13342 # Compiler flag to prevent dynamic linking.
   13343 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13344 
   13345 # Compiler flag to turn off builtin functions.
   13346 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13347 
   13348 # Compiler flag to allow reflexive dlopens.
   13349 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13350 
   13351 # Compiler flag to generate shared objects directly from archives.
   13352 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13353 
   13354 # Compiler flag to generate thread-safe objects.
   13355 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13356 
   13357 # Library versioning type.
   13358 version_type=$version_type
   13359 
   13360 # Format of library name prefix.
   13361 libname_spec=$lt_libname_spec
   13362 
   13363 # List of archive names.  First name is the real one, the rest are links.
   13364 # The last name is the one that the linker finds with -lNAME.
   13365 library_names_spec=$lt_library_names_spec
   13366 
   13367 # The coded name of the library, if different from the real name.
   13368 soname_spec=$lt_soname_spec
   13369 
   13370 # Commands used to build and install an old-style archive.
   13371 RANLIB=$lt_RANLIB
   13372 old_archive_cmds=$lt_old_archive_cmds_CXX
   13373 old_postinstall_cmds=$lt_old_postinstall_cmds
   13374 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13375 
   13376 # Create an old-style archive from a shared archive.
   13377 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13378 
   13379 # Create a temporary old-style archive to link instead of a shared archive.
   13380 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13381 
   13382 # Commands used to build and install a shared archive.
   13383 archive_cmds=$lt_archive_cmds_CXX
   13384 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13385 postinstall_cmds=$lt_postinstall_cmds
   13386 postuninstall_cmds=$lt_postuninstall_cmds
   13387 
   13388 # Commands used to build a loadable module (assumed same as above if empty)
   13389 module_cmds=$lt_module_cmds_CXX
   13390 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13391 
   13392 # Commands to strip libraries.
   13393 old_striplib=$lt_old_striplib
   13394 striplib=$lt_striplib
   13395 
   13396 # Dependencies to place before the objects being linked to create a
   13397 # shared library.
   13398 predep_objects=$lt_predep_objects_CXX
   13399 
   13400 # Dependencies to place after the objects being linked to create a
   13401 # shared library.
   13402 postdep_objects=$lt_postdep_objects_CXX
   13403 
   13404 # Dependencies to place before the objects being linked to create a
   13405 # shared library.
   13406 predeps=$lt_predeps_CXX
   13407 
   13408 # Dependencies to place after the objects being linked to create a
   13409 # shared library.
   13410 postdeps=$lt_postdeps_CXX
   13411 
   13412 # The library search path used internally by the compiler when linking
   13413 # a shared library.
   13414 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13415 
   13416 # Method to check whether dependent libraries are shared objects.
   13417 deplibs_check_method=$lt_deplibs_check_method
   13418 
   13419 # Command to use when deplibs_check_method == file_magic.
   13420 file_magic_cmd=$lt_file_magic_cmd
   13421 
   13422 # Flag that allows shared libraries with undefined symbols to be built.
   13423 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13424 
   13425 # Flag that forces no undefined symbols.
   13426 no_undefined_flag=$lt_no_undefined_flag_CXX
   13427 
   13428 # Commands used to finish a libtool library installation in a directory.
   13429 finish_cmds=$lt_finish_cmds
   13430 
   13431 # Same as above, but a single script fragment to be evaled but not shown.
   13432 finish_eval=$lt_finish_eval
   13433 
   13434 # Take the output of nm and produce a listing of raw symbols and C names.
   13435 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13436 
   13437 # Transform the output of nm in a proper C declaration
   13438 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13439 
   13440 # Transform the output of nm in a C name address pair
   13441 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13442 
   13443 # This is the shared library runtime path variable.
   13444 runpath_var=$runpath_var
   13445 
   13446 # This is the shared library path variable.
   13447 shlibpath_var=$shlibpath_var
   13448 
   13449 # Is shlibpath searched before the hard-coded library search path?
   13450 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13451 
   13452 # How to hardcode a shared library path into an executable.
   13453 hardcode_action=$hardcode_action_CXX
   13454 
   13455 # Whether we should hardcode library paths into libraries.
   13456 hardcode_into_libs=$hardcode_into_libs
   13457 
   13458 # Flag to hardcode \$libdir into a binary during linking.
   13459 # This must work even if \$libdir does not exist.
   13460 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13461 
   13462 # If ld is used when linking, flag to hardcode \$libdir into
   13463 # a binary during linking. This must work even if \$libdir does
   13464 # not exist.
   13465 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13466 
   13467 # Whether we need a single -rpath flag with a separated argument.
   13468 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13469 
   13470 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13471 # resulting binary.
   13472 hardcode_direct=$hardcode_direct_CXX
   13473 
   13474 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13475 # resulting binary.
   13476 hardcode_minus_L=$hardcode_minus_L_CXX
   13477 
   13478 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13479 # the resulting binary.
   13480 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13481 
   13482 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13483 # and all subsequent libraries and executables linked against it.
   13484 hardcode_automatic=$hardcode_automatic_CXX
   13485 
   13486 # Variables whose values should be saved in libtool wrapper scripts and
   13487 # restored at relink time.
   13488 variables_saved_for_relink="$variables_saved_for_relink"
   13489 
   13490 # Whether libtool must link a program against all its dependency libraries.
   13491 link_all_deplibs=$link_all_deplibs_CXX
   13492 
   13493 # Compile-time system search path for libraries
   13494 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13495 
   13496 # Run-time system search path for libraries
   13497 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13498 
   13499 # Fix the shell variable \$srcfile for the compiler.
   13500 fix_srcfile_path="$fix_srcfile_path_CXX"
   13501 
   13502 # Set to yes if exported symbols are required.
   13503 always_export_symbols=$always_export_symbols_CXX
   13504 
   13505 # The commands to list exported symbols.
   13506 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   13507 
   13508 # The commands to extract the exported symbol list from a shared archive.
   13509 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13510 
   13511 # Symbols that should not be listed in the preloaded symbols.
   13512 exclude_expsyms=$lt_exclude_expsyms_CXX
   13513 
   13514 # Symbols that must always be exported.
   13515 include_expsyms=$lt_include_expsyms_CXX
   13516 
   13517 # ### END LIBTOOL TAG CONFIG: $tagname
   13518 
   13519 __EOF__
   13520 
   13521 
   13522 else
   13523   # If there is no Makefile yet, we rely on a make rule to execute
   13524   # `config.status --recheck' to rerun these tests and create the
   13525   # libtool script then.
   13526   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   13527   if test -f "$ltmain_in"; then
   13528     test -f Makefile && make "$ltmain"
   13529   fi
   13530 fi
   13531 
   13532 
   13533 ac_ext=c
   13534 ac_cpp='$CPP $CPPFLAGS'
   13535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13538 
   13539 CC=$lt_save_CC
   13540 LDCXX=$LD
   13541 LD=$lt_save_LD
   13542 GCC=$lt_save_GCC
   13543 with_gnu_ldcxx=$with_gnu_ld
   13544 with_gnu_ld=$lt_save_with_gnu_ld
   13545 lt_cv_path_LDCXX=$lt_cv_path_LD
   13546 lt_cv_path_LD=$lt_save_path_LD
   13547 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   13548 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   13549 
   13550 	else
   13551 	  tagname=""
   13552 	fi
   13553 	;;
   13554 
   13555       F77)
   13556 	if test -n "$F77" && test "X$F77" != "Xno"; then
   13557 
   13558 ac_ext=f
   13559 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   13560 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13561 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   13562 
   13563 
   13564 archive_cmds_need_lc_F77=no
   13565 allow_undefined_flag_F77=
   13566 always_export_symbols_F77=no
   13567 archive_expsym_cmds_F77=
   13568 export_dynamic_flag_spec_F77=
   13569 hardcode_direct_F77=no
   13570 hardcode_libdir_flag_spec_F77=
   13571 hardcode_libdir_flag_spec_ld_F77=
   13572 hardcode_libdir_separator_F77=
   13573 hardcode_minus_L_F77=no
   13574 hardcode_automatic_F77=no
   13575 module_cmds_F77=
   13576 module_expsym_cmds_F77=
   13577 link_all_deplibs_F77=unknown
   13578 old_archive_cmds_F77=$old_archive_cmds
   13579 no_undefined_flag_F77=
   13580 whole_archive_flag_spec_F77=
   13581 enable_shared_with_static_runtimes_F77=no
   13582 
   13583 # Source file extension for f77 test sources.
   13584 ac_ext=f
   13585 
   13586 # Object file extension for compiled f77 test sources.
   13587 objext=o
   13588 objext_F77=$objext
   13589 
   13590 # Code to be used in simple compile tests
   13591 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   13592 
   13593 # Code to be used in simple link tests
   13594 lt_simple_link_test_code="      program t\n      end\n"
   13595 
   13596 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13597 
   13598 # If no C compiler was specified, use CC.
   13599 LTCC=${LTCC-"$CC"}
   13600 
   13601 # If no C compiler flags were specified, use CFLAGS.
   13602 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13603 
   13604 # Allow CC to be a program name with arguments.
   13605 compiler=$CC
   13606 
   13607 
   13608 # save warnings/boilerplate of simple test code
   13609 ac_outfile=conftest.$ac_objext
   13610 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   13611 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13612 _lt_compiler_boilerplate=`cat conftest.err`
   13613 $rm conftest*
   13614 
   13615 ac_outfile=conftest.$ac_objext
   13616 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   13617 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13618 _lt_linker_boilerplate=`cat conftest.err`
   13619 $rm conftest*
   13620 
   13621 
   13622 # Allow CC to be a program name with arguments.
   13623 lt_save_CC="$CC"
   13624 CC=${F77-"f77"}
   13625 compiler=$CC
   13626 compiler_F77=$CC
   13627 for cc_temp in $compiler""; do
   13628   case $cc_temp in
   13629     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13630     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13631     \-*) ;;
   13632     *) break;;
   13633   esac
   13634 done
   13635 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13636 
   13637 
   13638 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   13639 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   13640 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   13641 echo "${ECHO_T}$can_build_shared" >&6; }
   13642 
   13643 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   13644 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   13645 test "$can_build_shared" = "no" && enable_shared=no
   13646 
   13647 # On AIX, shared libraries and static libraries use the same namespace, and
   13648 # are all built from PIC.
   13649 case $host_os in
   13650 aix3*)
   13651   test "$enable_shared" = yes && enable_static=no
   13652   if test -n "$RANLIB"; then
   13653     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13654     postinstall_cmds='$RANLIB $lib'
   13655   fi
   13656   ;;
   13657 aix4* | aix5*)
   13658   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13659     test "$enable_shared" = yes && enable_static=no
   13660   fi
   13661   ;;
   13662 esac
   13663 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   13664 echo "${ECHO_T}$enable_shared" >&6; }
   13665 
   13666 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13667 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   13668 # Make sure either enable_shared or enable_static is yes.
   13669 test "$enable_shared" = yes || enable_static=yes
   13670 { echo "$as_me:$LINENO: result: $enable_static" >&5
   13671 echo "${ECHO_T}$enable_static" >&6; }
   13672 
   13673 GCC_F77="$G77"
   13674 LD_F77="$LD"
   13675 
   13676 lt_prog_compiler_wl_F77=
   13677 lt_prog_compiler_pic_F77=
   13678 lt_prog_compiler_static_F77=
   13679 
   13680 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   13681 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   13682 
   13683   if test "$GCC" = yes; then
   13684     lt_prog_compiler_wl_F77='-Wl,'
   13685     lt_prog_compiler_static_F77='-static'
   13686 
   13687     case $host_os in
   13688       aix*)
   13689       # All AIX code is PIC.
   13690       if test "$host_cpu" = ia64; then
   13691 	# AIX 5 now supports IA64 processor
   13692 	lt_prog_compiler_static_F77='-Bstatic'
   13693       fi
   13694       ;;
   13695 
   13696     amigaos*)
   13697       # FIXME: we need at least 68020 code to build shared libraries, but
   13698       # adding the `-m68020' flag to GCC prevents building anything better,
   13699       # like `-m68040'.
   13700       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   13701       ;;
   13702 
   13703     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13704       # PIC is the default for these OSes.
   13705       ;;
   13706 
   13707     mingw* | pw32* | os2*)
   13708       # This hack is so that the source file can tell whether it is being
   13709       # built for inclusion in a dll (and should export symbols for example).
   13710       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13711       ;;
   13712 
   13713     darwin* | rhapsody*)
   13714       # PIC is the default on this platform
   13715       # Common symbols not allowed in MH_DYLIB files
   13716       lt_prog_compiler_pic_F77='-fno-common'
   13717       ;;
   13718 
   13719     interix3*)
   13720       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13721       # Instead, we relocate shared libraries at runtime.
   13722       ;;
   13723 
   13724     msdosdjgpp*)
   13725       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13726       # on systems that don't support them.
   13727       lt_prog_compiler_can_build_shared_F77=no
   13728       enable_shared=no
   13729       ;;
   13730 
   13731     sysv4*MP*)
   13732       if test -d /usr/nec; then
   13733 	lt_prog_compiler_pic_F77=-Kconform_pic
   13734       fi
   13735       ;;
   13736 
   13737     hpux*)
   13738       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13739       # not for PA HP-UX.
   13740       case $host_cpu in
   13741       hppa*64*|ia64*)
   13742 	# +Z the default
   13743 	;;
   13744       *)
   13745 	lt_prog_compiler_pic_F77='-fPIC'
   13746 	;;
   13747       esac
   13748       ;;
   13749 
   13750     *)
   13751       lt_prog_compiler_pic_F77='-fPIC'
   13752       ;;
   13753     esac
   13754   else
   13755     # PORTME Check for flag to pass linker flags through the system compiler.
   13756     case $host_os in
   13757     aix*)
   13758       lt_prog_compiler_wl_F77='-Wl,'
   13759       if test "$host_cpu" = ia64; then
   13760 	# AIX 5 now supports IA64 processor
   13761 	lt_prog_compiler_static_F77='-Bstatic'
   13762       else
   13763 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   13764       fi
   13765       ;;
   13766       darwin*)
   13767         # PIC is the default on this platform
   13768         # Common symbols not allowed in MH_DYLIB files
   13769        case $cc_basename in
   13770          xlc*)
   13771          lt_prog_compiler_pic_F77='-qnocommon'
   13772          lt_prog_compiler_wl_F77='-Wl,'
   13773          ;;
   13774        esac
   13775        ;;
   13776 
   13777     mingw* | pw32* | os2*)
   13778       # This hack is so that the source file can tell whether it is being
   13779       # built for inclusion in a dll (and should export symbols for example).
   13780       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13781       ;;
   13782 
   13783     hpux9* | hpux10* | hpux11*)
   13784       lt_prog_compiler_wl_F77='-Wl,'
   13785       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13786       # not for PA HP-UX.
   13787       case $host_cpu in
   13788       hppa*64*|ia64*)
   13789 	# +Z the default
   13790 	;;
   13791       *)
   13792 	lt_prog_compiler_pic_F77='+Z'
   13793 	;;
   13794       esac
   13795       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13796       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   13797       ;;
   13798 
   13799     irix5* | irix6* | nonstopux*)
   13800       lt_prog_compiler_wl_F77='-Wl,'
   13801       # PIC (with -KPIC) is the default.
   13802       lt_prog_compiler_static_F77='-non_shared'
   13803       ;;
   13804 
   13805     newsos6)
   13806       lt_prog_compiler_pic_F77='-KPIC'
   13807       lt_prog_compiler_static_F77='-Bstatic'
   13808       ;;
   13809 
   13810     linux*)
   13811       case $cc_basename in
   13812       icc* | ecc*)
   13813 	lt_prog_compiler_wl_F77='-Wl,'
   13814 	lt_prog_compiler_pic_F77='-KPIC'
   13815 	lt_prog_compiler_static_F77='-static'
   13816         ;;
   13817       pgcc* | pgf77* | pgf90* | pgf95*)
   13818         # Portland Group compilers (*not* the Pentium gcc compiler,
   13819 	# which looks to be a dead project)
   13820 	lt_prog_compiler_wl_F77='-Wl,'
   13821 	lt_prog_compiler_pic_F77='-fpic'
   13822 	lt_prog_compiler_static_F77='-Bstatic'
   13823         ;;
   13824       ccc*)
   13825         lt_prog_compiler_wl_F77='-Wl,'
   13826         # All Alpha code is PIC.
   13827         lt_prog_compiler_static_F77='-non_shared'
   13828         ;;
   13829       esac
   13830       ;;
   13831 
   13832     osf3* | osf4* | osf5*)
   13833       lt_prog_compiler_wl_F77='-Wl,'
   13834       # All OSF/1 code is PIC.
   13835       lt_prog_compiler_static_F77='-non_shared'
   13836       ;;
   13837 
   13838     solaris*)
   13839       lt_prog_compiler_pic_F77='-KPIC'
   13840       lt_prog_compiler_static_F77='-Bstatic'
   13841       case $cc_basename in
   13842       f77* | f90* | f95*)
   13843 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   13844       *)
   13845 	lt_prog_compiler_wl_F77='-Wl,';;
   13846       esac
   13847       ;;
   13848 
   13849     sunos4*)
   13850       lt_prog_compiler_wl_F77='-Qoption ld '
   13851       lt_prog_compiler_pic_F77='-PIC'
   13852       lt_prog_compiler_static_F77='-Bstatic'
   13853       ;;
   13854 
   13855     sysv4 | sysv4.2uw2* | sysv4.3*)
   13856       lt_prog_compiler_wl_F77='-Wl,'
   13857       lt_prog_compiler_pic_F77='-KPIC'
   13858       lt_prog_compiler_static_F77='-Bstatic'
   13859       ;;
   13860 
   13861     sysv4*MP*)
   13862       if test -d /usr/nec ;then
   13863 	lt_prog_compiler_pic_F77='-Kconform_pic'
   13864 	lt_prog_compiler_static_F77='-Bstatic'
   13865       fi
   13866       ;;
   13867 
   13868     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13869       lt_prog_compiler_wl_F77='-Wl,'
   13870       lt_prog_compiler_pic_F77='-KPIC'
   13871       lt_prog_compiler_static_F77='-Bstatic'
   13872       ;;
   13873 
   13874     unicos*)
   13875       lt_prog_compiler_wl_F77='-Wl,'
   13876       lt_prog_compiler_can_build_shared_F77=no
   13877       ;;
   13878 
   13879     uts4*)
   13880       lt_prog_compiler_pic_F77='-pic'
   13881       lt_prog_compiler_static_F77='-Bstatic'
   13882       ;;
   13883 
   13884     *)
   13885       lt_prog_compiler_can_build_shared_F77=no
   13886       ;;
   13887     esac
   13888   fi
   13889 
   13890 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   13891 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   13892 
   13893 #
   13894 # Check to make sure the PIC flag actually works.
   13895 #
   13896 if test -n "$lt_prog_compiler_pic_F77"; then
   13897 
   13898 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   13899 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   13900 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   13901   echo $ECHO_N "(cached) $ECHO_C" >&6
   13902 else
   13903   lt_prog_compiler_pic_works_F77=no
   13904   ac_outfile=conftest.$ac_objext
   13905    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13906    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   13907    # Insert the option either (1) after the last *FLAGS variable, or
   13908    # (2) before a word containing "conftest.", or (3) at the end.
   13909    # Note that $ac_compile itself does not contain backslashes and begins
   13910    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13911    # The option is referenced via a variable to avoid confusing sed.
   13912    lt_compile=`echo "$ac_compile" | $SED \
   13913    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13914    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13915    -e 's:$: $lt_compiler_flag:'`
   13916    (eval echo "\"\$as_me:13916: $lt_compile\"" >&5)
   13917    (eval "$lt_compile" 2>conftest.err)
   13918    ac_status=$?
   13919    cat conftest.err >&5
   13920    echo "$as_me:13920: \$? = $ac_status" >&5
   13921    if (exit $ac_status) && test -s "$ac_outfile"; then
   13922      # The compiler can only warn and ignore the option if not recognized
   13923      # So say no if there are warnings other than the usual output.
   13924      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   13925      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13926      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13927        lt_prog_compiler_pic_works_F77=yes
   13928      fi
   13929    fi
   13930    $rm conftest*
   13931 
   13932 fi
   13933 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   13934 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   13935 
   13936 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   13937     case $lt_prog_compiler_pic_F77 in
   13938      "" | " "*) ;;
   13939      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   13940      esac
   13941 else
   13942     lt_prog_compiler_pic_F77=
   13943      lt_prog_compiler_can_build_shared_F77=no
   13944 fi
   13945 
   13946 fi
   13947 case $host_os in
   13948   # For platforms which do not support PIC, -DPIC is meaningless:
   13949   *djgpp*)
   13950     lt_prog_compiler_pic_F77=
   13951     ;;
   13952   *)
   13953     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   13954     ;;
   13955 esac
   13956 
   13957 #
   13958 # Check to make sure the static flag actually works.
   13959 #
   13960 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   13961 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13962 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   13963 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   13964   echo $ECHO_N "(cached) $ECHO_C" >&6
   13965 else
   13966   lt_prog_compiler_static_works_F77=no
   13967    save_LDFLAGS="$LDFLAGS"
   13968    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13969    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   13970    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13971      # The linker can only warn and ignore the option if not recognized
   13972      # So say no if there are warnings
   13973      if test -s conftest.err; then
   13974        # Append any errors to the config.log.
   13975        cat conftest.err 1>&5
   13976        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13977        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13978        if diff conftest.exp conftest.er2 >/dev/null; then
   13979          lt_prog_compiler_static_works_F77=yes
   13980        fi
   13981      else
   13982        lt_prog_compiler_static_works_F77=yes
   13983      fi
   13984    fi
   13985    $rm conftest*
   13986    LDFLAGS="$save_LDFLAGS"
   13987 
   13988 fi
   13989 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   13990 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   13991 
   13992 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   13993     :
   13994 else
   13995     lt_prog_compiler_static_F77=
   13996 fi
   13997 
   13998 
   13999 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14000 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   14001 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14002   echo $ECHO_N "(cached) $ECHO_C" >&6
   14003 else
   14004   lt_cv_prog_compiler_c_o_F77=no
   14005    $rm -r conftest 2>/dev/null
   14006    mkdir conftest
   14007    cd conftest
   14008    mkdir out
   14009    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14010 
   14011    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14012    # Insert the option either (1) after the last *FLAGS variable, or
   14013    # (2) before a word containing "conftest.", or (3) at the end.
   14014    # Note that $ac_compile itself does not contain backslashes and begins
   14015    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14016    lt_compile=`echo "$ac_compile" | $SED \
   14017    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14018    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14019    -e 's:$: $lt_compiler_flag:'`
   14020    (eval echo "\"\$as_me:14020: $lt_compile\"" >&5)
   14021    (eval "$lt_compile" 2>out/conftest.err)
   14022    ac_status=$?
   14023    cat out/conftest.err >&5
   14024    echo "$as_me:14024: \$? = $ac_status" >&5
   14025    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14026    then
   14027      # The compiler can only warn and ignore the option if not recognized
   14028      # So say no if there are warnings
   14029      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14030      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14031      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14032        lt_cv_prog_compiler_c_o_F77=yes
   14033      fi
   14034    fi
   14035    chmod u+w . 2>&5
   14036    $rm conftest*
   14037    # SGI C++ compiler will create directory out/ii_files/ for
   14038    # template instantiation
   14039    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14040    $rm out/* && rmdir out
   14041    cd ..
   14042    rmdir conftest
   14043    $rm conftest*
   14044 
   14045 fi
   14046 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14047 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14048 
   14049 
   14050 hard_links="nottested"
   14051 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14052   # do not overwrite the value of need_locks provided by the user
   14053   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14054 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14055   hard_links=yes
   14056   $rm conftest*
   14057   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14058   touch conftest.a
   14059   ln conftest.a conftest.b 2>&5 || hard_links=no
   14060   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14061   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14062 echo "${ECHO_T}$hard_links" >&6; }
   14063   if test "$hard_links" = no; then
   14064     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14065 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14066     need_locks=warn
   14067   fi
   14068 else
   14069   need_locks=no
   14070 fi
   14071 
   14072 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14073 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14074 
   14075   runpath_var=
   14076   allow_undefined_flag_F77=
   14077   enable_shared_with_static_runtimes_F77=no
   14078   archive_cmds_F77=
   14079   archive_expsym_cmds_F77=
   14080   old_archive_From_new_cmds_F77=
   14081   old_archive_from_expsyms_cmds_F77=
   14082   export_dynamic_flag_spec_F77=
   14083   whole_archive_flag_spec_F77=
   14084   thread_safe_flag_spec_F77=
   14085   hardcode_libdir_flag_spec_F77=
   14086   hardcode_libdir_flag_spec_ld_F77=
   14087   hardcode_libdir_separator_F77=
   14088   hardcode_direct_F77=no
   14089   hardcode_minus_L_F77=no
   14090   hardcode_shlibpath_var_F77=unsupported
   14091   link_all_deplibs_F77=unknown
   14092   hardcode_automatic_F77=no
   14093   module_cmds_F77=
   14094   module_expsym_cmds_F77=
   14095   always_export_symbols_F77=no
   14096   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14097   # include_expsyms should be a list of space-separated symbols to be *always*
   14098   # included in the symbol list
   14099   include_expsyms_F77=
   14100   # exclude_expsyms can be an extended regexp of symbols to exclude
   14101   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14102   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14103   # as well as any symbol that contains `d'.
   14104   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14105   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14106   # platforms (ab)use it in PIC code, but their linkers get confused if
   14107   # the symbol is explicitly referenced.  Since portable code cannot
   14108   # rely on this symbol name, it's probably fine to never include it in
   14109   # preloaded symbol tables.
   14110   extract_expsyms_cmds=
   14111   # Just being paranoid about ensuring that cc_basename is set.
   14112   for cc_temp in $compiler""; do
   14113   case $cc_temp in
   14114     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14115     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14116     \-*) ;;
   14117     *) break;;
   14118   esac
   14119 done
   14120 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14121 
   14122   case $host_os in
   14123   cygwin* | mingw* | pw32*)
   14124     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14125     # When not using gcc, we currently assume that we are using
   14126     # Microsoft Visual C++.
   14127     if test "$GCC" != yes; then
   14128       with_gnu_ld=no
   14129     fi
   14130     ;;
   14131   interix*)
   14132     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14133     with_gnu_ld=yes
   14134     ;;
   14135   openbsd*)
   14136     with_gnu_ld=no
   14137     ;;
   14138   esac
   14139 
   14140   ld_shlibs_F77=yes
   14141   if test "$with_gnu_ld" = yes; then
   14142     # If archive_cmds runs LD, not CC, wlarc should be empty
   14143     wlarc='${wl}'
   14144 
   14145     # Set some defaults for GNU ld with shared library support. These
   14146     # are reset later if shared libraries are not supported. Putting them
   14147     # here allows them to be overridden if necessary.
   14148     runpath_var=LD_RUN_PATH
   14149     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14150     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14151     # ancient GNU ld didn't support --whole-archive et. al.
   14152     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14153 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14154       else
   14155   	whole_archive_flag_spec_F77=
   14156     fi
   14157     supports_anon_versioning=no
   14158     case `$LD -v 2>/dev/null` in
   14159       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14160       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14161       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14162       *\ 2.11.*) ;; # other 2.11 versions
   14163       *) supports_anon_versioning=yes ;;
   14164     esac
   14165 
   14166     # See if GNU ld supports shared libraries.
   14167     case $host_os in
   14168     aix3* | aix4* | aix5*)
   14169       # On AIX/PPC, the GNU linker is very broken
   14170       if test "$host_cpu" != ia64; then
   14171 	ld_shlibs_F77=no
   14172 	cat <<EOF 1>&2
   14173 
   14174 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14175 *** to be unable to reliably create shared libraries on AIX.
   14176 *** Therefore, libtool is disabling shared libraries support.  If you
   14177 *** really care for shared libraries, you may want to modify your PATH
   14178 *** so that a non-GNU linker is found, and then restart.
   14179 
   14180 EOF
   14181       fi
   14182       ;;
   14183 
   14184     amigaos*)
   14185       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)'
   14186       hardcode_libdir_flag_spec_F77='-L$libdir'
   14187       hardcode_minus_L_F77=yes
   14188 
   14189       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14190       # that the semantics of dynamic libraries on AmigaOS, at least up
   14191       # to version 4, is to share data among multiple programs linked
   14192       # with the same dynamic library.  Since this doesn't match the
   14193       # behavior of shared libraries on other platforms, we can't use
   14194       # them.
   14195       ld_shlibs_F77=no
   14196       ;;
   14197 
   14198     beos*)
   14199       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14200 	allow_undefined_flag_F77=unsupported
   14201 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14202 	# support --undefined.  This deserves some investigation.  FIXME
   14203 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14204       else
   14205 	ld_shlibs_F77=no
   14206       fi
   14207       ;;
   14208 
   14209     cygwin* | mingw* | pw32*)
   14210       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14211       # as there is no search path for DLLs.
   14212       hardcode_libdir_flag_spec_F77='-L$libdir'
   14213       allow_undefined_flag_F77=unsupported
   14214       always_export_symbols_F77=no
   14215       enable_shared_with_static_runtimes_F77=yes
   14216       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   14217 
   14218       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14219         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14220 	# If the export-symbols file already is a .def file (1st line
   14221 	# is EXPORTS), use it as is; otherwise, prepend...
   14222 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14223 	  cp $export_symbols $output_objdir/$soname.def;
   14224 	else
   14225 	  echo EXPORTS > $output_objdir/$soname.def;
   14226 	  cat $export_symbols >> $output_objdir/$soname.def;
   14227 	fi~
   14228 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14229       else
   14230 	ld_shlibs_F77=no
   14231       fi
   14232       ;;
   14233 
   14234     interix3*)
   14235       hardcode_direct_F77=no
   14236       hardcode_shlibpath_var_F77=no
   14237       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14238       export_dynamic_flag_spec_F77='${wl}-E'
   14239       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14240       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14241       # default) and relocated if they conflict, which is a slow very memory
   14242       # consuming and fragmenting process.  To avoid this, we pick a random,
   14243       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14244       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14245       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'
   14246       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'
   14247       ;;
   14248 
   14249     linux*)
   14250       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14251 	tmp_addflag=
   14252 	case $cc_basename,$host_cpu in
   14253 	pgcc*)				# Portland Group C compiler
   14254 	  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'
   14255 	  tmp_addflag=' $pic_flag'
   14256 	  ;;
   14257 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14258 	  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'
   14259 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14260 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14261 	  tmp_addflag=' -i_dynamic' ;;
   14262 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14263 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14264 	ifc* | ifort*)			# Intel Fortran compiler
   14265 	  tmp_addflag=' -nofor_main' ;;
   14266 	esac
   14267 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14268 
   14269 	if test $supports_anon_versioning = yes; then
   14270 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14271   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14272   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14273 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14274 	fi
   14275       else
   14276 	ld_shlibs_F77=no
   14277       fi
   14278       ;;
   14279 
   14280     netbsd*)
   14281       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14282 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14283 	wlarc=
   14284       else
   14285 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14286 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14287       fi
   14288       ;;
   14289 
   14290     solaris*)
   14291       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14292 	ld_shlibs_F77=no
   14293 	cat <<EOF 1>&2
   14294 
   14295 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14296 *** create shared libraries on Solaris systems.  Therefore, libtool
   14297 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14298 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14299 *** your PATH or compiler configuration so that the native linker is
   14300 *** used, and then restart.
   14301 
   14302 EOF
   14303       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14304 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14305 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14306       else
   14307 	ld_shlibs_F77=no
   14308       fi
   14309       ;;
   14310 
   14311     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14312       case `$LD -v 2>&1` in
   14313         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14314 	ld_shlibs_F77=no
   14315 	cat <<_LT_EOF 1>&2
   14316 
   14317 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14318 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14319 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14320 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14321 *** your PATH or compiler configuration so that the native linker is
   14322 *** used, and then restart.
   14323 
   14324 _LT_EOF
   14325 	;;
   14326 	*)
   14327 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14328 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14329 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14330 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14331 	  else
   14332 	    ld_shlibs_F77=no
   14333 	  fi
   14334 	;;
   14335       esac
   14336       ;;
   14337 
   14338     sunos4*)
   14339       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14340       wlarc=
   14341       hardcode_direct_F77=yes
   14342       hardcode_shlibpath_var_F77=no
   14343       ;;
   14344 
   14345     *)
   14346       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14347 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14348 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14349       else
   14350 	ld_shlibs_F77=no
   14351       fi
   14352       ;;
   14353     esac
   14354 
   14355     if test "$ld_shlibs_F77" = no; then
   14356       runpath_var=
   14357       hardcode_libdir_flag_spec_F77=
   14358       export_dynamic_flag_spec_F77=
   14359       whole_archive_flag_spec_F77=
   14360     fi
   14361   else
   14362     # PORTME fill in a description of your system's linker (not GNU ld)
   14363     case $host_os in
   14364     aix3*)
   14365       allow_undefined_flag_F77=unsupported
   14366       always_export_symbols_F77=yes
   14367       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'
   14368       # Note: this linker hardcodes the directories in LIBPATH if there
   14369       # are no directories specified by -L.
   14370       hardcode_minus_L_F77=yes
   14371       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14372 	# Neither direct hardcoding nor static linking is supported with a
   14373 	# broken collect2.
   14374 	hardcode_direct_F77=unsupported
   14375       fi
   14376       ;;
   14377 
   14378     aix4* | aix5*)
   14379       if test "$host_cpu" = ia64; then
   14380 	# On IA64, the linker does run time linking by default, so we don't
   14381 	# have to do anything special.
   14382 	aix_use_runtimelinking=no
   14383 	exp_sym_flag='-Bexport'
   14384 	no_entry_flag=""
   14385       else
   14386 	# If we're using GNU nm, then we don't want the "-C" option.
   14387 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14388 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14389 	  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'
   14390 	else
   14391 	  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'
   14392 	fi
   14393 	aix_use_runtimelinking=no
   14394 
   14395 	# Test if we are trying to use run time linking or normal
   14396 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14397 	# need to do runtime linking.
   14398 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14399 	  for ld_flag in $LDFLAGS; do
   14400   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14401   	    aix_use_runtimelinking=yes
   14402   	    break
   14403   	  fi
   14404 	  done
   14405 	  ;;
   14406 	esac
   14407 
   14408 	exp_sym_flag='-bexport'
   14409 	no_entry_flag='-bnoentry'
   14410       fi
   14411 
   14412       # When large executables or shared objects are built, AIX ld can
   14413       # have problems creating the table of contents.  If linking a library
   14414       # or program results in "error TOC overflow" add -mminimal-toc to
   14415       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14416       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14417 
   14418       archive_cmds_F77=''
   14419       hardcode_direct_F77=yes
   14420       hardcode_libdir_separator_F77=':'
   14421       link_all_deplibs_F77=yes
   14422 
   14423       if test "$GCC" = yes; then
   14424 	case $host_os in aix4.[012]|aix4.[012].*)
   14425 	# We only want to do this on AIX 4.2 and lower, the check
   14426 	# below for broken collect2 doesn't work under 4.3+
   14427 	  collect2name=`${CC} -print-prog-name=collect2`
   14428 	  if test -f "$collect2name" && \
   14429   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14430 	  then
   14431   	  # We have reworked collect2
   14432   	  hardcode_direct_F77=yes
   14433 	  else
   14434   	  # We have old collect2
   14435   	  hardcode_direct_F77=unsupported
   14436   	  # It fails to find uninstalled libraries when the uninstalled
   14437   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14438   	  # to unsupported forces relinking
   14439   	  hardcode_minus_L_F77=yes
   14440   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14441   	  hardcode_libdir_separator_F77=
   14442 	  fi
   14443 	  ;;
   14444 	esac
   14445 	shared_flag='-shared'
   14446 	if test "$aix_use_runtimelinking" = yes; then
   14447 	  shared_flag="$shared_flag "'${wl}-G'
   14448 	fi
   14449       else
   14450 	# not using gcc
   14451 	if test "$host_cpu" = ia64; then
   14452   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14453   	# chokes on -Wl,-G. The following line is correct:
   14454 	  shared_flag='-G'
   14455 	else
   14456 	  if test "$aix_use_runtimelinking" = yes; then
   14457 	    shared_flag='${wl}-G'
   14458 	  else
   14459 	    shared_flag='${wl}-bM:SRE'
   14460 	  fi
   14461 	fi
   14462       fi
   14463 
   14464       # It seems that -bexpall does not export symbols beginning with
   14465       # underscore (_), so it is better to generate a list of symbols to export.
   14466       always_export_symbols_F77=yes
   14467       if test "$aix_use_runtimelinking" = yes; then
   14468 	# Warning - without using the other runtime loading flags (-brtl),
   14469 	# -berok will link without error, but may produce a broken library.
   14470 	allow_undefined_flag_F77='-berok'
   14471        # Determine the default libpath from the value encoded in an empty executable.
   14472        cat >conftest.$ac_ext <<_ACEOF
   14473       program main
   14474 
   14475       end
   14476 _ACEOF
   14477 rm -f conftest.$ac_objext conftest$ac_exeext
   14478 if { (ac_try="$ac_link"
   14479 case "(($ac_try" in
   14480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14481   *) ac_try_echo=$ac_try;;
   14482 esac
   14483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14484   (eval "$ac_link") 2>conftest.er1
   14485   ac_status=$?
   14486   grep -v '^ *+' conftest.er1 >conftest.err
   14487   rm -f conftest.er1
   14488   cat conftest.err >&5
   14489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14490   (exit $ac_status); } && {
   14491 	 test -z "$ac_f77_werror_flag" ||
   14492 	 test ! -s conftest.err
   14493        } && test -s conftest$ac_exeext &&
   14494        $as_test_x conftest$ac_exeext; then
   14495 
   14496 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14497 }'`
   14498 # Check for a 64-bit object if we didn't find anything.
   14499 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; }
   14500 }'`; fi
   14501 else
   14502   echo "$as_me: failed program was:" >&5
   14503 sed 's/^/| /' conftest.$ac_ext >&5
   14504 
   14505 
   14506 fi
   14507 
   14508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14509       conftest$ac_exeext conftest.$ac_ext
   14510 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14511 
   14512        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14513 	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"
   14514        else
   14515 	if test "$host_cpu" = ia64; then
   14516 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   14517 	  allow_undefined_flag_F77="-z nodefs"
   14518 	  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"
   14519 	else
   14520 	 # Determine the default libpath from the value encoded in an empty executable.
   14521 	 cat >conftest.$ac_ext <<_ACEOF
   14522       program main
   14523 
   14524       end
   14525 _ACEOF
   14526 rm -f conftest.$ac_objext conftest$ac_exeext
   14527 if { (ac_try="$ac_link"
   14528 case "(($ac_try" in
   14529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14530   *) ac_try_echo=$ac_try;;
   14531 esac
   14532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14533   (eval "$ac_link") 2>conftest.er1
   14534   ac_status=$?
   14535   grep -v '^ *+' conftest.er1 >conftest.err
   14536   rm -f conftest.er1
   14537   cat conftest.err >&5
   14538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14539   (exit $ac_status); } && {
   14540 	 test -z "$ac_f77_werror_flag" ||
   14541 	 test ! -s conftest.err
   14542        } && test -s conftest$ac_exeext &&
   14543        $as_test_x conftest$ac_exeext; then
   14544 
   14545 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14546 }'`
   14547 # Check for a 64-bit object if we didn't find anything.
   14548 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; }
   14549 }'`; fi
   14550 else
   14551   echo "$as_me: failed program was:" >&5
   14552 sed 's/^/| /' conftest.$ac_ext >&5
   14553 
   14554 
   14555 fi
   14556 
   14557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14558       conftest$ac_exeext conftest.$ac_ext
   14559 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14560 
   14561 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14562 	  # Warning - without using the other run time loading flags,
   14563 	  # -berok will link without error, but may produce a broken library.
   14564 	  no_undefined_flag_F77=' ${wl}-bernotok'
   14565 	  allow_undefined_flag_F77=' ${wl}-berok'
   14566 	  # Exported symbols can be pulled into shared objects from archives
   14567 	  whole_archive_flag_spec_F77='$convenience'
   14568 	  archive_cmds_need_lc_F77=yes
   14569 	  # This is similar to how AIX traditionally builds its shared libraries.
   14570 	  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'
   14571 	fi
   14572       fi
   14573       ;;
   14574 
   14575     amigaos*)
   14576       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)'
   14577       hardcode_libdir_flag_spec_F77='-L$libdir'
   14578       hardcode_minus_L_F77=yes
   14579       # see comment about different semantics on the GNU ld section
   14580       ld_shlibs_F77=no
   14581       ;;
   14582 
   14583     bsdi[45]*)
   14584       export_dynamic_flag_spec_F77=-rdynamic
   14585       ;;
   14586 
   14587     cygwin* | mingw* | pw32*)
   14588       # When not using gcc, we currently assume that we are using
   14589       # Microsoft Visual C++.
   14590       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14591       # no search path for DLLs.
   14592       hardcode_libdir_flag_spec_F77=' '
   14593       allow_undefined_flag_F77=unsupported
   14594       # Tell ltmain to make .lib files, not .a files.
   14595       libext=lib
   14596       # Tell ltmain to make .dll files, not .so files.
   14597       shrext_cmds=".dll"
   14598       # FIXME: Setting linknames here is a bad hack.
   14599       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   14600       # The linker will automatically build a .lib file if we build a DLL.
   14601       old_archive_From_new_cmds_F77='true'
   14602       # FIXME: Should let the user specify the lib program.
   14603       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   14604       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   14605       enable_shared_with_static_runtimes_F77=yes
   14606       ;;
   14607 
   14608     darwin* | rhapsody*)
   14609       case $host_os in
   14610         rhapsody* | darwin1.[012])
   14611          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   14612          ;;
   14613        *) # Darwin 1.3 on
   14614          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   14615            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14616          else
   14617            case ${MACOSX_DEPLOYMENT_TARGET} in
   14618              10.[012])
   14619                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14620                ;;
   14621              10.*)
   14622                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   14623                ;;
   14624            esac
   14625          fi
   14626          ;;
   14627       esac
   14628       archive_cmds_need_lc_F77=no
   14629       hardcode_direct_F77=no
   14630       hardcode_automatic_F77=yes
   14631       hardcode_shlibpath_var_F77=unsupported
   14632       whole_archive_flag_spec_F77=''
   14633       link_all_deplibs_F77=yes
   14634     if test "$GCC" = yes ; then
   14635     	output_verbose_link_cmd='echo'
   14636         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   14637       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14638       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14639       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}'
   14640       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}'
   14641     else
   14642       case $cc_basename in
   14643         xlc*)
   14644          output_verbose_link_cmd='echo'
   14645          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   14646          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14647           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14648          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}'
   14649           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}'
   14650           ;;
   14651        *)
   14652          ld_shlibs_F77=no
   14653           ;;
   14654       esac
   14655     fi
   14656       ;;
   14657 
   14658     dgux*)
   14659       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14660       hardcode_libdir_flag_spec_F77='-L$libdir'
   14661       hardcode_shlibpath_var_F77=no
   14662       ;;
   14663 
   14664     freebsd1*)
   14665       ld_shlibs_F77=no
   14666       ;;
   14667 
   14668     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14669     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14670     # does not break anything, and helps significantly (at the cost of a little
   14671     # extra space).
   14672     freebsd2.2*)
   14673       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14674       hardcode_libdir_flag_spec_F77='-R$libdir'
   14675       hardcode_direct_F77=yes
   14676       hardcode_shlibpath_var_F77=no
   14677       ;;
   14678 
   14679     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14680     freebsd2*)
   14681       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14682       hardcode_direct_F77=yes
   14683       hardcode_minus_L_F77=yes
   14684       hardcode_shlibpath_var_F77=no
   14685       ;;
   14686 
   14687     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14688     freebsd* | kfreebsd*-gnu | dragonfly*)
   14689       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   14690       hardcode_libdir_flag_spec_F77='-R$libdir'
   14691       hardcode_direct_F77=yes
   14692       hardcode_shlibpath_var_F77=no
   14693       ;;
   14694 
   14695     hpux9*)
   14696       if test "$GCC" = yes; then
   14697 	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'
   14698       else
   14699 	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'
   14700       fi
   14701       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14702       hardcode_libdir_separator_F77=:
   14703       hardcode_direct_F77=yes
   14704 
   14705       # hardcode_minus_L: Not really in the search PATH,
   14706       # but as the default location of the library.
   14707       hardcode_minus_L_F77=yes
   14708       export_dynamic_flag_spec_F77='${wl}-E'
   14709       ;;
   14710 
   14711     hpux10*)
   14712       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14713 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14714       else
   14715 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14716       fi
   14717       if test "$with_gnu_ld" = no; then
   14718 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14719 	hardcode_libdir_separator_F77=:
   14720 
   14721 	hardcode_direct_F77=yes
   14722 	export_dynamic_flag_spec_F77='${wl}-E'
   14723 
   14724 	# hardcode_minus_L: Not really in the search PATH,
   14725 	# but as the default location of the library.
   14726 	hardcode_minus_L_F77=yes
   14727       fi
   14728       ;;
   14729 
   14730     hpux11*)
   14731       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14732 	case $host_cpu in
   14733 	hppa*64*)
   14734 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14735 	  ;;
   14736 	ia64*)
   14737 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14738 	  ;;
   14739 	*)
   14740 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14741 	  ;;
   14742 	esac
   14743       else
   14744 	case $host_cpu in
   14745 	hppa*64*)
   14746 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14747 	  ;;
   14748 	ia64*)
   14749 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14750 	  ;;
   14751 	*)
   14752 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14753 	  ;;
   14754 	esac
   14755       fi
   14756       if test "$with_gnu_ld" = no; then
   14757 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14758 	hardcode_libdir_separator_F77=:
   14759 
   14760 	case $host_cpu in
   14761 	hppa*64*|ia64*)
   14762 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   14763 	  hardcode_direct_F77=no
   14764 	  hardcode_shlibpath_var_F77=no
   14765 	  ;;
   14766 	*)
   14767 	  hardcode_direct_F77=yes
   14768 	  export_dynamic_flag_spec_F77='${wl}-E'
   14769 
   14770 	  # hardcode_minus_L: Not really in the search PATH,
   14771 	  # but as the default location of the library.
   14772 	  hardcode_minus_L_F77=yes
   14773 	  ;;
   14774 	esac
   14775       fi
   14776       ;;
   14777 
   14778     irix5* | irix6* | nonstopux*)
   14779       if test "$GCC" = yes; then
   14780 	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'
   14781       else
   14782 	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'
   14783 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   14784       fi
   14785       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14786       hardcode_libdir_separator_F77=:
   14787       link_all_deplibs_F77=yes
   14788       ;;
   14789 
   14790     netbsd*)
   14791       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14792 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14793       else
   14794 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14795       fi
   14796       hardcode_libdir_flag_spec_F77='-R$libdir'
   14797       hardcode_direct_F77=yes
   14798       hardcode_shlibpath_var_F77=no
   14799       ;;
   14800 
   14801     newsos6)
   14802       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14803       hardcode_direct_F77=yes
   14804       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14805       hardcode_libdir_separator_F77=:
   14806       hardcode_shlibpath_var_F77=no
   14807       ;;
   14808 
   14809     openbsd*)
   14810       hardcode_direct_F77=yes
   14811       hardcode_shlibpath_var_F77=no
   14812       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14813 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14814 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   14815 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14816 	export_dynamic_flag_spec_F77='${wl}-E'
   14817       else
   14818        case $host_os in
   14819 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   14820 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14821 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   14822 	   ;;
   14823 	 *)
   14824 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14825 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14826 	   ;;
   14827        esac
   14828       fi
   14829       ;;
   14830 
   14831     os2*)
   14832       hardcode_libdir_flag_spec_F77='-L$libdir'
   14833       hardcode_minus_L_F77=yes
   14834       allow_undefined_flag_F77=unsupported
   14835       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'
   14836       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   14837       ;;
   14838 
   14839     osf3*)
   14840       if test "$GCC" = yes; then
   14841 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14842 	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'
   14843       else
   14844 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14845 	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'
   14846       fi
   14847       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14848       hardcode_libdir_separator_F77=:
   14849       ;;
   14850 
   14851     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   14852       if test "$GCC" = yes; then
   14853 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14854 	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'
   14855 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14856       else
   14857 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14858 	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'
   14859 	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~
   14860 	$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'
   14861 
   14862 	# Both c and cxx compiler support -rpath directly
   14863 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   14864       fi
   14865       hardcode_libdir_separator_F77=:
   14866       ;;
   14867 
   14868     solaris*)
   14869       no_undefined_flag_F77=' -z text'
   14870       if test "$GCC" = yes; then
   14871 	wlarc='${wl}'
   14872 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14873 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14874 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   14875       else
   14876 	wlarc=''
   14877 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14878 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14879   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   14880       fi
   14881       hardcode_libdir_flag_spec_F77='-R$libdir'
   14882       hardcode_shlibpath_var_F77=no
   14883       case $host_os in
   14884       solaris2.[0-5] | solaris2.[0-5].*) ;;
   14885       *)
   14886  	# The compiler driver will combine linker options so we
   14887  	# cannot just pass the convience library names through
   14888  	# without $wl, iff we do not link with $LD.
   14889  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   14890  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   14891  	case $wlarc in
   14892  	'')
   14893  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   14894  	*)
   14895  	  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' ;;
   14896  	esac ;;
   14897       esac
   14898       link_all_deplibs_F77=yes
   14899       ;;
   14900 
   14901     sunos4*)
   14902       if test "x$host_vendor" = xsequent; then
   14903 	# Use $CC to link under sequent, because it throws in some extra .o
   14904 	# files that make .init and .fini sections work.
   14905 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14906       else
   14907 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   14908       fi
   14909       hardcode_libdir_flag_spec_F77='-L$libdir'
   14910       hardcode_direct_F77=yes
   14911       hardcode_minus_L_F77=yes
   14912       hardcode_shlibpath_var_F77=no
   14913       ;;
   14914 
   14915     sysv4)
   14916       case $host_vendor in
   14917 	sni)
   14918 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14919 	  hardcode_direct_F77=yes # is this really true???
   14920 	;;
   14921 	siemens)
   14922 	  ## LD is ld it makes a PLAMLIB
   14923 	  ## CC just makes a GrossModule.
   14924 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   14925 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   14926 	  hardcode_direct_F77=no
   14927         ;;
   14928 	motorola)
   14929 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14930 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   14931 	;;
   14932       esac
   14933       runpath_var='LD_RUN_PATH'
   14934       hardcode_shlibpath_var_F77=no
   14935       ;;
   14936 
   14937     sysv4.3*)
   14938       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14939       hardcode_shlibpath_var_F77=no
   14940       export_dynamic_flag_spec_F77='-Bexport'
   14941       ;;
   14942 
   14943     sysv4*MP*)
   14944       if test -d /usr/nec; then
   14945 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14946 	hardcode_shlibpath_var_F77=no
   14947 	runpath_var=LD_RUN_PATH
   14948 	hardcode_runpath_var=yes
   14949 	ld_shlibs_F77=yes
   14950       fi
   14951       ;;
   14952 
   14953     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   14954       no_undefined_flag_F77='${wl}-z,text'
   14955       archive_cmds_need_lc_F77=no
   14956       hardcode_shlibpath_var_F77=no
   14957       runpath_var='LD_RUN_PATH'
   14958 
   14959       if test "$GCC" = yes; then
   14960 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14961 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14962       else
   14963 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14964 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14965       fi
   14966       ;;
   14967 
   14968     sysv5* | sco3.2v5* | sco5v6*)
   14969       # Note: We can NOT use -z defs as we might desire, because we do not
   14970       # link with -lc, and that would cause any symbols used from libc to
   14971       # always be unresolved, which means just about no library would
   14972       # ever link correctly.  If we're not using GNU ld we use -z text
   14973       # though, which does catch some bad symbols but isn't as heavy-handed
   14974       # as -z defs.
   14975       no_undefined_flag_F77='${wl}-z,text'
   14976       allow_undefined_flag_F77='${wl}-z,nodefs'
   14977       archive_cmds_need_lc_F77=no
   14978       hardcode_shlibpath_var_F77=no
   14979       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   14980       hardcode_libdir_separator_F77=':'
   14981       link_all_deplibs_F77=yes
   14982       export_dynamic_flag_spec_F77='${wl}-Bexport'
   14983       runpath_var='LD_RUN_PATH'
   14984 
   14985       if test "$GCC" = yes; then
   14986 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14987 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14988       else
   14989 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14990 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14991       fi
   14992       ;;
   14993 
   14994     uts4*)
   14995       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14996       hardcode_libdir_flag_spec_F77='-L$libdir'
   14997       hardcode_shlibpath_var_F77=no
   14998       ;;
   14999 
   15000     *)
   15001       ld_shlibs_F77=no
   15002       ;;
   15003     esac
   15004   fi
   15005 
   15006 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15007 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   15008 test "$ld_shlibs_F77" = no && can_build_shared=no
   15009 
   15010 #
   15011 # Do we need to explicitly link libc?
   15012 #
   15013 case "x$archive_cmds_need_lc_F77" in
   15014 x|xyes)
   15015   # Assume -lc should be added
   15016   archive_cmds_need_lc_F77=yes
   15017 
   15018   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15019     case $archive_cmds_F77 in
   15020     *'~'*)
   15021       # FIXME: we may have to deal with multi-command sequences.
   15022       ;;
   15023     '$CC '*)
   15024       # Test whether the compiler implicitly links with -lc since on some
   15025       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15026       # to ld, don't add -lc before -lgcc.
   15027       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15028 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   15029       $rm conftest*
   15030       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   15031 
   15032       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15033   (eval $ac_compile) 2>&5
   15034   ac_status=$?
   15035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15036   (exit $ac_status); } 2>conftest.err; then
   15037         soname=conftest
   15038         lib=conftest
   15039         libobjs=conftest.$ac_objext
   15040         deplibs=
   15041         wl=$lt_prog_compiler_wl_F77
   15042 	pic_flag=$lt_prog_compiler_pic_F77
   15043         compiler_flags=-v
   15044         linker_flags=-v
   15045         verstring=
   15046         output_objdir=.
   15047         libname=conftest
   15048         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15049         allow_undefined_flag_F77=
   15050         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15051   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15052   ac_status=$?
   15053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15054   (exit $ac_status); }
   15055         then
   15056 	  archive_cmds_need_lc_F77=no
   15057         else
   15058 	  archive_cmds_need_lc_F77=yes
   15059         fi
   15060         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15061       else
   15062         cat conftest.err 1>&5
   15063       fi
   15064       $rm conftest*
   15065       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15066 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15067       ;;
   15068     esac
   15069   fi
   15070   ;;
   15071 esac
   15072 
   15073 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15074 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15075 library_names_spec=
   15076 libname_spec='lib$name'
   15077 soname_spec=
   15078 shrext_cmds=".so"
   15079 postinstall_cmds=
   15080 postuninstall_cmds=
   15081 finish_cmds=
   15082 finish_eval=
   15083 shlibpath_var=
   15084 shlibpath_overrides_runpath=unknown
   15085 version_type=none
   15086 dynamic_linker="$host_os ld.so"
   15087 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15088 if test "$GCC" = yes; then
   15089   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15090   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   15091     # if the path contains ";" then we assume it to be the separator
   15092     # otherwise default to the standard path separator (i.e. ":") - it is
   15093     # assumed that no part of a normal pathname contains ";" but that should
   15094     # okay in the real world where ";" in dirpaths is itself problematic.
   15095     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15096   else
   15097     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15098   fi
   15099 else
   15100   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15101 fi
   15102 need_lib_prefix=unknown
   15103 hardcode_into_libs=no
   15104 
   15105 # when you set need_version to no, make sure it does not cause -set_version
   15106 # flags to be left without arguments
   15107 need_version=unknown
   15108 
   15109 case $host_os in
   15110 aix3*)
   15111   version_type=linux
   15112   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15113   shlibpath_var=LIBPATH
   15114 
   15115   # AIX 3 has no versioning support, so we append a major version to the name.
   15116   soname_spec='${libname}${release}${shared_ext}$major'
   15117   ;;
   15118 
   15119 aix4* | aix5*)
   15120   version_type=linux
   15121   need_lib_prefix=no
   15122   need_version=no
   15123   hardcode_into_libs=yes
   15124   if test "$host_cpu" = ia64; then
   15125     # AIX 5 supports IA64
   15126     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15127     shlibpath_var=LD_LIBRARY_PATH
   15128   else
   15129     # With GCC up to 2.95.x, collect2 would create an import file
   15130     # for dependence libraries.  The import file would start with
   15131     # the line `#! .'.  This would cause the generated library to
   15132     # depend on `.', always an invalid library.  This was fixed in
   15133     # development snapshots of GCC prior to 3.0.
   15134     case $host_os in
   15135       aix4 | aix4.[01] | aix4.[01].*)
   15136       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15137 	   echo ' yes '
   15138 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15139 	:
   15140       else
   15141 	can_build_shared=no
   15142       fi
   15143       ;;
   15144     esac
   15145     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15146     # soname into executable. Probably we can add versioning support to
   15147     # collect2, so additional links can be useful in future.
   15148     if test "$aix_use_runtimelinking" = yes; then
   15149       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15150       # instead of lib<name>.a to let people know that these are not
   15151       # typical AIX shared libraries.
   15152       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15153     else
   15154       # We preserve .a as extension for shared libraries through AIX4.2
   15155       # and later when we are not doing run time linking.
   15156       library_names_spec='${libname}${release}.a $libname.a'
   15157       soname_spec='${libname}${release}${shared_ext}$major'
   15158     fi
   15159     shlibpath_var=LIBPATH
   15160   fi
   15161   ;;
   15162 
   15163 amigaos*)
   15164   library_names_spec='$libname.ixlibrary $libname.a'
   15165   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15166   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'
   15167   ;;
   15168 
   15169 beos*)
   15170   library_names_spec='${libname}${shared_ext}'
   15171   dynamic_linker="$host_os ld.so"
   15172   shlibpath_var=LIBRARY_PATH
   15173   ;;
   15174 
   15175 bsdi[45]*)
   15176   version_type=linux
   15177   need_version=no
   15178   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15179   soname_spec='${libname}${release}${shared_ext}$major'
   15180   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15181   shlibpath_var=LD_LIBRARY_PATH
   15182   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15183   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15184   # the default ld.so.conf also contains /usr/contrib/lib and
   15185   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15186   # libtool to hard-code these into programs
   15187   ;;
   15188 
   15189 cygwin* | mingw* | pw32*)
   15190   version_type=windows
   15191   shrext_cmds=".dll"
   15192   need_version=no
   15193   need_lib_prefix=no
   15194 
   15195   case $GCC,$host_os in
   15196   yes,cygwin* | yes,mingw* | yes,pw32*)
   15197     library_names_spec='$libname.dll.a'
   15198     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15199     postinstall_cmds='base_file=`basename \${file}`~
   15200       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15201       dldir=$destdir/`dirname \$dlpath`~
   15202       test -d \$dldir || mkdir -p \$dldir~
   15203       $install_prog $dir/$dlname \$dldir/$dlname~
   15204       chmod a+x \$dldir/$dlname'
   15205     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15206       dlpath=$dir/\$dldll~
   15207        $rm \$dlpath'
   15208     shlibpath_overrides_runpath=yes
   15209 
   15210     case $host_os in
   15211     cygwin*)
   15212       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15213       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15214       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15215       ;;
   15216     mingw*)
   15217       # MinGW DLLs use traditional 'lib' prefix
   15218       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15219       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15220       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15221         # It is most probably a Windows format PATH printed by
   15222         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15223         # path with ; separators, and with drive letters. We can handle the
   15224         # drive letters (cygwin fileutils understands them), so leave them,
   15225         # especially as we might pass files found there to a mingw objdump,
   15226         # which wouldn't understand a cygwinified path. Ahh.
   15227         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15228       else
   15229         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15230       fi
   15231       ;;
   15232     pw32*)
   15233       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15234       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15235       ;;
   15236     esac
   15237     ;;
   15238 
   15239   *)
   15240     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15241     ;;
   15242   esac
   15243   dynamic_linker='Win32 ld.exe'
   15244   # FIXME: first we should search . and the directory the executable is in
   15245   shlibpath_var=PATH
   15246   ;;
   15247 
   15248 darwin* | rhapsody*)
   15249   dynamic_linker="$host_os dyld"
   15250   version_type=darwin
   15251   need_lib_prefix=no
   15252   need_version=no
   15253   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15254   soname_spec='${libname}${release}${major}$shared_ext'
   15255   shlibpath_overrides_runpath=yes
   15256   shlibpath_var=DYLD_LIBRARY_PATH
   15257   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15258   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   15259   if test "$GCC" = yes; then
   15260     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"`
   15261   else
   15262     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   15263   fi
   15264   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15265   ;;
   15266 
   15267 dgux*)
   15268   version_type=linux
   15269   need_lib_prefix=no
   15270   need_version=no
   15271   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15272   soname_spec='${libname}${release}${shared_ext}$major'
   15273   shlibpath_var=LD_LIBRARY_PATH
   15274   ;;
   15275 
   15276 freebsd1*)
   15277   dynamic_linker=no
   15278   ;;
   15279 
   15280 kfreebsd*-gnu)
   15281   version_type=linux
   15282   need_lib_prefix=no
   15283   need_version=no
   15284   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15285   soname_spec='${libname}${release}${shared_ext}$major'
   15286   shlibpath_var=LD_LIBRARY_PATH
   15287   shlibpath_overrides_runpath=no
   15288   hardcode_into_libs=yes
   15289   dynamic_linker='GNU ld.so'
   15290   ;;
   15291 
   15292 freebsd* | dragonfly*)
   15293   # DragonFly does not have aout.  When/if they implement a new
   15294   # versioning mechanism, adjust this.
   15295   if test -x /usr/bin/objformat; then
   15296     objformat=`/usr/bin/objformat`
   15297   else
   15298     case $host_os in
   15299     freebsd[123]*) objformat=aout ;;
   15300     *) objformat=elf ;;
   15301     esac
   15302   fi
   15303   version_type=freebsd-$objformat
   15304   case $version_type in
   15305     freebsd-elf*)
   15306       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15307       need_version=no
   15308       need_lib_prefix=no
   15309       ;;
   15310     freebsd-*)
   15311       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15312       need_version=yes
   15313       ;;
   15314   esac
   15315   shlibpath_var=LD_LIBRARY_PATH
   15316   case $host_os in
   15317   freebsd2*)
   15318     shlibpath_overrides_runpath=yes
   15319     ;;
   15320   freebsd3.[01]* | freebsdelf3.[01]*)
   15321     shlibpath_overrides_runpath=yes
   15322     hardcode_into_libs=yes
   15323     ;;
   15324   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15325   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15326     shlibpath_overrides_runpath=no
   15327     hardcode_into_libs=yes
   15328     ;;
   15329   freebsd*) # from 4.6 on
   15330     shlibpath_overrides_runpath=yes
   15331     hardcode_into_libs=yes
   15332     ;;
   15333   esac
   15334   ;;
   15335 
   15336 gnu*)
   15337   version_type=linux
   15338   need_lib_prefix=no
   15339   need_version=no
   15340   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15341   soname_spec='${libname}${release}${shared_ext}$major'
   15342   shlibpath_var=LD_LIBRARY_PATH
   15343   hardcode_into_libs=yes
   15344   ;;
   15345 
   15346 hpux9* | hpux10* | hpux11*)
   15347   # Give a soname corresponding to the major version so that dld.sl refuses to
   15348   # link against other versions.
   15349   version_type=sunos
   15350   need_lib_prefix=no
   15351   need_version=no
   15352   case $host_cpu in
   15353   ia64*)
   15354     shrext_cmds='.so'
   15355     hardcode_into_libs=yes
   15356     dynamic_linker="$host_os dld.so"
   15357     shlibpath_var=LD_LIBRARY_PATH
   15358     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15359     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15360     soname_spec='${libname}${release}${shared_ext}$major'
   15361     if test "X$HPUX_IA64_MODE" = X32; then
   15362       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15363     else
   15364       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15365     fi
   15366     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15367     ;;
   15368    hppa*64*)
   15369      shrext_cmds='.sl'
   15370      hardcode_into_libs=yes
   15371      dynamic_linker="$host_os dld.sl"
   15372      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15373      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15374      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15375      soname_spec='${libname}${release}${shared_ext}$major'
   15376      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15377      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15378      ;;
   15379    *)
   15380     shrext_cmds='.sl'
   15381     dynamic_linker="$host_os dld.sl"
   15382     shlibpath_var=SHLIB_PATH
   15383     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15384     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15385     soname_spec='${libname}${release}${shared_ext}$major'
   15386     ;;
   15387   esac
   15388   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15389   postinstall_cmds='chmod 555 $lib'
   15390   ;;
   15391 
   15392 interix3*)
   15393   version_type=linux
   15394   need_lib_prefix=no
   15395   need_version=no
   15396   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15397   soname_spec='${libname}${release}${shared_ext}$major'
   15398   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15399   shlibpath_var=LD_LIBRARY_PATH
   15400   shlibpath_overrides_runpath=no
   15401   hardcode_into_libs=yes
   15402   ;;
   15403 
   15404 irix5* | irix6* | nonstopux*)
   15405   case $host_os in
   15406     nonstopux*) version_type=nonstopux ;;
   15407     *)
   15408 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15409 		version_type=linux
   15410 	else
   15411 		version_type=irix
   15412 	fi ;;
   15413   esac
   15414   need_lib_prefix=no
   15415   need_version=no
   15416   soname_spec='${libname}${release}${shared_ext}$major'
   15417   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15418   case $host_os in
   15419   irix5* | nonstopux*)
   15420     libsuff= shlibsuff=
   15421     ;;
   15422   *)
   15423     case $LD in # libtool.m4 will add one of these switches to LD
   15424     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15425       libsuff= shlibsuff= libmagic=32-bit;;
   15426     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15427       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15428     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15429       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15430     *) libsuff= shlibsuff= libmagic=never-match;;
   15431     esac
   15432     ;;
   15433   esac
   15434   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15435   shlibpath_overrides_runpath=no
   15436   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15437   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15438   hardcode_into_libs=yes
   15439   ;;
   15440 
   15441 # No shared lib support for Linux oldld, aout, or coff.
   15442 linux*oldld* | linux*aout* | linux*coff*)
   15443   dynamic_linker=no
   15444   ;;
   15445 
   15446 # This must be Linux ELF.
   15447 linux*)
   15448   version_type=linux
   15449   need_lib_prefix=no
   15450   need_version=no
   15451   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15452   soname_spec='${libname}${release}${shared_ext}$major'
   15453   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15454   shlibpath_var=LD_LIBRARY_PATH
   15455   shlibpath_overrides_runpath=no
   15456   # This implies no fast_install, which is unacceptable.
   15457   # Some rework will be needed to allow for fast_install
   15458   # before this can be enabled.
   15459   hardcode_into_libs=yes
   15460 
   15461   # Append ld.so.conf contents to the search path
   15462   if test -f /etc/ld.so.conf; then
   15463     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' ' '`
   15464     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15465   fi
   15466 
   15467   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15468   # powerpc, because MkLinux only supported shared libraries with the
   15469   # GNU dynamic linker.  Since this was broken with cross compilers,
   15470   # most powerpc-linux boxes support dynamic linking these days and
   15471   # people can always --disable-shared, the test was removed, and we
   15472   # assume the GNU/Linux dynamic linker is in use.
   15473   dynamic_linker='GNU/Linux ld.so'
   15474   ;;
   15475 
   15476 knetbsd*-gnu)
   15477   version_type=linux
   15478   need_lib_prefix=no
   15479   need_version=no
   15480   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15481   soname_spec='${libname}${release}${shared_ext}$major'
   15482   shlibpath_var=LD_LIBRARY_PATH
   15483   shlibpath_overrides_runpath=no
   15484   hardcode_into_libs=yes
   15485   dynamic_linker='GNU ld.so'
   15486   ;;
   15487 
   15488 netbsd*)
   15489   version_type=sunos
   15490   need_lib_prefix=no
   15491   need_version=no
   15492   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15493     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15494     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15495     dynamic_linker='NetBSD (a.out) ld.so'
   15496   else
   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     dynamic_linker='NetBSD ld.elf_so'
   15500   fi
   15501   shlibpath_var=LD_LIBRARY_PATH
   15502   shlibpath_overrides_runpath=yes
   15503   hardcode_into_libs=yes
   15504   ;;
   15505 
   15506 newsos6)
   15507   version_type=linux
   15508   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15509   shlibpath_var=LD_LIBRARY_PATH
   15510   shlibpath_overrides_runpath=yes
   15511   ;;
   15512 
   15513 nto-qnx*)
   15514   version_type=linux
   15515   need_lib_prefix=no
   15516   need_version=no
   15517   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15518   soname_spec='${libname}${release}${shared_ext}$major'
   15519   shlibpath_var=LD_LIBRARY_PATH
   15520   shlibpath_overrides_runpath=yes
   15521   ;;
   15522 
   15523 openbsd*)
   15524   version_type=sunos
   15525   sys_lib_dlsearch_path_spec="/usr/lib"
   15526   need_lib_prefix=no
   15527   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15528   case $host_os in
   15529     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   15530     *)                         need_version=no  ;;
   15531   esac
   15532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15533   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15534   shlibpath_var=LD_LIBRARY_PATH
   15535   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15536     case $host_os in
   15537       openbsd2.[89] | openbsd2.[89].*)
   15538 	shlibpath_overrides_runpath=no
   15539 	;;
   15540       *)
   15541 	shlibpath_overrides_runpath=yes
   15542 	;;
   15543       esac
   15544   else
   15545     shlibpath_overrides_runpath=yes
   15546   fi
   15547   ;;
   15548 
   15549 os2*)
   15550   libname_spec='$name'
   15551   shrext_cmds=".dll"
   15552   need_lib_prefix=no
   15553   library_names_spec='$libname${shared_ext} $libname.a'
   15554   dynamic_linker='OS/2 ld.exe'
   15555   shlibpath_var=LIBPATH
   15556   ;;
   15557 
   15558 osf3* | osf4* | osf5*)
   15559   version_type=osf
   15560   need_lib_prefix=no
   15561   need_version=no
   15562   soname_spec='${libname}${release}${shared_ext}$major'
   15563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15564   shlibpath_var=LD_LIBRARY_PATH
   15565   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15566   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15567   ;;
   15568 
   15569 solaris*)
   15570   version_type=linux
   15571   need_lib_prefix=no
   15572   need_version=no
   15573   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15574   soname_spec='${libname}${release}${shared_ext}$major'
   15575   shlibpath_var=LD_LIBRARY_PATH
   15576   shlibpath_overrides_runpath=yes
   15577   hardcode_into_libs=yes
   15578   # ldd complains unless libraries are executable
   15579   postinstall_cmds='chmod +x $lib'
   15580   ;;
   15581 
   15582 sunos4*)
   15583   version_type=sunos
   15584   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15585   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15586   shlibpath_var=LD_LIBRARY_PATH
   15587   shlibpath_overrides_runpath=yes
   15588   if test "$with_gnu_ld" = yes; then
   15589     need_lib_prefix=no
   15590   fi
   15591   need_version=yes
   15592   ;;
   15593 
   15594 sysv4 | sysv4.3*)
   15595   version_type=linux
   15596   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15597   soname_spec='${libname}${release}${shared_ext}$major'
   15598   shlibpath_var=LD_LIBRARY_PATH
   15599   case $host_vendor in
   15600     sni)
   15601       shlibpath_overrides_runpath=no
   15602       need_lib_prefix=no
   15603       export_dynamic_flag_spec='${wl}-Blargedynsym'
   15604       runpath_var=LD_RUN_PATH
   15605       ;;
   15606     siemens)
   15607       need_lib_prefix=no
   15608       ;;
   15609     motorola)
   15610       need_lib_prefix=no
   15611       need_version=no
   15612       shlibpath_overrides_runpath=no
   15613       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15614       ;;
   15615   esac
   15616   ;;
   15617 
   15618 sysv4*MP*)
   15619   if test -d /usr/nec ;then
   15620     version_type=linux
   15621     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15622     soname_spec='$libname${shared_ext}.$major'
   15623     shlibpath_var=LD_LIBRARY_PATH
   15624   fi
   15625   ;;
   15626 
   15627 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15628   version_type=freebsd-elf
   15629   need_lib_prefix=no
   15630   need_version=no
   15631   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15632   soname_spec='${libname}${release}${shared_ext}$major'
   15633   shlibpath_var=LD_LIBRARY_PATH
   15634   hardcode_into_libs=yes
   15635   if test "$with_gnu_ld" = yes; then
   15636     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15637     shlibpath_overrides_runpath=no
   15638   else
   15639     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15640     shlibpath_overrides_runpath=yes
   15641     case $host_os in
   15642       sco3.2v5*)
   15643         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15644 	;;
   15645     esac
   15646   fi
   15647   sys_lib_dlsearch_path_spec='/usr/lib'
   15648   ;;
   15649 
   15650 uts4*)
   15651   version_type=linux
   15652   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15653   soname_spec='${libname}${release}${shared_ext}$major'
   15654   shlibpath_var=LD_LIBRARY_PATH
   15655   ;;
   15656 
   15657 *)
   15658   dynamic_linker=no
   15659   ;;
   15660 esac
   15661 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   15662 echo "${ECHO_T}$dynamic_linker" >&6; }
   15663 test "$dynamic_linker" = no && can_build_shared=no
   15664 
   15665 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15666 if test "$GCC" = yes; then
   15667   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15668 fi
   15669 
   15670 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   15671 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   15672 hardcode_action_F77=
   15673 if test -n "$hardcode_libdir_flag_spec_F77" || \
   15674    test -n "$runpath_var_F77" || \
   15675    test "X$hardcode_automatic_F77" = "Xyes" ; then
   15676 
   15677   # We can hardcode non-existant directories.
   15678   if test "$hardcode_direct_F77" != no &&
   15679      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15680      # have to relink, otherwise we might link with an installed library
   15681      # when we should be linking with a yet-to-be-installed one
   15682      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   15683      test "$hardcode_minus_L_F77" != no; then
   15684     # Linking always hardcodes the temporary library directory.
   15685     hardcode_action_F77=relink
   15686   else
   15687     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15688     hardcode_action_F77=immediate
   15689   fi
   15690 else
   15691   # We cannot hardcode anything, or else we can only hardcode existing
   15692   # directories.
   15693   hardcode_action_F77=unsupported
   15694 fi
   15695 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   15696 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   15697 
   15698 if test "$hardcode_action_F77" = relink; then
   15699   # Fast installation is not supported
   15700   enable_fast_install=no
   15701 elif test "$shlibpath_overrides_runpath" = yes ||
   15702      test "$enable_shared" = no; then
   15703   # Fast installation is not necessary
   15704   enable_fast_install=needless
   15705 fi
   15706 
   15707 
   15708 # The else clause should only fire when bootstrapping the
   15709 # libtool distribution, otherwise you forgot to ship ltmain.sh
   15710 # with your package, and you will get complaints that there are
   15711 # no rules to generate ltmain.sh.
   15712 if test -f "$ltmain"; then
   15713   # See if we are running on zsh, and set the options which allow our commands through
   15714   # without removal of \ escapes.
   15715   if test -n "${ZSH_VERSION+set}" ; then
   15716     setopt NO_GLOB_SUBST
   15717   fi
   15718   # Now quote all the things that may contain metacharacters while being
   15719   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   15720   # variables and quote the copies for generation of the libtool script.
   15721   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   15722     SED SHELL STRIP \
   15723     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   15724     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   15725     deplibs_check_method reload_flag reload_cmds need_locks \
   15726     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   15727     lt_cv_sys_global_symbol_to_c_name_address \
   15728     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   15729     old_postinstall_cmds old_postuninstall_cmds \
   15730     compiler_F77 \
   15731     CC_F77 \
   15732     LD_F77 \
   15733     lt_prog_compiler_wl_F77 \
   15734     lt_prog_compiler_pic_F77 \
   15735     lt_prog_compiler_static_F77 \
   15736     lt_prog_compiler_no_builtin_flag_F77 \
   15737     export_dynamic_flag_spec_F77 \
   15738     thread_safe_flag_spec_F77 \
   15739     whole_archive_flag_spec_F77 \
   15740     enable_shared_with_static_runtimes_F77 \
   15741     old_archive_cmds_F77 \
   15742     old_archive_from_new_cmds_F77 \
   15743     predep_objects_F77 \
   15744     postdep_objects_F77 \
   15745     predeps_F77 \
   15746     postdeps_F77 \
   15747     compiler_lib_search_path_F77 \
   15748     archive_cmds_F77 \
   15749     archive_expsym_cmds_F77 \
   15750     postinstall_cmds_F77 \
   15751     postuninstall_cmds_F77 \
   15752     old_archive_from_expsyms_cmds_F77 \
   15753     allow_undefined_flag_F77 \
   15754     no_undefined_flag_F77 \
   15755     export_symbols_cmds_F77 \
   15756     hardcode_libdir_flag_spec_F77 \
   15757     hardcode_libdir_flag_spec_ld_F77 \
   15758     hardcode_libdir_separator_F77 \
   15759     hardcode_automatic_F77 \
   15760     module_cmds_F77 \
   15761     module_expsym_cmds_F77 \
   15762     lt_cv_prog_compiler_c_o_F77 \
   15763     exclude_expsyms_F77 \
   15764     include_expsyms_F77; do
   15765 
   15766     case $var in
   15767     old_archive_cmds_F77 | \
   15768     old_archive_from_new_cmds_F77 | \
   15769     archive_cmds_F77 | \
   15770     archive_expsym_cmds_F77 | \
   15771     module_cmds_F77 | \
   15772     module_expsym_cmds_F77 | \
   15773     old_archive_from_expsyms_cmds_F77 | \
   15774     export_symbols_cmds_F77 | \
   15775     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   15776     postinstall_cmds | postuninstall_cmds | \
   15777     old_postinstall_cmds | old_postuninstall_cmds | \
   15778     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   15779       # Double-quote double-evaled strings.
   15780       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   15781       ;;
   15782     *)
   15783       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   15784       ;;
   15785     esac
   15786   done
   15787 
   15788   case $lt_echo in
   15789   *'\$0 --fallback-echo"')
   15790     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   15791     ;;
   15792   esac
   15793 
   15794 cfgfile="$ofile"
   15795 
   15796   cat <<__EOF__ >> "$cfgfile"
   15797 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   15798 
   15799 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15800 
   15801 # Shell to use when invoking shell scripts.
   15802 SHELL=$lt_SHELL
   15803 
   15804 # Whether or not to build shared libraries.
   15805 build_libtool_libs=$enable_shared
   15806 
   15807 # Whether or not to build static libraries.
   15808 build_old_libs=$enable_static
   15809 
   15810 # Whether or not to add -lc for building shared libraries.
   15811 build_libtool_need_lc=$archive_cmds_need_lc_F77
   15812 
   15813 # Whether or not to disallow shared libs when runtime libs are static
   15814 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   15815 
   15816 # Whether or not to optimize for fast installation.
   15817 fast_install=$enable_fast_install
   15818 
   15819 # The host system.
   15820 host_alias=$host_alias
   15821 host=$host
   15822 host_os=$host_os
   15823 
   15824 # The build system.
   15825 build_alias=$build_alias
   15826 build=$build
   15827 build_os=$build_os
   15828 
   15829 # An echo program that does not interpret backslashes.
   15830 echo=$lt_echo
   15831 
   15832 # The archiver.
   15833 AR=$lt_AR
   15834 AR_FLAGS=$lt_AR_FLAGS
   15835 
   15836 # A C compiler.
   15837 LTCC=$lt_LTCC
   15838 
   15839 # LTCC compiler flags.
   15840 LTCFLAGS=$lt_LTCFLAGS
   15841 
   15842 # A language-specific compiler.
   15843 CC=$lt_compiler_F77
   15844 
   15845 # Is the compiler the GNU C compiler?
   15846 with_gcc=$GCC_F77
   15847 
   15848 # An ERE matcher.
   15849 EGREP=$lt_EGREP
   15850 
   15851 # The linker used to build libraries.
   15852 LD=$lt_LD_F77
   15853 
   15854 # Whether we need hard or soft links.
   15855 LN_S=$lt_LN_S
   15856 
   15857 # A BSD-compatible nm program.
   15858 NM=$lt_NM
   15859 
   15860 # A symbol stripping program
   15861 STRIP=$lt_STRIP
   15862 
   15863 # Used to examine libraries when file_magic_cmd begins "file"
   15864 MAGIC_CMD=$MAGIC_CMD
   15865 
   15866 # Used on cygwin: DLL creation program.
   15867 DLLTOOL="$DLLTOOL"
   15868 
   15869 # Used on cygwin: object dumper.
   15870 OBJDUMP="$OBJDUMP"
   15871 
   15872 # Used on cygwin: assembler.
   15873 AS="$AS"
   15874 
   15875 # The name of the directory that contains temporary libtool files.
   15876 objdir=$objdir
   15877 
   15878 # How to create reloadable object files.
   15879 reload_flag=$lt_reload_flag
   15880 reload_cmds=$lt_reload_cmds
   15881 
   15882 # How to pass a linker flag through the compiler.
   15883 wl=$lt_lt_prog_compiler_wl_F77
   15884 
   15885 # Object file suffix (normally "o").
   15886 objext="$ac_objext"
   15887 
   15888 # Old archive suffix (normally "a").
   15889 libext="$libext"
   15890 
   15891 # Shared library suffix (normally ".so").
   15892 shrext_cmds='$shrext_cmds'
   15893 
   15894 # Executable file suffix (normally "").
   15895 exeext="$exeext"
   15896 
   15897 # Additional compiler flags for building library objects.
   15898 pic_flag=$lt_lt_prog_compiler_pic_F77
   15899 pic_mode=$pic_mode
   15900 
   15901 # What is the maximum length of a command?
   15902 max_cmd_len=$lt_cv_sys_max_cmd_len
   15903 
   15904 # Does compiler simultaneously support -c and -o options?
   15905 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   15906 
   15907 # Must we lock files when doing compilation?
   15908 need_locks=$lt_need_locks
   15909 
   15910 # Do we need the lib prefix for modules?
   15911 need_lib_prefix=$need_lib_prefix
   15912 
   15913 # Do we need a version for libraries?
   15914 need_version=$need_version
   15915 
   15916 # Whether dlopen is supported.
   15917 dlopen_support=$enable_dlopen
   15918 
   15919 # Whether dlopen of programs is supported.
   15920 dlopen_self=$enable_dlopen_self
   15921 
   15922 # Whether dlopen of statically linked programs is supported.
   15923 dlopen_self_static=$enable_dlopen_self_static
   15924 
   15925 # Compiler flag to prevent dynamic linking.
   15926 link_static_flag=$lt_lt_prog_compiler_static_F77
   15927 
   15928 # Compiler flag to turn off builtin functions.
   15929 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   15930 
   15931 # Compiler flag to allow reflexive dlopens.
   15932 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   15933 
   15934 # Compiler flag to generate shared objects directly from archives.
   15935 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   15936 
   15937 # Compiler flag to generate thread-safe objects.
   15938 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   15939 
   15940 # Library versioning type.
   15941 version_type=$version_type
   15942 
   15943 # Format of library name prefix.
   15944 libname_spec=$lt_libname_spec
   15945 
   15946 # List of archive names.  First name is the real one, the rest are links.
   15947 # The last name is the one that the linker finds with -lNAME.
   15948 library_names_spec=$lt_library_names_spec
   15949 
   15950 # The coded name of the library, if different from the real name.
   15951 soname_spec=$lt_soname_spec
   15952 
   15953 # Commands used to build and install an old-style archive.
   15954 RANLIB=$lt_RANLIB
   15955 old_archive_cmds=$lt_old_archive_cmds_F77
   15956 old_postinstall_cmds=$lt_old_postinstall_cmds
   15957 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15958 
   15959 # Create an old-style archive from a shared archive.
   15960 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   15961 
   15962 # Create a temporary old-style archive to link instead of a shared archive.
   15963 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   15964 
   15965 # Commands used to build and install a shared archive.
   15966 archive_cmds=$lt_archive_cmds_F77
   15967 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   15968 postinstall_cmds=$lt_postinstall_cmds
   15969 postuninstall_cmds=$lt_postuninstall_cmds
   15970 
   15971 # Commands used to build a loadable module (assumed same as above if empty)
   15972 module_cmds=$lt_module_cmds_F77
   15973 module_expsym_cmds=$lt_module_expsym_cmds_F77
   15974 
   15975 # Commands to strip libraries.
   15976 old_striplib=$lt_old_striplib
   15977 striplib=$lt_striplib
   15978 
   15979 # Dependencies to place before the objects being linked to create a
   15980 # shared library.
   15981 predep_objects=$lt_predep_objects_F77
   15982 
   15983 # Dependencies to place after the objects being linked to create a
   15984 # shared library.
   15985 postdep_objects=$lt_postdep_objects_F77
   15986 
   15987 # Dependencies to place before the objects being linked to create a
   15988 # shared library.
   15989 predeps=$lt_predeps_F77
   15990 
   15991 # Dependencies to place after the objects being linked to create a
   15992 # shared library.
   15993 postdeps=$lt_postdeps_F77
   15994 
   15995 # The library search path used internally by the compiler when linking
   15996 # a shared library.
   15997 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   15998 
   15999 # Method to check whether dependent libraries are shared objects.
   16000 deplibs_check_method=$lt_deplibs_check_method
   16001 
   16002 # Command to use when deplibs_check_method == file_magic.
   16003 file_magic_cmd=$lt_file_magic_cmd
   16004 
   16005 # Flag that allows shared libraries with undefined symbols to be built.
   16006 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16007 
   16008 # Flag that forces no undefined symbols.
   16009 no_undefined_flag=$lt_no_undefined_flag_F77
   16010 
   16011 # Commands used to finish a libtool library installation in a directory.
   16012 finish_cmds=$lt_finish_cmds
   16013 
   16014 # Same as above, but a single script fragment to be evaled but not shown.
   16015 finish_eval=$lt_finish_eval
   16016 
   16017 # Take the output of nm and produce a listing of raw symbols and C names.
   16018 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16019 
   16020 # Transform the output of nm in a proper C declaration
   16021 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16022 
   16023 # Transform the output of nm in a C name address pair
   16024 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16025 
   16026 # This is the shared library runtime path variable.
   16027 runpath_var=$runpath_var
   16028 
   16029 # This is the shared library path variable.
   16030 shlibpath_var=$shlibpath_var
   16031 
   16032 # Is shlibpath searched before the hard-coded library search path?
   16033 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16034 
   16035 # How to hardcode a shared library path into an executable.
   16036 hardcode_action=$hardcode_action_F77
   16037 
   16038 # Whether we should hardcode library paths into libraries.
   16039 hardcode_into_libs=$hardcode_into_libs
   16040 
   16041 # Flag to hardcode \$libdir into a binary during linking.
   16042 # This must work even if \$libdir does not exist.
   16043 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16044 
   16045 # If ld is used when linking, flag to hardcode \$libdir into
   16046 # a binary during linking. This must work even if \$libdir does
   16047 # not exist.
   16048 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16049 
   16050 # Whether we need a single -rpath flag with a separated argument.
   16051 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16052 
   16053 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16054 # resulting binary.
   16055 hardcode_direct=$hardcode_direct_F77
   16056 
   16057 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16058 # resulting binary.
   16059 hardcode_minus_L=$hardcode_minus_L_F77
   16060 
   16061 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16062 # the resulting binary.
   16063 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16064 
   16065 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16066 # and all subsequent libraries and executables linked against it.
   16067 hardcode_automatic=$hardcode_automatic_F77
   16068 
   16069 # Variables whose values should be saved in libtool wrapper scripts and
   16070 # restored at relink time.
   16071 variables_saved_for_relink="$variables_saved_for_relink"
   16072 
   16073 # Whether libtool must link a program against all its dependency libraries.
   16074 link_all_deplibs=$link_all_deplibs_F77
   16075 
   16076 # Compile-time system search path for libraries
   16077 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16078 
   16079 # Run-time system search path for libraries
   16080 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16081 
   16082 # Fix the shell variable \$srcfile for the compiler.
   16083 fix_srcfile_path="$fix_srcfile_path_F77"
   16084 
   16085 # Set to yes if exported symbols are required.
   16086 always_export_symbols=$always_export_symbols_F77
   16087 
   16088 # The commands to list exported symbols.
   16089 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16090 
   16091 # The commands to extract the exported symbol list from a shared archive.
   16092 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16093 
   16094 # Symbols that should not be listed in the preloaded symbols.
   16095 exclude_expsyms=$lt_exclude_expsyms_F77
   16096 
   16097 # Symbols that must always be exported.
   16098 include_expsyms=$lt_include_expsyms_F77
   16099 
   16100 # ### END LIBTOOL TAG CONFIG: $tagname
   16101 
   16102 __EOF__
   16103 
   16104 
   16105 else
   16106   # If there is no Makefile yet, we rely on a make rule to execute
   16107   # `config.status --recheck' to rerun these tests and create the
   16108   # libtool script then.
   16109   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16110   if test -f "$ltmain_in"; then
   16111     test -f Makefile && make "$ltmain"
   16112   fi
   16113 fi
   16114 
   16115 
   16116 ac_ext=c
   16117 ac_cpp='$CPP $CPPFLAGS'
   16118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16121 
   16122 CC="$lt_save_CC"
   16123 
   16124 	else
   16125 	  tagname=""
   16126 	fi
   16127 	;;
   16128 
   16129       GCJ)
   16130 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16131 
   16132 
   16133 # Source file extension for Java test sources.
   16134 ac_ext=java
   16135 
   16136 # Object file extension for compiled Java test sources.
   16137 objext=o
   16138 objext_GCJ=$objext
   16139 
   16140 # Code to be used in simple compile tests
   16141 lt_simple_compile_test_code="class foo {}\n"
   16142 
   16143 # Code to be used in simple link tests
   16144 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   16145 
   16146 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16147 
   16148 # If no C compiler was specified, use CC.
   16149 LTCC=${LTCC-"$CC"}
   16150 
   16151 # If no C compiler flags were specified, use CFLAGS.
   16152 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16153 
   16154 # Allow CC to be a program name with arguments.
   16155 compiler=$CC
   16156 
   16157 
   16158 # save warnings/boilerplate of simple test code
   16159 ac_outfile=conftest.$ac_objext
   16160 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   16161 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16162 _lt_compiler_boilerplate=`cat conftest.err`
   16163 $rm conftest*
   16164 
   16165 ac_outfile=conftest.$ac_objext
   16166 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   16167 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16168 _lt_linker_boilerplate=`cat conftest.err`
   16169 $rm conftest*
   16170 
   16171 
   16172 # Allow CC to be a program name with arguments.
   16173 lt_save_CC="$CC"
   16174 CC=${GCJ-"gcj"}
   16175 compiler=$CC
   16176 compiler_GCJ=$CC
   16177 for cc_temp in $compiler""; do
   16178   case $cc_temp in
   16179     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16180     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16181     \-*) ;;
   16182     *) break;;
   16183   esac
   16184 done
   16185 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16186 
   16187 
   16188 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16189 archive_cmds_need_lc_GCJ=no
   16190 
   16191 old_archive_cmds_GCJ=$old_archive_cmds
   16192 
   16193 
   16194 lt_prog_compiler_no_builtin_flag_GCJ=
   16195 
   16196 if test "$GCC" = yes; then
   16197   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16198 
   16199 
   16200 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16201 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16202 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16203   echo $ECHO_N "(cached) $ECHO_C" >&6
   16204 else
   16205   lt_cv_prog_compiler_rtti_exceptions=no
   16206   ac_outfile=conftest.$ac_objext
   16207    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16208    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16209    # Insert the option either (1) after the last *FLAGS variable, or
   16210    # (2) before a word containing "conftest.", or (3) at the end.
   16211    # Note that $ac_compile itself does not contain backslashes and begins
   16212    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16213    # The option is referenced via a variable to avoid confusing sed.
   16214    lt_compile=`echo "$ac_compile" | $SED \
   16215    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16216    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16217    -e 's:$: $lt_compiler_flag:'`
   16218    (eval echo "\"\$as_me:16218: $lt_compile\"" >&5)
   16219    (eval "$lt_compile" 2>conftest.err)
   16220    ac_status=$?
   16221    cat conftest.err >&5
   16222    echo "$as_me:16222: \$? = $ac_status" >&5
   16223    if (exit $ac_status) && test -s "$ac_outfile"; then
   16224      # The compiler can only warn and ignore the option if not recognized
   16225      # So say no if there are warnings other than the usual output.
   16226      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16227      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16228      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16229        lt_cv_prog_compiler_rtti_exceptions=yes
   16230      fi
   16231    fi
   16232    $rm conftest*
   16233 
   16234 fi
   16235 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16236 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16237 
   16238 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16239     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16240 else
   16241     :
   16242 fi
   16243 
   16244 fi
   16245 
   16246 lt_prog_compiler_wl_GCJ=
   16247 lt_prog_compiler_pic_GCJ=
   16248 lt_prog_compiler_static_GCJ=
   16249 
   16250 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16251 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16252 
   16253   if test "$GCC" = yes; then
   16254     lt_prog_compiler_wl_GCJ='-Wl,'
   16255     lt_prog_compiler_static_GCJ='-static'
   16256 
   16257     case $host_os in
   16258       aix*)
   16259       # All AIX code is PIC.
   16260       if test "$host_cpu" = ia64; then
   16261 	# AIX 5 now supports IA64 processor
   16262 	lt_prog_compiler_static_GCJ='-Bstatic'
   16263       fi
   16264       ;;
   16265 
   16266     amigaos*)
   16267       # FIXME: we need at least 68020 code to build shared libraries, but
   16268       # adding the `-m68020' flag to GCC prevents building anything better,
   16269       # like `-m68040'.
   16270       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16271       ;;
   16272 
   16273     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16274       # PIC is the default for these OSes.
   16275       ;;
   16276 
   16277     mingw* | pw32* | os2*)
   16278       # This hack is so that the source file can tell whether it is being
   16279       # built for inclusion in a dll (and should export symbols for example).
   16280       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16281       ;;
   16282 
   16283     darwin* | rhapsody*)
   16284       # PIC is the default on this platform
   16285       # Common symbols not allowed in MH_DYLIB files
   16286       lt_prog_compiler_pic_GCJ='-fno-common'
   16287       ;;
   16288 
   16289     interix3*)
   16290       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16291       # Instead, we relocate shared libraries at runtime.
   16292       ;;
   16293 
   16294     msdosdjgpp*)
   16295       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16296       # on systems that don't support them.
   16297       lt_prog_compiler_can_build_shared_GCJ=no
   16298       enable_shared=no
   16299       ;;
   16300 
   16301     sysv4*MP*)
   16302       if test -d /usr/nec; then
   16303 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16304       fi
   16305       ;;
   16306 
   16307     hpux*)
   16308       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16309       # not for PA HP-UX.
   16310       case $host_cpu in
   16311       hppa*64*|ia64*)
   16312 	# +Z the default
   16313 	;;
   16314       *)
   16315 	lt_prog_compiler_pic_GCJ='-fPIC'
   16316 	;;
   16317       esac
   16318       ;;
   16319 
   16320     *)
   16321       lt_prog_compiler_pic_GCJ='-fPIC'
   16322       ;;
   16323     esac
   16324   else
   16325     # PORTME Check for flag to pass linker flags through the system compiler.
   16326     case $host_os in
   16327     aix*)
   16328       lt_prog_compiler_wl_GCJ='-Wl,'
   16329       if test "$host_cpu" = ia64; then
   16330 	# AIX 5 now supports IA64 processor
   16331 	lt_prog_compiler_static_GCJ='-Bstatic'
   16332       else
   16333 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16334       fi
   16335       ;;
   16336       darwin*)
   16337         # PIC is the default on this platform
   16338         # Common symbols not allowed in MH_DYLIB files
   16339        case $cc_basename in
   16340          xlc*)
   16341          lt_prog_compiler_pic_GCJ='-qnocommon'
   16342          lt_prog_compiler_wl_GCJ='-Wl,'
   16343          ;;
   16344        esac
   16345        ;;
   16346 
   16347     mingw* | pw32* | os2*)
   16348       # This hack is so that the source file can tell whether it is being
   16349       # built for inclusion in a dll (and should export symbols for example).
   16350       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16351       ;;
   16352 
   16353     hpux9* | hpux10* | hpux11*)
   16354       lt_prog_compiler_wl_GCJ='-Wl,'
   16355       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16356       # not for PA HP-UX.
   16357       case $host_cpu in
   16358       hppa*64*|ia64*)
   16359 	# +Z the default
   16360 	;;
   16361       *)
   16362 	lt_prog_compiler_pic_GCJ='+Z'
   16363 	;;
   16364       esac
   16365       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16366       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16367       ;;
   16368 
   16369     irix5* | irix6* | nonstopux*)
   16370       lt_prog_compiler_wl_GCJ='-Wl,'
   16371       # PIC (with -KPIC) is the default.
   16372       lt_prog_compiler_static_GCJ='-non_shared'
   16373       ;;
   16374 
   16375     newsos6)
   16376       lt_prog_compiler_pic_GCJ='-KPIC'
   16377       lt_prog_compiler_static_GCJ='-Bstatic'
   16378       ;;
   16379 
   16380     linux*)
   16381       case $cc_basename in
   16382       icc* | ecc*)
   16383 	lt_prog_compiler_wl_GCJ='-Wl,'
   16384 	lt_prog_compiler_pic_GCJ='-KPIC'
   16385 	lt_prog_compiler_static_GCJ='-static'
   16386         ;;
   16387       pgcc* | pgf77* | pgf90* | pgf95*)
   16388         # Portland Group compilers (*not* the Pentium gcc compiler,
   16389 	# which looks to be a dead project)
   16390 	lt_prog_compiler_wl_GCJ='-Wl,'
   16391 	lt_prog_compiler_pic_GCJ='-fpic'
   16392 	lt_prog_compiler_static_GCJ='-Bstatic'
   16393         ;;
   16394       ccc*)
   16395         lt_prog_compiler_wl_GCJ='-Wl,'
   16396         # All Alpha code is PIC.
   16397         lt_prog_compiler_static_GCJ='-non_shared'
   16398         ;;
   16399       esac
   16400       ;;
   16401 
   16402     osf3* | osf4* | osf5*)
   16403       lt_prog_compiler_wl_GCJ='-Wl,'
   16404       # All OSF/1 code is PIC.
   16405       lt_prog_compiler_static_GCJ='-non_shared'
   16406       ;;
   16407 
   16408     solaris*)
   16409       lt_prog_compiler_pic_GCJ='-KPIC'
   16410       lt_prog_compiler_static_GCJ='-Bstatic'
   16411       case $cc_basename in
   16412       f77* | f90* | f95*)
   16413 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16414       *)
   16415 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16416       esac
   16417       ;;
   16418 
   16419     sunos4*)
   16420       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16421       lt_prog_compiler_pic_GCJ='-PIC'
   16422       lt_prog_compiler_static_GCJ='-Bstatic'
   16423       ;;
   16424 
   16425     sysv4 | sysv4.2uw2* | sysv4.3*)
   16426       lt_prog_compiler_wl_GCJ='-Wl,'
   16427       lt_prog_compiler_pic_GCJ='-KPIC'
   16428       lt_prog_compiler_static_GCJ='-Bstatic'
   16429       ;;
   16430 
   16431     sysv4*MP*)
   16432       if test -d /usr/nec ;then
   16433 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   16434 	lt_prog_compiler_static_GCJ='-Bstatic'
   16435       fi
   16436       ;;
   16437 
   16438     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16439       lt_prog_compiler_wl_GCJ='-Wl,'
   16440       lt_prog_compiler_pic_GCJ='-KPIC'
   16441       lt_prog_compiler_static_GCJ='-Bstatic'
   16442       ;;
   16443 
   16444     unicos*)
   16445       lt_prog_compiler_wl_GCJ='-Wl,'
   16446       lt_prog_compiler_can_build_shared_GCJ=no
   16447       ;;
   16448 
   16449     uts4*)
   16450       lt_prog_compiler_pic_GCJ='-pic'
   16451       lt_prog_compiler_static_GCJ='-Bstatic'
   16452       ;;
   16453 
   16454     *)
   16455       lt_prog_compiler_can_build_shared_GCJ=no
   16456       ;;
   16457     esac
   16458   fi
   16459 
   16460 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   16461 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   16462 
   16463 #
   16464 # Check to make sure the PIC flag actually works.
   16465 #
   16466 if test -n "$lt_prog_compiler_pic_GCJ"; then
   16467 
   16468 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   16469 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   16470 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   16471   echo $ECHO_N "(cached) $ECHO_C" >&6
   16472 else
   16473   lt_prog_compiler_pic_works_GCJ=no
   16474   ac_outfile=conftest.$ac_objext
   16475    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16476    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   16477    # Insert the option either (1) after the last *FLAGS variable, or
   16478    # (2) before a word containing "conftest.", or (3) at the end.
   16479    # Note that $ac_compile itself does not contain backslashes and begins
   16480    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16481    # The option is referenced via a variable to avoid confusing sed.
   16482    lt_compile=`echo "$ac_compile" | $SED \
   16483    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16484    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16485    -e 's:$: $lt_compiler_flag:'`
   16486    (eval echo "\"\$as_me:16486: $lt_compile\"" >&5)
   16487    (eval "$lt_compile" 2>conftest.err)
   16488    ac_status=$?
   16489    cat conftest.err >&5
   16490    echo "$as_me:16490: \$? = $ac_status" >&5
   16491    if (exit $ac_status) && test -s "$ac_outfile"; then
   16492      # The compiler can only warn and ignore the option if not recognized
   16493      # So say no if there are warnings other than the usual output.
   16494      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16495      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16496      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16497        lt_prog_compiler_pic_works_GCJ=yes
   16498      fi
   16499    fi
   16500    $rm conftest*
   16501 
   16502 fi
   16503 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   16504 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   16505 
   16506 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   16507     case $lt_prog_compiler_pic_GCJ in
   16508      "" | " "*) ;;
   16509      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   16510      esac
   16511 else
   16512     lt_prog_compiler_pic_GCJ=
   16513      lt_prog_compiler_can_build_shared_GCJ=no
   16514 fi
   16515 
   16516 fi
   16517 case $host_os in
   16518   # For platforms which do not support PIC, -DPIC is meaningless:
   16519   *djgpp*)
   16520     lt_prog_compiler_pic_GCJ=
   16521     ;;
   16522   *)
   16523     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   16524     ;;
   16525 esac
   16526 
   16527 #
   16528 # Check to make sure the static flag actually works.
   16529 #
   16530 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   16531 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16532 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   16533 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   16534   echo $ECHO_N "(cached) $ECHO_C" >&6
   16535 else
   16536   lt_prog_compiler_static_works_GCJ=no
   16537    save_LDFLAGS="$LDFLAGS"
   16538    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16539    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   16540    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16541      # The linker can only warn and ignore the option if not recognized
   16542      # So say no if there are warnings
   16543      if test -s conftest.err; then
   16544        # Append any errors to the config.log.
   16545        cat conftest.err 1>&5
   16546        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   16547        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16548        if diff conftest.exp conftest.er2 >/dev/null; then
   16549          lt_prog_compiler_static_works_GCJ=yes
   16550        fi
   16551      else
   16552        lt_prog_compiler_static_works_GCJ=yes
   16553      fi
   16554    fi
   16555    $rm conftest*
   16556    LDFLAGS="$save_LDFLAGS"
   16557 
   16558 fi
   16559 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   16560 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   16561 
   16562 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   16563     :
   16564 else
   16565     lt_prog_compiler_static_GCJ=
   16566 fi
   16567 
   16568 
   16569 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   16570 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   16571 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   16572   echo $ECHO_N "(cached) $ECHO_C" >&6
   16573 else
   16574   lt_cv_prog_compiler_c_o_GCJ=no
   16575    $rm -r conftest 2>/dev/null
   16576    mkdir conftest
   16577    cd conftest
   16578    mkdir out
   16579    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16580 
   16581    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16582    # Insert the option either (1) after the last *FLAGS variable, or
   16583    # (2) before a word containing "conftest.", or (3) at the end.
   16584    # Note that $ac_compile itself does not contain backslashes and begins
   16585    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16586    lt_compile=`echo "$ac_compile" | $SED \
   16587    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16588    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16589    -e 's:$: $lt_compiler_flag:'`
   16590    (eval echo "\"\$as_me:16590: $lt_compile\"" >&5)
   16591    (eval "$lt_compile" 2>out/conftest.err)
   16592    ac_status=$?
   16593    cat out/conftest.err >&5
   16594    echo "$as_me:16594: \$? = $ac_status" >&5
   16595    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16596    then
   16597      # The compiler can only warn and ignore the option if not recognized
   16598      # So say no if there are warnings
   16599      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   16600      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16601      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16602        lt_cv_prog_compiler_c_o_GCJ=yes
   16603      fi
   16604    fi
   16605    chmod u+w . 2>&5
   16606    $rm conftest*
   16607    # SGI C++ compiler will create directory out/ii_files/ for
   16608    # template instantiation
   16609    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   16610    $rm out/* && rmdir out
   16611    cd ..
   16612    rmdir conftest
   16613    $rm conftest*
   16614 
   16615 fi
   16616 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   16617 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   16618 
   16619 
   16620 hard_links="nottested"
   16621 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   16622   # do not overwrite the value of need_locks provided by the user
   16623   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   16624 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   16625   hard_links=yes
   16626   $rm conftest*
   16627   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16628   touch conftest.a
   16629   ln conftest.a conftest.b 2>&5 || hard_links=no
   16630   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16631   { echo "$as_me:$LINENO: result: $hard_links" >&5
   16632 echo "${ECHO_T}$hard_links" >&6; }
   16633   if test "$hard_links" = no; then
   16634     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   16635 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   16636     need_locks=warn
   16637   fi
   16638 else
   16639   need_locks=no
   16640 fi
   16641 
   16642 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16643 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   16644 
   16645   runpath_var=
   16646   allow_undefined_flag_GCJ=
   16647   enable_shared_with_static_runtimes_GCJ=no
   16648   archive_cmds_GCJ=
   16649   archive_expsym_cmds_GCJ=
   16650   old_archive_From_new_cmds_GCJ=
   16651   old_archive_from_expsyms_cmds_GCJ=
   16652   export_dynamic_flag_spec_GCJ=
   16653   whole_archive_flag_spec_GCJ=
   16654   thread_safe_flag_spec_GCJ=
   16655   hardcode_libdir_flag_spec_GCJ=
   16656   hardcode_libdir_flag_spec_ld_GCJ=
   16657   hardcode_libdir_separator_GCJ=
   16658   hardcode_direct_GCJ=no
   16659   hardcode_minus_L_GCJ=no
   16660   hardcode_shlibpath_var_GCJ=unsupported
   16661   link_all_deplibs_GCJ=unknown
   16662   hardcode_automatic_GCJ=no
   16663   module_cmds_GCJ=
   16664   module_expsym_cmds_GCJ=
   16665   always_export_symbols_GCJ=no
   16666   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16667   # include_expsyms should be a list of space-separated symbols to be *always*
   16668   # included in the symbol list
   16669   include_expsyms_GCJ=
   16670   # exclude_expsyms can be an extended regexp of symbols to exclude
   16671   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   16672   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   16673   # as well as any symbol that contains `d'.
   16674   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   16675   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16676   # platforms (ab)use it in PIC code, but their linkers get confused if
   16677   # the symbol is explicitly referenced.  Since portable code cannot
   16678   # rely on this symbol name, it's probably fine to never include it in
   16679   # preloaded symbol tables.
   16680   extract_expsyms_cmds=
   16681   # Just being paranoid about ensuring that cc_basename is set.
   16682   for cc_temp in $compiler""; do
   16683   case $cc_temp in
   16684     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16685     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16686     \-*) ;;
   16687     *) break;;
   16688   esac
   16689 done
   16690 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16691 
   16692   case $host_os in
   16693   cygwin* | mingw* | pw32*)
   16694     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16695     # When not using gcc, we currently assume that we are using
   16696     # Microsoft Visual C++.
   16697     if test "$GCC" != yes; then
   16698       with_gnu_ld=no
   16699     fi
   16700     ;;
   16701   interix*)
   16702     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16703     with_gnu_ld=yes
   16704     ;;
   16705   openbsd*)
   16706     with_gnu_ld=no
   16707     ;;
   16708   esac
   16709 
   16710   ld_shlibs_GCJ=yes
   16711   if test "$with_gnu_ld" = yes; then
   16712     # If archive_cmds runs LD, not CC, wlarc should be empty
   16713     wlarc='${wl}'
   16714 
   16715     # Set some defaults for GNU ld with shared library support. These
   16716     # are reset later if shared libraries are not supported. Putting them
   16717     # here allows them to be overridden if necessary.
   16718     runpath_var=LD_RUN_PATH
   16719     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   16720     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   16721     # ancient GNU ld didn't support --whole-archive et. al.
   16722     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   16723 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   16724       else
   16725   	whole_archive_flag_spec_GCJ=
   16726     fi
   16727     supports_anon_versioning=no
   16728     case `$LD -v 2>/dev/null` in
   16729       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16730       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16731       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16732       *\ 2.11.*) ;; # other 2.11 versions
   16733       *) supports_anon_versioning=yes ;;
   16734     esac
   16735 
   16736     # See if GNU ld supports shared libraries.
   16737     case $host_os in
   16738     aix3* | aix4* | aix5*)
   16739       # On AIX/PPC, the GNU linker is very broken
   16740       if test "$host_cpu" != ia64; then
   16741 	ld_shlibs_GCJ=no
   16742 	cat <<EOF 1>&2
   16743 
   16744 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   16745 *** to be unable to reliably create shared libraries on AIX.
   16746 *** Therefore, libtool is disabling shared libraries support.  If you
   16747 *** really care for shared libraries, you may want to modify your PATH
   16748 *** so that a non-GNU linker is found, and then restart.
   16749 
   16750 EOF
   16751       fi
   16752       ;;
   16753 
   16754     amigaos*)
   16755       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)'
   16756       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16757       hardcode_minus_L_GCJ=yes
   16758 
   16759       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   16760       # that the semantics of dynamic libraries on AmigaOS, at least up
   16761       # to version 4, is to share data among multiple programs linked
   16762       # with the same dynamic library.  Since this doesn't match the
   16763       # behavior of shared libraries on other platforms, we can't use
   16764       # them.
   16765       ld_shlibs_GCJ=no
   16766       ;;
   16767 
   16768     beos*)
   16769       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16770 	allow_undefined_flag_GCJ=unsupported
   16771 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16772 	# support --undefined.  This deserves some investigation.  FIXME
   16773 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16774       else
   16775 	ld_shlibs_GCJ=no
   16776       fi
   16777       ;;
   16778 
   16779     cygwin* | mingw* | pw32*)
   16780       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   16781       # as there is no search path for DLLs.
   16782       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16783       allow_undefined_flag_GCJ=unsupported
   16784       always_export_symbols_GCJ=no
   16785       enable_shared_with_static_runtimes_GCJ=yes
   16786       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   16787 
   16788       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   16789         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16790 	# If the export-symbols file already is a .def file (1st line
   16791 	# is EXPORTS), use it as is; otherwise, prepend...
   16792 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   16793 	  cp $export_symbols $output_objdir/$soname.def;
   16794 	else
   16795 	  echo EXPORTS > $output_objdir/$soname.def;
   16796 	  cat $export_symbols >> $output_objdir/$soname.def;
   16797 	fi~
   16798 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16799       else
   16800 	ld_shlibs_GCJ=no
   16801       fi
   16802       ;;
   16803 
   16804     interix3*)
   16805       hardcode_direct_GCJ=no
   16806       hardcode_shlibpath_var_GCJ=no
   16807       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16808       export_dynamic_flag_spec_GCJ='${wl}-E'
   16809       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16810       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16811       # default) and relocated if they conflict, which is a slow very memory
   16812       # consuming and fragmenting process.  To avoid this, we pick a random,
   16813       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16814       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16815       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'
   16816       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'
   16817       ;;
   16818 
   16819     linux*)
   16820       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16821 	tmp_addflag=
   16822 	case $cc_basename,$host_cpu in
   16823 	pgcc*)				# Portland Group C compiler
   16824 	  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'
   16825 	  tmp_addflag=' $pic_flag'
   16826 	  ;;
   16827 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   16828 	  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'
   16829 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16830 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   16831 	  tmp_addflag=' -i_dynamic' ;;
   16832 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16833 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16834 	ifc* | ifort*)			# Intel Fortran compiler
   16835 	  tmp_addflag=' -nofor_main' ;;
   16836 	esac
   16837 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16838 
   16839 	if test $supports_anon_versioning = yes; then
   16840 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   16841   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16842   $echo "local: *; };" >> $output_objdir/$libname.ver~
   16843 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   16844 	fi
   16845       else
   16846 	ld_shlibs_GCJ=no
   16847       fi
   16848       ;;
   16849 
   16850     netbsd*)
   16851       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16852 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16853 	wlarc=
   16854       else
   16855 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16856 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16857       fi
   16858       ;;
   16859 
   16860     solaris*)
   16861       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   16862 	ld_shlibs_GCJ=no
   16863 	cat <<EOF 1>&2
   16864 
   16865 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16866 *** create shared libraries on Solaris systems.  Therefore, libtool
   16867 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16868 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16869 *** your PATH or compiler configuration so that the native linker is
   16870 *** used, and then restart.
   16871 
   16872 EOF
   16873       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16874 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16875 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16876       else
   16877 	ld_shlibs_GCJ=no
   16878       fi
   16879       ;;
   16880 
   16881     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16882       case `$LD -v 2>&1` in
   16883         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16884 	ld_shlibs_GCJ=no
   16885 	cat <<_LT_EOF 1>&2
   16886 
   16887 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   16888 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16889 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16890 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16891 *** your PATH or compiler configuration so that the native linker is
   16892 *** used, and then restart.
   16893 
   16894 _LT_EOF
   16895 	;;
   16896 	*)
   16897 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16898 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   16899 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   16900 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   16901 	  else
   16902 	    ld_shlibs_GCJ=no
   16903 	  fi
   16904 	;;
   16905       esac
   16906       ;;
   16907 
   16908     sunos4*)
   16909       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16910       wlarc=
   16911       hardcode_direct_GCJ=yes
   16912       hardcode_shlibpath_var_GCJ=no
   16913       ;;
   16914 
   16915     *)
   16916       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16917 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16918 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16919       else
   16920 	ld_shlibs_GCJ=no
   16921       fi
   16922       ;;
   16923     esac
   16924 
   16925     if test "$ld_shlibs_GCJ" = no; then
   16926       runpath_var=
   16927       hardcode_libdir_flag_spec_GCJ=
   16928       export_dynamic_flag_spec_GCJ=
   16929       whole_archive_flag_spec_GCJ=
   16930     fi
   16931   else
   16932     # PORTME fill in a description of your system's linker (not GNU ld)
   16933     case $host_os in
   16934     aix3*)
   16935       allow_undefined_flag_GCJ=unsupported
   16936       always_export_symbols_GCJ=yes
   16937       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'
   16938       # Note: this linker hardcodes the directories in LIBPATH if there
   16939       # are no directories specified by -L.
   16940       hardcode_minus_L_GCJ=yes
   16941       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   16942 	# Neither direct hardcoding nor static linking is supported with a
   16943 	# broken collect2.
   16944 	hardcode_direct_GCJ=unsupported
   16945       fi
   16946       ;;
   16947 
   16948     aix4* | aix5*)
   16949       if test "$host_cpu" = ia64; then
   16950 	# On IA64, the linker does run time linking by default, so we don't
   16951 	# have to do anything special.
   16952 	aix_use_runtimelinking=no
   16953 	exp_sym_flag='-Bexport'
   16954 	no_entry_flag=""
   16955       else
   16956 	# If we're using GNU nm, then we don't want the "-C" option.
   16957 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   16958 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   16959 	  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'
   16960 	else
   16961 	  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'
   16962 	fi
   16963 	aix_use_runtimelinking=no
   16964 
   16965 	# Test if we are trying to use run time linking or normal
   16966 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16967 	# need to do runtime linking.
   16968 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   16969 	  for ld_flag in $LDFLAGS; do
   16970   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   16971   	    aix_use_runtimelinking=yes
   16972   	    break
   16973   	  fi
   16974 	  done
   16975 	  ;;
   16976 	esac
   16977 
   16978 	exp_sym_flag='-bexport'
   16979 	no_entry_flag='-bnoentry'
   16980       fi
   16981 
   16982       # When large executables or shared objects are built, AIX ld can
   16983       # have problems creating the table of contents.  If linking a library
   16984       # or program results in "error TOC overflow" add -mminimal-toc to
   16985       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16986       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16987 
   16988       archive_cmds_GCJ=''
   16989       hardcode_direct_GCJ=yes
   16990       hardcode_libdir_separator_GCJ=':'
   16991       link_all_deplibs_GCJ=yes
   16992 
   16993       if test "$GCC" = yes; then
   16994 	case $host_os in aix4.[012]|aix4.[012].*)
   16995 	# We only want to do this on AIX 4.2 and lower, the check
   16996 	# below for broken collect2 doesn't work under 4.3+
   16997 	  collect2name=`${CC} -print-prog-name=collect2`
   16998 	  if test -f "$collect2name" && \
   16999   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17000 	  then
   17001   	  # We have reworked collect2
   17002   	  hardcode_direct_GCJ=yes
   17003 	  else
   17004   	  # We have old collect2
   17005   	  hardcode_direct_GCJ=unsupported
   17006   	  # It fails to find uninstalled libraries when the uninstalled
   17007   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17008   	  # to unsupported forces relinking
   17009   	  hardcode_minus_L_GCJ=yes
   17010   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17011   	  hardcode_libdir_separator_GCJ=
   17012 	  fi
   17013 	  ;;
   17014 	esac
   17015 	shared_flag='-shared'
   17016 	if test "$aix_use_runtimelinking" = yes; then
   17017 	  shared_flag="$shared_flag "'${wl}-G'
   17018 	fi
   17019       else
   17020 	# not using gcc
   17021 	if test "$host_cpu" = ia64; then
   17022   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17023   	# chokes on -Wl,-G. The following line is correct:
   17024 	  shared_flag='-G'
   17025 	else
   17026 	  if test "$aix_use_runtimelinking" = yes; then
   17027 	    shared_flag='${wl}-G'
   17028 	  else
   17029 	    shared_flag='${wl}-bM:SRE'
   17030 	  fi
   17031 	fi
   17032       fi
   17033 
   17034       # It seems that -bexpall does not export symbols beginning with
   17035       # underscore (_), so it is better to generate a list of symbols to export.
   17036       always_export_symbols_GCJ=yes
   17037       if test "$aix_use_runtimelinking" = yes; then
   17038 	# Warning - without using the other runtime loading flags (-brtl),
   17039 	# -berok will link without error, but may produce a broken library.
   17040 	allow_undefined_flag_GCJ='-berok'
   17041        # Determine the default libpath from the value encoded in an empty executable.
   17042        cat >conftest.$ac_ext <<_ACEOF
   17043 /* confdefs.h.  */
   17044 _ACEOF
   17045 cat confdefs.h >>conftest.$ac_ext
   17046 cat >>conftest.$ac_ext <<_ACEOF
   17047 /* end confdefs.h.  */
   17048 
   17049 int
   17050 main ()
   17051 {
   17052 
   17053   ;
   17054   return 0;
   17055 }
   17056 _ACEOF
   17057 rm -f conftest.$ac_objext conftest$ac_exeext
   17058 if { (ac_try="$ac_link"
   17059 case "(($ac_try" in
   17060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17061   *) ac_try_echo=$ac_try;;
   17062 esac
   17063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17064   (eval "$ac_link") 2>conftest.er1
   17065   ac_status=$?
   17066   grep -v '^ *+' conftest.er1 >conftest.err
   17067   rm -f conftest.er1
   17068   cat conftest.err >&5
   17069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17070   (exit $ac_status); } && {
   17071 	 test -z "$ac_c_werror_flag" ||
   17072 	 test ! -s conftest.err
   17073        } && test -s conftest$ac_exeext &&
   17074        $as_test_x conftest$ac_exeext; then
   17075 
   17076 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17077 }'`
   17078 # Check for a 64-bit object if we didn't find anything.
   17079 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; }
   17080 }'`; fi
   17081 else
   17082   echo "$as_me: failed program was:" >&5
   17083 sed 's/^/| /' conftest.$ac_ext >&5
   17084 
   17085 
   17086 fi
   17087 
   17088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17089       conftest$ac_exeext conftest.$ac_ext
   17090 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17091 
   17092        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17093 	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"
   17094        else
   17095 	if test "$host_cpu" = ia64; then
   17096 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17097 	  allow_undefined_flag_GCJ="-z nodefs"
   17098 	  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"
   17099 	else
   17100 	 # Determine the default libpath from the value encoded in an empty executable.
   17101 	 cat >conftest.$ac_ext <<_ACEOF
   17102 /* confdefs.h.  */
   17103 _ACEOF
   17104 cat confdefs.h >>conftest.$ac_ext
   17105 cat >>conftest.$ac_ext <<_ACEOF
   17106 /* end confdefs.h.  */
   17107 
   17108 int
   17109 main ()
   17110 {
   17111 
   17112   ;
   17113   return 0;
   17114 }
   17115 _ACEOF
   17116 rm -f conftest.$ac_objext conftest$ac_exeext
   17117 if { (ac_try="$ac_link"
   17118 case "(($ac_try" in
   17119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17120   *) ac_try_echo=$ac_try;;
   17121 esac
   17122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17123   (eval "$ac_link") 2>conftest.er1
   17124   ac_status=$?
   17125   grep -v '^ *+' conftest.er1 >conftest.err
   17126   rm -f conftest.er1
   17127   cat conftest.err >&5
   17128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17129   (exit $ac_status); } && {
   17130 	 test -z "$ac_c_werror_flag" ||
   17131 	 test ! -s conftest.err
   17132        } && test -s conftest$ac_exeext &&
   17133        $as_test_x conftest$ac_exeext; then
   17134 
   17135 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17136 }'`
   17137 # Check for a 64-bit object if we didn't find anything.
   17138 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; }
   17139 }'`; fi
   17140 else
   17141   echo "$as_me: failed program was:" >&5
   17142 sed 's/^/| /' conftest.$ac_ext >&5
   17143 
   17144 
   17145 fi
   17146 
   17147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17148       conftest$ac_exeext conftest.$ac_ext
   17149 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17150 
   17151 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17152 	  # Warning - without using the other run time loading flags,
   17153 	  # -berok will link without error, but may produce a broken library.
   17154 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17155 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17156 	  # Exported symbols can be pulled into shared objects from archives
   17157 	  whole_archive_flag_spec_GCJ='$convenience'
   17158 	  archive_cmds_need_lc_GCJ=yes
   17159 	  # This is similar to how AIX traditionally builds its shared libraries.
   17160 	  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'
   17161 	fi
   17162       fi
   17163       ;;
   17164 
   17165     amigaos*)
   17166       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)'
   17167       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17168       hardcode_minus_L_GCJ=yes
   17169       # see comment about different semantics on the GNU ld section
   17170       ld_shlibs_GCJ=no
   17171       ;;
   17172 
   17173     bsdi[45]*)
   17174       export_dynamic_flag_spec_GCJ=-rdynamic
   17175       ;;
   17176 
   17177     cygwin* | mingw* | pw32*)
   17178       # When not using gcc, we currently assume that we are using
   17179       # Microsoft Visual C++.
   17180       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17181       # no search path for DLLs.
   17182       hardcode_libdir_flag_spec_GCJ=' '
   17183       allow_undefined_flag_GCJ=unsupported
   17184       # Tell ltmain to make .lib files, not .a files.
   17185       libext=lib
   17186       # Tell ltmain to make .dll files, not .so files.
   17187       shrext_cmds=".dll"
   17188       # FIXME: Setting linknames here is a bad hack.
   17189       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17190       # The linker will automatically build a .lib file if we build a DLL.
   17191       old_archive_From_new_cmds_GCJ='true'
   17192       # FIXME: Should let the user specify the lib program.
   17193       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   17194       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17195       enable_shared_with_static_runtimes_GCJ=yes
   17196       ;;
   17197 
   17198     darwin* | rhapsody*)
   17199       case $host_os in
   17200         rhapsody* | darwin1.[012])
   17201          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17202          ;;
   17203        *) # Darwin 1.3 on
   17204          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17205            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17206          else
   17207            case ${MACOSX_DEPLOYMENT_TARGET} in
   17208              10.[012])
   17209                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17210                ;;
   17211              10.*)
   17212                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17213                ;;
   17214            esac
   17215          fi
   17216          ;;
   17217       esac
   17218       archive_cmds_need_lc_GCJ=no
   17219       hardcode_direct_GCJ=no
   17220       hardcode_automatic_GCJ=yes
   17221       hardcode_shlibpath_var_GCJ=unsupported
   17222       whole_archive_flag_spec_GCJ=''
   17223       link_all_deplibs_GCJ=yes
   17224     if test "$GCC" = yes ; then
   17225     	output_verbose_link_cmd='echo'
   17226         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17227       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17228       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17229       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}'
   17230       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}'
   17231     else
   17232       case $cc_basename in
   17233         xlc*)
   17234          output_verbose_link_cmd='echo'
   17235          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   17236          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17237           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17238          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}'
   17239           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}'
   17240           ;;
   17241        *)
   17242          ld_shlibs_GCJ=no
   17243           ;;
   17244       esac
   17245     fi
   17246       ;;
   17247 
   17248     dgux*)
   17249       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17250       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17251       hardcode_shlibpath_var_GCJ=no
   17252       ;;
   17253 
   17254     freebsd1*)
   17255       ld_shlibs_GCJ=no
   17256       ;;
   17257 
   17258     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17259     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17260     # does not break anything, and helps significantly (at the cost of a little
   17261     # extra space).
   17262     freebsd2.2*)
   17263       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17264       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17265       hardcode_direct_GCJ=yes
   17266       hardcode_shlibpath_var_GCJ=no
   17267       ;;
   17268 
   17269     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17270     freebsd2*)
   17271       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17272       hardcode_direct_GCJ=yes
   17273       hardcode_minus_L_GCJ=yes
   17274       hardcode_shlibpath_var_GCJ=no
   17275       ;;
   17276 
   17277     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17278     freebsd* | kfreebsd*-gnu | dragonfly*)
   17279       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17280       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17281       hardcode_direct_GCJ=yes
   17282       hardcode_shlibpath_var_GCJ=no
   17283       ;;
   17284 
   17285     hpux9*)
   17286       if test "$GCC" = yes; then
   17287 	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'
   17288       else
   17289 	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'
   17290       fi
   17291       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17292       hardcode_libdir_separator_GCJ=:
   17293       hardcode_direct_GCJ=yes
   17294 
   17295       # hardcode_minus_L: Not really in the search PATH,
   17296       # but as the default location of the library.
   17297       hardcode_minus_L_GCJ=yes
   17298       export_dynamic_flag_spec_GCJ='${wl}-E'
   17299       ;;
   17300 
   17301     hpux10*)
   17302       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17303 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17304       else
   17305 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17306       fi
   17307       if test "$with_gnu_ld" = no; then
   17308 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17309 	hardcode_libdir_separator_GCJ=:
   17310 
   17311 	hardcode_direct_GCJ=yes
   17312 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17313 
   17314 	# hardcode_minus_L: Not really in the search PATH,
   17315 	# but as the default location of the library.
   17316 	hardcode_minus_L_GCJ=yes
   17317       fi
   17318       ;;
   17319 
   17320     hpux11*)
   17321       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17322 	case $host_cpu in
   17323 	hppa*64*)
   17324 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17325 	  ;;
   17326 	ia64*)
   17327 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17328 	  ;;
   17329 	*)
   17330 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17331 	  ;;
   17332 	esac
   17333       else
   17334 	case $host_cpu in
   17335 	hppa*64*)
   17336 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17337 	  ;;
   17338 	ia64*)
   17339 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17340 	  ;;
   17341 	*)
   17342 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17343 	  ;;
   17344 	esac
   17345       fi
   17346       if test "$with_gnu_ld" = no; then
   17347 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17348 	hardcode_libdir_separator_GCJ=:
   17349 
   17350 	case $host_cpu in
   17351 	hppa*64*|ia64*)
   17352 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17353 	  hardcode_direct_GCJ=no
   17354 	  hardcode_shlibpath_var_GCJ=no
   17355 	  ;;
   17356 	*)
   17357 	  hardcode_direct_GCJ=yes
   17358 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17359 
   17360 	  # hardcode_minus_L: Not really in the search PATH,
   17361 	  # but as the default location of the library.
   17362 	  hardcode_minus_L_GCJ=yes
   17363 	  ;;
   17364 	esac
   17365       fi
   17366       ;;
   17367 
   17368     irix5* | irix6* | nonstopux*)
   17369       if test "$GCC" = yes; then
   17370 	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'
   17371       else
   17372 	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'
   17373 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17374       fi
   17375       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17376       hardcode_libdir_separator_GCJ=:
   17377       link_all_deplibs_GCJ=yes
   17378       ;;
   17379 
   17380     netbsd*)
   17381       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17382 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17383       else
   17384 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17385       fi
   17386       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17387       hardcode_direct_GCJ=yes
   17388       hardcode_shlibpath_var_GCJ=no
   17389       ;;
   17390 
   17391     newsos6)
   17392       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17393       hardcode_direct_GCJ=yes
   17394       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17395       hardcode_libdir_separator_GCJ=:
   17396       hardcode_shlibpath_var_GCJ=no
   17397       ;;
   17398 
   17399     openbsd*)
   17400       hardcode_direct_GCJ=yes
   17401       hardcode_shlibpath_var_GCJ=no
   17402       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17403 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17404 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   17405 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17406 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17407       else
   17408        case $host_os in
   17409 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   17410 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17411 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17412 	   ;;
   17413 	 *)
   17414 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17415 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17416 	   ;;
   17417        esac
   17418       fi
   17419       ;;
   17420 
   17421     os2*)
   17422       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17423       hardcode_minus_L_GCJ=yes
   17424       allow_undefined_flag_GCJ=unsupported
   17425       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'
   17426       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   17427       ;;
   17428 
   17429     osf3*)
   17430       if test "$GCC" = yes; then
   17431 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17432 	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'
   17433       else
   17434 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17435 	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'
   17436       fi
   17437       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17438       hardcode_libdir_separator_GCJ=:
   17439       ;;
   17440 
   17441     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17442       if test "$GCC" = yes; then
   17443 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17444 	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'
   17445 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17446       else
   17447 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17448 	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'
   17449 	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~
   17450 	$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'
   17451 
   17452 	# Both c and cxx compiler support -rpath directly
   17453 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   17454       fi
   17455       hardcode_libdir_separator_GCJ=:
   17456       ;;
   17457 
   17458     solaris*)
   17459       no_undefined_flag_GCJ=' -z text'
   17460       if test "$GCC" = yes; then
   17461 	wlarc='${wl}'
   17462 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17463 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17464 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   17465       else
   17466 	wlarc=''
   17467 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17468 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17469   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   17470       fi
   17471       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17472       hardcode_shlibpath_var_GCJ=no
   17473       case $host_os in
   17474       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17475       *)
   17476  	# The compiler driver will combine linker options so we
   17477  	# cannot just pass the convience library names through
   17478  	# without $wl, iff we do not link with $LD.
   17479  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   17480  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17481  	case $wlarc in
   17482  	'')
   17483  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   17484  	*)
   17485  	  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' ;;
   17486  	esac ;;
   17487       esac
   17488       link_all_deplibs_GCJ=yes
   17489       ;;
   17490 
   17491     sunos4*)
   17492       if test "x$host_vendor" = xsequent; then
   17493 	# Use $CC to link under sequent, because it throws in some extra .o
   17494 	# files that make .init and .fini sections work.
   17495 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17496       else
   17497 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17498       fi
   17499       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17500       hardcode_direct_GCJ=yes
   17501       hardcode_minus_L_GCJ=yes
   17502       hardcode_shlibpath_var_GCJ=no
   17503       ;;
   17504 
   17505     sysv4)
   17506       case $host_vendor in
   17507 	sni)
   17508 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17509 	  hardcode_direct_GCJ=yes # is this really true???
   17510 	;;
   17511 	siemens)
   17512 	  ## LD is ld it makes a PLAMLIB
   17513 	  ## CC just makes a GrossModule.
   17514 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17515 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   17516 	  hardcode_direct_GCJ=no
   17517         ;;
   17518 	motorola)
   17519 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17520 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   17521 	;;
   17522       esac
   17523       runpath_var='LD_RUN_PATH'
   17524       hardcode_shlibpath_var_GCJ=no
   17525       ;;
   17526 
   17527     sysv4.3*)
   17528       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17529       hardcode_shlibpath_var_GCJ=no
   17530       export_dynamic_flag_spec_GCJ='-Bexport'
   17531       ;;
   17532 
   17533     sysv4*MP*)
   17534       if test -d /usr/nec; then
   17535 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17536 	hardcode_shlibpath_var_GCJ=no
   17537 	runpath_var=LD_RUN_PATH
   17538 	hardcode_runpath_var=yes
   17539 	ld_shlibs_GCJ=yes
   17540       fi
   17541       ;;
   17542 
   17543     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   17544       no_undefined_flag_GCJ='${wl}-z,text'
   17545       archive_cmds_need_lc_GCJ=no
   17546       hardcode_shlibpath_var_GCJ=no
   17547       runpath_var='LD_RUN_PATH'
   17548 
   17549       if test "$GCC" = yes; then
   17550 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17551 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17552       else
   17553 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17554 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17555       fi
   17556       ;;
   17557 
   17558     sysv5* | sco3.2v5* | sco5v6*)
   17559       # Note: We can NOT use -z defs as we might desire, because we do not
   17560       # link with -lc, and that would cause any symbols used from libc to
   17561       # always be unresolved, which means just about no library would
   17562       # ever link correctly.  If we're not using GNU ld we use -z text
   17563       # though, which does catch some bad symbols but isn't as heavy-handed
   17564       # as -z defs.
   17565       no_undefined_flag_GCJ='${wl}-z,text'
   17566       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   17567       archive_cmds_need_lc_GCJ=no
   17568       hardcode_shlibpath_var_GCJ=no
   17569       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   17570       hardcode_libdir_separator_GCJ=':'
   17571       link_all_deplibs_GCJ=yes
   17572       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   17573       runpath_var='LD_RUN_PATH'
   17574 
   17575       if test "$GCC" = yes; then
   17576 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17577 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17578       else
   17579 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17580 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17581       fi
   17582       ;;
   17583 
   17584     uts4*)
   17585       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17586       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17587       hardcode_shlibpath_var_GCJ=no
   17588       ;;
   17589 
   17590     *)
   17591       ld_shlibs_GCJ=no
   17592       ;;
   17593     esac
   17594   fi
   17595 
   17596 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   17597 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   17598 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   17599 
   17600 #
   17601 # Do we need to explicitly link libc?
   17602 #
   17603 case "x$archive_cmds_need_lc_GCJ" in
   17604 x|xyes)
   17605   # Assume -lc should be added
   17606   archive_cmds_need_lc_GCJ=yes
   17607 
   17608   if test "$enable_shared" = yes && test "$GCC" = yes; then
   17609     case $archive_cmds_GCJ in
   17610     *'~'*)
   17611       # FIXME: we may have to deal with multi-command sequences.
   17612       ;;
   17613     '$CC '*)
   17614       # Test whether the compiler implicitly links with -lc since on some
   17615       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17616       # to ld, don't add -lc before -lgcc.
   17617       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   17618 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   17619       $rm conftest*
   17620       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17621 
   17622       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17623   (eval $ac_compile) 2>&5
   17624   ac_status=$?
   17625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17626   (exit $ac_status); } 2>conftest.err; then
   17627         soname=conftest
   17628         lib=conftest
   17629         libobjs=conftest.$ac_objext
   17630         deplibs=
   17631         wl=$lt_prog_compiler_wl_GCJ
   17632 	pic_flag=$lt_prog_compiler_pic_GCJ
   17633         compiler_flags=-v
   17634         linker_flags=-v
   17635         verstring=
   17636         output_objdir=.
   17637         libname=conftest
   17638         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   17639         allow_undefined_flag_GCJ=
   17640         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   17641   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17642   ac_status=$?
   17643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17644   (exit $ac_status); }
   17645         then
   17646 	  archive_cmds_need_lc_GCJ=no
   17647         else
   17648 	  archive_cmds_need_lc_GCJ=yes
   17649         fi
   17650         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   17651       else
   17652         cat conftest.err 1>&5
   17653       fi
   17654       $rm conftest*
   17655       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   17656 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   17657       ;;
   17658     esac
   17659   fi
   17660   ;;
   17661 esac
   17662 
   17663 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   17664 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   17665 library_names_spec=
   17666 libname_spec='lib$name'
   17667 soname_spec=
   17668 shrext_cmds=".so"
   17669 postinstall_cmds=
   17670 postuninstall_cmds=
   17671 finish_cmds=
   17672 finish_eval=
   17673 shlibpath_var=
   17674 shlibpath_overrides_runpath=unknown
   17675 version_type=none
   17676 dynamic_linker="$host_os ld.so"
   17677 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17678 if test "$GCC" = yes; then
   17679   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17680   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   17681     # if the path contains ";" then we assume it to be the separator
   17682     # otherwise default to the standard path separator (i.e. ":") - it is
   17683     # assumed that no part of a normal pathname contains ";" but that should
   17684     # okay in the real world where ";" in dirpaths is itself problematic.
   17685     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17686   else
   17687     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17688   fi
   17689 else
   17690   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17691 fi
   17692 need_lib_prefix=unknown
   17693 hardcode_into_libs=no
   17694 
   17695 # when you set need_version to no, make sure it does not cause -set_version
   17696 # flags to be left without arguments
   17697 need_version=unknown
   17698 
   17699 case $host_os in
   17700 aix3*)
   17701   version_type=linux
   17702   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   17703   shlibpath_var=LIBPATH
   17704 
   17705   # AIX 3 has no versioning support, so we append a major version to the name.
   17706   soname_spec='${libname}${release}${shared_ext}$major'
   17707   ;;
   17708 
   17709 aix4* | aix5*)
   17710   version_type=linux
   17711   need_lib_prefix=no
   17712   need_version=no
   17713   hardcode_into_libs=yes
   17714   if test "$host_cpu" = ia64; then
   17715     # AIX 5 supports IA64
   17716     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   17717     shlibpath_var=LD_LIBRARY_PATH
   17718   else
   17719     # With GCC up to 2.95.x, collect2 would create an import file
   17720     # for dependence libraries.  The import file would start with
   17721     # the line `#! .'.  This would cause the generated library to
   17722     # depend on `.', always an invalid library.  This was fixed in
   17723     # development snapshots of GCC prior to 3.0.
   17724     case $host_os in
   17725       aix4 | aix4.[01] | aix4.[01].*)
   17726       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17727 	   echo ' yes '
   17728 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   17729 	:
   17730       else
   17731 	can_build_shared=no
   17732       fi
   17733       ;;
   17734     esac
   17735     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   17736     # soname into executable. Probably we can add versioning support to
   17737     # collect2, so additional links can be useful in future.
   17738     if test "$aix_use_runtimelinking" = yes; then
   17739       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17740       # instead of lib<name>.a to let people know that these are not
   17741       # typical AIX shared libraries.
   17742       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17743     else
   17744       # We preserve .a as extension for shared libraries through AIX4.2
   17745       # and later when we are not doing run time linking.
   17746       library_names_spec='${libname}${release}.a $libname.a'
   17747       soname_spec='${libname}${release}${shared_ext}$major'
   17748     fi
   17749     shlibpath_var=LIBPATH
   17750   fi
   17751   ;;
   17752 
   17753 amigaos*)
   17754   library_names_spec='$libname.ixlibrary $libname.a'
   17755   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17756   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'
   17757   ;;
   17758 
   17759 beos*)
   17760   library_names_spec='${libname}${shared_ext}'
   17761   dynamic_linker="$host_os ld.so"
   17762   shlibpath_var=LIBRARY_PATH
   17763   ;;
   17764 
   17765 bsdi[45]*)
   17766   version_type=linux
   17767   need_version=no
   17768   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17769   soname_spec='${libname}${release}${shared_ext}$major'
   17770   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17771   shlibpath_var=LD_LIBRARY_PATH
   17772   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17773   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17774   # the default ld.so.conf also contains /usr/contrib/lib and
   17775   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17776   # libtool to hard-code these into programs
   17777   ;;
   17778 
   17779 cygwin* | mingw* | pw32*)
   17780   version_type=windows
   17781   shrext_cmds=".dll"
   17782   need_version=no
   17783   need_lib_prefix=no
   17784 
   17785   case $GCC,$host_os in
   17786   yes,cygwin* | yes,mingw* | yes,pw32*)
   17787     library_names_spec='$libname.dll.a'
   17788     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17789     postinstall_cmds='base_file=`basename \${file}`~
   17790       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   17791       dldir=$destdir/`dirname \$dlpath`~
   17792       test -d \$dldir || mkdir -p \$dldir~
   17793       $install_prog $dir/$dlname \$dldir/$dlname~
   17794       chmod a+x \$dldir/$dlname'
   17795     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17796       dlpath=$dir/\$dldll~
   17797        $rm \$dlpath'
   17798     shlibpath_overrides_runpath=yes
   17799 
   17800     case $host_os in
   17801     cygwin*)
   17802       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17803       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17804       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   17805       ;;
   17806     mingw*)
   17807       # MinGW DLLs use traditional 'lib' prefix
   17808       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17809       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17810       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   17811         # It is most probably a Windows format PATH printed by
   17812         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   17813         # path with ; separators, and with drive letters. We can handle the
   17814         # drive letters (cygwin fileutils understands them), so leave them,
   17815         # especially as we might pass files found there to a mingw objdump,
   17816         # which wouldn't understand a cygwinified path. Ahh.
   17817         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17818       else
   17819         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17820       fi
   17821       ;;
   17822     pw32*)
   17823       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17824       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17825       ;;
   17826     esac
   17827     ;;
   17828 
   17829   *)
   17830     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   17831     ;;
   17832   esac
   17833   dynamic_linker='Win32 ld.exe'
   17834   # FIXME: first we should search . and the directory the executable is in
   17835   shlibpath_var=PATH
   17836   ;;
   17837 
   17838 darwin* | rhapsody*)
   17839   dynamic_linker="$host_os dyld"
   17840   version_type=darwin
   17841   need_lib_prefix=no
   17842   need_version=no
   17843   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   17844   soname_spec='${libname}${release}${major}$shared_ext'
   17845   shlibpath_overrides_runpath=yes
   17846   shlibpath_var=DYLD_LIBRARY_PATH
   17847   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17848   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   17849   if test "$GCC" = yes; then
   17850     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"`
   17851   else
   17852     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   17853   fi
   17854   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17855   ;;
   17856 
   17857 dgux*)
   17858   version_type=linux
   17859   need_lib_prefix=no
   17860   need_version=no
   17861   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   17862   soname_spec='${libname}${release}${shared_ext}$major'
   17863   shlibpath_var=LD_LIBRARY_PATH
   17864   ;;
   17865 
   17866 freebsd1*)
   17867   dynamic_linker=no
   17868   ;;
   17869 
   17870 kfreebsd*-gnu)
   17871   version_type=linux
   17872   need_lib_prefix=no
   17873   need_version=no
   17874   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17875   soname_spec='${libname}${release}${shared_ext}$major'
   17876   shlibpath_var=LD_LIBRARY_PATH
   17877   shlibpath_overrides_runpath=no
   17878   hardcode_into_libs=yes
   17879   dynamic_linker='GNU ld.so'
   17880   ;;
   17881 
   17882 freebsd* | dragonfly*)
   17883   # DragonFly does not have aout.  When/if they implement a new
   17884   # versioning mechanism, adjust this.
   17885   if test -x /usr/bin/objformat; then
   17886     objformat=`/usr/bin/objformat`
   17887   else
   17888     case $host_os in
   17889     freebsd[123]*) objformat=aout ;;
   17890     *) objformat=elf ;;
   17891     esac
   17892   fi
   17893   version_type=freebsd-$objformat
   17894   case $version_type in
   17895     freebsd-elf*)
   17896       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   17897       need_version=no
   17898       need_lib_prefix=no
   17899       ;;
   17900     freebsd-*)
   17901       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   17902       need_version=yes
   17903       ;;
   17904   esac
   17905   shlibpath_var=LD_LIBRARY_PATH
   17906   case $host_os in
   17907   freebsd2*)
   17908     shlibpath_overrides_runpath=yes
   17909     ;;
   17910   freebsd3.[01]* | freebsdelf3.[01]*)
   17911     shlibpath_overrides_runpath=yes
   17912     hardcode_into_libs=yes
   17913     ;;
   17914   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17915   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17916     shlibpath_overrides_runpath=no
   17917     hardcode_into_libs=yes
   17918     ;;
   17919   freebsd*) # from 4.6 on
   17920     shlibpath_overrides_runpath=yes
   17921     hardcode_into_libs=yes
   17922     ;;
   17923   esac
   17924   ;;
   17925 
   17926 gnu*)
   17927   version_type=linux
   17928   need_lib_prefix=no
   17929   need_version=no
   17930   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   17931   soname_spec='${libname}${release}${shared_ext}$major'
   17932   shlibpath_var=LD_LIBRARY_PATH
   17933   hardcode_into_libs=yes
   17934   ;;
   17935 
   17936 hpux9* | hpux10* | hpux11*)
   17937   # Give a soname corresponding to the major version so that dld.sl refuses to
   17938   # link against other versions.
   17939   version_type=sunos
   17940   need_lib_prefix=no
   17941   need_version=no
   17942   case $host_cpu in
   17943   ia64*)
   17944     shrext_cmds='.so'
   17945     hardcode_into_libs=yes
   17946     dynamic_linker="$host_os dld.so"
   17947     shlibpath_var=LD_LIBRARY_PATH
   17948     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17949     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17950     soname_spec='${libname}${release}${shared_ext}$major'
   17951     if test "X$HPUX_IA64_MODE" = X32; then
   17952       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17953     else
   17954       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17955     fi
   17956     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17957     ;;
   17958    hppa*64*)
   17959      shrext_cmds='.sl'
   17960      hardcode_into_libs=yes
   17961      dynamic_linker="$host_os dld.sl"
   17962      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17963      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17964      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17965      soname_spec='${libname}${release}${shared_ext}$major'
   17966      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17967      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17968      ;;
   17969    *)
   17970     shrext_cmds='.sl'
   17971     dynamic_linker="$host_os dld.sl"
   17972     shlibpath_var=SHLIB_PATH
   17973     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17974     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17975     soname_spec='${libname}${release}${shared_ext}$major'
   17976     ;;
   17977   esac
   17978   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   17979   postinstall_cmds='chmod 555 $lib'
   17980   ;;
   17981 
   17982 interix3*)
   17983   version_type=linux
   17984   need_lib_prefix=no
   17985   need_version=no
   17986   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17987   soname_spec='${libname}${release}${shared_ext}$major'
   17988   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17989   shlibpath_var=LD_LIBRARY_PATH
   17990   shlibpath_overrides_runpath=no
   17991   hardcode_into_libs=yes
   17992   ;;
   17993 
   17994 irix5* | irix6* | nonstopux*)
   17995   case $host_os in
   17996     nonstopux*) version_type=nonstopux ;;
   17997     *)
   17998 	if test "$lt_cv_prog_gnu_ld" = yes; then
   17999 		version_type=linux
   18000 	else
   18001 		version_type=irix
   18002 	fi ;;
   18003   esac
   18004   need_lib_prefix=no
   18005   need_version=no
   18006   soname_spec='${libname}${release}${shared_ext}$major'
   18007   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18008   case $host_os in
   18009   irix5* | nonstopux*)
   18010     libsuff= shlibsuff=
   18011     ;;
   18012   *)
   18013     case $LD in # libtool.m4 will add one of these switches to LD
   18014     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18015       libsuff= shlibsuff= libmagic=32-bit;;
   18016     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18017       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18018     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18019       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18020     *) libsuff= shlibsuff= libmagic=never-match;;
   18021     esac
   18022     ;;
   18023   esac
   18024   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18025   shlibpath_overrides_runpath=no
   18026   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18027   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18028   hardcode_into_libs=yes
   18029   ;;
   18030 
   18031 # No shared lib support for Linux oldld, aout, or coff.
   18032 linux*oldld* | linux*aout* | linux*coff*)
   18033   dynamic_linker=no
   18034   ;;
   18035 
   18036 # This must be Linux ELF.
   18037 linux*)
   18038   version_type=linux
   18039   need_lib_prefix=no
   18040   need_version=no
   18041   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18042   soname_spec='${libname}${release}${shared_ext}$major'
   18043   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18044   shlibpath_var=LD_LIBRARY_PATH
   18045   shlibpath_overrides_runpath=no
   18046   # This implies no fast_install, which is unacceptable.
   18047   # Some rework will be needed to allow for fast_install
   18048   # before this can be enabled.
   18049   hardcode_into_libs=yes
   18050 
   18051   # Append ld.so.conf contents to the search path
   18052   if test -f /etc/ld.so.conf; then
   18053     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' ' '`
   18054     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18055   fi
   18056 
   18057   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18058   # powerpc, because MkLinux only supported shared libraries with the
   18059   # GNU dynamic linker.  Since this was broken with cross compilers,
   18060   # most powerpc-linux boxes support dynamic linking these days and
   18061   # people can always --disable-shared, the test was removed, and we
   18062   # assume the GNU/Linux dynamic linker is in use.
   18063   dynamic_linker='GNU/Linux ld.so'
   18064   ;;
   18065 
   18066 knetbsd*-gnu)
   18067   version_type=linux
   18068   need_lib_prefix=no
   18069   need_version=no
   18070   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18071   soname_spec='${libname}${release}${shared_ext}$major'
   18072   shlibpath_var=LD_LIBRARY_PATH
   18073   shlibpath_overrides_runpath=no
   18074   hardcode_into_libs=yes
   18075   dynamic_linker='GNU ld.so'
   18076   ;;
   18077 
   18078 netbsd*)
   18079   version_type=sunos
   18080   need_lib_prefix=no
   18081   need_version=no
   18082   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18083     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18084     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18085     dynamic_linker='NetBSD (a.out) ld.so'
   18086   else
   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     dynamic_linker='NetBSD ld.elf_so'
   18090   fi
   18091   shlibpath_var=LD_LIBRARY_PATH
   18092   shlibpath_overrides_runpath=yes
   18093   hardcode_into_libs=yes
   18094   ;;
   18095 
   18096 newsos6)
   18097   version_type=linux
   18098   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18099   shlibpath_var=LD_LIBRARY_PATH
   18100   shlibpath_overrides_runpath=yes
   18101   ;;
   18102 
   18103 nto-qnx*)
   18104   version_type=linux
   18105   need_lib_prefix=no
   18106   need_version=no
   18107   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18108   soname_spec='${libname}${release}${shared_ext}$major'
   18109   shlibpath_var=LD_LIBRARY_PATH
   18110   shlibpath_overrides_runpath=yes
   18111   ;;
   18112 
   18113 openbsd*)
   18114   version_type=sunos
   18115   sys_lib_dlsearch_path_spec="/usr/lib"
   18116   need_lib_prefix=no
   18117   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18118   case $host_os in
   18119     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18120     *)                         need_version=no  ;;
   18121   esac
   18122   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18123   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18124   shlibpath_var=LD_LIBRARY_PATH
   18125   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18126     case $host_os in
   18127       openbsd2.[89] | openbsd2.[89].*)
   18128 	shlibpath_overrides_runpath=no
   18129 	;;
   18130       *)
   18131 	shlibpath_overrides_runpath=yes
   18132 	;;
   18133       esac
   18134   else
   18135     shlibpath_overrides_runpath=yes
   18136   fi
   18137   ;;
   18138 
   18139 os2*)
   18140   libname_spec='$name'
   18141   shrext_cmds=".dll"
   18142   need_lib_prefix=no
   18143   library_names_spec='$libname${shared_ext} $libname.a'
   18144   dynamic_linker='OS/2 ld.exe'
   18145   shlibpath_var=LIBPATH
   18146   ;;
   18147 
   18148 osf3* | osf4* | osf5*)
   18149   version_type=osf
   18150   need_lib_prefix=no
   18151   need_version=no
   18152   soname_spec='${libname}${release}${shared_ext}$major'
   18153   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18154   shlibpath_var=LD_LIBRARY_PATH
   18155   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18156   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18157   ;;
   18158 
   18159 solaris*)
   18160   version_type=linux
   18161   need_lib_prefix=no
   18162   need_version=no
   18163   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18164   soname_spec='${libname}${release}${shared_ext}$major'
   18165   shlibpath_var=LD_LIBRARY_PATH
   18166   shlibpath_overrides_runpath=yes
   18167   hardcode_into_libs=yes
   18168   # ldd complains unless libraries are executable
   18169   postinstall_cmds='chmod +x $lib'
   18170   ;;
   18171 
   18172 sunos4*)
   18173   version_type=sunos
   18174   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18175   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18176   shlibpath_var=LD_LIBRARY_PATH
   18177   shlibpath_overrides_runpath=yes
   18178   if test "$with_gnu_ld" = yes; then
   18179     need_lib_prefix=no
   18180   fi
   18181   need_version=yes
   18182   ;;
   18183 
   18184 sysv4 | sysv4.3*)
   18185   version_type=linux
   18186   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18187   soname_spec='${libname}${release}${shared_ext}$major'
   18188   shlibpath_var=LD_LIBRARY_PATH
   18189   case $host_vendor in
   18190     sni)
   18191       shlibpath_overrides_runpath=no
   18192       need_lib_prefix=no
   18193       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18194       runpath_var=LD_RUN_PATH
   18195       ;;
   18196     siemens)
   18197       need_lib_prefix=no
   18198       ;;
   18199     motorola)
   18200       need_lib_prefix=no
   18201       need_version=no
   18202       shlibpath_overrides_runpath=no
   18203       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18204       ;;
   18205   esac
   18206   ;;
   18207 
   18208 sysv4*MP*)
   18209   if test -d /usr/nec ;then
   18210     version_type=linux
   18211     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18212     soname_spec='$libname${shared_ext}.$major'
   18213     shlibpath_var=LD_LIBRARY_PATH
   18214   fi
   18215   ;;
   18216 
   18217 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18218   version_type=freebsd-elf
   18219   need_lib_prefix=no
   18220   need_version=no
   18221   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18222   soname_spec='${libname}${release}${shared_ext}$major'
   18223   shlibpath_var=LD_LIBRARY_PATH
   18224   hardcode_into_libs=yes
   18225   if test "$with_gnu_ld" = yes; then
   18226     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18227     shlibpath_overrides_runpath=no
   18228   else
   18229     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18230     shlibpath_overrides_runpath=yes
   18231     case $host_os in
   18232       sco3.2v5*)
   18233         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18234 	;;
   18235     esac
   18236   fi
   18237   sys_lib_dlsearch_path_spec='/usr/lib'
   18238   ;;
   18239 
   18240 uts4*)
   18241   version_type=linux
   18242   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18243   soname_spec='${libname}${release}${shared_ext}$major'
   18244   shlibpath_var=LD_LIBRARY_PATH
   18245   ;;
   18246 
   18247 *)
   18248   dynamic_linker=no
   18249   ;;
   18250 esac
   18251 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18252 echo "${ECHO_T}$dynamic_linker" >&6; }
   18253 test "$dynamic_linker" = no && can_build_shared=no
   18254 
   18255 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18256 if test "$GCC" = yes; then
   18257   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18258 fi
   18259 
   18260 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18261 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18262 hardcode_action_GCJ=
   18263 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18264    test -n "$runpath_var_GCJ" || \
   18265    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18266 
   18267   # We can hardcode non-existant directories.
   18268   if test "$hardcode_direct_GCJ" != no &&
   18269      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18270      # have to relink, otherwise we might link with an installed library
   18271      # when we should be linking with a yet-to-be-installed one
   18272      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18273      test "$hardcode_minus_L_GCJ" != no; then
   18274     # Linking always hardcodes the temporary library directory.
   18275     hardcode_action_GCJ=relink
   18276   else
   18277     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18278     hardcode_action_GCJ=immediate
   18279   fi
   18280 else
   18281   # We cannot hardcode anything, or else we can only hardcode existing
   18282   # directories.
   18283   hardcode_action_GCJ=unsupported
   18284 fi
   18285 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18286 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18287 
   18288 if test "$hardcode_action_GCJ" = relink; then
   18289   # Fast installation is not supported
   18290   enable_fast_install=no
   18291 elif test "$shlibpath_overrides_runpath" = yes ||
   18292      test "$enable_shared" = no; then
   18293   # Fast installation is not necessary
   18294   enable_fast_install=needless
   18295 fi
   18296 
   18297 
   18298 # The else clause should only fire when bootstrapping the
   18299 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18300 # with your package, and you will get complaints that there are
   18301 # no rules to generate ltmain.sh.
   18302 if test -f "$ltmain"; then
   18303   # See if we are running on zsh, and set the options which allow our commands through
   18304   # without removal of \ escapes.
   18305   if test -n "${ZSH_VERSION+set}" ; then
   18306     setopt NO_GLOB_SUBST
   18307   fi
   18308   # Now quote all the things that may contain metacharacters while being
   18309   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18310   # variables and quote the copies for generation of the libtool script.
   18311   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18312     SED SHELL STRIP \
   18313     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18314     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18315     deplibs_check_method reload_flag reload_cmds need_locks \
   18316     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18317     lt_cv_sys_global_symbol_to_c_name_address \
   18318     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18319     old_postinstall_cmds old_postuninstall_cmds \
   18320     compiler_GCJ \
   18321     CC_GCJ \
   18322     LD_GCJ \
   18323     lt_prog_compiler_wl_GCJ \
   18324     lt_prog_compiler_pic_GCJ \
   18325     lt_prog_compiler_static_GCJ \
   18326     lt_prog_compiler_no_builtin_flag_GCJ \
   18327     export_dynamic_flag_spec_GCJ \
   18328     thread_safe_flag_spec_GCJ \
   18329     whole_archive_flag_spec_GCJ \
   18330     enable_shared_with_static_runtimes_GCJ \
   18331     old_archive_cmds_GCJ \
   18332     old_archive_from_new_cmds_GCJ \
   18333     predep_objects_GCJ \
   18334     postdep_objects_GCJ \
   18335     predeps_GCJ \
   18336     postdeps_GCJ \
   18337     compiler_lib_search_path_GCJ \
   18338     archive_cmds_GCJ \
   18339     archive_expsym_cmds_GCJ \
   18340     postinstall_cmds_GCJ \
   18341     postuninstall_cmds_GCJ \
   18342     old_archive_from_expsyms_cmds_GCJ \
   18343     allow_undefined_flag_GCJ \
   18344     no_undefined_flag_GCJ \
   18345     export_symbols_cmds_GCJ \
   18346     hardcode_libdir_flag_spec_GCJ \
   18347     hardcode_libdir_flag_spec_ld_GCJ \
   18348     hardcode_libdir_separator_GCJ \
   18349     hardcode_automatic_GCJ \
   18350     module_cmds_GCJ \
   18351     module_expsym_cmds_GCJ \
   18352     lt_cv_prog_compiler_c_o_GCJ \
   18353     exclude_expsyms_GCJ \
   18354     include_expsyms_GCJ; do
   18355 
   18356     case $var in
   18357     old_archive_cmds_GCJ | \
   18358     old_archive_from_new_cmds_GCJ | \
   18359     archive_cmds_GCJ | \
   18360     archive_expsym_cmds_GCJ | \
   18361     module_cmds_GCJ | \
   18362     module_expsym_cmds_GCJ | \
   18363     old_archive_from_expsyms_cmds_GCJ | \
   18364     export_symbols_cmds_GCJ | \
   18365     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18366     postinstall_cmds | postuninstall_cmds | \
   18367     old_postinstall_cmds | old_postuninstall_cmds | \
   18368     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18369       # Double-quote double-evaled strings.
   18370       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18371       ;;
   18372     *)
   18373       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18374       ;;
   18375     esac
   18376   done
   18377 
   18378   case $lt_echo in
   18379   *'\$0 --fallback-echo"')
   18380     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18381     ;;
   18382   esac
   18383 
   18384 cfgfile="$ofile"
   18385 
   18386   cat <<__EOF__ >> "$cfgfile"
   18387 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18388 
   18389 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18390 
   18391 # Shell to use when invoking shell scripts.
   18392 SHELL=$lt_SHELL
   18393 
   18394 # Whether or not to build shared libraries.
   18395 build_libtool_libs=$enable_shared
   18396 
   18397 # Whether or not to build static libraries.
   18398 build_old_libs=$enable_static
   18399 
   18400 # Whether or not to add -lc for building shared libraries.
   18401 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18402 
   18403 # Whether or not to disallow shared libs when runtime libs are static
   18404 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18405 
   18406 # Whether or not to optimize for fast installation.
   18407 fast_install=$enable_fast_install
   18408 
   18409 # The host system.
   18410 host_alias=$host_alias
   18411 host=$host
   18412 host_os=$host_os
   18413 
   18414 # The build system.
   18415 build_alias=$build_alias
   18416 build=$build
   18417 build_os=$build_os
   18418 
   18419 # An echo program that does not interpret backslashes.
   18420 echo=$lt_echo
   18421 
   18422 # The archiver.
   18423 AR=$lt_AR
   18424 AR_FLAGS=$lt_AR_FLAGS
   18425 
   18426 # A C compiler.
   18427 LTCC=$lt_LTCC
   18428 
   18429 # LTCC compiler flags.
   18430 LTCFLAGS=$lt_LTCFLAGS
   18431 
   18432 # A language-specific compiler.
   18433 CC=$lt_compiler_GCJ
   18434 
   18435 # Is the compiler the GNU C compiler?
   18436 with_gcc=$GCC_GCJ
   18437 
   18438 # An ERE matcher.
   18439 EGREP=$lt_EGREP
   18440 
   18441 # The linker used to build libraries.
   18442 LD=$lt_LD_GCJ
   18443 
   18444 # Whether we need hard or soft links.
   18445 LN_S=$lt_LN_S
   18446 
   18447 # A BSD-compatible nm program.
   18448 NM=$lt_NM
   18449 
   18450 # A symbol stripping program
   18451 STRIP=$lt_STRIP
   18452 
   18453 # Used to examine libraries when file_magic_cmd begins "file"
   18454 MAGIC_CMD=$MAGIC_CMD
   18455 
   18456 # Used on cygwin: DLL creation program.
   18457 DLLTOOL="$DLLTOOL"
   18458 
   18459 # Used on cygwin: object dumper.
   18460 OBJDUMP="$OBJDUMP"
   18461 
   18462 # Used on cygwin: assembler.
   18463 AS="$AS"
   18464 
   18465 # The name of the directory that contains temporary libtool files.
   18466 objdir=$objdir
   18467 
   18468 # How to create reloadable object files.
   18469 reload_flag=$lt_reload_flag
   18470 reload_cmds=$lt_reload_cmds
   18471 
   18472 # How to pass a linker flag through the compiler.
   18473 wl=$lt_lt_prog_compiler_wl_GCJ
   18474 
   18475 # Object file suffix (normally "o").
   18476 objext="$ac_objext"
   18477 
   18478 # Old archive suffix (normally "a").
   18479 libext="$libext"
   18480 
   18481 # Shared library suffix (normally ".so").
   18482 shrext_cmds='$shrext_cmds'
   18483 
   18484 # Executable file suffix (normally "").
   18485 exeext="$exeext"
   18486 
   18487 # Additional compiler flags for building library objects.
   18488 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   18489 pic_mode=$pic_mode
   18490 
   18491 # What is the maximum length of a command?
   18492 max_cmd_len=$lt_cv_sys_max_cmd_len
   18493 
   18494 # Does compiler simultaneously support -c and -o options?
   18495 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   18496 
   18497 # Must we lock files when doing compilation?
   18498 need_locks=$lt_need_locks
   18499 
   18500 # Do we need the lib prefix for modules?
   18501 need_lib_prefix=$need_lib_prefix
   18502 
   18503 # Do we need a version for libraries?
   18504 need_version=$need_version
   18505 
   18506 # Whether dlopen is supported.
   18507 dlopen_support=$enable_dlopen
   18508 
   18509 # Whether dlopen of programs is supported.
   18510 dlopen_self=$enable_dlopen_self
   18511 
   18512 # Whether dlopen of statically linked programs is supported.
   18513 dlopen_self_static=$enable_dlopen_self_static
   18514 
   18515 # Compiler flag to prevent dynamic linking.
   18516 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   18517 
   18518 # Compiler flag to turn off builtin functions.
   18519 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   18520 
   18521 # Compiler flag to allow reflexive dlopens.
   18522 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   18523 
   18524 # Compiler flag to generate shared objects directly from archives.
   18525 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   18526 
   18527 # Compiler flag to generate thread-safe objects.
   18528 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   18529 
   18530 # Library versioning type.
   18531 version_type=$version_type
   18532 
   18533 # Format of library name prefix.
   18534 libname_spec=$lt_libname_spec
   18535 
   18536 # List of archive names.  First name is the real one, the rest are links.
   18537 # The last name is the one that the linker finds with -lNAME.
   18538 library_names_spec=$lt_library_names_spec
   18539 
   18540 # The coded name of the library, if different from the real name.
   18541 soname_spec=$lt_soname_spec
   18542 
   18543 # Commands used to build and install an old-style archive.
   18544 RANLIB=$lt_RANLIB
   18545 old_archive_cmds=$lt_old_archive_cmds_GCJ
   18546 old_postinstall_cmds=$lt_old_postinstall_cmds
   18547 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18548 
   18549 # Create an old-style archive from a shared archive.
   18550 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   18551 
   18552 # Create a temporary old-style archive to link instead of a shared archive.
   18553 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   18554 
   18555 # Commands used to build and install a shared archive.
   18556 archive_cmds=$lt_archive_cmds_GCJ
   18557 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   18558 postinstall_cmds=$lt_postinstall_cmds
   18559 postuninstall_cmds=$lt_postuninstall_cmds
   18560 
   18561 # Commands used to build a loadable module (assumed same as above if empty)
   18562 module_cmds=$lt_module_cmds_GCJ
   18563 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   18564 
   18565 # Commands to strip libraries.
   18566 old_striplib=$lt_old_striplib
   18567 striplib=$lt_striplib
   18568 
   18569 # Dependencies to place before the objects being linked to create a
   18570 # shared library.
   18571 predep_objects=$lt_predep_objects_GCJ
   18572 
   18573 # Dependencies to place after the objects being linked to create a
   18574 # shared library.
   18575 postdep_objects=$lt_postdep_objects_GCJ
   18576 
   18577 # Dependencies to place before the objects being linked to create a
   18578 # shared library.
   18579 predeps=$lt_predeps_GCJ
   18580 
   18581 # Dependencies to place after the objects being linked to create a
   18582 # shared library.
   18583 postdeps=$lt_postdeps_GCJ
   18584 
   18585 # The library search path used internally by the compiler when linking
   18586 # a shared library.
   18587 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   18588 
   18589 # Method to check whether dependent libraries are shared objects.
   18590 deplibs_check_method=$lt_deplibs_check_method
   18591 
   18592 # Command to use when deplibs_check_method == file_magic.
   18593 file_magic_cmd=$lt_file_magic_cmd
   18594 
   18595 # Flag that allows shared libraries with undefined symbols to be built.
   18596 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   18597 
   18598 # Flag that forces no undefined symbols.
   18599 no_undefined_flag=$lt_no_undefined_flag_GCJ
   18600 
   18601 # Commands used to finish a libtool library installation in a directory.
   18602 finish_cmds=$lt_finish_cmds
   18603 
   18604 # Same as above, but a single script fragment to be evaled but not shown.
   18605 finish_eval=$lt_finish_eval
   18606 
   18607 # Take the output of nm and produce a listing of raw symbols and C names.
   18608 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18609 
   18610 # Transform the output of nm in a proper C declaration
   18611 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18612 
   18613 # Transform the output of nm in a C name address pair
   18614 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18615 
   18616 # This is the shared library runtime path variable.
   18617 runpath_var=$runpath_var
   18618 
   18619 # This is the shared library path variable.
   18620 shlibpath_var=$shlibpath_var
   18621 
   18622 # Is shlibpath searched before the hard-coded library search path?
   18623 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18624 
   18625 # How to hardcode a shared library path into an executable.
   18626 hardcode_action=$hardcode_action_GCJ
   18627 
   18628 # Whether we should hardcode library paths into libraries.
   18629 hardcode_into_libs=$hardcode_into_libs
   18630 
   18631 # Flag to hardcode \$libdir into a binary during linking.
   18632 # This must work even if \$libdir does not exist.
   18633 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   18634 
   18635 # If ld is used when linking, flag to hardcode \$libdir into
   18636 # a binary during linking. This must work even if \$libdir does
   18637 # not exist.
   18638 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   18639 
   18640 # Whether we need a single -rpath flag with a separated argument.
   18641 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   18642 
   18643 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18644 # resulting binary.
   18645 hardcode_direct=$hardcode_direct_GCJ
   18646 
   18647 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18648 # resulting binary.
   18649 hardcode_minus_L=$hardcode_minus_L_GCJ
   18650 
   18651 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18652 # the resulting binary.
   18653 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   18654 
   18655 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18656 # and all subsequent libraries and executables linked against it.
   18657 hardcode_automatic=$hardcode_automatic_GCJ
   18658 
   18659 # Variables whose values should be saved in libtool wrapper scripts and
   18660 # restored at relink time.
   18661 variables_saved_for_relink="$variables_saved_for_relink"
   18662 
   18663 # Whether libtool must link a program against all its dependency libraries.
   18664 link_all_deplibs=$link_all_deplibs_GCJ
   18665 
   18666 # Compile-time system search path for libraries
   18667 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18668 
   18669 # Run-time system search path for libraries
   18670 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18671 
   18672 # Fix the shell variable \$srcfile for the compiler.
   18673 fix_srcfile_path="$fix_srcfile_path_GCJ"
   18674 
   18675 # Set to yes if exported symbols are required.
   18676 always_export_symbols=$always_export_symbols_GCJ
   18677 
   18678 # The commands to list exported symbols.
   18679 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   18680 
   18681 # The commands to extract the exported symbol list from a shared archive.
   18682 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18683 
   18684 # Symbols that should not be listed in the preloaded symbols.
   18685 exclude_expsyms=$lt_exclude_expsyms_GCJ
   18686 
   18687 # Symbols that must always be exported.
   18688 include_expsyms=$lt_include_expsyms_GCJ
   18689 
   18690 # ### END LIBTOOL TAG CONFIG: $tagname
   18691 
   18692 __EOF__
   18693 
   18694 
   18695 else
   18696   # If there is no Makefile yet, we rely on a make rule to execute
   18697   # `config.status --recheck' to rerun these tests and create the
   18698   # libtool script then.
   18699   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18700   if test -f "$ltmain_in"; then
   18701     test -f Makefile && make "$ltmain"
   18702   fi
   18703 fi
   18704 
   18705 
   18706 ac_ext=c
   18707 ac_cpp='$CPP $CPPFLAGS'
   18708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18711 
   18712 CC="$lt_save_CC"
   18713 
   18714 	else
   18715 	  tagname=""
   18716 	fi
   18717 	;;
   18718 
   18719       RC)
   18720 
   18721 
   18722 # Source file extension for RC test sources.
   18723 ac_ext=rc
   18724 
   18725 # Object file extension for compiled RC test sources.
   18726 objext=o
   18727 objext_RC=$objext
   18728 
   18729 # Code to be used in simple compile tests
   18730 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   18731 
   18732 # Code to be used in simple link tests
   18733 lt_simple_link_test_code="$lt_simple_compile_test_code"
   18734 
   18735 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18736 
   18737 # If no C compiler was specified, use CC.
   18738 LTCC=${LTCC-"$CC"}
   18739 
   18740 # If no C compiler flags were specified, use CFLAGS.
   18741 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18742 
   18743 # Allow CC to be a program name with arguments.
   18744 compiler=$CC
   18745 
   18746 
   18747 # save warnings/boilerplate of simple test code
   18748 ac_outfile=conftest.$ac_objext
   18749 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   18750 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18751 _lt_compiler_boilerplate=`cat conftest.err`
   18752 $rm conftest*
   18753 
   18754 ac_outfile=conftest.$ac_objext
   18755 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   18756 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18757 _lt_linker_boilerplate=`cat conftest.err`
   18758 $rm conftest*
   18759 
   18760 
   18761 # Allow CC to be a program name with arguments.
   18762 lt_save_CC="$CC"
   18763 CC=${RC-"windres"}
   18764 compiler=$CC
   18765 compiler_RC=$CC
   18766 for cc_temp in $compiler""; do
   18767   case $cc_temp in
   18768     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18769     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18770     \-*) ;;
   18771     *) break;;
   18772   esac
   18773 done
   18774 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   18775 
   18776 lt_cv_prog_compiler_c_o_RC=yes
   18777 
   18778 # The else clause should only fire when bootstrapping the
   18779 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18780 # with your package, and you will get complaints that there are
   18781 # no rules to generate ltmain.sh.
   18782 if test -f "$ltmain"; then
   18783   # See if we are running on zsh, and set the options which allow our commands through
   18784   # without removal of \ escapes.
   18785   if test -n "${ZSH_VERSION+set}" ; then
   18786     setopt NO_GLOB_SUBST
   18787   fi
   18788   # Now quote all the things that may contain metacharacters while being
   18789   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18790   # variables and quote the copies for generation of the libtool script.
   18791   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18792     SED SHELL STRIP \
   18793     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18794     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18795     deplibs_check_method reload_flag reload_cmds need_locks \
   18796     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18797     lt_cv_sys_global_symbol_to_c_name_address \
   18798     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18799     old_postinstall_cmds old_postuninstall_cmds \
   18800     compiler_RC \
   18801     CC_RC \
   18802     LD_RC \
   18803     lt_prog_compiler_wl_RC \
   18804     lt_prog_compiler_pic_RC \
   18805     lt_prog_compiler_static_RC \
   18806     lt_prog_compiler_no_builtin_flag_RC \
   18807     export_dynamic_flag_spec_RC \
   18808     thread_safe_flag_spec_RC \
   18809     whole_archive_flag_spec_RC \
   18810     enable_shared_with_static_runtimes_RC \
   18811     old_archive_cmds_RC \
   18812     old_archive_from_new_cmds_RC \
   18813     predep_objects_RC \
   18814     postdep_objects_RC \
   18815     predeps_RC \
   18816     postdeps_RC \
   18817     compiler_lib_search_path_RC \
   18818     archive_cmds_RC \
   18819     archive_expsym_cmds_RC \
   18820     postinstall_cmds_RC \
   18821     postuninstall_cmds_RC \
   18822     old_archive_from_expsyms_cmds_RC \
   18823     allow_undefined_flag_RC \
   18824     no_undefined_flag_RC \
   18825     export_symbols_cmds_RC \
   18826     hardcode_libdir_flag_spec_RC \
   18827     hardcode_libdir_flag_spec_ld_RC \
   18828     hardcode_libdir_separator_RC \
   18829     hardcode_automatic_RC \
   18830     module_cmds_RC \
   18831     module_expsym_cmds_RC \
   18832     lt_cv_prog_compiler_c_o_RC \
   18833     exclude_expsyms_RC \
   18834     include_expsyms_RC; do
   18835 
   18836     case $var in
   18837     old_archive_cmds_RC | \
   18838     old_archive_from_new_cmds_RC | \
   18839     archive_cmds_RC | \
   18840     archive_expsym_cmds_RC | \
   18841     module_cmds_RC | \
   18842     module_expsym_cmds_RC | \
   18843     old_archive_from_expsyms_cmds_RC | \
   18844     export_symbols_cmds_RC | \
   18845     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18846     postinstall_cmds | postuninstall_cmds | \
   18847     old_postinstall_cmds | old_postuninstall_cmds | \
   18848     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18849       # Double-quote double-evaled strings.
   18850       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18851       ;;
   18852     *)
   18853       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18854       ;;
   18855     esac
   18856   done
   18857 
   18858   case $lt_echo in
   18859   *'\$0 --fallback-echo"')
   18860     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18861     ;;
   18862   esac
   18863 
   18864 cfgfile="$ofile"
   18865 
   18866   cat <<__EOF__ >> "$cfgfile"
   18867 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18868 
   18869 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18870 
   18871 # Shell to use when invoking shell scripts.
   18872 SHELL=$lt_SHELL
   18873 
   18874 # Whether or not to build shared libraries.
   18875 build_libtool_libs=$enable_shared
   18876 
   18877 # Whether or not to build static libraries.
   18878 build_old_libs=$enable_static
   18879 
   18880 # Whether or not to add -lc for building shared libraries.
   18881 build_libtool_need_lc=$archive_cmds_need_lc_RC
   18882 
   18883 # Whether or not to disallow shared libs when runtime libs are static
   18884 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   18885 
   18886 # Whether or not to optimize for fast installation.
   18887 fast_install=$enable_fast_install
   18888 
   18889 # The host system.
   18890 host_alias=$host_alias
   18891 host=$host
   18892 host_os=$host_os
   18893 
   18894 # The build system.
   18895 build_alias=$build_alias
   18896 build=$build
   18897 build_os=$build_os
   18898 
   18899 # An echo program that does not interpret backslashes.
   18900 echo=$lt_echo
   18901 
   18902 # The archiver.
   18903 AR=$lt_AR
   18904 AR_FLAGS=$lt_AR_FLAGS
   18905 
   18906 # A C compiler.
   18907 LTCC=$lt_LTCC
   18908 
   18909 # LTCC compiler flags.
   18910 LTCFLAGS=$lt_LTCFLAGS
   18911 
   18912 # A language-specific compiler.
   18913 CC=$lt_compiler_RC
   18914 
   18915 # Is the compiler the GNU C compiler?
   18916 with_gcc=$GCC_RC
   18917 
   18918 # An ERE matcher.
   18919 EGREP=$lt_EGREP
   18920 
   18921 # The linker used to build libraries.
   18922 LD=$lt_LD_RC
   18923 
   18924 # Whether we need hard or soft links.
   18925 LN_S=$lt_LN_S
   18926 
   18927 # A BSD-compatible nm program.
   18928 NM=$lt_NM
   18929 
   18930 # A symbol stripping program
   18931 STRIP=$lt_STRIP
   18932 
   18933 # Used to examine libraries when file_magic_cmd begins "file"
   18934 MAGIC_CMD=$MAGIC_CMD
   18935 
   18936 # Used on cygwin: DLL creation program.
   18937 DLLTOOL="$DLLTOOL"
   18938 
   18939 # Used on cygwin: object dumper.
   18940 OBJDUMP="$OBJDUMP"
   18941 
   18942 # Used on cygwin: assembler.
   18943 AS="$AS"
   18944 
   18945 # The name of the directory that contains temporary libtool files.
   18946 objdir=$objdir
   18947 
   18948 # How to create reloadable object files.
   18949 reload_flag=$lt_reload_flag
   18950 reload_cmds=$lt_reload_cmds
   18951 
   18952 # How to pass a linker flag through the compiler.
   18953 wl=$lt_lt_prog_compiler_wl_RC
   18954 
   18955 # Object file suffix (normally "o").
   18956 objext="$ac_objext"
   18957 
   18958 # Old archive suffix (normally "a").
   18959 libext="$libext"
   18960 
   18961 # Shared library suffix (normally ".so").
   18962 shrext_cmds='$shrext_cmds'
   18963 
   18964 # Executable file suffix (normally "").
   18965 exeext="$exeext"
   18966 
   18967 # Additional compiler flags for building library objects.
   18968 pic_flag=$lt_lt_prog_compiler_pic_RC
   18969 pic_mode=$pic_mode
   18970 
   18971 # What is the maximum length of a command?
   18972 max_cmd_len=$lt_cv_sys_max_cmd_len
   18973 
   18974 # Does compiler simultaneously support -c and -o options?
   18975 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   18976 
   18977 # Must we lock files when doing compilation?
   18978 need_locks=$lt_need_locks
   18979 
   18980 # Do we need the lib prefix for modules?
   18981 need_lib_prefix=$need_lib_prefix
   18982 
   18983 # Do we need a version for libraries?
   18984 need_version=$need_version
   18985 
   18986 # Whether dlopen is supported.
   18987 dlopen_support=$enable_dlopen
   18988 
   18989 # Whether dlopen of programs is supported.
   18990 dlopen_self=$enable_dlopen_self
   18991 
   18992 # Whether dlopen of statically linked programs is supported.
   18993 dlopen_self_static=$enable_dlopen_self_static
   18994 
   18995 # Compiler flag to prevent dynamic linking.
   18996 link_static_flag=$lt_lt_prog_compiler_static_RC
   18997 
   18998 # Compiler flag to turn off builtin functions.
   18999 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19000 
   19001 # Compiler flag to allow reflexive dlopens.
   19002 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19003 
   19004 # Compiler flag to generate shared objects directly from archives.
   19005 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19006 
   19007 # Compiler flag to generate thread-safe objects.
   19008 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19009 
   19010 # Library versioning type.
   19011 version_type=$version_type
   19012 
   19013 # Format of library name prefix.
   19014 libname_spec=$lt_libname_spec
   19015 
   19016 # List of archive names.  First name is the real one, the rest are links.
   19017 # The last name is the one that the linker finds with -lNAME.
   19018 library_names_spec=$lt_library_names_spec
   19019 
   19020 # The coded name of the library, if different from the real name.
   19021 soname_spec=$lt_soname_spec
   19022 
   19023 # Commands used to build and install an old-style archive.
   19024 RANLIB=$lt_RANLIB
   19025 old_archive_cmds=$lt_old_archive_cmds_RC
   19026 old_postinstall_cmds=$lt_old_postinstall_cmds
   19027 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19028 
   19029 # Create an old-style archive from a shared archive.
   19030 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19031 
   19032 # Create a temporary old-style archive to link instead of a shared archive.
   19033 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19034 
   19035 # Commands used to build and install a shared archive.
   19036 archive_cmds=$lt_archive_cmds_RC
   19037 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19038 postinstall_cmds=$lt_postinstall_cmds
   19039 postuninstall_cmds=$lt_postuninstall_cmds
   19040 
   19041 # Commands used to build a loadable module (assumed same as above if empty)
   19042 module_cmds=$lt_module_cmds_RC
   19043 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19044 
   19045 # Commands to strip libraries.
   19046 old_striplib=$lt_old_striplib
   19047 striplib=$lt_striplib
   19048 
   19049 # Dependencies to place before the objects being linked to create a
   19050 # shared library.
   19051 predep_objects=$lt_predep_objects_RC
   19052 
   19053 # Dependencies to place after the objects being linked to create a
   19054 # shared library.
   19055 postdep_objects=$lt_postdep_objects_RC
   19056 
   19057 # Dependencies to place before the objects being linked to create a
   19058 # shared library.
   19059 predeps=$lt_predeps_RC
   19060 
   19061 # Dependencies to place after the objects being linked to create a
   19062 # shared library.
   19063 postdeps=$lt_postdeps_RC
   19064 
   19065 # The library search path used internally by the compiler when linking
   19066 # a shared library.
   19067 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19068 
   19069 # Method to check whether dependent libraries are shared objects.
   19070 deplibs_check_method=$lt_deplibs_check_method
   19071 
   19072 # Command to use when deplibs_check_method == file_magic.
   19073 file_magic_cmd=$lt_file_magic_cmd
   19074 
   19075 # Flag that allows shared libraries with undefined symbols to be built.
   19076 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19077 
   19078 # Flag that forces no undefined symbols.
   19079 no_undefined_flag=$lt_no_undefined_flag_RC
   19080 
   19081 # Commands used to finish a libtool library installation in a directory.
   19082 finish_cmds=$lt_finish_cmds
   19083 
   19084 # Same as above, but a single script fragment to be evaled but not shown.
   19085 finish_eval=$lt_finish_eval
   19086 
   19087 # Take the output of nm and produce a listing of raw symbols and C names.
   19088 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19089 
   19090 # Transform the output of nm in a proper C declaration
   19091 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19092 
   19093 # Transform the output of nm in a C name address pair
   19094 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19095 
   19096 # This is the shared library runtime path variable.
   19097 runpath_var=$runpath_var
   19098 
   19099 # This is the shared library path variable.
   19100 shlibpath_var=$shlibpath_var
   19101 
   19102 # Is shlibpath searched before the hard-coded library search path?
   19103 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19104 
   19105 # How to hardcode a shared library path into an executable.
   19106 hardcode_action=$hardcode_action_RC
   19107 
   19108 # Whether we should hardcode library paths into libraries.
   19109 hardcode_into_libs=$hardcode_into_libs
   19110 
   19111 # Flag to hardcode \$libdir into a binary during linking.
   19112 # This must work even if \$libdir does not exist.
   19113 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19114 
   19115 # If ld is used when linking, flag to hardcode \$libdir into
   19116 # a binary during linking. This must work even if \$libdir does
   19117 # not exist.
   19118 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19119 
   19120 # Whether we need a single -rpath flag with a separated argument.
   19121 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19122 
   19123 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19124 # resulting binary.
   19125 hardcode_direct=$hardcode_direct_RC
   19126 
   19127 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19128 # resulting binary.
   19129 hardcode_minus_L=$hardcode_minus_L_RC
   19130 
   19131 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19132 # the resulting binary.
   19133 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19134 
   19135 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19136 # and all subsequent libraries and executables linked against it.
   19137 hardcode_automatic=$hardcode_automatic_RC
   19138 
   19139 # Variables whose values should be saved in libtool wrapper scripts and
   19140 # restored at relink time.
   19141 variables_saved_for_relink="$variables_saved_for_relink"
   19142 
   19143 # Whether libtool must link a program against all its dependency libraries.
   19144 link_all_deplibs=$link_all_deplibs_RC
   19145 
   19146 # Compile-time system search path for libraries
   19147 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19148 
   19149 # Run-time system search path for libraries
   19150 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19151 
   19152 # Fix the shell variable \$srcfile for the compiler.
   19153 fix_srcfile_path="$fix_srcfile_path_RC"
   19154 
   19155 # Set to yes if exported symbols are required.
   19156 always_export_symbols=$always_export_symbols_RC
   19157 
   19158 # The commands to list exported symbols.
   19159 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19160 
   19161 # The commands to extract the exported symbol list from a shared archive.
   19162 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19163 
   19164 # Symbols that should not be listed in the preloaded symbols.
   19165 exclude_expsyms=$lt_exclude_expsyms_RC
   19166 
   19167 # Symbols that must always be exported.
   19168 include_expsyms=$lt_include_expsyms_RC
   19169 
   19170 # ### END LIBTOOL TAG CONFIG: $tagname
   19171 
   19172 __EOF__
   19173 
   19174 
   19175 else
   19176   # If there is no Makefile yet, we rely on a make rule to execute
   19177   # `config.status --recheck' to rerun these tests and create the
   19178   # libtool script then.
   19179   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19180   if test -f "$ltmain_in"; then
   19181     test -f Makefile && make "$ltmain"
   19182   fi
   19183 fi
   19184 
   19185 
   19186 ac_ext=c
   19187 ac_cpp='$CPP $CPPFLAGS'
   19188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19191 
   19192 CC="$lt_save_CC"
   19193 
   19194 	;;
   19195 
   19196       *)
   19197 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19198 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19199    { (exit 1); exit 1; }; }
   19200 	;;
   19201       esac
   19202 
   19203       # Append the new tag name to the list of available tags.
   19204       if test -n "$tagname" ; then
   19205       available_tags="$available_tags $tagname"
   19206     fi
   19207     fi
   19208   done
   19209   IFS="$lt_save_ifs"
   19210 
   19211   # Now substitute the updated list of available tags.
   19212   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19213     mv "${ofile}T" "$ofile"
   19214     chmod +x "$ofile"
   19215   else
   19216     rm -f "${ofile}T"
   19217     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19218 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19219    { (exit 1); exit 1; }; }
   19220   fi
   19221 fi
   19222 
   19223 
   19224 
   19225 # This can be used to rebuild libtool when needed
   19226 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19227 
   19228 # Always use our own libtool.
   19229 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19230 
   19231 # Prevent multiple expansion
   19232 
   19233 
   19234 
   19235 
   19236 
   19237 
   19238 
   19239 
   19240 
   19241 
   19242 
   19243 
   19244 
   19245 
   19246 
   19247 
   19248 
   19249 
   19250 
   19251 
   19252 ac_ext=c
   19253 ac_cpp='$CPP $CPPFLAGS'
   19254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19257 if test -n "$ac_tool_prefix"; then
   19258   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   19259 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   19260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19262 if test "${ac_cv_prog_CC+set}" = set; then
   19263   echo $ECHO_N "(cached) $ECHO_C" >&6
   19264 else
   19265   if test -n "$CC"; then
   19266   ac_cv_prog_CC="$CC" # Let the user override the test.
   19267 else
   19268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19269 for as_dir in $PATH
   19270 do
   19271   IFS=$as_save_IFS
   19272   test -z "$as_dir" && as_dir=.
   19273   for ac_exec_ext in '' $ac_executable_extensions; do
   19274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19275     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   19276     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19277     break 2
   19278   fi
   19279 done
   19280 done
   19281 IFS=$as_save_IFS
   19282 
   19283 fi
   19284 fi
   19285 CC=$ac_cv_prog_CC
   19286 if test -n "$CC"; then
   19287   { echo "$as_me:$LINENO: result: $CC" >&5
   19288 echo "${ECHO_T}$CC" >&6; }
   19289 else
   19290   { echo "$as_me:$LINENO: result: no" >&5
   19291 echo "${ECHO_T}no" >&6; }
   19292 fi
   19293 
   19294 
   19295 fi
   19296 if test -z "$ac_cv_prog_CC"; then
   19297   ac_ct_CC=$CC
   19298   # Extract the first word of "gcc", so it can be a program name with args.
   19299 set dummy gcc; ac_word=$2
   19300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19302 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   19303   echo $ECHO_N "(cached) $ECHO_C" >&6
   19304 else
   19305   if test -n "$ac_ct_CC"; then
   19306   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19307 else
   19308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19309 for as_dir in $PATH
   19310 do
   19311   IFS=$as_save_IFS
   19312   test -z "$as_dir" && as_dir=.
   19313   for ac_exec_ext in '' $ac_executable_extensions; do
   19314   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19315     ac_cv_prog_ac_ct_CC="gcc"
   19316     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19317     break 2
   19318   fi
   19319 done
   19320 done
   19321 IFS=$as_save_IFS
   19322 
   19323 fi
   19324 fi
   19325 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19326 if test -n "$ac_ct_CC"; then
   19327   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   19328 echo "${ECHO_T}$ac_ct_CC" >&6; }
   19329 else
   19330   { echo "$as_me:$LINENO: result: no" >&5
   19331 echo "${ECHO_T}no" >&6; }
   19332 fi
   19333 
   19334   if test "x$ac_ct_CC" = x; then
   19335     CC=""
   19336   else
   19337     case $cross_compiling:$ac_tool_warned in
   19338 yes:)
   19339 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19340 whose name does not start with the host triplet.  If you think this
   19341 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19342 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19343 whose name does not start with the host triplet.  If you think this
   19344 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19345 ac_tool_warned=yes ;;
   19346 esac
   19347     CC=$ac_ct_CC
   19348   fi
   19349 else
   19350   CC="$ac_cv_prog_CC"
   19351 fi
   19352 
   19353 if test -z "$CC"; then
   19354           if test -n "$ac_tool_prefix"; then
   19355     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   19356 set dummy ${ac_tool_prefix}cc; ac_word=$2
   19357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19359 if test "${ac_cv_prog_CC+set}" = set; then
   19360   echo $ECHO_N "(cached) $ECHO_C" >&6
   19361 else
   19362   if test -n "$CC"; then
   19363   ac_cv_prog_CC="$CC" # Let the user override the test.
   19364 else
   19365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19366 for as_dir in $PATH
   19367 do
   19368   IFS=$as_save_IFS
   19369   test -z "$as_dir" && as_dir=.
   19370   for ac_exec_ext in '' $ac_executable_extensions; do
   19371   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19372     ac_cv_prog_CC="${ac_tool_prefix}cc"
   19373     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19374     break 2
   19375   fi
   19376 done
   19377 done
   19378 IFS=$as_save_IFS
   19379 
   19380 fi
   19381 fi
   19382 CC=$ac_cv_prog_CC
   19383 if test -n "$CC"; then
   19384   { echo "$as_me:$LINENO: result: $CC" >&5
   19385 echo "${ECHO_T}$CC" >&6; }
   19386 else
   19387   { echo "$as_me:$LINENO: result: no" >&5
   19388 echo "${ECHO_T}no" >&6; }
   19389 fi
   19390 
   19391 
   19392   fi
   19393 fi
   19394 if test -z "$CC"; then
   19395   # Extract the first word of "cc", so it can be a program name with args.
   19396 set dummy cc; ac_word=$2
   19397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19399 if test "${ac_cv_prog_CC+set}" = set; then
   19400   echo $ECHO_N "(cached) $ECHO_C" >&6
   19401 else
   19402   if test -n "$CC"; then
   19403   ac_cv_prog_CC="$CC" # Let the user override the test.
   19404 else
   19405   ac_prog_rejected=no
   19406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19407 for as_dir in $PATH
   19408 do
   19409   IFS=$as_save_IFS
   19410   test -z "$as_dir" && as_dir=.
   19411   for ac_exec_ext in '' $ac_executable_extensions; do
   19412   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19413     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   19414        ac_prog_rejected=yes
   19415        continue
   19416      fi
   19417     ac_cv_prog_CC="cc"
   19418     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19419     break 2
   19420   fi
   19421 done
   19422 done
   19423 IFS=$as_save_IFS
   19424 
   19425 if test $ac_prog_rejected = yes; then
   19426   # We found a bogon in the path, so make sure we never use it.
   19427   set dummy $ac_cv_prog_CC
   19428   shift
   19429   if test $# != 0; then
   19430     # We chose a different compiler from the bogus one.
   19431     # However, it has the same basename, so the bogon will be chosen
   19432     # first if we set CC to just the basename; use the full file name.
   19433     shift
   19434     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   19435   fi
   19436 fi
   19437 fi
   19438 fi
   19439 CC=$ac_cv_prog_CC
   19440 if test -n "$CC"; then
   19441   { echo "$as_me:$LINENO: result: $CC" >&5
   19442 echo "${ECHO_T}$CC" >&6; }
   19443 else
   19444   { echo "$as_me:$LINENO: result: no" >&5
   19445 echo "${ECHO_T}no" >&6; }
   19446 fi
   19447 
   19448 
   19449 fi
   19450 if test -z "$CC"; then
   19451   if test -n "$ac_tool_prefix"; then
   19452   for ac_prog in cl.exe
   19453   do
   19454     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   19455 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   19456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19458 if test "${ac_cv_prog_CC+set}" = set; then
   19459   echo $ECHO_N "(cached) $ECHO_C" >&6
   19460 else
   19461   if test -n "$CC"; then
   19462   ac_cv_prog_CC="$CC" # Let the user override the test.
   19463 else
   19464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19465 for as_dir in $PATH
   19466 do
   19467   IFS=$as_save_IFS
   19468   test -z "$as_dir" && as_dir=.
   19469   for ac_exec_ext in '' $ac_executable_extensions; do
   19470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19471     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   19472     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19473     break 2
   19474   fi
   19475 done
   19476 done
   19477 IFS=$as_save_IFS
   19478 
   19479 fi
   19480 fi
   19481 CC=$ac_cv_prog_CC
   19482 if test -n "$CC"; then
   19483   { echo "$as_me:$LINENO: result: $CC" >&5
   19484 echo "${ECHO_T}$CC" >&6; }
   19485 else
   19486   { echo "$as_me:$LINENO: result: no" >&5
   19487 echo "${ECHO_T}no" >&6; }
   19488 fi
   19489 
   19490 
   19491     test -n "$CC" && break
   19492   done
   19493 fi
   19494 if test -z "$CC"; then
   19495   ac_ct_CC=$CC
   19496   for ac_prog in cl.exe
   19497 do
   19498   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19499 set dummy $ac_prog; ac_word=$2
   19500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19502 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   19503   echo $ECHO_N "(cached) $ECHO_C" >&6
   19504 else
   19505   if test -n "$ac_ct_CC"; then
   19506   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19507 else
   19508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19509 for as_dir in $PATH
   19510 do
   19511   IFS=$as_save_IFS
   19512   test -z "$as_dir" && as_dir=.
   19513   for ac_exec_ext in '' $ac_executable_extensions; do
   19514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19515     ac_cv_prog_ac_ct_CC="$ac_prog"
   19516     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19517     break 2
   19518   fi
   19519 done
   19520 done
   19521 IFS=$as_save_IFS
   19522 
   19523 fi
   19524 fi
   19525 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19526 if test -n "$ac_ct_CC"; then
   19527   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   19528 echo "${ECHO_T}$ac_ct_CC" >&6; }
   19529 else
   19530   { echo "$as_me:$LINENO: result: no" >&5
   19531 echo "${ECHO_T}no" >&6; }
   19532 fi
   19533 
   19534 
   19535   test -n "$ac_ct_CC" && break
   19536 done
   19537 
   19538   if test "x$ac_ct_CC" = x; then
   19539     CC=""
   19540   else
   19541     case $cross_compiling:$ac_tool_warned in
   19542 yes:)
   19543 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19544 whose name does not start with the host triplet.  If you think this
   19545 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19546 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19547 whose name does not start with the host triplet.  If you think this
   19548 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19549 ac_tool_warned=yes ;;
   19550 esac
   19551     CC=$ac_ct_CC
   19552   fi
   19553 fi
   19554 
   19555 fi
   19556 
   19557 
   19558 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   19559 See \`config.log' for more details." >&5
   19560 echo "$as_me: error: no acceptable C compiler found in \$PATH
   19561 See \`config.log' for more details." >&2;}
   19562    { (exit 1); exit 1; }; }
   19563 
   19564 # Provide some information about the compiler.
   19565 echo "$as_me:$LINENO: checking for C compiler version" >&5
   19566 ac_compiler=`set X $ac_compile; echo $2`
   19567 { (ac_try="$ac_compiler --version >&5"
   19568 case "(($ac_try" in
   19569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19570   *) ac_try_echo=$ac_try;;
   19571 esac
   19572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19573   (eval "$ac_compiler --version >&5") 2>&5
   19574   ac_status=$?
   19575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19576   (exit $ac_status); }
   19577 { (ac_try="$ac_compiler -v >&5"
   19578 case "(($ac_try" in
   19579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19580   *) ac_try_echo=$ac_try;;
   19581 esac
   19582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19583   (eval "$ac_compiler -v >&5") 2>&5
   19584   ac_status=$?
   19585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19586   (exit $ac_status); }
   19587 { (ac_try="$ac_compiler -V >&5"
   19588 case "(($ac_try" in
   19589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19590   *) ac_try_echo=$ac_try;;
   19591 esac
   19592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19593   (eval "$ac_compiler -V >&5") 2>&5
   19594   ac_status=$?
   19595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19596   (exit $ac_status); }
   19597 
   19598 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   19599 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   19600 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   19601   echo $ECHO_N "(cached) $ECHO_C" >&6
   19602 else
   19603   cat >conftest.$ac_ext <<_ACEOF
   19604 /* confdefs.h.  */
   19605 _ACEOF
   19606 cat confdefs.h >>conftest.$ac_ext
   19607 cat >>conftest.$ac_ext <<_ACEOF
   19608 /* end confdefs.h.  */
   19609 
   19610 int
   19611 main ()
   19612 {
   19613 #ifndef __GNUC__
   19614        choke me
   19615 #endif
   19616 
   19617   ;
   19618   return 0;
   19619 }
   19620 _ACEOF
   19621 rm -f conftest.$ac_objext
   19622 if { (ac_try="$ac_compile"
   19623 case "(($ac_try" in
   19624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19625   *) ac_try_echo=$ac_try;;
   19626 esac
   19627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19628   (eval "$ac_compile") 2>conftest.er1
   19629   ac_status=$?
   19630   grep -v '^ *+' conftest.er1 >conftest.err
   19631   rm -f conftest.er1
   19632   cat conftest.err >&5
   19633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19634   (exit $ac_status); } && {
   19635 	 test -z "$ac_c_werror_flag" ||
   19636 	 test ! -s conftest.err
   19637        } && test -s conftest.$ac_objext; then
   19638   ac_compiler_gnu=yes
   19639 else
   19640   echo "$as_me: failed program was:" >&5
   19641 sed 's/^/| /' conftest.$ac_ext >&5
   19642 
   19643 	ac_compiler_gnu=no
   19644 fi
   19645 
   19646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19647 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   19648 
   19649 fi
   19650 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   19651 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   19652 GCC=`test $ac_compiler_gnu = yes && echo yes`
   19653 ac_test_CFLAGS=${CFLAGS+set}
   19654 ac_save_CFLAGS=$CFLAGS
   19655 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   19656 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   19657 if test "${ac_cv_prog_cc_g+set}" = set; then
   19658   echo $ECHO_N "(cached) $ECHO_C" >&6
   19659 else
   19660   ac_save_c_werror_flag=$ac_c_werror_flag
   19661    ac_c_werror_flag=yes
   19662    ac_cv_prog_cc_g=no
   19663    CFLAGS="-g"
   19664    cat >conftest.$ac_ext <<_ACEOF
   19665 /* confdefs.h.  */
   19666 _ACEOF
   19667 cat confdefs.h >>conftest.$ac_ext
   19668 cat >>conftest.$ac_ext <<_ACEOF
   19669 /* end confdefs.h.  */
   19670 
   19671 int
   19672 main ()
   19673 {
   19674 
   19675   ;
   19676   return 0;
   19677 }
   19678 _ACEOF
   19679 rm -f conftest.$ac_objext
   19680 if { (ac_try="$ac_compile"
   19681 case "(($ac_try" in
   19682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19683   *) ac_try_echo=$ac_try;;
   19684 esac
   19685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19686   (eval "$ac_compile") 2>conftest.er1
   19687   ac_status=$?
   19688   grep -v '^ *+' conftest.er1 >conftest.err
   19689   rm -f conftest.er1
   19690   cat conftest.err >&5
   19691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19692   (exit $ac_status); } && {
   19693 	 test -z "$ac_c_werror_flag" ||
   19694 	 test ! -s conftest.err
   19695        } && test -s conftest.$ac_objext; then
   19696   ac_cv_prog_cc_g=yes
   19697 else
   19698   echo "$as_me: failed program was:" >&5
   19699 sed 's/^/| /' conftest.$ac_ext >&5
   19700 
   19701 	CFLAGS=""
   19702       cat >conftest.$ac_ext <<_ACEOF
   19703 /* confdefs.h.  */
   19704 _ACEOF
   19705 cat confdefs.h >>conftest.$ac_ext
   19706 cat >>conftest.$ac_ext <<_ACEOF
   19707 /* end confdefs.h.  */
   19708 
   19709 int
   19710 main ()
   19711 {
   19712 
   19713   ;
   19714   return 0;
   19715 }
   19716 _ACEOF
   19717 rm -f conftest.$ac_objext
   19718 if { (ac_try="$ac_compile"
   19719 case "(($ac_try" in
   19720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19721   *) ac_try_echo=$ac_try;;
   19722 esac
   19723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19724   (eval "$ac_compile") 2>conftest.er1
   19725   ac_status=$?
   19726   grep -v '^ *+' conftest.er1 >conftest.err
   19727   rm -f conftest.er1
   19728   cat conftest.err >&5
   19729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19730   (exit $ac_status); } && {
   19731 	 test -z "$ac_c_werror_flag" ||
   19732 	 test ! -s conftest.err
   19733        } && test -s conftest.$ac_objext; then
   19734   :
   19735 else
   19736   echo "$as_me: failed program was:" >&5
   19737 sed 's/^/| /' conftest.$ac_ext >&5
   19738 
   19739 	ac_c_werror_flag=$ac_save_c_werror_flag
   19740 	 CFLAGS="-g"
   19741 	 cat >conftest.$ac_ext <<_ACEOF
   19742 /* confdefs.h.  */
   19743 _ACEOF
   19744 cat confdefs.h >>conftest.$ac_ext
   19745 cat >>conftest.$ac_ext <<_ACEOF
   19746 /* end confdefs.h.  */
   19747 
   19748 int
   19749 main ()
   19750 {
   19751 
   19752   ;
   19753   return 0;
   19754 }
   19755 _ACEOF
   19756 rm -f conftest.$ac_objext
   19757 if { (ac_try="$ac_compile"
   19758 case "(($ac_try" in
   19759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19760   *) ac_try_echo=$ac_try;;
   19761 esac
   19762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19763   (eval "$ac_compile") 2>conftest.er1
   19764   ac_status=$?
   19765   grep -v '^ *+' conftest.er1 >conftest.err
   19766   rm -f conftest.er1
   19767   cat conftest.err >&5
   19768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19769   (exit $ac_status); } && {
   19770 	 test -z "$ac_c_werror_flag" ||
   19771 	 test ! -s conftest.err
   19772        } && test -s conftest.$ac_objext; then
   19773   ac_cv_prog_cc_g=yes
   19774 else
   19775   echo "$as_me: failed program was:" >&5
   19776 sed 's/^/| /' conftest.$ac_ext >&5
   19777 
   19778 
   19779 fi
   19780 
   19781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19782 fi
   19783 
   19784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19785 fi
   19786 
   19787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19788    ac_c_werror_flag=$ac_save_c_werror_flag
   19789 fi
   19790 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   19791 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   19792 if test "$ac_test_CFLAGS" = set; then
   19793   CFLAGS=$ac_save_CFLAGS
   19794 elif test $ac_cv_prog_cc_g = yes; then
   19795   if test "$GCC" = yes; then
   19796     CFLAGS="-g -O2"
   19797   else
   19798     CFLAGS="-g"
   19799   fi
   19800 else
   19801   if test "$GCC" = yes; then
   19802     CFLAGS="-O2"
   19803   else
   19804     CFLAGS=
   19805   fi
   19806 fi
   19807 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   19808 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   19809 if test "${ac_cv_prog_cc_c89+set}" = set; then
   19810   echo $ECHO_N "(cached) $ECHO_C" >&6
   19811 else
   19812   ac_cv_prog_cc_c89=no
   19813 ac_save_CC=$CC
   19814 cat >conftest.$ac_ext <<_ACEOF
   19815 /* confdefs.h.  */
   19816 _ACEOF
   19817 cat confdefs.h >>conftest.$ac_ext
   19818 cat >>conftest.$ac_ext <<_ACEOF
   19819 /* end confdefs.h.  */
   19820 #include <stdarg.h>
   19821 #include <stdio.h>
   19822 #include <sys/types.h>
   19823 #include <sys/stat.h>
   19824 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   19825 struct buf { int x; };
   19826 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   19827 static char *e (p, i)
   19828      char **p;
   19829      int i;
   19830 {
   19831   return p[i];
   19832 }
   19833 static char *f (char * (*g) (char **, int), char **p, ...)
   19834 {
   19835   char *s;
   19836   va_list v;
   19837   va_start (v,p);
   19838   s = g (p, va_arg (v,int));
   19839   va_end (v);
   19840   return s;
   19841 }
   19842 
   19843 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   19844    function prototypes and stuff, but not '\xHH' hex character constants.
   19845    These don't provoke an error unfortunately, instead are silently treated
   19846    as 'x'.  The following induces an error, until -std is added to get
   19847    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   19848    array size at least.  It's necessary to write '\x00'==0 to get something
   19849    that's true only with -std.  */
   19850 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   19851 
   19852 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   19853    inside strings and character constants.  */
   19854 #define FOO(x) 'x'
   19855 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   19856 
   19857 int test (int i, double x);
   19858 struct s1 {int (*f) (int a);};
   19859 struct s2 {int (*f) (double a);};
   19860 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   19861 int argc;
   19862 char **argv;
   19863 int
   19864 main ()
   19865 {
   19866 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   19867   ;
   19868   return 0;
   19869 }
   19870 _ACEOF
   19871 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   19872 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   19873 do
   19874   CC="$ac_save_CC $ac_arg"
   19875   rm -f conftest.$ac_objext
   19876 if { (ac_try="$ac_compile"
   19877 case "(($ac_try" in
   19878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19879   *) ac_try_echo=$ac_try;;
   19880 esac
   19881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19882   (eval "$ac_compile") 2>conftest.er1
   19883   ac_status=$?
   19884   grep -v '^ *+' conftest.er1 >conftest.err
   19885   rm -f conftest.er1
   19886   cat conftest.err >&5
   19887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19888   (exit $ac_status); } && {
   19889 	 test -z "$ac_c_werror_flag" ||
   19890 	 test ! -s conftest.err
   19891        } && test -s conftest.$ac_objext; then
   19892   ac_cv_prog_cc_c89=$ac_arg
   19893 else
   19894   echo "$as_me: failed program was:" >&5
   19895 sed 's/^/| /' conftest.$ac_ext >&5
   19896 
   19897 
   19898 fi
   19899 
   19900 rm -f core conftest.err conftest.$ac_objext
   19901   test "x$ac_cv_prog_cc_c89" != "xno" && break
   19902 done
   19903 rm -f conftest.$ac_ext
   19904 CC=$ac_save_CC
   19905 
   19906 fi
   19907 # AC_CACHE_VAL
   19908 case "x$ac_cv_prog_cc_c89" in
   19909   x)
   19910     { echo "$as_me:$LINENO: result: none needed" >&5
   19911 echo "${ECHO_T}none needed" >&6; } ;;
   19912   xno)
   19913     { echo "$as_me:$LINENO: result: unsupported" >&5
   19914 echo "${ECHO_T}unsupported" >&6; } ;;
   19915   *)
   19916     CC="$CC $ac_cv_prog_cc_c89"
   19917     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   19918 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   19919 esac
   19920 
   19921 
   19922 ac_ext=c
   19923 ac_cpp='$CPP $CPPFLAGS'
   19924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19927 
   19928 depcc="$CC"   am_compiler_list=
   19929 
   19930 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   19931 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   19932 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   19933   echo $ECHO_N "(cached) $ECHO_C" >&6
   19934 else
   19935   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   19936   # We make a subdir and do the tests there.  Otherwise we can end up
   19937   # making bogus files that we don't know about and never remove.  For
   19938   # instance it was reported that on HP-UX the gcc test will end up
   19939   # making a dummy file named `D' -- because `-MD' means `put the output
   19940   # in D'.
   19941   mkdir conftest.dir
   19942   # Copy depcomp to subdir because otherwise we won't find it if we're
   19943   # using a relative directory.
   19944   cp "$am_depcomp" conftest.dir
   19945   cd conftest.dir
   19946   # We will build objects and dependencies in a subdirectory because
   19947   # it helps to detect inapplicable dependency modes.  For instance
   19948   # both Tru64's cc and ICC support -MD to output dependencies as a
   19949   # side effect of compilation, but ICC will put the dependencies in
   19950   # the current directory while Tru64 will put them in the object
   19951   # directory.
   19952   mkdir sub
   19953 
   19954   am_cv_CC_dependencies_compiler_type=none
   19955   if test "$am_compiler_list" = ""; then
   19956      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   19957   fi
   19958   for depmode in $am_compiler_list; do
   19959     # Setup a source with many dependencies, because some compilers
   19960     # like to wrap large dependency lists on column 80 (with \), and
   19961     # we should not choose a depcomp mode which is confused by this.
   19962     #
   19963     # We need to recreate these files for each test, as the compiler may
   19964     # overwrite some of them when testing with obscure command lines.
   19965     # This happens at least with the AIX C compiler.
   19966     : > sub/conftest.c
   19967     for i in 1 2 3 4 5 6; do
   19968       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   19969       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   19970       # Solaris 8's {/usr,}/bin/sh.
   19971       touch sub/conftst$i.h
   19972     done
   19973     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   19974 
   19975     case $depmode in
   19976     nosideeffect)
   19977       # after this tag, mechanisms are not by side-effect, so they'll
   19978       # only be used when explicitly requested
   19979       if test "x$enable_dependency_tracking" = xyes; then
   19980 	continue
   19981       else
   19982 	break
   19983       fi
   19984       ;;
   19985     none) break ;;
   19986     esac
   19987     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   19988     # mode.  It turns out that the SunPro C++ compiler does not properly
   19989     # handle `-M -o', and we need to detect this.
   19990     if depmode=$depmode \
   19991        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   19992        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   19993        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   19994          >/dev/null 2>conftest.err &&
   19995        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   19996        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   19997        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   19998        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   19999       # icc doesn't choke on unknown options, it will just issue warnings
   20000       # or remarks (even with -Werror).  So we grep stderr for any message
   20001       # that says an option was ignored or not supported.
   20002       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20003       #   icc: Command line warning: ignoring option '-M'; no argument required
   20004       # The diagnosis changed in icc 8.0:
   20005       #   icc: Command line remark: option '-MP' not supported
   20006       if (grep 'ignoring option' conftest.err ||
   20007           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20008         am_cv_CC_dependencies_compiler_type=$depmode
   20009         break
   20010       fi
   20011     fi
   20012   done
   20013 
   20014   cd ..
   20015   rm -rf conftest.dir
   20016 else
   20017   am_cv_CC_dependencies_compiler_type=none
   20018 fi
   20019 
   20020 fi
   20021 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20022 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   20023 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20024 
   20025  if
   20026   test "x$enable_dependency_tracking" != xno \
   20027   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20028   am__fastdepCC_TRUE=
   20029   am__fastdepCC_FALSE='#'
   20030 else
   20031   am__fastdepCC_TRUE='#'
   20032   am__fastdepCC_FALSE=
   20033 fi
   20034 
   20035 
   20036 
   20037 # Checks for pkg-config packages
   20038 
   20039 
   20040 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20041 	if test -n "$ac_tool_prefix"; then
   20042   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20043 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20046 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20047   echo $ECHO_N "(cached) $ECHO_C" >&6
   20048 else
   20049   case $PKG_CONFIG in
   20050   [\\/]* | ?:[\\/]*)
   20051   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20052   ;;
   20053   *)
   20054   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20055 for as_dir in $PATH
   20056 do
   20057   IFS=$as_save_IFS
   20058   test -z "$as_dir" && as_dir=.
   20059   for ac_exec_ext in '' $ac_executable_extensions; do
   20060   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20061     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20062     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20063     break 2
   20064   fi
   20065 done
   20066 done
   20067 IFS=$as_save_IFS
   20068 
   20069   ;;
   20070 esac
   20071 fi
   20072 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20073 if test -n "$PKG_CONFIG"; then
   20074   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20075 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   20076 else
   20077   { echo "$as_me:$LINENO: result: no" >&5
   20078 echo "${ECHO_T}no" >&6; }
   20079 fi
   20080 
   20081 
   20082 fi
   20083 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20084   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20085   # Extract the first word of "pkg-config", so it can be a program name with args.
   20086 set dummy pkg-config; ac_word=$2
   20087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   20088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   20089 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20090   echo $ECHO_N "(cached) $ECHO_C" >&6
   20091 else
   20092   case $ac_pt_PKG_CONFIG in
   20093   [\\/]* | ?:[\\/]*)
   20094   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20095   ;;
   20096   *)
   20097   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20098 for as_dir in $PATH
   20099 do
   20100   IFS=$as_save_IFS
   20101   test -z "$as_dir" && as_dir=.
   20102   for ac_exec_ext in '' $ac_executable_extensions; do
   20103   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20104     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20105     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20106     break 2
   20107   fi
   20108 done
   20109 done
   20110 IFS=$as_save_IFS
   20111 
   20112   ;;
   20113 esac
   20114 fi
   20115 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20116 if test -n "$ac_pt_PKG_CONFIG"; then
   20117   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   20118 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   20119 else
   20120   { echo "$as_me:$LINENO: result: no" >&5
   20121 echo "${ECHO_T}no" >&6; }
   20122 fi
   20123 
   20124   if test "x$ac_pt_PKG_CONFIG" = x; then
   20125     PKG_CONFIG=""
   20126   else
   20127     case $cross_compiling:$ac_tool_warned in
   20128 yes:)
   20129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   20130 whose name does not start with the host triplet.  If you think this
   20131 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   20132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   20133 whose name does not start with the host triplet.  If you think this
   20134 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   20135 ac_tool_warned=yes ;;
   20136 esac
   20137     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20138   fi
   20139 else
   20140   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20141 fi
   20142 
   20143 fi
   20144 if test -n "$PKG_CONFIG"; then
   20145 	_pkg_min_version=0.9.0
   20146 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   20147 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   20148 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20149 		{ echo "$as_me:$LINENO: result: yes" >&5
   20150 echo "${ECHO_T}yes" >&6; }
   20151 	else
   20152 		{ echo "$as_me:$LINENO: result: no" >&5
   20153 echo "${ECHO_T}no" >&6; }
   20154 		PKG_CONFIG=""
   20155 	fi
   20156 
   20157 fi
   20158 
   20159 pkg_failed=no
   20160 { echo "$as_me:$LINENO: checking for XMU" >&5
   20161 echo $ECHO_N "checking for XMU... $ECHO_C" >&6; }
   20162 
   20163 if test -n "$PKG_CONFIG"; then
   20164         if test -n "$PKG_CONFIG" && \
   20165     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt xext xextproto\"") >&5
   20166   ($PKG_CONFIG --exists --print-errors "xt xext xextproto") 2>&5
   20167   ac_status=$?
   20168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20169   (exit $ac_status); }; then
   20170   pkg_cv_XMU_CFLAGS=`$PKG_CONFIG --cflags "xt xext xextproto" 2>/dev/null`
   20171 else
   20172   pkg_failed=yes
   20173 fi
   20174 else
   20175 	pkg_failed=untried
   20176 fi
   20177 if test -n "$PKG_CONFIG"; then
   20178         if test -n "$PKG_CONFIG" && \
   20179     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt xext xextproto\"") >&5
   20180   ($PKG_CONFIG --exists --print-errors "xt xext xextproto") 2>&5
   20181   ac_status=$?
   20182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20183   (exit $ac_status); }; then
   20184   pkg_cv_XMU_LIBS=`$PKG_CONFIG --libs "xt xext xextproto" 2>/dev/null`
   20185 else
   20186   pkg_failed=yes
   20187 fi
   20188 else
   20189 	pkg_failed=untried
   20190 fi
   20191 
   20192 if test $pkg_failed = yes; then
   20193 	XMU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt xext xextproto"`
   20194 	# Put the nasty error message in config.log where it belongs
   20195 	echo "$XMU_PKG_ERRORS" 1>&5
   20196 
   20197 	{ { echo "$as_me:$LINENO: error: Package requirements (xt xext xextproto) were not met.
   20198 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20199 installed software in a non-standard prefix.
   20200 
   20201 Alternatively you may set the XMU_CFLAGS and XMU_LIBS environment variables
   20202 to avoid the need to call pkg-config.  See the pkg-config man page for
   20203 more details." >&5
   20204 echo "$as_me: error: Package requirements (xt xext xextproto) were not met.
   20205 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20206 installed software in a non-standard prefix.
   20207 
   20208 Alternatively you may set the XMU_CFLAGS and XMU_LIBS environment variables
   20209 to avoid the need to call pkg-config.  See the pkg-config man page for
   20210 more details." >&2;}
   20211    { (exit 1); exit 1; }; }
   20212 elif test $pkg_failed = untried; then
   20213 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20214 is in your PATH or set the PKG_CONFIG environment variable to the full
   20215 path to pkg-config.
   20216 
   20217 Alternatively you may set the XMU_CFLAGS and XMU_LIBS environment variables
   20218 to avoid the need to call pkg-config.  See the pkg-config man page for
   20219 more details.
   20220 
   20221 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   20222 See \`config.log' for more details." >&5
   20223 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20224 is in your PATH or set the PKG_CONFIG environment variable to the full
   20225 path to pkg-config.
   20226 
   20227 Alternatively you may set the XMU_CFLAGS and XMU_LIBS environment variables
   20228 to avoid the need to call pkg-config.  See the pkg-config man page for
   20229 more details.
   20230 
   20231 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   20232 See \`config.log' for more details." >&2;}
   20233    { (exit 1); exit 1; }; }
   20234 else
   20235 	XMU_CFLAGS=$pkg_cv_XMU_CFLAGS
   20236 	XMU_LIBS=$pkg_cv_XMU_LIBS
   20237         { echo "$as_me:$LINENO: result: yes" >&5
   20238 echo "${ECHO_T}yes" >&6; }
   20239 	:
   20240 fi
   20241 
   20242 
   20243 
   20244 
   20245 pkg_failed=no
   20246 { echo "$as_me:$LINENO: checking for XMUU" >&5
   20247 echo $ECHO_N "checking for XMUU... $ECHO_C" >&6; }
   20248 
   20249 if test -n "$PKG_CONFIG"; then
   20250         if test -n "$PKG_CONFIG" && \
   20251     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
   20252   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   20253   ac_status=$?
   20254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20255   (exit $ac_status); }; then
   20256   pkg_cv_XMUU_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
   20257 else
   20258   pkg_failed=yes
   20259 fi
   20260 else
   20261 	pkg_failed=untried
   20262 fi
   20263 if test -n "$PKG_CONFIG"; then
   20264         if test -n "$PKG_CONFIG" && \
   20265     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
   20266   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   20267   ac_status=$?
   20268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20269   (exit $ac_status); }; then
   20270   pkg_cv_XMUU_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
   20271 else
   20272   pkg_failed=yes
   20273 fi
   20274 else
   20275 	pkg_failed=untried
   20276 fi
   20277 
   20278 if test $pkg_failed = yes; then
   20279 	XMUU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
   20280 	# Put the nasty error message in config.log where it belongs
   20281 	echo "$XMUU_PKG_ERRORS" 1>&5
   20282 
   20283 	{ { echo "$as_me:$LINENO: error: Package requirements (x11) were not met.
   20284 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20285 installed software in a non-standard prefix.
   20286 
   20287 Alternatively you may set the XMUU_CFLAGS and XMUU_LIBS environment variables
   20288 to avoid the need to call pkg-config.  See the pkg-config man page for
   20289 more details." >&5
   20290 echo "$as_me: error: Package requirements (x11) were not met.
   20291 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20292 installed software in a non-standard prefix.
   20293 
   20294 Alternatively you may set the XMUU_CFLAGS and XMUU_LIBS environment variables
   20295 to avoid the need to call pkg-config.  See the pkg-config man page for
   20296 more details." >&2;}
   20297    { (exit 1); exit 1; }; }
   20298 elif test $pkg_failed = untried; then
   20299 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20300 is in your PATH or set the PKG_CONFIG environment variable to the full
   20301 path to pkg-config.
   20302 
   20303 Alternatively you may set the XMUU_CFLAGS and XMUU_LIBS environment variables
   20304 to avoid the need to call pkg-config.  See the pkg-config man page for
   20305 more details.
   20306 
   20307 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   20308 See \`config.log' for more details." >&5
   20309 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20310 is in your PATH or set the PKG_CONFIG environment variable to the full
   20311 path to pkg-config.
   20312 
   20313 Alternatively you may set the XMUU_CFLAGS and XMUU_LIBS environment variables
   20314 to avoid the need to call pkg-config.  See the pkg-config man page for
   20315 more details.
   20316 
   20317 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   20318 See \`config.log' for more details." >&2;}
   20319    { (exit 1); exit 1; }; }
   20320 else
   20321 	XMUU_CFLAGS=$pkg_cv_XMUU_CFLAGS
   20322 	XMUU_LIBS=$pkg_cv_XMUU_LIBS
   20323         { echo "$as_me:$LINENO: result: yes" >&5
   20324 echo "${ECHO_T}yes" >&6; }
   20325 	:
   20326 fi
   20327 
   20328 
   20329 
   20330 # CvtStdSel.c needs to know which network transports to build hostname
   20331 # conversion routines for
   20332 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
   20333 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
   20334 if test "${ac_cv_type_signal+set}" = set; then
   20335   echo $ECHO_N "(cached) $ECHO_C" >&6
   20336 else
   20337   cat >conftest.$ac_ext <<_ACEOF
   20338 /* confdefs.h.  */
   20339 _ACEOF
   20340 cat confdefs.h >>conftest.$ac_ext
   20341 cat >>conftest.$ac_ext <<_ACEOF
   20342 /* end confdefs.h.  */
   20343 #include <sys/types.h>
   20344 #include <signal.h>
   20345 
   20346 int
   20347 main ()
   20348 {
   20349 return *(signal (0, 0)) (0) == 1;
   20350   ;
   20351   return 0;
   20352 }
   20353 _ACEOF
   20354 rm -f conftest.$ac_objext
   20355 if { (ac_try="$ac_compile"
   20356 case "(($ac_try" in
   20357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20358   *) ac_try_echo=$ac_try;;
   20359 esac
   20360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20361   (eval "$ac_compile") 2>conftest.er1
   20362   ac_status=$?
   20363   grep -v '^ *+' conftest.er1 >conftest.err
   20364   rm -f conftest.er1
   20365   cat conftest.err >&5
   20366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20367   (exit $ac_status); } && {
   20368 	 test -z "$ac_c_werror_flag" ||
   20369 	 test ! -s conftest.err
   20370        } && test -s conftest.$ac_objext; then
   20371   ac_cv_type_signal=int
   20372 else
   20373   echo "$as_me: failed program was:" >&5
   20374 sed 's/^/| /' conftest.$ac_ext >&5
   20375 
   20376 	ac_cv_type_signal=void
   20377 fi
   20378 
   20379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20380 fi
   20381 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
   20382 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
   20383 
   20384 cat >>confdefs.h <<_ACEOF
   20385 #define RETSIGTYPE $ac_cv_type_signal
   20386 _ACEOF
   20387 
   20388 
   20389 
   20390 
   20391 
   20392  # Check whether --enable-unix-transport was given.
   20393 if test "${enable_unix_transport+set}" = set; then
   20394   enableval=$enable_unix_transport; UNIXCONN=$enableval
   20395 else
   20396   UNIXCONN=yes
   20397 fi
   20398 
   20399  # Check whether --enable-tcp-transport was given.
   20400 if test "${enable_tcp_transport+set}" = set; then
   20401   enableval=$enable_tcp_transport; TCPCONN=$enableval
   20402 else
   20403   TCPCONN=yes
   20404 fi
   20405 
   20406  { echo "$as_me:$LINENO: checking if Xtrans should support UNIX socket connections" >&5
   20407 echo $ECHO_N "checking if Xtrans should support UNIX socket connections... $ECHO_C" >&6; }
   20408  if test "$UNIXCONN" = "yes"; then
   20409 
   20410 cat >>confdefs.h <<\_ACEOF
   20411 #define UNIXCONN 1
   20412 _ACEOF
   20413 
   20414  fi
   20415  { echo "$as_me:$LINENO: result: $UNIXCONN" >&5
   20416 echo "${ECHO_T}$UNIXCONN" >&6; }
   20417  { echo "$as_me:$LINENO: checking if Xtrans should support TCP socket connections" >&5
   20418 echo $ECHO_N "checking if Xtrans should support TCP socket connections... $ECHO_C" >&6; }
   20419  { echo "$as_me:$LINENO: result: $TCPCONN" >&5
   20420 echo "${ECHO_T}$TCPCONN" >&6; }
   20421  if test "$TCPCONN" = "yes"; then
   20422 
   20423 cat >>confdefs.h <<\_ACEOF
   20424 #define TCPCONN 1
   20425 _ACEOF
   20426 
   20427 
   20428  # SVR4 hides these in libraries other than libc
   20429  { echo "$as_me:$LINENO: checking for library containing socket" >&5
   20430 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
   20431 if test "${ac_cv_search_socket+set}" = set; then
   20432   echo $ECHO_N "(cached) $ECHO_C" >&6
   20433 else
   20434   ac_func_search_save_LIBS=$LIBS
   20435 cat >conftest.$ac_ext <<_ACEOF
   20436 /* confdefs.h.  */
   20437 _ACEOF
   20438 cat confdefs.h >>conftest.$ac_ext
   20439 cat >>conftest.$ac_ext <<_ACEOF
   20440 /* end confdefs.h.  */
   20441 
   20442 /* Override any GCC internal prototype to avoid an error.
   20443    Use char because int might match the return type of a GCC
   20444    builtin and then its argument prototype would still apply.  */
   20445 #ifdef __cplusplus
   20446 extern "C"
   20447 #endif
   20448 char socket ();
   20449 int
   20450 main ()
   20451 {
   20452 return socket ();
   20453   ;
   20454   return 0;
   20455 }
   20456 _ACEOF
   20457 for ac_lib in '' socket; do
   20458   if test -z "$ac_lib"; then
   20459     ac_res="none required"
   20460   else
   20461     ac_res=-l$ac_lib
   20462     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20463   fi
   20464   rm -f conftest.$ac_objext conftest$ac_exeext
   20465 if { (ac_try="$ac_link"
   20466 case "(($ac_try" in
   20467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20468   *) ac_try_echo=$ac_try;;
   20469 esac
   20470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20471   (eval "$ac_link") 2>conftest.er1
   20472   ac_status=$?
   20473   grep -v '^ *+' conftest.er1 >conftest.err
   20474   rm -f conftest.er1
   20475   cat conftest.err >&5
   20476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20477   (exit $ac_status); } && {
   20478 	 test -z "$ac_c_werror_flag" ||
   20479 	 test ! -s conftest.err
   20480        } && test -s conftest$ac_exeext &&
   20481        $as_test_x conftest$ac_exeext; then
   20482   ac_cv_search_socket=$ac_res
   20483 else
   20484   echo "$as_me: failed program was:" >&5
   20485 sed 's/^/| /' conftest.$ac_ext >&5
   20486 
   20487 
   20488 fi
   20489 
   20490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   20491       conftest$ac_exeext
   20492   if test "${ac_cv_search_socket+set}" = set; then
   20493   break
   20494 fi
   20495 done
   20496 if test "${ac_cv_search_socket+set}" = set; then
   20497   :
   20498 else
   20499   ac_cv_search_socket=no
   20500 fi
   20501 rm conftest.$ac_ext
   20502 LIBS=$ac_func_search_save_LIBS
   20503 fi
   20504 { echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
   20505 echo "${ECHO_T}$ac_cv_search_socket" >&6; }
   20506 ac_res=$ac_cv_search_socket
   20507 if test "$ac_res" != no; then
   20508   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20509 
   20510 fi
   20511 
   20512  { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
   20513 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
   20514 if test "${ac_cv_search_gethostbyname+set}" = set; then
   20515   echo $ECHO_N "(cached) $ECHO_C" >&6
   20516 else
   20517   ac_func_search_save_LIBS=$LIBS
   20518 cat >conftest.$ac_ext <<_ACEOF
   20519 /* confdefs.h.  */
   20520 _ACEOF
   20521 cat confdefs.h >>conftest.$ac_ext
   20522 cat >>conftest.$ac_ext <<_ACEOF
   20523 /* end confdefs.h.  */
   20524 
   20525 /* Override any GCC internal prototype to avoid an error.
   20526    Use char because int might match the return type of a GCC
   20527    builtin and then its argument prototype would still apply.  */
   20528 #ifdef __cplusplus
   20529 extern "C"
   20530 #endif
   20531 char gethostbyname ();
   20532 int
   20533 main ()
   20534 {
   20535 return gethostbyname ();
   20536   ;
   20537   return 0;
   20538 }
   20539 _ACEOF
   20540 for ac_lib in '' nsl; do
   20541   if test -z "$ac_lib"; then
   20542     ac_res="none required"
   20543   else
   20544     ac_res=-l$ac_lib
   20545     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20546   fi
   20547   rm -f conftest.$ac_objext conftest$ac_exeext
   20548 if { (ac_try="$ac_link"
   20549 case "(($ac_try" in
   20550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20551   *) ac_try_echo=$ac_try;;
   20552 esac
   20553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20554   (eval "$ac_link") 2>conftest.er1
   20555   ac_status=$?
   20556   grep -v '^ *+' conftest.er1 >conftest.err
   20557   rm -f conftest.er1
   20558   cat conftest.err >&5
   20559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20560   (exit $ac_status); } && {
   20561 	 test -z "$ac_c_werror_flag" ||
   20562 	 test ! -s conftest.err
   20563        } && test -s conftest$ac_exeext &&
   20564        $as_test_x conftest$ac_exeext; then
   20565   ac_cv_search_gethostbyname=$ac_res
   20566 else
   20567   echo "$as_me: failed program was:" >&5
   20568 sed 's/^/| /' conftest.$ac_ext >&5
   20569 
   20570 
   20571 fi
   20572 
   20573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   20574       conftest$ac_exeext
   20575   if test "${ac_cv_search_gethostbyname+set}" = set; then
   20576   break
   20577 fi
   20578 done
   20579 if test "${ac_cv_search_gethostbyname+set}" = set; then
   20580   :
   20581 else
   20582   ac_cv_search_gethostbyname=no
   20583 fi
   20584 rm conftest.$ac_ext
   20585 LIBS=$ac_func_search_save_LIBS
   20586 fi
   20587 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
   20588 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
   20589 ac_res=$ac_cv_search_gethostbyname
   20590 if test "$ac_res" != no; then
   20591   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20592 
   20593 fi
   20594 
   20595 
   20596  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   20597  # Check whether --enable-ipv6 was given.
   20598 if test "${enable_ipv6+set}" = set; then
   20599   enableval=$enable_ipv6; IPV6CONN=$enableval
   20600 else
   20601   { echo "$as_me:$LINENO: checking for getaddrinfo" >&5
   20602 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; }
   20603 if test "${ac_cv_func_getaddrinfo+set}" = set; then
   20604   echo $ECHO_N "(cached) $ECHO_C" >&6
   20605 else
   20606   cat >conftest.$ac_ext <<_ACEOF
   20607 /* confdefs.h.  */
   20608 _ACEOF
   20609 cat confdefs.h >>conftest.$ac_ext
   20610 cat >>conftest.$ac_ext <<_ACEOF
   20611 /* end confdefs.h.  */
   20612 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
   20613    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   20614 #define getaddrinfo innocuous_getaddrinfo
   20615 
   20616 /* System header to define __stub macros and hopefully few prototypes,
   20617     which can conflict with char getaddrinfo (); below.
   20618     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   20619     <limits.h> exists even on freestanding compilers.  */
   20620 
   20621 #ifdef __STDC__
   20622 # include <limits.h>
   20623 #else
   20624 # include <assert.h>
   20625 #endif
   20626 
   20627 #undef getaddrinfo
   20628 
   20629 /* Override any GCC internal prototype to avoid an error.
   20630    Use char because int might match the return type of a GCC
   20631    builtin and then its argument prototype would still apply.  */
   20632 #ifdef __cplusplus
   20633 extern "C"
   20634 #endif
   20635 char getaddrinfo ();
   20636 /* The GNU C library defines this for functions which it implements
   20637     to always fail with ENOSYS.  Some functions are actually named
   20638     something starting with __ and the normal name is an alias.  */
   20639 #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
   20640 choke me
   20641 #endif
   20642 
   20643 int
   20644 main ()
   20645 {
   20646 return getaddrinfo ();
   20647   ;
   20648   return 0;
   20649 }
   20650 _ACEOF
   20651 rm -f conftest.$ac_objext conftest$ac_exeext
   20652 if { (ac_try="$ac_link"
   20653 case "(($ac_try" in
   20654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20655   *) ac_try_echo=$ac_try;;
   20656 esac
   20657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20658   (eval "$ac_link") 2>conftest.er1
   20659   ac_status=$?
   20660   grep -v '^ *+' conftest.er1 >conftest.err
   20661   rm -f conftest.er1
   20662   cat conftest.err >&5
   20663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20664   (exit $ac_status); } && {
   20665 	 test -z "$ac_c_werror_flag" ||
   20666 	 test ! -s conftest.err
   20667        } && test -s conftest$ac_exeext &&
   20668        $as_test_x conftest$ac_exeext; then
   20669   ac_cv_func_getaddrinfo=yes
   20670 else
   20671   echo "$as_me: failed program was:" >&5
   20672 sed 's/^/| /' conftest.$ac_ext >&5
   20673 
   20674 	ac_cv_func_getaddrinfo=no
   20675 fi
   20676 
   20677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   20678       conftest$ac_exeext conftest.$ac_ext
   20679 fi
   20680 { echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
   20681 echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; }
   20682 if test $ac_cv_func_getaddrinfo = yes; then
   20683   IPV6CONN=yes
   20684 else
   20685   IPV6CONN=no
   20686 fi
   20687 
   20688 fi
   20689 
   20690  { echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5
   20691 echo $ECHO_N "checking if IPv6 support should be built... $ECHO_C" >&6; }
   20692  if test "$IPV6CONN" = "yes"; then
   20693 
   20694 cat >>confdefs.h <<\_ACEOF
   20695 #define IPv6 1
   20696 _ACEOF
   20697 
   20698  fi
   20699  { echo "$as_me:$LINENO: result: $IPV6CONN" >&5
   20700 echo "${ECHO_T}$IPV6CONN" >&6; }
   20701 
   20702  # 4.3BSD-Reno added a new member to struct sockaddr_in
   20703  { echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
   20704 echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6; }
   20705 if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
   20706   echo $ECHO_N "(cached) $ECHO_C" >&6
   20707 else
   20708   cat >conftest.$ac_ext <<_ACEOF
   20709 /* confdefs.h.  */
   20710 _ACEOF
   20711 cat confdefs.h >>conftest.$ac_ext
   20712 cat >>conftest.$ac_ext <<_ACEOF
   20713 /* end confdefs.h.  */
   20714 
   20715 #include <sys/types.h>
   20716 #include <sys/socket.h>
   20717 #include <netinet/in.h>
   20718 
   20719 
   20720 int
   20721 main ()
   20722 {
   20723 static struct sockaddr_in ac_aggr;
   20724 if (ac_aggr.sin_len)
   20725 return 0;
   20726   ;
   20727   return 0;
   20728 }
   20729 _ACEOF
   20730 rm -f conftest.$ac_objext
   20731 if { (ac_try="$ac_compile"
   20732 case "(($ac_try" in
   20733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20734   *) ac_try_echo=$ac_try;;
   20735 esac
   20736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20737   (eval "$ac_compile") 2>conftest.er1
   20738   ac_status=$?
   20739   grep -v '^ *+' conftest.er1 >conftest.err
   20740   rm -f conftest.er1
   20741   cat conftest.err >&5
   20742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20743   (exit $ac_status); } && {
   20744 	 test -z "$ac_c_werror_flag" ||
   20745 	 test ! -s conftest.err
   20746        } && test -s conftest.$ac_objext; then
   20747   ac_cv_member_struct_sockaddr_in_sin_len=yes
   20748 else
   20749   echo "$as_me: failed program was:" >&5
   20750 sed 's/^/| /' conftest.$ac_ext >&5
   20751 
   20752 	cat >conftest.$ac_ext <<_ACEOF
   20753 /* confdefs.h.  */
   20754 _ACEOF
   20755 cat confdefs.h >>conftest.$ac_ext
   20756 cat >>conftest.$ac_ext <<_ACEOF
   20757 /* end confdefs.h.  */
   20758 
   20759 #include <sys/types.h>
   20760 #include <sys/socket.h>
   20761 #include <netinet/in.h>
   20762 
   20763 
   20764 int
   20765 main ()
   20766 {
   20767 static struct sockaddr_in ac_aggr;
   20768 if (sizeof ac_aggr.sin_len)
   20769 return 0;
   20770   ;
   20771   return 0;
   20772 }
   20773 _ACEOF
   20774 rm -f conftest.$ac_objext
   20775 if { (ac_try="$ac_compile"
   20776 case "(($ac_try" in
   20777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20778   *) ac_try_echo=$ac_try;;
   20779 esac
   20780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20781   (eval "$ac_compile") 2>conftest.er1
   20782   ac_status=$?
   20783   grep -v '^ *+' conftest.er1 >conftest.err
   20784   rm -f conftest.er1
   20785   cat conftest.err >&5
   20786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20787   (exit $ac_status); } && {
   20788 	 test -z "$ac_c_werror_flag" ||
   20789 	 test ! -s conftest.err
   20790        } && test -s conftest.$ac_objext; then
   20791   ac_cv_member_struct_sockaddr_in_sin_len=yes
   20792 else
   20793   echo "$as_me: failed program was:" >&5
   20794 sed 's/^/| /' conftest.$ac_ext >&5
   20795 
   20796 	ac_cv_member_struct_sockaddr_in_sin_len=no
   20797 fi
   20798 
   20799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20800 fi
   20801 
   20802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20803 fi
   20804 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
   20805 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
   20806 if test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then
   20807 
   20808 cat >>confdefs.h <<\_ACEOF
   20809 #define BSD44SOCKETS 1
   20810 _ACEOF
   20811 
   20812 fi
   20813 
   20814 
   20815  fi
   20816  case $host_os in
   20817 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   20818 	*)			localdef="no"  ;;
   20819  esac
   20820  # Check whether --enable-local-transport was given.
   20821 if test "${enable_local_transport+set}" = set; then
   20822   enableval=$enable_local_transport; LOCALCONN=$enableval
   20823 else
   20824   LOCALCONN=$localdef
   20825 fi
   20826 
   20827  { echo "$as_me:$LINENO: checking if Xtrans should support os-specific local connections" >&5
   20828 echo $ECHO_N "checking if Xtrans should support os-specific local connections... $ECHO_C" >&6; }
   20829  { echo "$as_me:$LINENO: result: $LOCALCONN" >&5
   20830 echo "${ECHO_T}$LOCALCONN" >&6; }
   20831  if test "$LOCALCONN" = "yes"; then
   20832 
   20833 cat >>confdefs.h <<\_ACEOF
   20834 #define LOCALCONN 1
   20835 _ACEOF
   20836 
   20837  fi
   20838 
   20839 
   20840 
   20841 #
   20842 # Assume that we have sprintf. If a system shows up
   20843 # that doesn't, we will deal with it at that point.
   20844 #
   20845 # The way to deal with it is:
   20846 #
   20847 #  1. Add a test for sprintf it here in configure.ac
   20848 #     that sets or unsets HAS_SNPRINTF as appropriate
   20849 #
   20850 #  2. add a copy of xc/lib/misc/snprintf.c
   20851 #
   20852 # The source file in question is Lower.c
   20853 #
   20854 
   20855 
   20856 cat >>confdefs.h <<\_ACEOF
   20857 #define HAS_SNPRINTF
   20858 _ACEOF
   20859 
   20860 
   20861 
   20862 
   20863 
   20864 # Allow checking code with lint, sparse, etc.
   20865 
   20866 # Check whether --with-lint was given.
   20867 if test "${with_lint+set}" = set; then
   20868   withval=$with_lint; use_lint=$withval
   20869 else
   20870   use_lint=no
   20871 fi
   20872 
   20873 if test "x$use_lint" = "xyes" ; then
   20874 	LINT="lint"
   20875 else
   20876 	LINT="$use_lint"
   20877 fi
   20878 if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
   20879     case $LINT in
   20880 	lint|*/lint)
   20881 	    case $host_os in
   20882 		solaris*)
   20883 			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   20884 			;;
   20885 	    esac
   20886 	    ;;
   20887     esac
   20888 fi
   20889 
   20890 
   20891 
   20892  if test x$LINT != xno; then
   20893   LINT_TRUE=
   20894   LINT_FALSE='#'
   20895 else
   20896   LINT_TRUE='#'
   20897   LINT_FALSE=
   20898 fi
   20899 
   20900 
   20901 
   20902 
   20903 
   20904 # Build lint "library" for more indepth checks of programs calling this library
   20905 # Check whether --enable-lint-library was given.
   20906 if test "${enable_lint_library+set}" = set; then
   20907   enableval=$enable_lint_library; make_lint_lib=$enableval
   20908 else
   20909   make_lint_lib=no
   20910 fi
   20911 
   20912 if test "x$make_lint_lib" != "xno" ; then
   20913 	if test "x$LINT" = "xno" ; then
   20914 		{ { echo "$as_me:$LINENO: error: Cannot make lint library without --with-lint" >&5
   20915 echo "$as_me: error: Cannot make lint library without --with-lint" >&2;}
   20916    { (exit 1); exit 1; }; }
   20917 	fi
   20918 	if test "x$make_lint_lib" = "xyes" ; then
   20919 		LINTLIB=llib-lXmu.ln
   20920 	else
   20921 		LINTLIB=$make_lint_lib
   20922 	fi
   20923 fi
   20924 
   20925  if test x$make_lint_lib != xno; then
   20926   MAKE_LINT_LIB_TRUE=
   20927   MAKE_LINT_LIB_FALSE='#'
   20928 else
   20929   MAKE_LINT_LIB_TRUE='#'
   20930   MAKE_LINT_LIB_FALSE=
   20931 fi
   20932 
   20933 
   20934 
   20935 LINTLIBUU=`echo $LINTLIB | sed s/Xmu/Xmuu/`
   20936 
   20937 
   20938 if test "x$GCC" = "xyes"; then
   20939         GCC_WARNINGS="-Wall -Wpointer-arith -Wstrict-prototypes \
   20940         -Wmissing-prototypes -Wmissing-declarations -Wnested-externs"
   20941         XMU_CFLAGS="$GCC_WARNINGS $XMU_CFLAGS"
   20942 fi
   20943 
   20944 
   20945 
   20946 # Check whether --with-release-version was given.
   20947 if test "${with_release_version+set}" = set; then
   20948   withval=$with_release_version; RELEASE_VERSION="$withval"
   20949 else
   20950   RELEASE_VERSION=""
   20951 fi
   20952 
   20953 	if test "x$RELEASE_VERSION" != "x"; then
   20954 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   20955 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   20956 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   20957 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   20958 	fi
   20959 
   20960 cat >>confdefs.h <<_ACEOF
   20961 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20962 _ACEOF
   20963 
   20964 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
   20965 	if test "x$PVM" = "x"; then
   20966 		PVM="0"
   20967 	fi
   20968 
   20969 cat >>confdefs.h <<_ACEOF
   20970 #define PACKAGE_VERSION_MINOR $PVM
   20971 _ACEOF
   20972 
   20973 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
   20974 	if test "x$PVP" = "x"; then
   20975 		PVP="0"
   20976 	fi
   20977 
   20978 cat >>confdefs.h <<_ACEOF
   20979 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   20980 _ACEOF
   20981 
   20982 
   20983 
   20984 ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile xmu.pc xmuu.pc"
   20985 
   20986 cat >confcache <<\_ACEOF
   20987 # This file is a shell script that caches the results of configure
   20988 # tests run on this system so they can be shared between configure
   20989 # scripts and configure runs, see configure's option --config-cache.
   20990 # It is not useful on other systems.  If it contains results you don't
   20991 # want to keep, you may remove or edit it.
   20992 #
   20993 # config.status only pays attention to the cache file if you give it
   20994 # the --recheck option to rerun configure.
   20995 #
   20996 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20997 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20998 # following values.
   20999 
   21000 _ACEOF
   21001 
   21002 # The following way of writing the cache mishandles newlines in values,
   21003 # but we know of no workaround that is simple, portable, and efficient.
   21004 # So, we kill variables containing newlines.
   21005 # Ultrix sh set writes to stderr and can't be redirected directly,
   21006 # and sets the high bit in the cache file unless we assign to the vars.
   21007 (
   21008   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21009     eval ac_val=\$$ac_var
   21010     case $ac_val in #(
   21011     *${as_nl}*)
   21012       case $ac_var in #(
   21013       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   21014 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   21015       esac
   21016       case $ac_var in #(
   21017       _ | IFS | as_nl) ;; #(
   21018       *) $as_unset $ac_var ;;
   21019       esac ;;
   21020     esac
   21021   done
   21022 
   21023   (set) 2>&1 |
   21024     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21025     *${as_nl}ac_space=\ *)
   21026       # `set' does not quote correctly, so add quotes (double-quote
   21027       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21028       sed -n \
   21029 	"s/'/'\\\\''/g;
   21030 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21031       ;; #(
   21032     *)
   21033       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21034       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21035       ;;
   21036     esac |
   21037     sort
   21038 ) |
   21039   sed '
   21040      /^ac_cv_env_/b end
   21041      t clear
   21042      :clear
   21043      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21044      t end
   21045      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21046      :end' >>confcache
   21047 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21048   if test -w "$cache_file"; then
   21049     test "x$cache_file" != "x/dev/null" &&
   21050       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21051 echo "$as_me: updating cache $cache_file" >&6;}
   21052     cat confcache >$cache_file
   21053   else
   21054     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21055 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21056   fi
   21057 fi
   21058 rm -f confcache
   21059 
   21060 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21061 # Let make expand exec_prefix.
   21062 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21063 
   21064 DEFS=-DHAVE_CONFIG_H
   21065 
   21066 ac_libobjs=
   21067 ac_ltlibobjs=
   21068 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21069   # 1. Remove the extension, and $U if already installed.
   21070   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21071   ac_i=`echo "$ac_i" | sed "$ac_script"`
   21072   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21073   #    will be set to the directory where LIBOBJS objects are built.
   21074   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21075   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21076 done
   21077 LIBOBJS=$ac_libobjs
   21078 
   21079 LTLIBOBJS=$ac_ltlibobjs
   21080 
   21081 
   21082 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   21083   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   21084 Usually this means the macro was only invoked conditionally." >&5
   21085 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   21086 Usually this means the macro was only invoked conditionally." >&2;}
   21087    { (exit 1); exit 1; }; }
   21088 fi
   21089 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21090   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   21091 Usually this means the macro was only invoked conditionally." >&5
   21092 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   21093 Usually this means the macro was only invoked conditionally." >&2;}
   21094    { (exit 1); exit 1; }; }
   21095 fi
   21096 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21097   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21098 Usually this means the macro was only invoked conditionally." >&5
   21099 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21100 Usually this means the macro was only invoked conditionally." >&2;}
   21101    { (exit 1); exit 1; }; }
   21102 fi
   21103 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   21104   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   21105 Usually this means the macro was only invoked conditionally." >&5
   21106 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   21107 Usually this means the macro was only invoked conditionally." >&2;}
   21108    { (exit 1); exit 1; }; }
   21109 fi
   21110 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21111   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21112 Usually this means the macro was only invoked conditionally." >&5
   21113 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21114 Usually this means the macro was only invoked conditionally." >&2;}
   21115    { (exit 1); exit 1; }; }
   21116 fi
   21117 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   21118   { { echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
   21119 Usually this means the macro was only invoked conditionally." >&5
   21120 echo "$as_me: error: conditional \"LINT\" was never defined.
   21121 Usually this means the macro was only invoked conditionally." >&2;}
   21122    { (exit 1); exit 1; }; }
   21123 fi
   21124 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   21125   { { echo "$as_me:$LINENO: error: conditional \"MAKE_LINT_LIB\" was never defined.
   21126 Usually this means the macro was only invoked conditionally." >&5
   21127 echo "$as_me: error: conditional \"MAKE_LINT_LIB\" was never defined.
   21128 Usually this means the macro was only invoked conditionally." >&2;}
   21129    { (exit 1); exit 1; }; }
   21130 fi
   21131 
   21132 : ${CONFIG_STATUS=./config.status}
   21133 ac_clean_files_save=$ac_clean_files
   21134 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21135 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   21136 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21137 cat >$CONFIG_STATUS <<_ACEOF
   21138 #! $SHELL
   21139 # Generated by $as_me.
   21140 # Run this file to recreate the current configuration.
   21141 # Compiler output produced by configure, useful for debugging
   21142 # configure, is in config.log if it exists.
   21143 
   21144 debug=false
   21145 ac_cs_recheck=false
   21146 ac_cs_silent=false
   21147 SHELL=\${CONFIG_SHELL-$SHELL}
   21148 _ACEOF
   21149 
   21150 cat >>$CONFIG_STATUS <<\_ACEOF
   21151 ## --------------------- ##
   21152 ## M4sh Initialization.  ##
   21153 ## --------------------- ##
   21154 
   21155 # Be more Bourne compatible
   21156 DUALCASE=1; export DUALCASE # for MKS sh
   21157 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   21158   emulate sh
   21159   NULLCMD=:
   21160   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   21161   # is contrary to our usage.  Disable this feature.
   21162   alias -g '${1+"$@"}'='"$@"'
   21163   setopt NO_GLOB_SUBST
   21164 else
   21165   case `(set -o) 2>/dev/null` in
   21166   *posix*) set -o posix ;;
   21167 esac
   21168 
   21169 fi
   21170 
   21171 
   21172 
   21173 
   21174 # PATH needs CR
   21175 # Avoid depending upon Character Ranges.
   21176 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21177 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21178 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21179 as_cr_digits='0123456789'
   21180 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21181 
   21182 # The user is always right.
   21183 if test "${PATH_SEPARATOR+set}" != set; then
   21184   echo "#! /bin/sh" >conf$$.sh
   21185   echo  "exit 0"   >>conf$$.sh
   21186   chmod +x conf$$.sh
   21187   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   21188     PATH_SEPARATOR=';'
   21189   else
   21190     PATH_SEPARATOR=:
   21191   fi
   21192   rm -f conf$$.sh
   21193 fi
   21194 
   21195 # Support unset when possible.
   21196 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   21197   as_unset=unset
   21198 else
   21199   as_unset=false
   21200 fi
   21201 
   21202 
   21203 # IFS
   21204 # We need space, tab and new line, in precisely that order.  Quoting is
   21205 # there to prevent editors from complaining about space-tab.
   21206 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21207 # splitting by setting IFS to empty value.)
   21208 as_nl='
   21209 '
   21210 IFS=" ""	$as_nl"
   21211 
   21212 # Find who we are.  Look in the path if we contain no directory separator.
   21213 case $0 in
   21214   *[\\/]* ) as_myself=$0 ;;
   21215   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21216 for as_dir in $PATH
   21217 do
   21218   IFS=$as_save_IFS
   21219   test -z "$as_dir" && as_dir=.
   21220   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21221 done
   21222 IFS=$as_save_IFS
   21223 
   21224      ;;
   21225 esac
   21226 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21227 # in which case we are not to be found in the path.
   21228 if test "x$as_myself" = x; then
   21229   as_myself=$0
   21230 fi
   21231 if test ! -f "$as_myself"; then
   21232   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21233   { (exit 1); exit 1; }
   21234 fi
   21235 
   21236 # Work around bugs in pre-3.0 UWIN ksh.
   21237 for as_var in ENV MAIL MAILPATH
   21238 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21239 done
   21240 PS1='$ '
   21241 PS2='> '
   21242 PS4='+ '
   21243 
   21244 # NLS nuisances.
   21245 for as_var in \
   21246   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   21247   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   21248   LC_TELEPHONE LC_TIME
   21249 do
   21250   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   21251     eval $as_var=C; export $as_var
   21252   else
   21253     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21254   fi
   21255 done
   21256 
   21257 # Required to use basename.
   21258 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21259    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21260   as_expr=expr
   21261 else
   21262   as_expr=false
   21263 fi
   21264 
   21265 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21266   as_basename=basename
   21267 else
   21268   as_basename=false
   21269 fi
   21270 
   21271 
   21272 # Name of the executable.
   21273 as_me=`$as_basename -- "$0" ||
   21274 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21275 	 X"$0" : 'X\(//\)$' \| \
   21276 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21277 echo X/"$0" |
   21278     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21279 	    s//\1/
   21280 	    q
   21281 	  }
   21282 	  /^X\/\(\/\/\)$/{
   21283 	    s//\1/
   21284 	    q
   21285 	  }
   21286 	  /^X\/\(\/\).*/{
   21287 	    s//\1/
   21288 	    q
   21289 	  }
   21290 	  s/.*/./; q'`
   21291 
   21292 # CDPATH.
   21293 $as_unset CDPATH
   21294 
   21295 
   21296 
   21297   as_lineno_1=$LINENO
   21298   as_lineno_2=$LINENO
   21299   test "x$as_lineno_1" != "x$as_lineno_2" &&
   21300   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   21301 
   21302   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   21303   # uniformly replaced by the line number.  The first 'sed' inserts a
   21304   # line-number line after each line using $LINENO; the second 'sed'
   21305   # does the real work.  The second script uses 'N' to pair each
   21306   # line-number line with the line containing $LINENO, and appends
   21307   # trailing '-' during substitution so that $LINENO is not a special
   21308   # case at line end.
   21309   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   21310   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   21311   # E. McMahon (1931-1989) for sed's syntax.  :-)
   21312   sed -n '
   21313     p
   21314     /[$]LINENO/=
   21315   ' <$as_myself |
   21316     sed '
   21317       s/[$]LINENO.*/&-/
   21318       t lineno
   21319       b
   21320       :lineno
   21321       N
   21322       :loop
   21323       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   21324       t loop
   21325       s/-\n.*//
   21326     ' >$as_me.lineno &&
   21327   chmod +x "$as_me.lineno" ||
   21328     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   21329    { (exit 1); exit 1; }; }
   21330 
   21331   # Don't try to exec as it changes $[0], causing all sort of problems
   21332   # (the dirname of $[0] is not the place where we might find the
   21333   # original and so on.  Autoconf is especially sensitive to this).
   21334   . "./$as_me.lineno"
   21335   # Exit status is that of the last command.
   21336   exit
   21337 }
   21338 
   21339 
   21340 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21341   as_dirname=dirname
   21342 else
   21343   as_dirname=false
   21344 fi
   21345 
   21346 ECHO_C= ECHO_N= ECHO_T=
   21347 case `echo -n x` in
   21348 -n*)
   21349   case `echo 'x\c'` in
   21350   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21351   *)   ECHO_C='\c';;
   21352   esac;;
   21353 *)
   21354   ECHO_N='-n';;
   21355 esac
   21356 
   21357 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21358    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21359   as_expr=expr
   21360 else
   21361   as_expr=false
   21362 fi
   21363 
   21364 rm -f conf$$ conf$$.exe conf$$.file
   21365 if test -d conf$$.dir; then
   21366   rm -f conf$$.dir/conf$$.file
   21367 else
   21368   rm -f conf$$.dir
   21369   mkdir conf$$.dir
   21370 fi
   21371 echo >conf$$.file
   21372 if ln -s conf$$.file conf$$ 2>/dev/null; then
   21373   as_ln_s='ln -s'
   21374   # ... but there are two gotchas:
   21375   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21376   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21377   # In both cases, we have to default to `cp -p'.
   21378   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21379     as_ln_s='cp -p'
   21380 elif ln conf$$.file conf$$ 2>/dev/null; then
   21381   as_ln_s=ln
   21382 else
   21383   as_ln_s='cp -p'
   21384 fi
   21385 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21386 rmdir conf$$.dir 2>/dev/null
   21387 
   21388 if mkdir -p . 2>/dev/null; then
   21389   as_mkdir_p=:
   21390 else
   21391   test -d ./-p && rmdir ./-p
   21392   as_mkdir_p=false
   21393 fi
   21394 
   21395 if test -x / >/dev/null 2>&1; then
   21396   as_test_x='test -x'
   21397 else
   21398   if ls -dL / >/dev/null 2>&1; then
   21399     as_ls_L_option=L
   21400   else
   21401     as_ls_L_option=
   21402   fi
   21403   as_test_x='
   21404     eval sh -c '\''
   21405       if test -d "$1"; then
   21406         test -d "$1/.";
   21407       else
   21408 	case $1 in
   21409         -*)set "./$1";;
   21410 	esac;
   21411 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   21412 	???[sx]*):;;*)false;;esac;fi
   21413     '\'' sh
   21414   '
   21415 fi
   21416 as_executable_p=$as_test_x
   21417 
   21418 # Sed expression to map a string onto a valid CPP name.
   21419 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21420 
   21421 # Sed expression to map a string onto a valid variable name.
   21422 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21423 
   21424 
   21425 exec 6>&1
   21426 
   21427 # Save the log message, to keep $[0] and so on meaningful, and to
   21428 # report actual input values of CONFIG_FILES etc. instead of their
   21429 # values after options handling.
   21430 ac_log="
   21431 This file was extended by libXmu $as_me 1.0.4, which was
   21432 generated by GNU Autoconf 2.61.  Invocation command line was
   21433 
   21434   CONFIG_FILES    = $CONFIG_FILES
   21435   CONFIG_HEADERS  = $CONFIG_HEADERS
   21436   CONFIG_LINKS    = $CONFIG_LINKS
   21437   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21438   $ $0 $@
   21439 
   21440 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21441 "
   21442 
   21443 _ACEOF
   21444 
   21445 cat >>$CONFIG_STATUS <<_ACEOF
   21446 # Files that config.status was made for.
   21447 config_files="$ac_config_files"
   21448 config_headers="$ac_config_headers"
   21449 config_commands="$ac_config_commands"
   21450 
   21451 _ACEOF
   21452 
   21453 cat >>$CONFIG_STATUS <<\_ACEOF
   21454 ac_cs_usage="\
   21455 \`$as_me' instantiates files from templates according to the
   21456 current configuration.
   21457 
   21458 Usage: $0 [OPTIONS] [FILE]...
   21459 
   21460   -h, --help       print this help, then exit
   21461   -V, --version    print version number and configuration settings, then exit
   21462   -q, --quiet      do not print progress messages
   21463   -d, --debug      don't remove temporary files
   21464       --recheck    update $as_me by reconfiguring in the same conditions
   21465   --file=FILE[:TEMPLATE]
   21466 		   instantiate the configuration file FILE
   21467   --header=FILE[:TEMPLATE]
   21468 		   instantiate the configuration header FILE
   21469 
   21470 Configuration files:
   21471 $config_files
   21472 
   21473 Configuration headers:
   21474 $config_headers
   21475 
   21476 Configuration commands:
   21477 $config_commands
   21478 
   21479 Report bugs to <bug-autoconf (at] gnu.org>."
   21480 
   21481 _ACEOF
   21482 cat >>$CONFIG_STATUS <<_ACEOF
   21483 ac_cs_version="\\
   21484 libXmu config.status 1.0.4
   21485 configured by $0, generated by GNU Autoconf 2.61,
   21486   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   21487 
   21488 Copyright (C) 2006 Free Software Foundation, Inc.
   21489 This config.status script is free software; the Free Software Foundation
   21490 gives unlimited permission to copy, distribute and modify it."
   21491 
   21492 ac_pwd='$ac_pwd'
   21493 srcdir='$srcdir'
   21494 INSTALL='$INSTALL'
   21495 MKDIR_P='$MKDIR_P'
   21496 _ACEOF
   21497 
   21498 cat >>$CONFIG_STATUS <<\_ACEOF
   21499 # If no file are specified by the user, then we need to provide default
   21500 # value.  By we need to know if files were specified by the user.
   21501 ac_need_defaults=:
   21502 while test $# != 0
   21503 do
   21504   case $1 in
   21505   --*=*)
   21506     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21507     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21508     ac_shift=:
   21509     ;;
   21510   *)
   21511     ac_option=$1
   21512     ac_optarg=$2
   21513     ac_shift=shift
   21514     ;;
   21515   esac
   21516 
   21517   case $ac_option in
   21518   # Handling of the options.
   21519   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21520     ac_cs_recheck=: ;;
   21521   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21522     echo "$ac_cs_version"; exit ;;
   21523   --debug | --debu | --deb | --de | --d | -d )
   21524     debug=: ;;
   21525   --file | --fil | --fi | --f )
   21526     $ac_shift
   21527     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   21528     ac_need_defaults=false;;
   21529   --header | --heade | --head | --hea )
   21530     $ac_shift
   21531     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   21532     ac_need_defaults=false;;
   21533   --he | --h)
   21534     # Conflict between --help and --header
   21535     { echo "$as_me: error: ambiguous option: $1
   21536 Try \`$0 --help' for more information." >&2
   21537    { (exit 1); exit 1; }; };;
   21538   --help | --hel | -h )
   21539     echo "$ac_cs_usage"; exit ;;
   21540   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21541   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21542     ac_cs_silent=: ;;
   21543 
   21544   # This is an error.
   21545   -*) { echo "$as_me: error: unrecognized option: $1
   21546 Try \`$0 --help' for more information." >&2
   21547    { (exit 1); exit 1; }; } ;;
   21548 
   21549   *) ac_config_targets="$ac_config_targets $1"
   21550      ac_need_defaults=false ;;
   21551 
   21552   esac
   21553   shift
   21554 done
   21555 
   21556 ac_configure_extra_args=
   21557 
   21558 if $ac_cs_silent; then
   21559   exec 6>/dev/null
   21560   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21561 fi
   21562 
   21563 _ACEOF
   21564 cat >>$CONFIG_STATUS <<_ACEOF
   21565 if \$ac_cs_recheck; then
   21566   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   21567   CONFIG_SHELL=$SHELL
   21568   export CONFIG_SHELL
   21569   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21570 fi
   21571 
   21572 _ACEOF
   21573 cat >>$CONFIG_STATUS <<\_ACEOF
   21574 exec 5>>config.log
   21575 {
   21576   echo
   21577   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21578 ## Running $as_me. ##
   21579 _ASBOX
   21580   echo "$ac_log"
   21581 } >&5
   21582 
   21583 _ACEOF
   21584 cat >>$CONFIG_STATUS <<_ACEOF
   21585 #
   21586 # INIT-COMMANDS
   21587 #
   21588 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21589 
   21590 _ACEOF
   21591 
   21592 cat >>$CONFIG_STATUS <<\_ACEOF
   21593 
   21594 # Handling of arguments.
   21595 for ac_config_target in $ac_config_targets
   21596 do
   21597   case $ac_config_target in
   21598     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21599     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21600     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21601     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   21602     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21603     "xmu.pc") CONFIG_FILES="$CONFIG_FILES xmu.pc" ;;
   21604     "xmuu.pc") CONFIG_FILES="$CONFIG_FILES xmuu.pc" ;;
   21605 
   21606   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   21607 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   21608    { (exit 1); exit 1; }; };;
   21609   esac
   21610 done
   21611 
   21612 
   21613 # If the user did not use the arguments to specify the items to instantiate,
   21614 # then the envvar interface is used.  Set only those that are not.
   21615 # We use the long form for the default assignment because of an extremely
   21616 # bizarre bug on SunOS 4.1.3.
   21617 if $ac_need_defaults; then
   21618   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21619   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21620   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21621 fi
   21622 
   21623 # Have a temporary directory for convenience.  Make it in the build tree
   21624 # simply because there is no reason against having it here, and in addition,
   21625 # creating and moving files from /tmp can sometimes cause problems.
   21626 # Hook for its removal unless debugging.
   21627 # Note that there is a small window in which the directory will not be cleaned:
   21628 # after its creation but before its name has been assigned to `$tmp'.
   21629 $debug ||
   21630 {
   21631   tmp=
   21632   trap 'exit_status=$?
   21633   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   21634 ' 0
   21635   trap '{ (exit 1); exit 1; }' 1 2 13 15
   21636 }
   21637 # Create a (secure) tmp directory for tmp files.
   21638 
   21639 {
   21640   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21641   test -n "$tmp" && test -d "$tmp"
   21642 }  ||
   21643 {
   21644   tmp=./conf$$-$RANDOM
   21645   (umask 077 && mkdir "$tmp")
   21646 } ||
   21647 {
   21648    echo "$me: cannot create a temporary directory in ." >&2
   21649    { (exit 1); exit 1; }
   21650 }
   21651 
   21652 #
   21653 # Set up the sed scripts for CONFIG_FILES section.
   21654 #
   21655 
   21656 # No need to generate the scripts if there are no CONFIG_FILES.
   21657 # This happens for instance when ./config.status config.h
   21658 if test -n "$CONFIG_FILES"; then
   21659 
   21660 _ACEOF
   21661 
   21662 
   21663 
   21664 ac_delim='%!_!# '
   21665 for ac_last_try in false false false false false :; do
   21666   cat >conf$$subs.sed <<_ACEOF
   21667 SHELL!$SHELL$ac_delim
   21668 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   21669 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   21670 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   21671 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   21672 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   21673 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   21674 exec_prefix!$exec_prefix$ac_delim
   21675 prefix!$prefix$ac_delim
   21676 program_transform_name!$program_transform_name$ac_delim
   21677 bindir!$bindir$ac_delim
   21678 sbindir!$sbindir$ac_delim
   21679 libexecdir!$libexecdir$ac_delim
   21680 datarootdir!$datarootdir$ac_delim
   21681 datadir!$datadir$ac_delim
   21682 sysconfdir!$sysconfdir$ac_delim
   21683 sharedstatedir!$sharedstatedir$ac_delim
   21684 localstatedir!$localstatedir$ac_delim
   21685 includedir!$includedir$ac_delim
   21686 oldincludedir!$oldincludedir$ac_delim
   21687 docdir!$docdir$ac_delim
   21688 infodir!$infodir$ac_delim
   21689 htmldir!$htmldir$ac_delim
   21690 dvidir!$dvidir$ac_delim
   21691 pdfdir!$pdfdir$ac_delim
   21692 psdir!$psdir$ac_delim
   21693 libdir!$libdir$ac_delim
   21694 localedir!$localedir$ac_delim
   21695 mandir!$mandir$ac_delim
   21696 DEFS!$DEFS$ac_delim
   21697 ECHO_C!$ECHO_C$ac_delim
   21698 ECHO_N!$ECHO_N$ac_delim
   21699 ECHO_T!$ECHO_T$ac_delim
   21700 LIBS!$LIBS$ac_delim
   21701 build_alias!$build_alias$ac_delim
   21702 host_alias!$host_alias$ac_delim
   21703 target_alias!$target_alias$ac_delim
   21704 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   21705 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   21706 INSTALL_DATA!$INSTALL_DATA$ac_delim
   21707 am__isrc!$am__isrc$ac_delim
   21708 CYGPATH_W!$CYGPATH_W$ac_delim
   21709 PACKAGE!$PACKAGE$ac_delim
   21710 VERSION!$VERSION$ac_delim
   21711 ACLOCAL!$ACLOCAL$ac_delim
   21712 AUTOCONF!$AUTOCONF$ac_delim
   21713 AUTOMAKE!$AUTOMAKE$ac_delim
   21714 AUTOHEADER!$AUTOHEADER$ac_delim
   21715 MAKEINFO!$MAKEINFO$ac_delim
   21716 install_sh!$install_sh$ac_delim
   21717 STRIP!$STRIP$ac_delim
   21718 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   21719 mkdir_p!$mkdir_p$ac_delim
   21720 AWK!$AWK$ac_delim
   21721 SET_MAKE!$SET_MAKE$ac_delim
   21722 am__leading_dot!$am__leading_dot$ac_delim
   21723 AMTAR!$AMTAR$ac_delim
   21724 am__tar!$am__tar$ac_delim
   21725 am__untar!$am__untar$ac_delim
   21726 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   21727 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   21728 MAINT!$MAINT$ac_delim
   21729 build!$build$ac_delim
   21730 build_cpu!$build_cpu$ac_delim
   21731 build_vendor!$build_vendor$ac_delim
   21732 build_os!$build_os$ac_delim
   21733 host!$host$ac_delim
   21734 host_cpu!$host_cpu$ac_delim
   21735 host_vendor!$host_vendor$ac_delim
   21736 host_os!$host_os$ac_delim
   21737 CC!$CC$ac_delim
   21738 CFLAGS!$CFLAGS$ac_delim
   21739 LDFLAGS!$LDFLAGS$ac_delim
   21740 CPPFLAGS!$CPPFLAGS$ac_delim
   21741 ac_ct_CC!$ac_ct_CC$ac_delim
   21742 EXEEXT!$EXEEXT$ac_delim
   21743 OBJEXT!$OBJEXT$ac_delim
   21744 DEPDIR!$DEPDIR$ac_delim
   21745 am__include!$am__include$ac_delim
   21746 am__quote!$am__quote$ac_delim
   21747 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   21748 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   21749 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   21750 CCDEPMODE!$CCDEPMODE$ac_delim
   21751 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   21752 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   21753 GREP!$GREP$ac_delim
   21754 EGREP!$EGREP$ac_delim
   21755 LN_S!$LN_S$ac_delim
   21756 ECHO!$ECHO$ac_delim
   21757 AR!$AR$ac_delim
   21758 RANLIB!$RANLIB$ac_delim
   21759 CPP!$CPP$ac_delim
   21760 CXX!$CXX$ac_delim
   21761 CXXFLAGS!$CXXFLAGS$ac_delim
   21762 ac_ct_CXX!$ac_ct_CXX$ac_delim
   21763 CXXDEPMODE!$CXXDEPMODE$ac_delim
   21764 _ACEOF
   21765 
   21766   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   21767     break
   21768   elif $ac_last_try; then
   21769     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21770 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21771    { (exit 1); exit 1; }; }
   21772   else
   21773     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21774   fi
   21775 done
   21776 
   21777 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   21778 if test -n "$ac_eof"; then
   21779   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   21780   ac_eof=`expr $ac_eof + 1`
   21781 fi
   21782 
   21783 cat >>$CONFIG_STATUS <<_ACEOF
   21784 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   21785 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21786 _ACEOF
   21787 sed '
   21788 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   21789 s/^/s,@/; s/!/@,|#_!!_#|/
   21790 :n
   21791 t n
   21792 s/'"$ac_delim"'$/,g/; t
   21793 s/$/\\/; p
   21794 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   21795 ' >>$CONFIG_STATUS <conf$$subs.sed
   21796 rm -f conf$$subs.sed
   21797 cat >>$CONFIG_STATUS <<_ACEOF
   21798 CEOF$ac_eof
   21799 _ACEOF
   21800 
   21801 
   21802 ac_delim='%!_!# '
   21803 for ac_last_try in false false false false false :; do
   21804   cat >conf$$subs.sed <<_ACEOF
   21805 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   21806 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   21807 CXXCPP!$CXXCPP$ac_delim
   21808 F77!$F77$ac_delim
   21809 FFLAGS!$FFLAGS$ac_delim
   21810 ac_ct_F77!$ac_ct_F77$ac_delim
   21811 LIBTOOL!$LIBTOOL$ac_delim
   21812 PKG_CONFIG!$PKG_CONFIG$ac_delim
   21813 XMU_CFLAGS!$XMU_CFLAGS$ac_delim
   21814 XMU_LIBS!$XMU_LIBS$ac_delim
   21815 XMUU_CFLAGS!$XMUU_CFLAGS$ac_delim
   21816 XMUU_LIBS!$XMUU_LIBS$ac_delim
   21817 HAS_SNPRINTF!$HAS_SNPRINTF$ac_delim
   21818 LINT!$LINT$ac_delim
   21819 LINT_FLAGS!$LINT_FLAGS$ac_delim
   21820 LINT_TRUE!$LINT_TRUE$ac_delim
   21821 LINT_FALSE!$LINT_FALSE$ac_delim
   21822 LINTLIB!$LINTLIB$ac_delim
   21823 MAKE_LINT_LIB_TRUE!$MAKE_LINT_LIB_TRUE$ac_delim
   21824 MAKE_LINT_LIB_FALSE!$MAKE_LINT_LIB_FALSE$ac_delim
   21825 LINTLIBUU!$LINTLIBUU$ac_delim
   21826 LIBOBJS!$LIBOBJS$ac_delim
   21827 LTLIBOBJS!$LTLIBOBJS$ac_delim
   21828 _ACEOF
   21829 
   21830   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 23; then
   21831     break
   21832   elif $ac_last_try; then
   21833     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21834 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21835    { (exit 1); exit 1; }; }
   21836   else
   21837     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21838   fi
   21839 done
   21840 
   21841 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   21842 if test -n "$ac_eof"; then
   21843   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   21844   ac_eof=`expr $ac_eof + 1`
   21845 fi
   21846 
   21847 cat >>$CONFIG_STATUS <<_ACEOF
   21848 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   21849 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   21850 _ACEOF
   21851 sed '
   21852 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   21853 s/^/s,@/; s/!/@,|#_!!_#|/
   21854 :n
   21855 t n
   21856 s/'"$ac_delim"'$/,g/; t
   21857 s/$/\\/; p
   21858 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   21859 ' >>$CONFIG_STATUS <conf$$subs.sed
   21860 rm -f conf$$subs.sed
   21861 cat >>$CONFIG_STATUS <<_ACEOF
   21862 :end
   21863 s/|#_!!_#|//g
   21864 CEOF$ac_eof
   21865 _ACEOF
   21866 
   21867 
   21868 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   21869 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   21870 # trailing colons and then remove the whole line if VPATH becomes empty
   21871 # (actually we leave an empty line to preserve line numbers).
   21872 if test "x$srcdir" = x.; then
   21873   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   21874 s/:*\$(srcdir):*/:/
   21875 s/:*\${srcdir}:*/:/
   21876 s/:*@srcdir@:*/:/
   21877 s/^\([^=]*=[	 ]*\):*/\1/
   21878 s/:*$//
   21879 s/^[^=]*=[	 ]*$//
   21880 }'
   21881 fi
   21882 
   21883 cat >>$CONFIG_STATUS <<\_ACEOF
   21884 fi # test -n "$CONFIG_FILES"
   21885 
   21886 
   21887 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   21888 do
   21889   case $ac_tag in
   21890   :[FHLC]) ac_mode=$ac_tag; continue;;
   21891   esac
   21892   case $ac_mode$ac_tag in
   21893   :[FHL]*:*);;
   21894   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   21895 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   21896    { (exit 1); exit 1; }; };;
   21897   :[FH]-) ac_tag=-:-;;
   21898   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21899   esac
   21900   ac_save_IFS=$IFS
   21901   IFS=:
   21902   set x $ac_tag
   21903   IFS=$ac_save_IFS
   21904   shift
   21905   ac_file=$1
   21906   shift
   21907 
   21908   case $ac_mode in
   21909   :L) ac_source=$1;;
   21910   :[FH])
   21911     ac_file_inputs=
   21912     for ac_f
   21913     do
   21914       case $ac_f in
   21915       -) ac_f="$tmp/stdin";;
   21916       *) # Look for the file first in the build tree, then in the source tree
   21917 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21918 	 # because $ac_f cannot contain `:'.
   21919 	 test -f "$ac_f" ||
   21920 	   case $ac_f in
   21921 	   [\\/$]*) false;;
   21922 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21923 	   esac ||
   21924 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   21925 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   21926    { (exit 1); exit 1; }; };;
   21927       esac
   21928       ac_file_inputs="$ac_file_inputs $ac_f"
   21929     done
   21930 
   21931     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21932     # use $as_me), people would be surprised to read:
   21933     #    /* config.h.  Generated by config.status.  */
   21934     configure_input="Generated from "`IFS=:
   21935 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   21936     if test x"$ac_file" != x-; then
   21937       configure_input="$ac_file.  $configure_input"
   21938       { echo "$as_me:$LINENO: creating $ac_file" >&5
   21939 echo "$as_me: creating $ac_file" >&6;}
   21940     fi
   21941 
   21942     case $ac_tag in
   21943     *:-:* | *:-) cat >"$tmp/stdin";;
   21944     esac
   21945     ;;
   21946   esac
   21947 
   21948   ac_dir=`$as_dirname -- "$ac_file" ||
   21949 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21950 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21951 	 X"$ac_file" : 'X\(//\)$' \| \
   21952 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21953 echo X"$ac_file" |
   21954     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21955 	    s//\1/
   21956 	    q
   21957 	  }
   21958 	  /^X\(\/\/\)[^/].*/{
   21959 	    s//\1/
   21960 	    q
   21961 	  }
   21962 	  /^X\(\/\/\)$/{
   21963 	    s//\1/
   21964 	    q
   21965 	  }
   21966 	  /^X\(\/\).*/{
   21967 	    s//\1/
   21968 	    q
   21969 	  }
   21970 	  s/.*/./; q'`
   21971   { as_dir="$ac_dir"
   21972   case $as_dir in #(
   21973   -*) as_dir=./$as_dir;;
   21974   esac
   21975   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   21976     as_dirs=
   21977     while :; do
   21978       case $as_dir in #(
   21979       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   21980       *) as_qdir=$as_dir;;
   21981       esac
   21982       as_dirs="'$as_qdir' $as_dirs"
   21983       as_dir=`$as_dirname -- "$as_dir" ||
   21984 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21985 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21986 	 X"$as_dir" : 'X\(//\)$' \| \
   21987 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21988 echo X"$as_dir" |
   21989     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21990 	    s//\1/
   21991 	    q
   21992 	  }
   21993 	  /^X\(\/\/\)[^/].*/{
   21994 	    s//\1/
   21995 	    q
   21996 	  }
   21997 	  /^X\(\/\/\)$/{
   21998 	    s//\1/
   21999 	    q
   22000 	  }
   22001 	  /^X\(\/\).*/{
   22002 	    s//\1/
   22003 	    q
   22004 	  }
   22005 	  s/.*/./; q'`
   22006       test -d "$as_dir" && break
   22007     done
   22008     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22009   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22010 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22011    { (exit 1); exit 1; }; }; }
   22012   ac_builddir=.
   22013 
   22014 case "$ac_dir" in
   22015 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22016 *)
   22017   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   22018   # A ".." for each directory in $ac_dir_suffix.
   22019   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   22020   case $ac_top_builddir_sub in
   22021   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22022   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22023   esac ;;
   22024 esac
   22025 ac_abs_top_builddir=$ac_pwd
   22026 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22027 # for backward compatibility:
   22028 ac_top_builddir=$ac_top_build_prefix
   22029 
   22030 case $srcdir in
   22031   .)  # We are building in place.
   22032     ac_srcdir=.
   22033     ac_top_srcdir=$ac_top_builddir_sub
   22034     ac_abs_top_srcdir=$ac_pwd ;;
   22035   [\\/]* | ?:[\\/]* )  # Absolute name.
   22036     ac_srcdir=$srcdir$ac_dir_suffix;
   22037     ac_top_srcdir=$srcdir
   22038     ac_abs_top_srcdir=$srcdir ;;
   22039   *) # Relative name.
   22040     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22041     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22042     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22043 esac
   22044 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22045 
   22046 
   22047   case $ac_mode in
   22048   :F)
   22049   #
   22050   # CONFIG_FILE
   22051   #
   22052 
   22053   case $INSTALL in
   22054   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22055   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22056   esac
   22057   ac_MKDIR_P=$MKDIR_P
   22058   case $MKDIR_P in
   22059   [\\/$]* | ?:[\\/]* ) ;;
   22060   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22061   esac
   22062 _ACEOF
   22063 
   22064 cat >>$CONFIG_STATUS <<\_ACEOF
   22065 # If the template does not know about datarootdir, expand it.
   22066 # FIXME: This hack should be removed a few years after 2.60.
   22067 ac_datarootdir_hack=; ac_datarootdir_seen=
   22068 
   22069 case `sed -n '/datarootdir/ {
   22070   p
   22071   q
   22072 }
   22073 /@datadir@/p
   22074 /@docdir@/p
   22075 /@infodir@/p
   22076 /@localedir@/p
   22077 /@mandir@/p
   22078 ' $ac_file_inputs` in
   22079 *datarootdir*) ac_datarootdir_seen=yes;;
   22080 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22081   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22082 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22083 _ACEOF
   22084 cat >>$CONFIG_STATUS <<_ACEOF
   22085   ac_datarootdir_hack='
   22086   s&@datadir@&$datadir&g
   22087   s&@docdir@&$docdir&g
   22088   s&@infodir@&$infodir&g
   22089   s&@localedir@&$localedir&g
   22090   s&@mandir@&$mandir&g
   22091     s&\\\${datarootdir}&$datarootdir&g' ;;
   22092 esac
   22093 _ACEOF
   22094 
   22095 # Neutralize VPATH when `$srcdir' = `.'.
   22096 # Shell code in configure.ac might set extrasub.
   22097 # FIXME: do we really want to maintain this feature?
   22098 cat >>$CONFIG_STATUS <<_ACEOF
   22099   sed "$ac_vpsub
   22100 $extrasub
   22101 _ACEOF
   22102 cat >>$CONFIG_STATUS <<\_ACEOF
   22103 :t
   22104 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22105 s&@configure_input@&$configure_input&;t t
   22106 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22107 s&@srcdir@&$ac_srcdir&;t t
   22108 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22109 s&@top_srcdir@&$ac_top_srcdir&;t t
   22110 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22111 s&@builddir@&$ac_builddir&;t t
   22112 s&@abs_builddir@&$ac_abs_builddir&;t t
   22113 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22114 s&@INSTALL@&$ac_INSTALL&;t t
   22115 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22116 $ac_datarootdir_hack
   22117 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   22118 
   22119 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22120   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   22121   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   22122   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22123 which seems to be undefined.  Please make sure it is defined." >&5
   22124 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22125 which seems to be undefined.  Please make sure it is defined." >&2;}
   22126 
   22127   rm -f "$tmp/stdin"
   22128   case $ac_file in
   22129   -) cat "$tmp/out"; rm -f "$tmp/out";;
   22130   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   22131   esac
   22132  ;;
   22133   :H)
   22134   #
   22135   # CONFIG_HEADER
   22136   #
   22137 _ACEOF
   22138 
   22139 # Transform confdefs.h into a sed script `conftest.defines', that
   22140 # substitutes the proper values into config.h.in to produce config.h.
   22141 rm -f conftest.defines conftest.tail
   22142 # First, append a space to every undef/define line, to ease matching.
   22143 echo 's/$/ /' >conftest.defines
   22144 # Then, protect against being on the right side of a sed subst, or in
   22145 # an unquoted here document, in config.status.  If some macros were
   22146 # called several times there might be several #defines for the same
   22147 # symbol, which is useless.  But do not sort them, since the last
   22148 # AC_DEFINE must be honored.
   22149 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22150 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   22151 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   22152 # PARAMS is the parameter list in the macro definition--in most cases, it's
   22153 # just an empty string.
   22154 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   22155 ac_dB='\\)[	 (].*,\\1define\\2'
   22156 ac_dC=' '
   22157 ac_dD=' ,'
   22158 
   22159 uniq confdefs.h |
   22160   sed -n '
   22161 	t rset
   22162 	:rset
   22163 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   22164 	t ok
   22165 	d
   22166 	:ok
   22167 	s/[\\&,]/\\&/g
   22168 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   22169 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   22170   ' >>conftest.defines
   22171 
   22172 # Remove the space that was appended to ease matching.
   22173 # Then replace #undef with comments.  This is necessary, for
   22174 # example, in the case of _POSIX_SOURCE, which is predefined and required
   22175 # on some systems where configure will not decide to define it.
   22176 # (The regexp can be short, since the line contains either #define or #undef.)
   22177 echo 's/ $//
   22178 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   22179 
   22180 # Break up conftest.defines:
   22181 ac_max_sed_lines=50
   22182 
   22183 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   22184 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   22185 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   22186 # et cetera.
   22187 ac_in='$ac_file_inputs'
   22188 ac_out='"$tmp/out1"'
   22189 ac_nxt='"$tmp/out2"'
   22190 
   22191 while :
   22192 do
   22193   # Write a here document:
   22194     cat >>$CONFIG_STATUS <<_ACEOF
   22195     # First, check the format of the line:
   22196     cat >"\$tmp/defines.sed" <<\\CEOF
   22197 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   22198 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   22199 b
   22200 :def
   22201 _ACEOF
   22202   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   22203   echo 'CEOF
   22204     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   22205   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   22206   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   22207   grep . conftest.tail >/dev/null || break
   22208   rm -f conftest.defines
   22209   mv conftest.tail conftest.defines
   22210 done
   22211 rm -f conftest.defines conftest.tail
   22212 
   22213 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   22214 cat >>$CONFIG_STATUS <<\_ACEOF
   22215   if test x"$ac_file" != x-; then
   22216     echo "/* $configure_input  */" >"$tmp/config.h"
   22217     cat "$ac_result" >>"$tmp/config.h"
   22218     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   22219       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   22220 echo "$as_me: $ac_file is unchanged" >&6;}
   22221     else
   22222       rm -f $ac_file
   22223       mv "$tmp/config.h" $ac_file
   22224     fi
   22225   else
   22226     echo "/* $configure_input  */"
   22227     cat "$ac_result"
   22228   fi
   22229   rm -f "$tmp/out12"
   22230 # Compute $ac_file's index in $config_headers.
   22231 _am_stamp_count=1
   22232 for _am_header in $config_headers :; do
   22233   case $_am_header in
   22234     $ac_file | $ac_file:* )
   22235       break ;;
   22236     * )
   22237       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22238   esac
   22239 done
   22240 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
   22241 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22242 	 X$ac_file : 'X\(//\)[^/]' \| \
   22243 	 X$ac_file : 'X\(//\)$' \| \
   22244 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
   22245 echo X$ac_file |
   22246     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22247 	    s//\1/
   22248 	    q
   22249 	  }
   22250 	  /^X\(\/\/\)[^/].*/{
   22251 	    s//\1/
   22252 	    q
   22253 	  }
   22254 	  /^X\(\/\/\)$/{
   22255 	    s//\1/
   22256 	    q
   22257 	  }
   22258 	  /^X\(\/\).*/{
   22259 	    s//\1/
   22260 	    q
   22261 	  }
   22262 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22263  ;;
   22264 
   22265   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   22266 echo "$as_me: executing $ac_file commands" >&6;}
   22267  ;;
   22268   esac
   22269 
   22270 
   22271   case $ac_file$ac_mode in
   22272     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   22273   # Strip MF so we end up with the name of the file.
   22274   mf=`echo "$mf" | sed -e 's/:.*$//'`
   22275   # Check whether this is an Automake generated Makefile or not.
   22276   # We used to match only the files named `Makefile.in', but
   22277   # some people rename them; so instead we look at the file content.
   22278   # Grep'ing the first line is not enough: some people post-process
   22279   # each Makefile.in and add a new line on top of each file to say so.
   22280   # Grep'ing the whole file is not good either: AIX grep has a line
   22281   # limit of 2048, but all sed's we know have understand at least 4000.
   22282   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
   22283     dirpart=`$as_dirname -- "$mf" ||
   22284 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22285 	 X"$mf" : 'X\(//\)[^/]' \| \
   22286 	 X"$mf" : 'X\(//\)$' \| \
   22287 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   22288 echo X"$mf" |
   22289     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22290 	    s//\1/
   22291 	    q
   22292 	  }
   22293 	  /^X\(\/\/\)[^/].*/{
   22294 	    s//\1/
   22295 	    q
   22296 	  }
   22297 	  /^X\(\/\/\)$/{
   22298 	    s//\1/
   22299 	    q
   22300 	  }
   22301 	  /^X\(\/\).*/{
   22302 	    s//\1/
   22303 	    q
   22304 	  }
   22305 	  s/.*/./; q'`
   22306   else
   22307     continue
   22308   fi
   22309   # Extract the definition of DEPDIR, am__include, and am__quote
   22310   # from the Makefile without running `make'.
   22311   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   22312   test -z "$DEPDIR" && continue
   22313   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   22314   test -z "am__include" && continue
   22315   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   22316   # When using ansi2knr, U may be empty or an underscore; expand it
   22317   U=`sed -n 's/^U = //p' < "$mf"`
   22318   # Find all dependency output files, they are included files with
   22319   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   22320   # simplest approach to changing $(DEPDIR) to its actual value in the
   22321   # expansion.
   22322   for file in `sed -n "
   22323     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   22324        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   22325     # Make sure the directory exists.
   22326     test -f "$dirpart/$file" && continue
   22327     fdir=`$as_dirname -- "$file" ||
   22328 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22329 	 X"$file" : 'X\(//\)[^/]' \| \
   22330 	 X"$file" : 'X\(//\)$' \| \
   22331 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   22332 echo X"$file" |
   22333     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22334 	    s//\1/
   22335 	    q
   22336 	  }
   22337 	  /^X\(\/\/\)[^/].*/{
   22338 	    s//\1/
   22339 	    q
   22340 	  }
   22341 	  /^X\(\/\/\)$/{
   22342 	    s//\1/
   22343 	    q
   22344 	  }
   22345 	  /^X\(\/\).*/{
   22346 	    s//\1/
   22347 	    q
   22348 	  }
   22349 	  s/.*/./; q'`
   22350     { as_dir=$dirpart/$fdir
   22351   case $as_dir in #(
   22352   -*) as_dir=./$as_dir;;
   22353   esac
   22354   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22355     as_dirs=
   22356     while :; do
   22357       case $as_dir in #(
   22358       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   22359       *) as_qdir=$as_dir;;
   22360       esac
   22361       as_dirs="'$as_qdir' $as_dirs"
   22362       as_dir=`$as_dirname -- "$as_dir" ||
   22363 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22364 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22365 	 X"$as_dir" : 'X\(//\)$' \| \
   22366 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22367 echo X"$as_dir" |
   22368     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22369 	    s//\1/
   22370 	    q
   22371 	  }
   22372 	  /^X\(\/\/\)[^/].*/{
   22373 	    s//\1/
   22374 	    q
   22375 	  }
   22376 	  /^X\(\/\/\)$/{
   22377 	    s//\1/
   22378 	    q
   22379 	  }
   22380 	  /^X\(\/\).*/{
   22381 	    s//\1/
   22382 	    q
   22383 	  }
   22384 	  s/.*/./; q'`
   22385       test -d "$as_dir" && break
   22386     done
   22387     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22388   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22389 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22390    { (exit 1); exit 1; }; }; }
   22391     # echo "creating $dirpart/$file"
   22392     echo '# dummy' > "$dirpart/$file"
   22393   done
   22394 done
   22395  ;;
   22396 
   22397   esac
   22398 done # for ac_tag
   22399 
   22400 
   22401 { (exit 0); exit 0; }
   22402 _ACEOF
   22403 chmod +x $CONFIG_STATUS
   22404 ac_clean_files=$ac_clean_files_save
   22405 
   22406 
   22407 # configure is writing to config.log, and then calls config.status.
   22408 # config.status does its own redirection, appending to config.log.
   22409 # Unfortunately, on DOS this fails, as config.log is still kept open
   22410 # by configure, so config.status won't be able to write to it; its
   22411 # output is simply discarded.  So we exec the FD to /dev/null,
   22412 # effectively closing config.log, so it can be properly (re)opened and
   22413 # appended to by config.status.  When coming back to configure, we
   22414 # need to make the FD available again.
   22415 if test "$no_create" != yes; then
   22416   ac_cs_success=:
   22417   ac_config_status_args=
   22418   test "$silent" = yes &&
   22419     ac_config_status_args="$ac_config_status_args --quiet"
   22420   exec 5>/dev/null
   22421   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22422   exec 5>>config.log
   22423   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22424   # would make configure fail if this is the last instruction.
   22425   $ac_cs_success || { (exit 1); exit 1; }
   22426 fi
   22427 
   22428