Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for libXxf86dga 1.0.2.
      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='libXxf86dga'
    730 PACKAGE_TARNAME='libXxf86dga'
    731 PACKAGE_VERSION='1.0.2'
    732 PACKAGE_STRING='libXxf86dga 1.0.2'
    733 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    734 
    735 # Factoring default headers for most tests.
    736 ac_includes_default="\
    737 #include <stdio.h>
    738 #ifdef HAVE_SYS_TYPES_H
    739 # include <sys/types.h>
    740 #endif
    741 #ifdef HAVE_SYS_STAT_H
    742 # include <sys/stat.h>
    743 #endif
    744 #ifdef STDC_HEADERS
    745 # include <stdlib.h>
    746 # include <stddef.h>
    747 #else
    748 # ifdef HAVE_STDLIB_H
    749 #  include <stdlib.h>
    750 # endif
    751 #endif
    752 #ifdef HAVE_STRING_H
    753 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    754 #  include <memory.h>
    755 # endif
    756 # include <string.h>
    757 #endif
    758 #ifdef HAVE_STRINGS_H
    759 # include <strings.h>
    760 #endif
    761 #ifdef HAVE_INTTYPES_H
    762 # include <inttypes.h>
    763 #endif
    764 #ifdef HAVE_STDINT_H
    765 # include <stdint.h>
    766 #endif
    767 #ifdef HAVE_UNISTD_H
    768 # include <unistd.h>
    769 #endif"
    770 
    771 ac_subst_vars='SHELL
    772 PATH_SEPARATOR
    773 PACKAGE_NAME
    774 PACKAGE_TARNAME
    775 PACKAGE_VERSION
    776 PACKAGE_STRING
    777 PACKAGE_BUGREPORT
    778 exec_prefix
    779 prefix
    780 program_transform_name
    781 bindir
    782 sbindir
    783 libexecdir
    784 datarootdir
    785 datadir
    786 sysconfdir
    787 sharedstatedir
    788 localstatedir
    789 includedir
    790 oldincludedir
    791 docdir
    792 infodir
    793 htmldir
    794 dvidir
    795 pdfdir
    796 psdir
    797 libdir
    798 localedir
    799 mandir
    800 DEFS
    801 ECHO_C
    802 ECHO_N
    803 ECHO_T
    804 LIBS
    805 build_alias
    806 host_alias
    807 target_alias
    808 INSTALL_PROGRAM
    809 INSTALL_SCRIPT
    810 INSTALL_DATA
    811 am__isrc
    812 CYGPATH_W
    813 PACKAGE
    814 VERSION
    815 ACLOCAL
    816 AUTOCONF
    817 AUTOMAKE
    818 AUTOHEADER
    819 MAKEINFO
    820 install_sh
    821 STRIP
    822 INSTALL_STRIP_PROGRAM
    823 mkdir_p
    824 AWK
    825 SET_MAKE
    826 am__leading_dot
    827 AMTAR
    828 am__tar
    829 am__untar
    830 MAINTAINER_MODE_TRUE
    831 MAINTAINER_MODE_FALSE
    832 MAINT
    833 CC
    834 CFLAGS
    835 LDFLAGS
    836 CPPFLAGS
    837 ac_ct_CC
    838 EXEEXT
    839 OBJEXT
    840 DEPDIR
    841 am__include
    842 am__quote
    843 AMDEP_TRUE
    844 AMDEP_FALSE
    845 AMDEPBACKSLASH
    846 CCDEPMODE
    847 am__fastdepCC_TRUE
    848 am__fastdepCC_FALSE
    849 build
    850 build_cpu
    851 build_vendor
    852 build_os
    853 host
    854 host_cpu
    855 host_vendor
    856 host_os
    857 GREP
    858 EGREP
    859 LN_S
    860 ECHO
    861 AR
    862 RANLIB
    863 CPP
    864 CXX
    865 CXXFLAGS
    866 ac_ct_CXX
    867 CXXDEPMODE
    868 am__fastdepCXX_TRUE
    869 am__fastdepCXX_FALSE
    870 CXXCPP
    871 F77
    872 FFLAGS
    873 ac_ct_F77
    874 LIBTOOL
    875 PKG_CONFIG
    876 XXF86DGA_CFLAGS
    877 XXF86DGA_LIBS
    878 MALLOC_ZERO_CFLAGS
    879 XMALLOC_ZERO_CFLAGS
    880 XTMALLOC_ZERO_CFLAGS
    881 APP_MAN_SUFFIX
    882 LIB_MAN_SUFFIX
    883 FILE_MAN_SUFFIX
    884 MISC_MAN_SUFFIX
    885 DRIVER_MAN_SUFFIX
    886 ADMIN_MAN_SUFFIX
    887 APP_MAN_DIR
    888 LIB_MAN_DIR
    889 FILE_MAN_DIR
    890 MISC_MAN_DIR
    891 DRIVER_MAN_DIR
    892 ADMIN_MAN_DIR
    893 LIBOBJS
    894 LTLIBOBJS'
    895 ac_subst_files=''
    896       ac_precious_vars='build_alias
    897 host_alias
    898 target_alias
    899 CC
    900 CFLAGS
    901 LDFLAGS
    902 LIBS
    903 CPPFLAGS
    904 CPP
    905 CXX
    906 CXXFLAGS
    907 CCC
    908 CXXCPP
    909 F77
    910 FFLAGS
    911 PKG_CONFIG
    912 XXF86DGA_CFLAGS
    913 XXF86DGA_LIBS'
    914 
    915 
    916 # Initialize some variables set by options.
    917 ac_init_help=
    918 ac_init_version=false
    919 # The variables have the same names as the options, with
    920 # dashes changed to underlines.
    921 cache_file=/dev/null
    922 exec_prefix=NONE
    923 no_create=
    924 no_recursion=
    925 prefix=NONE
    926 program_prefix=NONE
    927 program_suffix=NONE
    928 program_transform_name=s,x,x,
    929 silent=
    930 site=
    931 srcdir=
    932 verbose=
    933 x_includes=NONE
    934 x_libraries=NONE
    935 
    936 # Installation directory options.
    937 # These are left unexpanded so users can "make install exec_prefix=/foo"
    938 # and all the variables that are supposed to be based on exec_prefix
    939 # by default will actually change.
    940 # Use braces instead of parens because sh, perl, etc. also accept them.
    941 # (The list follows the same order as the GNU Coding Standards.)
    942 bindir='${exec_prefix}/bin'
    943 sbindir='${exec_prefix}/sbin'
    944 libexecdir='${exec_prefix}/libexec'
    945 datarootdir='${prefix}/share'
    946 datadir='${datarootdir}'
    947 sysconfdir='${prefix}/etc'
    948 sharedstatedir='${prefix}/com'
    949 localstatedir='${prefix}/var'
    950 includedir='${prefix}/include'
    951 oldincludedir='/usr/include'
    952 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    953 infodir='${datarootdir}/info'
    954 htmldir='${docdir}'
    955 dvidir='${docdir}'
    956 pdfdir='${docdir}'
    957 psdir='${docdir}'
    958 libdir='${exec_prefix}/lib'
    959 localedir='${datarootdir}/locale'
    960 mandir='${datarootdir}/man'
    961 
    962 ac_prev=
    963 ac_dashdash=
    964 for ac_option
    965 do
    966   # If the previous option needs an argument, assign it.
    967   if test -n "$ac_prev"; then
    968     eval $ac_prev=\$ac_option
    969     ac_prev=
    970     continue
    971   fi
    972 
    973   case $ac_option in
    974   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    975   *)	ac_optarg=yes ;;
    976   esac
    977 
    978   # Accept the important Cygnus configure options, so we can diagnose typos.
    979 
    980   case $ac_dashdash$ac_option in
    981   --)
    982     ac_dashdash=yes ;;
    983 
    984   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    985     ac_prev=bindir ;;
    986   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    987     bindir=$ac_optarg ;;
    988 
    989   -build | --build | --buil | --bui | --bu)
    990     ac_prev=build_alias ;;
    991   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    992     build_alias=$ac_optarg ;;
    993 
    994   -cache-file | --cache-file | --cache-fil | --cache-fi \
    995   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    996     ac_prev=cache_file ;;
    997   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    998   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    999     cache_file=$ac_optarg ;;
   1000 
   1001   --config-cache | -C)
   1002     cache_file=config.cache ;;
   1003 
   1004   -datadir | --datadir | --datadi | --datad)
   1005     ac_prev=datadir ;;
   1006   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1007     datadir=$ac_optarg ;;
   1008 
   1009   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1010   | --dataroo | --dataro | --datar)
   1011     ac_prev=datarootdir ;;
   1012   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1013   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1014     datarootdir=$ac_optarg ;;
   1015 
   1016   -disable-* | --disable-*)
   1017     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1018     # Reject names that are not valid shell variable names.
   1019     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1020       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1021    { (exit 1); exit 1; }; }
   1022     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1023     eval enable_$ac_feature=no ;;
   1024 
   1025   -docdir | --docdir | --docdi | --doc | --do)
   1026     ac_prev=docdir ;;
   1027   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1028     docdir=$ac_optarg ;;
   1029 
   1030   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1031     ac_prev=dvidir ;;
   1032   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1033     dvidir=$ac_optarg ;;
   1034 
   1035   -enable-* | --enable-*)
   1036     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1037     # Reject names that are not valid shell variable names.
   1038     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1039       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1040    { (exit 1); exit 1; }; }
   1041     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1042     eval enable_$ac_feature=\$ac_optarg ;;
   1043 
   1044   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1045   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1046   | --exec | --exe | --ex)
   1047     ac_prev=exec_prefix ;;
   1048   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1049   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1050   | --exec=* | --exe=* | --ex=*)
   1051     exec_prefix=$ac_optarg ;;
   1052 
   1053   -gas | --gas | --ga | --g)
   1054     # Obsolete; use --with-gas.
   1055     with_gas=yes ;;
   1056 
   1057   -help | --help | --hel | --he | -h)
   1058     ac_init_help=long ;;
   1059   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1060     ac_init_help=recursive ;;
   1061   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1062     ac_init_help=short ;;
   1063 
   1064   -host | --host | --hos | --ho)
   1065     ac_prev=host_alias ;;
   1066   -host=* | --host=* | --hos=* | --ho=*)
   1067     host_alias=$ac_optarg ;;
   1068 
   1069   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1070     ac_prev=htmldir ;;
   1071   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1072   | --ht=*)
   1073     htmldir=$ac_optarg ;;
   1074 
   1075   -includedir | --includedir | --includedi | --included | --include \
   1076   | --includ | --inclu | --incl | --inc)
   1077     ac_prev=includedir ;;
   1078   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1079   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1080     includedir=$ac_optarg ;;
   1081 
   1082   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1083     ac_prev=infodir ;;
   1084   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1085     infodir=$ac_optarg ;;
   1086 
   1087   -libdir | --libdir | --libdi | --libd)
   1088     ac_prev=libdir ;;
   1089   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1090     libdir=$ac_optarg ;;
   1091 
   1092   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1093   | --libexe | --libex | --libe)
   1094     ac_prev=libexecdir ;;
   1095   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1096   | --libexe=* | --libex=* | --libe=*)
   1097     libexecdir=$ac_optarg ;;
   1098 
   1099   -localedir | --localedir | --localedi | --localed | --locale)
   1100     ac_prev=localedir ;;
   1101   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1102     localedir=$ac_optarg ;;
   1103 
   1104   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1105   | --localstate | --localstat | --localsta | --localst | --locals)
   1106     ac_prev=localstatedir ;;
   1107   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1108   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1109     localstatedir=$ac_optarg ;;
   1110 
   1111   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1112     ac_prev=mandir ;;
   1113   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1114     mandir=$ac_optarg ;;
   1115 
   1116   -nfp | --nfp | --nf)
   1117     # Obsolete; use --without-fp.
   1118     with_fp=no ;;
   1119 
   1120   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1121   | --no-cr | --no-c | -n)
   1122     no_create=yes ;;
   1123 
   1124   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1125   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1126     no_recursion=yes ;;
   1127 
   1128   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1129   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1130   | --oldin | --oldi | --old | --ol | --o)
   1131     ac_prev=oldincludedir ;;
   1132   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1133   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1134   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1135     oldincludedir=$ac_optarg ;;
   1136 
   1137   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1138     ac_prev=prefix ;;
   1139   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1140     prefix=$ac_optarg ;;
   1141 
   1142   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1143   | --program-pre | --program-pr | --program-p)
   1144     ac_prev=program_prefix ;;
   1145   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1146   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1147     program_prefix=$ac_optarg ;;
   1148 
   1149   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1150   | --program-suf | --program-su | --program-s)
   1151     ac_prev=program_suffix ;;
   1152   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1153   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1154     program_suffix=$ac_optarg ;;
   1155 
   1156   -program-transform-name | --program-transform-name \
   1157   | --program-transform-nam | --program-transform-na \
   1158   | --program-transform-n | --program-transform- \
   1159   | --program-transform | --program-transfor \
   1160   | --program-transfo | --program-transf \
   1161   | --program-trans | --program-tran \
   1162   | --progr-tra | --program-tr | --program-t)
   1163     ac_prev=program_transform_name ;;
   1164   -program-transform-name=* | --program-transform-name=* \
   1165   | --program-transform-nam=* | --program-transform-na=* \
   1166   | --program-transform-n=* | --program-transform-=* \
   1167   | --program-transform=* | --program-transfor=* \
   1168   | --program-transfo=* | --program-transf=* \
   1169   | --program-trans=* | --program-tran=* \
   1170   | --progr-tra=* | --program-tr=* | --program-t=*)
   1171     program_transform_name=$ac_optarg ;;
   1172 
   1173   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1174     ac_prev=pdfdir ;;
   1175   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1176     pdfdir=$ac_optarg ;;
   1177 
   1178   -psdir | --psdir | --psdi | --psd | --ps)
   1179     ac_prev=psdir ;;
   1180   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1181     psdir=$ac_optarg ;;
   1182 
   1183   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1184   | -silent | --silent | --silen | --sile | --sil)
   1185     silent=yes ;;
   1186 
   1187   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1188     ac_prev=sbindir ;;
   1189   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1190   | --sbi=* | --sb=*)
   1191     sbindir=$ac_optarg ;;
   1192 
   1193   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1194   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1195   | --sharedst | --shareds | --shared | --share | --shar \
   1196   | --sha | --sh)
   1197     ac_prev=sharedstatedir ;;
   1198   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1199   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1200   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1201   | --sha=* | --sh=*)
   1202     sharedstatedir=$ac_optarg ;;
   1203 
   1204   -site | --site | --sit)
   1205     ac_prev=site ;;
   1206   -site=* | --site=* | --sit=*)
   1207     site=$ac_optarg ;;
   1208 
   1209   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1210     ac_prev=srcdir ;;
   1211   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1212     srcdir=$ac_optarg ;;
   1213 
   1214   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1215   | --syscon | --sysco | --sysc | --sys | --sy)
   1216     ac_prev=sysconfdir ;;
   1217   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1218   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1219     sysconfdir=$ac_optarg ;;
   1220 
   1221   -target | --target | --targe | --targ | --tar | --ta | --t)
   1222     ac_prev=target_alias ;;
   1223   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1224     target_alias=$ac_optarg ;;
   1225 
   1226   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1227     verbose=yes ;;
   1228 
   1229   -version | --version | --versio | --versi | --vers | -V)
   1230     ac_init_version=: ;;
   1231 
   1232   -with-* | --with-*)
   1233     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1234     # Reject names that are not valid shell variable names.
   1235     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1236       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1237    { (exit 1); exit 1; }; }
   1238     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1239     eval with_$ac_package=\$ac_optarg ;;
   1240 
   1241   -without-* | --without-*)
   1242     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1243     # Reject names that are not valid shell variable names.
   1244     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1245       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1246    { (exit 1); exit 1; }; }
   1247     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1248     eval with_$ac_package=no ;;
   1249 
   1250   --x)
   1251     # Obsolete; use --with-x.
   1252     with_x=yes ;;
   1253 
   1254   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1255   | --x-incl | --x-inc | --x-in | --x-i)
   1256     ac_prev=x_includes ;;
   1257   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1258   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1259     x_includes=$ac_optarg ;;
   1260 
   1261   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1262   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1263     ac_prev=x_libraries ;;
   1264   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1265   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1266     x_libraries=$ac_optarg ;;
   1267 
   1268   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1269 Try \`$0 --help' for more information." >&2
   1270    { (exit 1); exit 1; }; }
   1271     ;;
   1272 
   1273   *=*)
   1274     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1275     # Reject names that are not valid shell variable names.
   1276     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1277       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1278    { (exit 1); exit 1; }; }
   1279     eval $ac_envvar=\$ac_optarg
   1280     export $ac_envvar ;;
   1281 
   1282   *)
   1283     # FIXME: should be removed in autoconf 3.0.
   1284     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1285     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1286       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1287     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1288     ;;
   1289 
   1290   esac
   1291 done
   1292 
   1293 if test -n "$ac_prev"; then
   1294   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1295   { echo "$as_me: error: missing argument to $ac_option" >&2
   1296    { (exit 1); exit 1; }; }
   1297 fi
   1298 
   1299 # Be sure to have absolute directory names.
   1300 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1301 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1302 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1303 		libdir localedir mandir
   1304 do
   1305   eval ac_val=\$$ac_var
   1306   case $ac_val in
   1307     [\\/$]* | ?:[\\/]* )  continue;;
   1308     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1309   esac
   1310   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1311    { (exit 1); exit 1; }; }
   1312 done
   1313 
   1314 # There might be people who depend on the old broken behavior: `$host'
   1315 # used to hold the argument of --host etc.
   1316 # FIXME: To remove some day.
   1317 build=$build_alias
   1318 host=$host_alias
   1319 target=$target_alias
   1320 
   1321 # FIXME: To remove some day.
   1322 if test "x$host_alias" != x; then
   1323   if test "x$build_alias" = x; then
   1324     cross_compiling=maybe
   1325     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1326     If a cross compiler is detected then cross compile mode will be used." >&2
   1327   elif test "x$build_alias" != "x$host_alias"; then
   1328     cross_compiling=yes
   1329   fi
   1330 fi
   1331 
   1332 ac_tool_prefix=
   1333 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1334 
   1335 test "$silent" = yes && exec 6>/dev/null
   1336 
   1337 
   1338 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1339 ac_ls_di=`ls -di .` &&
   1340 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1341   { echo "$as_me: error: Working directory cannot be determined" >&2
   1342    { (exit 1); exit 1; }; }
   1343 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1344   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1345    { (exit 1); exit 1; }; }
   1346 
   1347 
   1348 # Find the source files, if location was not specified.
   1349 if test -z "$srcdir"; then
   1350   ac_srcdir_defaulted=yes
   1351   # Try the directory containing this script, then the parent directory.
   1352   ac_confdir=`$as_dirname -- "$0" ||
   1353 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1354 	 X"$0" : 'X\(//\)[^/]' \| \
   1355 	 X"$0" : 'X\(//\)$' \| \
   1356 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1357 echo X"$0" |
   1358     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1359 	    s//\1/
   1360 	    q
   1361 	  }
   1362 	  /^X\(\/\/\)[^/].*/{
   1363 	    s//\1/
   1364 	    q
   1365 	  }
   1366 	  /^X\(\/\/\)$/{
   1367 	    s//\1/
   1368 	    q
   1369 	  }
   1370 	  /^X\(\/\).*/{
   1371 	    s//\1/
   1372 	    q
   1373 	  }
   1374 	  s/.*/./; q'`
   1375   srcdir=$ac_confdir
   1376   if test ! -r "$srcdir/$ac_unique_file"; then
   1377     srcdir=..
   1378   fi
   1379 else
   1380   ac_srcdir_defaulted=no
   1381 fi
   1382 if test ! -r "$srcdir/$ac_unique_file"; then
   1383   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1384   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1385    { (exit 1); exit 1; }; }
   1386 fi
   1387 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1388 ac_abs_confdir=`(
   1389 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1390    { (exit 1); exit 1; }; }
   1391 	pwd)`
   1392 # When building in place, set srcdir=.
   1393 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1394   srcdir=.
   1395 fi
   1396 # Remove unnecessary trailing slashes from srcdir.
   1397 # Double slashes in file names in object file debugging info
   1398 # mess up M-x gdb in Emacs.
   1399 case $srcdir in
   1400 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1401 esac
   1402 for ac_var in $ac_precious_vars; do
   1403   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1404   eval ac_env_${ac_var}_value=\$${ac_var}
   1405   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1406   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1407 done
   1408 
   1409 #
   1410 # Report the --help message.
   1411 #
   1412 if test "$ac_init_help" = "long"; then
   1413   # Omit some internal or obsolete options to make the list less imposing.
   1414   # This message is too long to be a string in the A/UX 3.1 sh.
   1415   cat <<_ACEOF
   1416 \`configure' configures libXxf86dga 1.0.2 to adapt to many kinds of systems.
   1417 
   1418 Usage: $0 [OPTION]... [VAR=VALUE]...
   1419 
   1420 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1421 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1422 
   1423 Defaults for the options are specified in brackets.
   1424 
   1425 Configuration:
   1426   -h, --help              display this help and exit
   1427       --help=short        display options specific to this package
   1428       --help=recursive    display the short help of all the included packages
   1429   -V, --version           display version information and exit
   1430   -q, --quiet, --silent   do not print \`checking...' messages
   1431       --cache-file=FILE   cache test results in FILE [disabled]
   1432   -C, --config-cache      alias for \`--cache-file=config.cache'
   1433   -n, --no-create         do not create output files
   1434       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1435 
   1436 Installation directories:
   1437   --prefix=PREFIX         install architecture-independent files in PREFIX
   1438 			  [$ac_default_prefix]
   1439   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1440 			  [PREFIX]
   1441 
   1442 By default, \`make install' will install all the files in
   1443 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1444 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1445 for instance \`--prefix=\$HOME'.
   1446 
   1447 For better control, use the options below.
   1448 
   1449 Fine tuning of the installation directories:
   1450   --bindir=DIR           user executables [EPREFIX/bin]
   1451   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1452   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1453   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1454   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1455   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1456   --libdir=DIR           object code libraries [EPREFIX/lib]
   1457   --includedir=DIR       C header files [PREFIX/include]
   1458   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1459   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1460   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1461   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1462   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1463   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1464   --docdir=DIR           documentation root [DATAROOTDIR/doc/libXxf86dga]
   1465   --htmldir=DIR          html documentation [DOCDIR]
   1466   --dvidir=DIR           dvi documentation [DOCDIR]
   1467   --pdfdir=DIR           pdf documentation [DOCDIR]
   1468   --psdir=DIR            ps documentation [DOCDIR]
   1469 _ACEOF
   1470 
   1471   cat <<\_ACEOF
   1472 
   1473 Program names:
   1474   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1475   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1476   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1477 
   1478 System types:
   1479   --build=BUILD     configure for building on BUILD [guessed]
   1480   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1481 _ACEOF
   1482 fi
   1483 
   1484 if test -n "$ac_init_help"; then
   1485   case $ac_init_help in
   1486      short | recursive ) echo "Configuration of libXxf86dga 1.0.2:";;
   1487    esac
   1488   cat <<\_ACEOF
   1489 
   1490 Optional Features:
   1491   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1492   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1493   --enable-maintainer-mode  enable make rules and dependencies not useful
   1494 			  (and sometimes confusing) to the casual installer
   1495   --disable-dependency-tracking  speeds up one-time build
   1496   --enable-dependency-tracking   do not reject slow dependency extractors
   1497   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1498   --enable-static[=PKGS]  build static libraries [default=yes]
   1499   --enable-fast-install[=PKGS]
   1500                           optimize for fast installation [default=yes]
   1501   --disable-libtool-lock  avoid locking (might break parallel builds)
   1502   --enable-malloc0returnsnull
   1503                           malloc(0) returns NULL (default: auto)
   1504 
   1505 Optional Packages:
   1506   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1507   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1508   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1509   --with-pic              try to use only PIC/non-PIC objects [default=use
   1510                           both]
   1511   --with-tags[=TAGS]      include additional configurations [automatic]
   1512   --with-release-version=STRING
   1513                           Use release version string in package name
   1514 
   1515 Some influential environment variables:
   1516   CC          C compiler command
   1517   CFLAGS      C compiler flags
   1518   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1519               nonstandard directory <lib dir>
   1520   LIBS        libraries to pass to the linker, e.g. -l<library>
   1521   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1522               you have headers in a nonstandard directory <include dir>
   1523   CPP         C preprocessor
   1524   CXX         C++ compiler command
   1525   CXXFLAGS    C++ compiler flags
   1526   CXXCPP      C++ preprocessor
   1527   F77         Fortran 77 compiler command
   1528   FFLAGS      Fortran 77 compiler flags
   1529   PKG_CONFIG  path to pkg-config utility
   1530   XXF86DGA_CFLAGS
   1531               C compiler flags for XXF86DGA, overriding pkg-config
   1532   XXF86DGA_LIBS
   1533               linker flags for XXF86DGA, overriding pkg-config
   1534 
   1535 Use these variables to override the choices made by `configure' or to help
   1536 it to find libraries and programs with nonstandard names/locations.
   1537 
   1538 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1539 _ACEOF
   1540 ac_status=$?
   1541 fi
   1542 
   1543 if test "$ac_init_help" = "recursive"; then
   1544   # If there are subdirs, report their specific --help.
   1545   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1546     test -d "$ac_dir" || continue
   1547     ac_builddir=.
   1548 
   1549 case "$ac_dir" in
   1550 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1551 *)
   1552   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1553   # A ".." for each directory in $ac_dir_suffix.
   1554   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1555   case $ac_top_builddir_sub in
   1556   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1557   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1558   esac ;;
   1559 esac
   1560 ac_abs_top_builddir=$ac_pwd
   1561 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1562 # for backward compatibility:
   1563 ac_top_builddir=$ac_top_build_prefix
   1564 
   1565 case $srcdir in
   1566   .)  # We are building in place.
   1567     ac_srcdir=.
   1568     ac_top_srcdir=$ac_top_builddir_sub
   1569     ac_abs_top_srcdir=$ac_pwd ;;
   1570   [\\/]* | ?:[\\/]* )  # Absolute name.
   1571     ac_srcdir=$srcdir$ac_dir_suffix;
   1572     ac_top_srcdir=$srcdir
   1573     ac_abs_top_srcdir=$srcdir ;;
   1574   *) # Relative name.
   1575     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1576     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1577     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1578 esac
   1579 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1580 
   1581     cd "$ac_dir" || { ac_status=$?; continue; }
   1582     # Check for guested configure.
   1583     if test -f "$ac_srcdir/configure.gnu"; then
   1584       echo &&
   1585       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1586     elif test -f "$ac_srcdir/configure"; then
   1587       echo &&
   1588       $SHELL "$ac_srcdir/configure" --help=recursive
   1589     else
   1590       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1591     fi || ac_status=$?
   1592     cd "$ac_pwd" || { ac_status=$?; break; }
   1593   done
   1594 fi
   1595 
   1596 test -n "$ac_init_help" && exit $ac_status
   1597 if $ac_init_version; then
   1598   cat <<\_ACEOF
   1599 libXxf86dga configure 1.0.2
   1600 generated by GNU Autoconf 2.61
   1601 
   1602 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1603 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1604 This configure script is free software; the Free Software Foundation
   1605 gives unlimited permission to copy, distribute and modify it.
   1606 _ACEOF
   1607   exit
   1608 fi
   1609 cat >config.log <<_ACEOF
   1610 This file contains any messages produced by compilers while
   1611 running configure, to aid debugging if configure makes a mistake.
   1612 
   1613 It was created by libXxf86dga $as_me 1.0.2, which was
   1614 generated by GNU Autoconf 2.61.  Invocation command line was
   1615 
   1616   $ $0 $@
   1617 
   1618 _ACEOF
   1619 exec 5>>config.log
   1620 {
   1621 cat <<_ASUNAME
   1622 ## --------- ##
   1623 ## Platform. ##
   1624 ## --------- ##
   1625 
   1626 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1627 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1628 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1629 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1630 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1631 
   1632 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1633 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1634 
   1635 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1636 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1637 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1638 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1639 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1640 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1641 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1642 
   1643 _ASUNAME
   1644 
   1645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1646 for as_dir in $PATH
   1647 do
   1648   IFS=$as_save_IFS
   1649   test -z "$as_dir" && as_dir=.
   1650   echo "PATH: $as_dir"
   1651 done
   1652 IFS=$as_save_IFS
   1653 
   1654 } >&5
   1655 
   1656 cat >&5 <<_ACEOF
   1657 
   1658 
   1659 ## ----------- ##
   1660 ## Core tests. ##
   1661 ## ----------- ##
   1662 
   1663 _ACEOF
   1664 
   1665 
   1666 # Keep a trace of the command line.
   1667 # Strip out --no-create and --no-recursion so they do not pile up.
   1668 # Strip out --silent because we don't want to record it for future runs.
   1669 # Also quote any args containing shell meta-characters.
   1670 # Make two passes to allow for proper duplicate-argument suppression.
   1671 ac_configure_args=
   1672 ac_configure_args0=
   1673 ac_configure_args1=
   1674 ac_must_keep_next=false
   1675 for ac_pass in 1 2
   1676 do
   1677   for ac_arg
   1678   do
   1679     case $ac_arg in
   1680     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1681     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1682     | -silent | --silent | --silen | --sile | --sil)
   1683       continue ;;
   1684     *\'*)
   1685       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1686     esac
   1687     case $ac_pass in
   1688     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1689     2)
   1690       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1691       if test $ac_must_keep_next = true; then
   1692 	ac_must_keep_next=false # Got value, back to normal.
   1693       else
   1694 	case $ac_arg in
   1695 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1696 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1697 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1698 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1699 	    case "$ac_configure_args0 " in
   1700 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1701 	    esac
   1702 	    ;;
   1703 	  -* ) ac_must_keep_next=true ;;
   1704 	esac
   1705       fi
   1706       ac_configure_args="$ac_configure_args '$ac_arg'"
   1707       ;;
   1708     esac
   1709   done
   1710 done
   1711 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1712 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1713 
   1714 # When interrupted or exit'd, cleanup temporary files, and complete
   1715 # config.log.  We remove comments because anyway the quotes in there
   1716 # would cause problems or look ugly.
   1717 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1718 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1719 trap 'exit_status=$?
   1720   # Save into config.log some information that might help in debugging.
   1721   {
   1722     echo
   1723 
   1724     cat <<\_ASBOX
   1725 ## ---------------- ##
   1726 ## Cache variables. ##
   1727 ## ---------------- ##
   1728 _ASBOX
   1729     echo
   1730     # The following way of writing the cache mishandles newlines in values,
   1731 (
   1732   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1733     eval ac_val=\$$ac_var
   1734     case $ac_val in #(
   1735     *${as_nl}*)
   1736       case $ac_var in #(
   1737       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1738 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1739       esac
   1740       case $ac_var in #(
   1741       _ | IFS | as_nl) ;; #(
   1742       *) $as_unset $ac_var ;;
   1743       esac ;;
   1744     esac
   1745   done
   1746   (set) 2>&1 |
   1747     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1748     *${as_nl}ac_space=\ *)
   1749       sed -n \
   1750 	"s/'\''/'\''\\\\'\'''\''/g;
   1751 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1752       ;; #(
   1753     *)
   1754       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1755       ;;
   1756     esac |
   1757     sort
   1758 )
   1759     echo
   1760 
   1761     cat <<\_ASBOX
   1762 ## ----------------- ##
   1763 ## Output variables. ##
   1764 ## ----------------- ##
   1765 _ASBOX
   1766     echo
   1767     for ac_var in $ac_subst_vars
   1768     do
   1769       eval ac_val=\$$ac_var
   1770       case $ac_val in
   1771       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1772       esac
   1773       echo "$ac_var='\''$ac_val'\''"
   1774     done | sort
   1775     echo
   1776 
   1777     if test -n "$ac_subst_files"; then
   1778       cat <<\_ASBOX
   1779 ## ------------------- ##
   1780 ## File substitutions. ##
   1781 ## ------------------- ##
   1782 _ASBOX
   1783       echo
   1784       for ac_var in $ac_subst_files
   1785       do
   1786 	eval ac_val=\$$ac_var
   1787 	case $ac_val in
   1788 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1789 	esac
   1790 	echo "$ac_var='\''$ac_val'\''"
   1791       done | sort
   1792       echo
   1793     fi
   1794 
   1795     if test -s confdefs.h; then
   1796       cat <<\_ASBOX
   1797 ## ----------- ##
   1798 ## confdefs.h. ##
   1799 ## ----------- ##
   1800 _ASBOX
   1801       echo
   1802       cat confdefs.h
   1803       echo
   1804     fi
   1805     test "$ac_signal" != 0 &&
   1806       echo "$as_me: caught signal $ac_signal"
   1807     echo "$as_me: exit $exit_status"
   1808   } >&5
   1809   rm -f core *.core core.conftest.* &&
   1810     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1811     exit $exit_status
   1812 ' 0
   1813 for ac_signal in 1 2 13 15; do
   1814   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1815 done
   1816 ac_signal=0
   1817 
   1818 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1819 rm -f -r conftest* confdefs.h
   1820 
   1821 # Predefined preprocessor variables.
   1822 
   1823 cat >>confdefs.h <<_ACEOF
   1824 #define PACKAGE_NAME "$PACKAGE_NAME"
   1825 _ACEOF
   1826 
   1827 
   1828 cat >>confdefs.h <<_ACEOF
   1829 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1830 _ACEOF
   1831 
   1832 
   1833 cat >>confdefs.h <<_ACEOF
   1834 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1835 _ACEOF
   1836 
   1837 
   1838 cat >>confdefs.h <<_ACEOF
   1839 #define PACKAGE_STRING "$PACKAGE_STRING"
   1840 _ACEOF
   1841 
   1842 
   1843 cat >>confdefs.h <<_ACEOF
   1844 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1845 _ACEOF
   1846 
   1847 
   1848 # Let the site file select an alternate cache file if it wants to.
   1849 # Prefer explicitly selected file to automatically selected ones.
   1850 if test -n "$CONFIG_SITE"; then
   1851   set x "$CONFIG_SITE"
   1852 elif test "x$prefix" != xNONE; then
   1853   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1854 else
   1855   set x "$ac_default_prefix/share/config.site" \
   1856 	"$ac_default_prefix/etc/config.site"
   1857 fi
   1858 shift
   1859 for ac_site_file
   1860 do
   1861   if test -r "$ac_site_file"; then
   1862     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1863 echo "$as_me: loading site script $ac_site_file" >&6;}
   1864     sed 's/^/| /' "$ac_site_file" >&5
   1865     . "$ac_site_file"
   1866   fi
   1867 done
   1868 
   1869 if test -r "$cache_file"; then
   1870   # Some versions of bash will fail to source /dev/null (special
   1871   # files actually), so we avoid doing that.
   1872   if test -f "$cache_file"; then
   1873     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1874 echo "$as_me: loading cache $cache_file" >&6;}
   1875     case $cache_file in
   1876       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1877       *)                      . "./$cache_file";;
   1878     esac
   1879   fi
   1880 else
   1881   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1882 echo "$as_me: creating cache $cache_file" >&6;}
   1883   >$cache_file
   1884 fi
   1885 
   1886 # Check that the precious variables saved in the cache have kept the same
   1887 # value.
   1888 ac_cache_corrupted=false
   1889 for ac_var in $ac_precious_vars; do
   1890   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1891   eval ac_new_set=\$ac_env_${ac_var}_set
   1892   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1893   eval ac_new_val=\$ac_env_${ac_var}_value
   1894   case $ac_old_set,$ac_new_set in
   1895     set,)
   1896       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1897 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1898       ac_cache_corrupted=: ;;
   1899     ,set)
   1900       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1901 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1902       ac_cache_corrupted=: ;;
   1903     ,);;
   1904     *)
   1905       if test "x$ac_old_val" != "x$ac_new_val"; then
   1906 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1907 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1908 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1909 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1910 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1911 echo "$as_me:   current value: $ac_new_val" >&2;}
   1912 	ac_cache_corrupted=:
   1913       fi;;
   1914   esac
   1915   # Pass precious variables to config.status.
   1916   if test "$ac_new_set" = set; then
   1917     case $ac_new_val in
   1918     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1919     *) ac_arg=$ac_var=$ac_new_val ;;
   1920     esac
   1921     case " $ac_configure_args " in
   1922       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1923       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1924     esac
   1925   fi
   1926 done
   1927 if $ac_cache_corrupted; then
   1928   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1929 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1930   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1931 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1932    { (exit 1); exit 1; }; }
   1933 fi
   1934 
   1935 
   1936 
   1937 
   1938 
   1939 
   1940 
   1941 
   1942 
   1943 
   1944 
   1945 
   1946 
   1947 
   1948 
   1949 
   1950 
   1951 
   1952 
   1953 
   1954 
   1955 
   1956 
   1957 
   1958 
   1959 ac_ext=c
   1960 ac_cpp='$CPP $CPPFLAGS'
   1961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1964 
   1965 
   1966 am__api_version='1.10'
   1967 
   1968 ac_aux_dir=
   1969 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   1970   if test -f "$ac_dir/install-sh"; then
   1971     ac_aux_dir=$ac_dir
   1972     ac_install_sh="$ac_aux_dir/install-sh -c"
   1973     break
   1974   elif test -f "$ac_dir/install.sh"; then
   1975     ac_aux_dir=$ac_dir
   1976     ac_install_sh="$ac_aux_dir/install.sh -c"
   1977     break
   1978   elif test -f "$ac_dir/shtool"; then
   1979     ac_aux_dir=$ac_dir
   1980     ac_install_sh="$ac_aux_dir/shtool install -c"
   1981     break
   1982   fi
   1983 done
   1984 if test -z "$ac_aux_dir"; then
   1985   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   1986 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   1987    { (exit 1); exit 1; }; }
   1988 fi
   1989 
   1990 # These three variables are undocumented and unsupported,
   1991 # and are intended to be withdrawn in a future Autoconf release.
   1992 # They can cause serious problems if a builder's source tree is in a directory
   1993 # whose full name contains unusual characters.
   1994 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   1995 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   1996 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   1997 
   1998 
   1999 # Find a good install program.  We prefer a C program (faster),
   2000 # so one script is as good as another.  But avoid the broken or
   2001 # incompatible versions:
   2002 # SysV /etc/install, /usr/sbin/install
   2003 # SunOS /usr/etc/install
   2004 # IRIX /sbin/install
   2005 # AIX /bin/install
   2006 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2007 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2008 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2009 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2010 # OS/2's system install, which has a completely different semantic
   2011 # ./install, which can be erroneously created by make from ./install.sh.
   2012 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2013 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2014 if test -z "$INSTALL"; then
   2015 if test "${ac_cv_path_install+set}" = set; then
   2016   echo $ECHO_N "(cached) $ECHO_C" >&6
   2017 else
   2018   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2019 for as_dir in $PATH
   2020 do
   2021   IFS=$as_save_IFS
   2022   test -z "$as_dir" && as_dir=.
   2023   # Account for people who put trailing slashes in PATH elements.
   2024 case $as_dir/ in
   2025   ./ | .// | /cC/* | \
   2026   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2027   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2028   /usr/ucb/* ) ;;
   2029   *)
   2030     # OSF1 and SCO ODT 3.0 have their own names for install.
   2031     # Don't use installbsd from OSF since it installs stuff as root
   2032     # by default.
   2033     for ac_prog in ginstall scoinst install; do
   2034       for ac_exec_ext in '' $ac_executable_extensions; do
   2035 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2036 	  if test $ac_prog = install &&
   2037 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2038 	    # AIX install.  It has an incompatible calling convention.
   2039 	    :
   2040 	  elif test $ac_prog = install &&
   2041 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2042 	    # program-specific install script used by HP pwplus--don't use.
   2043 	    :
   2044 	  else
   2045 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2046 	    break 3
   2047 	  fi
   2048 	fi
   2049       done
   2050     done
   2051     ;;
   2052 esac
   2053 done
   2054 IFS=$as_save_IFS
   2055 
   2056 
   2057 fi
   2058   if test "${ac_cv_path_install+set}" = set; then
   2059     INSTALL=$ac_cv_path_install
   2060   else
   2061     # As a last resort, use the slow shell script.  Don't cache a
   2062     # value for INSTALL within a source directory, because that will
   2063     # break other packages using the cache if that directory is
   2064     # removed, or if the value is a relative name.
   2065     INSTALL=$ac_install_sh
   2066   fi
   2067 fi
   2068 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2069 echo "${ECHO_T}$INSTALL" >&6; }
   2070 
   2071 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2072 # It thinks the first close brace ends the variable substitution.
   2073 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2074 
   2075 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2076 
   2077 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2078 
   2079 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2080 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2081 # Just in case
   2082 sleep 1
   2083 echo timestamp > conftest.file
   2084 # Do `set' in a subshell so we don't clobber the current shell's
   2085 # arguments.  Must try -L first in case configure is actually a
   2086 # symlink; some systems play weird games with the mod time of symlinks
   2087 # (eg FreeBSD returns the mod time of the symlink's containing
   2088 # directory).
   2089 if (
   2090    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2091    if test "$*" = "X"; then
   2092       # -L didn't work.
   2093       set X `ls -t $srcdir/configure conftest.file`
   2094    fi
   2095    rm -f conftest.file
   2096    if test "$*" != "X $srcdir/configure conftest.file" \
   2097       && test "$*" != "X conftest.file $srcdir/configure"; then
   2098 
   2099       # If neither matched, then we have a broken ls.  This can happen
   2100       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2101       # broken ls alias from the environment.  This has actually
   2102       # happened.  Such a system could not be considered "sane".
   2103       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2104 alias in your environment" >&5
   2105 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2106 alias in your environment" >&2;}
   2107    { (exit 1); exit 1; }; }
   2108    fi
   2109 
   2110    test "$2" = conftest.file
   2111    )
   2112 then
   2113    # Ok.
   2114    :
   2115 else
   2116    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2117 Check your system clock" >&5
   2118 echo "$as_me: error: newly created file is older than distributed files!
   2119 Check your system clock" >&2;}
   2120    { (exit 1); exit 1; }; }
   2121 fi
   2122 { echo "$as_me:$LINENO: result: yes" >&5
   2123 echo "${ECHO_T}yes" >&6; }
   2124 test "$program_prefix" != NONE &&
   2125   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2126 # Use a double $ so make ignores it.
   2127 test "$program_suffix" != NONE &&
   2128   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2129 # Double any \ or $.  echo might interpret backslashes.
   2130 # By default was `s,x,x', remove it if useless.
   2131 cat <<\_ACEOF >conftest.sed
   2132 s/[\\$]/&&/g;s/;s,x,x,$//
   2133 _ACEOF
   2134 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2135 rm -f conftest.sed
   2136 
   2137 # expand $ac_aux_dir to an absolute path
   2138 am_aux_dir=`cd $ac_aux_dir && pwd`
   2139 
   2140 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2141 # Use eval to expand $SHELL
   2142 if eval "$MISSING --run true"; then
   2143   am_missing_run="$MISSING --run "
   2144 else
   2145   am_missing_run=
   2146   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2147 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2148 fi
   2149 
   2150 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2151 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2152 if test -z "$MKDIR_P"; then
   2153   if test "${ac_cv_path_mkdir+set}" = set; then
   2154   echo $ECHO_N "(cached) $ECHO_C" >&6
   2155 else
   2156   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2157 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2158 do
   2159   IFS=$as_save_IFS
   2160   test -z "$as_dir" && as_dir=.
   2161   for ac_prog in mkdir gmkdir; do
   2162 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2163 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2164 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2165 	     'mkdir (GNU coreutils) '* | \
   2166 	     'mkdir (coreutils) '* | \
   2167 	     'mkdir (fileutils) '4.1*)
   2168 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2169 	       break 3;;
   2170 	   esac
   2171 	 done
   2172        done
   2173 done
   2174 IFS=$as_save_IFS
   2175 
   2176 fi
   2177 
   2178   if test "${ac_cv_path_mkdir+set}" = set; then
   2179     MKDIR_P="$ac_cv_path_mkdir -p"
   2180   else
   2181     # As a last resort, use the slow shell script.  Don't cache a
   2182     # value for MKDIR_P within a source directory, because that will
   2183     # break other packages using the cache if that directory is
   2184     # removed, or if the value is a relative name.
   2185     test -d ./--version && rmdir ./--version
   2186     MKDIR_P="$ac_install_sh -d"
   2187   fi
   2188 fi
   2189 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2190 echo "${ECHO_T}$MKDIR_P" >&6; }
   2191 
   2192 mkdir_p="$MKDIR_P"
   2193 case $mkdir_p in
   2194   [\\/$]* | ?:[\\/]*) ;;
   2195   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2196 esac
   2197 
   2198 for ac_prog in gawk mawk nawk awk
   2199 do
   2200   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2201 set dummy $ac_prog; ac_word=$2
   2202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2204 if test "${ac_cv_prog_AWK+set}" = set; then
   2205   echo $ECHO_N "(cached) $ECHO_C" >&6
   2206 else
   2207   if test -n "$AWK"; then
   2208   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2209 else
   2210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2211 for as_dir in $PATH
   2212 do
   2213   IFS=$as_save_IFS
   2214   test -z "$as_dir" && as_dir=.
   2215   for ac_exec_ext in '' $ac_executable_extensions; do
   2216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2217     ac_cv_prog_AWK="$ac_prog"
   2218     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2219     break 2
   2220   fi
   2221 done
   2222 done
   2223 IFS=$as_save_IFS
   2224 
   2225 fi
   2226 fi
   2227 AWK=$ac_cv_prog_AWK
   2228 if test -n "$AWK"; then
   2229   { echo "$as_me:$LINENO: result: $AWK" >&5
   2230 echo "${ECHO_T}$AWK" >&6; }
   2231 else
   2232   { echo "$as_me:$LINENO: result: no" >&5
   2233 echo "${ECHO_T}no" >&6; }
   2234 fi
   2235 
   2236 
   2237   test -n "$AWK" && break
   2238 done
   2239 
   2240 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2241 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2242 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2243 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2244   echo $ECHO_N "(cached) $ECHO_C" >&6
   2245 else
   2246   cat >conftest.make <<\_ACEOF
   2247 SHELL = /bin/sh
   2248 all:
   2249 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2250 _ACEOF
   2251 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2252 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2253   *@@@%%%=?*=@@@%%%*)
   2254     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2255   *)
   2256     eval ac_cv_prog_make_${ac_make}_set=no;;
   2257 esac
   2258 rm -f conftest.make
   2259 fi
   2260 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2261   { echo "$as_me:$LINENO: result: yes" >&5
   2262 echo "${ECHO_T}yes" >&6; }
   2263   SET_MAKE=
   2264 else
   2265   { echo "$as_me:$LINENO: result: no" >&5
   2266 echo "${ECHO_T}no" >&6; }
   2267   SET_MAKE="MAKE=${MAKE-make}"
   2268 fi
   2269 
   2270 rm -rf .tst 2>/dev/null
   2271 mkdir .tst 2>/dev/null
   2272 if test -d .tst; then
   2273   am__leading_dot=.
   2274 else
   2275   am__leading_dot=_
   2276 fi
   2277 rmdir .tst 2>/dev/null
   2278 
   2279 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2280   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2281   # is not polluted with repeated "-I."
   2282   am__isrc=' -I$(srcdir)'
   2283   # test to see if srcdir already configured
   2284   if test -f $srcdir/config.status; then
   2285     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2286 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2287    { (exit 1); exit 1; }; }
   2288   fi
   2289 fi
   2290 
   2291 # test whether we have cygpath
   2292 if test -z "$CYGPATH_W"; then
   2293   if (cygpath --version) >/dev/null 2>/dev/null; then
   2294     CYGPATH_W='cygpath -w'
   2295   else
   2296     CYGPATH_W=echo
   2297   fi
   2298 fi
   2299 
   2300 
   2301 # Define the identity of the package.
   2302  PACKAGE='libXxf86dga'
   2303  VERSION='1.0.2'
   2304 
   2305 
   2306 cat >>confdefs.h <<_ACEOF
   2307 #define PACKAGE "$PACKAGE"
   2308 _ACEOF
   2309 
   2310 
   2311 cat >>confdefs.h <<_ACEOF
   2312 #define VERSION "$VERSION"
   2313 _ACEOF
   2314 
   2315 # Some tools Automake needs.
   2316 
   2317 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2318 
   2319 
   2320 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2321 
   2322 
   2323 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2324 
   2325 
   2326 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2327 
   2328 
   2329 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2330 
   2331 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2332 
   2333 # Installed binaries are usually stripped using `strip' when the user
   2334 # run `make install-strip'.  However `strip' might not be the right
   2335 # tool to use in cross-compilation environments, therefore Automake
   2336 # will honor the `STRIP' environment variable to overrule this program.
   2337 if test "$cross_compiling" != no; then
   2338   if test -n "$ac_tool_prefix"; then
   2339   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2340 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2343 if test "${ac_cv_prog_STRIP+set}" = set; then
   2344   echo $ECHO_N "(cached) $ECHO_C" >&6
   2345 else
   2346   if test -n "$STRIP"; then
   2347   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2348 else
   2349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2350 for as_dir in $PATH
   2351 do
   2352   IFS=$as_save_IFS
   2353   test -z "$as_dir" && as_dir=.
   2354   for ac_exec_ext in '' $ac_executable_extensions; do
   2355   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2356     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2357     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2358     break 2
   2359   fi
   2360 done
   2361 done
   2362 IFS=$as_save_IFS
   2363 
   2364 fi
   2365 fi
   2366 STRIP=$ac_cv_prog_STRIP
   2367 if test -n "$STRIP"; then
   2368   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2369 echo "${ECHO_T}$STRIP" >&6; }
   2370 else
   2371   { echo "$as_me:$LINENO: result: no" >&5
   2372 echo "${ECHO_T}no" >&6; }
   2373 fi
   2374 
   2375 
   2376 fi
   2377 if test -z "$ac_cv_prog_STRIP"; then
   2378   ac_ct_STRIP=$STRIP
   2379   # Extract the first word of "strip", so it can be a program name with args.
   2380 set dummy strip; ac_word=$2
   2381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2383 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2384   echo $ECHO_N "(cached) $ECHO_C" >&6
   2385 else
   2386   if test -n "$ac_ct_STRIP"; then
   2387   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2388 else
   2389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2390 for as_dir in $PATH
   2391 do
   2392   IFS=$as_save_IFS
   2393   test -z "$as_dir" && as_dir=.
   2394   for ac_exec_ext in '' $ac_executable_extensions; do
   2395   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2396     ac_cv_prog_ac_ct_STRIP="strip"
   2397     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2398     break 2
   2399   fi
   2400 done
   2401 done
   2402 IFS=$as_save_IFS
   2403 
   2404 fi
   2405 fi
   2406 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2407 if test -n "$ac_ct_STRIP"; then
   2408   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2409 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2410 else
   2411   { echo "$as_me:$LINENO: result: no" >&5
   2412 echo "${ECHO_T}no" >&6; }
   2413 fi
   2414 
   2415   if test "x$ac_ct_STRIP" = x; then
   2416     STRIP=":"
   2417   else
   2418     case $cross_compiling:$ac_tool_warned in
   2419 yes:)
   2420 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2421 whose name does not start with the host triplet.  If you think this
   2422 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2423 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2424 whose name does not start with the host triplet.  If you think this
   2425 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2426 ac_tool_warned=yes ;;
   2427 esac
   2428     STRIP=$ac_ct_STRIP
   2429   fi
   2430 else
   2431   STRIP="$ac_cv_prog_STRIP"
   2432 fi
   2433 
   2434 fi
   2435 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2436 
   2437 # We need awk for the "check" target.  The system "awk" is bad on
   2438 # some platforms.
   2439 # Always define AMTAR for backward compatibility.
   2440 
   2441 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2442 
   2443 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2444 
   2445 
   2446 
   2447 
   2448 
   2449 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2450 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2451     # Check whether --enable-maintainer-mode was given.
   2452 if test "${enable_maintainer_mode+set}" = set; then
   2453   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2454 else
   2455   USE_MAINTAINER_MODE=no
   2456 fi
   2457 
   2458   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2459 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2460    if test $USE_MAINTAINER_MODE = yes; then
   2461   MAINTAINER_MODE_TRUE=
   2462   MAINTAINER_MODE_FALSE='#'
   2463 else
   2464   MAINTAINER_MODE_TRUE='#'
   2465   MAINTAINER_MODE_FALSE=
   2466 fi
   2467 
   2468   MAINT=$MAINTAINER_MODE_TRUE
   2469 
   2470 
   2471 
   2472 ac_config_headers="$ac_config_headers src/config.h"
   2473 
   2474 
   2475 # Check for progs
   2476 ac_ext=c
   2477 ac_cpp='$CPP $CPPFLAGS'
   2478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2481 if test -n "$ac_tool_prefix"; then
   2482   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2483 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2486 if test "${ac_cv_prog_CC+set}" = set; then
   2487   echo $ECHO_N "(cached) $ECHO_C" >&6
   2488 else
   2489   if test -n "$CC"; then
   2490   ac_cv_prog_CC="$CC" # Let the user override the test.
   2491 else
   2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2493 for as_dir in $PATH
   2494 do
   2495   IFS=$as_save_IFS
   2496   test -z "$as_dir" && as_dir=.
   2497   for ac_exec_ext in '' $ac_executable_extensions; do
   2498   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2499     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2500     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2501     break 2
   2502   fi
   2503 done
   2504 done
   2505 IFS=$as_save_IFS
   2506 
   2507 fi
   2508 fi
   2509 CC=$ac_cv_prog_CC
   2510 if test -n "$CC"; then
   2511   { echo "$as_me:$LINENO: result: $CC" >&5
   2512 echo "${ECHO_T}$CC" >&6; }
   2513 else
   2514   { echo "$as_me:$LINENO: result: no" >&5
   2515 echo "${ECHO_T}no" >&6; }
   2516 fi
   2517 
   2518 
   2519 fi
   2520 if test -z "$ac_cv_prog_CC"; then
   2521   ac_ct_CC=$CC
   2522   # Extract the first word of "gcc", so it can be a program name with args.
   2523 set dummy gcc; ac_word=$2
   2524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2526 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2527   echo $ECHO_N "(cached) $ECHO_C" >&6
   2528 else
   2529   if test -n "$ac_ct_CC"; then
   2530   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2531 else
   2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2533 for as_dir in $PATH
   2534 do
   2535   IFS=$as_save_IFS
   2536   test -z "$as_dir" && as_dir=.
   2537   for ac_exec_ext in '' $ac_executable_extensions; do
   2538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2539     ac_cv_prog_ac_ct_CC="gcc"
   2540     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2541     break 2
   2542   fi
   2543 done
   2544 done
   2545 IFS=$as_save_IFS
   2546 
   2547 fi
   2548 fi
   2549 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2550 if test -n "$ac_ct_CC"; then
   2551   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2552 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2553 else
   2554   { echo "$as_me:$LINENO: result: no" >&5
   2555 echo "${ECHO_T}no" >&6; }
   2556 fi
   2557 
   2558   if test "x$ac_ct_CC" = x; then
   2559     CC=""
   2560   else
   2561     case $cross_compiling:$ac_tool_warned in
   2562 yes:)
   2563 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2564 whose name does not start with the host triplet.  If you think this
   2565 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2566 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2567 whose name does not start with the host triplet.  If you think this
   2568 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2569 ac_tool_warned=yes ;;
   2570 esac
   2571     CC=$ac_ct_CC
   2572   fi
   2573 else
   2574   CC="$ac_cv_prog_CC"
   2575 fi
   2576 
   2577 if test -z "$CC"; then
   2578           if test -n "$ac_tool_prefix"; then
   2579     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2580 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2583 if test "${ac_cv_prog_CC+set}" = set; then
   2584   echo $ECHO_N "(cached) $ECHO_C" >&6
   2585 else
   2586   if test -n "$CC"; then
   2587   ac_cv_prog_CC="$CC" # Let the user override the test.
   2588 else
   2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2590 for as_dir in $PATH
   2591 do
   2592   IFS=$as_save_IFS
   2593   test -z "$as_dir" && as_dir=.
   2594   for ac_exec_ext in '' $ac_executable_extensions; do
   2595   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2596     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2597     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2598     break 2
   2599   fi
   2600 done
   2601 done
   2602 IFS=$as_save_IFS
   2603 
   2604 fi
   2605 fi
   2606 CC=$ac_cv_prog_CC
   2607 if test -n "$CC"; then
   2608   { echo "$as_me:$LINENO: result: $CC" >&5
   2609 echo "${ECHO_T}$CC" >&6; }
   2610 else
   2611   { echo "$as_me:$LINENO: result: no" >&5
   2612 echo "${ECHO_T}no" >&6; }
   2613 fi
   2614 
   2615 
   2616   fi
   2617 fi
   2618 if test -z "$CC"; then
   2619   # Extract the first word of "cc", so it can be a program name with args.
   2620 set dummy cc; ac_word=$2
   2621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2623 if test "${ac_cv_prog_CC+set}" = set; then
   2624   echo $ECHO_N "(cached) $ECHO_C" >&6
   2625 else
   2626   if test -n "$CC"; then
   2627   ac_cv_prog_CC="$CC" # Let the user override the test.
   2628 else
   2629   ac_prog_rejected=no
   2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2631 for as_dir in $PATH
   2632 do
   2633   IFS=$as_save_IFS
   2634   test -z "$as_dir" && as_dir=.
   2635   for ac_exec_ext in '' $ac_executable_extensions; do
   2636   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2637     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2638        ac_prog_rejected=yes
   2639        continue
   2640      fi
   2641     ac_cv_prog_CC="cc"
   2642     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2643     break 2
   2644   fi
   2645 done
   2646 done
   2647 IFS=$as_save_IFS
   2648 
   2649 if test $ac_prog_rejected = yes; then
   2650   # We found a bogon in the path, so make sure we never use it.
   2651   set dummy $ac_cv_prog_CC
   2652   shift
   2653   if test $# != 0; then
   2654     # We chose a different compiler from the bogus one.
   2655     # However, it has the same basename, so the bogon will be chosen
   2656     # first if we set CC to just the basename; use the full file name.
   2657     shift
   2658     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2659   fi
   2660 fi
   2661 fi
   2662 fi
   2663 CC=$ac_cv_prog_CC
   2664 if test -n "$CC"; then
   2665   { echo "$as_me:$LINENO: result: $CC" >&5
   2666 echo "${ECHO_T}$CC" >&6; }
   2667 else
   2668   { echo "$as_me:$LINENO: result: no" >&5
   2669 echo "${ECHO_T}no" >&6; }
   2670 fi
   2671 
   2672 
   2673 fi
   2674 if test -z "$CC"; then
   2675   if test -n "$ac_tool_prefix"; then
   2676   for ac_prog in cl.exe
   2677   do
   2678     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2679 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2682 if test "${ac_cv_prog_CC+set}" = set; then
   2683   echo $ECHO_N "(cached) $ECHO_C" >&6
   2684 else
   2685   if test -n "$CC"; then
   2686   ac_cv_prog_CC="$CC" # Let the user override the test.
   2687 else
   2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2689 for as_dir in $PATH
   2690 do
   2691   IFS=$as_save_IFS
   2692   test -z "$as_dir" && as_dir=.
   2693   for ac_exec_ext in '' $ac_executable_extensions; do
   2694   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2695     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2696     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2697     break 2
   2698   fi
   2699 done
   2700 done
   2701 IFS=$as_save_IFS
   2702 
   2703 fi
   2704 fi
   2705 CC=$ac_cv_prog_CC
   2706 if test -n "$CC"; then
   2707   { echo "$as_me:$LINENO: result: $CC" >&5
   2708 echo "${ECHO_T}$CC" >&6; }
   2709 else
   2710   { echo "$as_me:$LINENO: result: no" >&5
   2711 echo "${ECHO_T}no" >&6; }
   2712 fi
   2713 
   2714 
   2715     test -n "$CC" && break
   2716   done
   2717 fi
   2718 if test -z "$CC"; then
   2719   ac_ct_CC=$CC
   2720   for ac_prog in cl.exe
   2721 do
   2722   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2723 set dummy $ac_prog; ac_word=$2
   2724 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2726 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2727   echo $ECHO_N "(cached) $ECHO_C" >&6
   2728 else
   2729   if test -n "$ac_ct_CC"; then
   2730   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2731 else
   2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2733 for as_dir in $PATH
   2734 do
   2735   IFS=$as_save_IFS
   2736   test -z "$as_dir" && as_dir=.
   2737   for ac_exec_ext in '' $ac_executable_extensions; do
   2738   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2739     ac_cv_prog_ac_ct_CC="$ac_prog"
   2740     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2741     break 2
   2742   fi
   2743 done
   2744 done
   2745 IFS=$as_save_IFS
   2746 
   2747 fi
   2748 fi
   2749 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2750 if test -n "$ac_ct_CC"; then
   2751   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2752 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2753 else
   2754   { echo "$as_me:$LINENO: result: no" >&5
   2755 echo "${ECHO_T}no" >&6; }
   2756 fi
   2757 
   2758 
   2759   test -n "$ac_ct_CC" && break
   2760 done
   2761 
   2762   if test "x$ac_ct_CC" = x; then
   2763     CC=""
   2764   else
   2765     case $cross_compiling:$ac_tool_warned in
   2766 yes:)
   2767 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2768 whose name does not start with the host triplet.  If you think this
   2769 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2770 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2771 whose name does not start with the host triplet.  If you think this
   2772 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2773 ac_tool_warned=yes ;;
   2774 esac
   2775     CC=$ac_ct_CC
   2776   fi
   2777 fi
   2778 
   2779 fi
   2780 
   2781 
   2782 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2783 See \`config.log' for more details." >&5
   2784 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2785 See \`config.log' for more details." >&2;}
   2786    { (exit 1); exit 1; }; }
   2787 
   2788 # Provide some information about the compiler.
   2789 echo "$as_me:$LINENO: checking for C compiler version" >&5
   2790 ac_compiler=`set X $ac_compile; echo $2`
   2791 { (ac_try="$ac_compiler --version >&5"
   2792 case "(($ac_try" in
   2793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2794   *) ac_try_echo=$ac_try;;
   2795 esac
   2796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2797   (eval "$ac_compiler --version >&5") 2>&5
   2798   ac_status=$?
   2799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2800   (exit $ac_status); }
   2801 { (ac_try="$ac_compiler -v >&5"
   2802 case "(($ac_try" in
   2803   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2804   *) ac_try_echo=$ac_try;;
   2805 esac
   2806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2807   (eval "$ac_compiler -v >&5") 2>&5
   2808   ac_status=$?
   2809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2810   (exit $ac_status); }
   2811 { (ac_try="$ac_compiler -V >&5"
   2812 case "(($ac_try" in
   2813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2814   *) ac_try_echo=$ac_try;;
   2815 esac
   2816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2817   (eval "$ac_compiler -V >&5") 2>&5
   2818   ac_status=$?
   2819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2820   (exit $ac_status); }
   2821 
   2822 cat >conftest.$ac_ext <<_ACEOF
   2823 /* confdefs.h.  */
   2824 _ACEOF
   2825 cat confdefs.h >>conftest.$ac_ext
   2826 cat >>conftest.$ac_ext <<_ACEOF
   2827 /* end confdefs.h.  */
   2828 
   2829 int
   2830 main ()
   2831 {
   2832 
   2833   ;
   2834   return 0;
   2835 }
   2836 _ACEOF
   2837 ac_clean_files_save=$ac_clean_files
   2838 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2839 # Try to create an executable without -o first, disregard a.out.
   2840 # It will help us diagnose broken compilers, and finding out an intuition
   2841 # of exeext.
   2842 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2843 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   2844 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2845 #
   2846 # List of possible output files, starting from the most likely.
   2847 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   2848 # only as a last resort.  b.out is created by i960 compilers.
   2849 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   2850 #
   2851 # The IRIX 6 linker writes into existing files which may not be
   2852 # executable, retaining their permissions.  Remove them first so a
   2853 # subsequent execution test works.
   2854 ac_rmfiles=
   2855 for ac_file in $ac_files
   2856 do
   2857   case $ac_file in
   2858     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2859     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2860   esac
   2861 done
   2862 rm -f $ac_rmfiles
   2863 
   2864 if { (ac_try="$ac_link_default"
   2865 case "(($ac_try" in
   2866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2867   *) ac_try_echo=$ac_try;;
   2868 esac
   2869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2870   (eval "$ac_link_default") 2>&5
   2871   ac_status=$?
   2872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2873   (exit $ac_status); }; then
   2874   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2875 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2876 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2877 # so that the user can short-circuit this test for compilers unknown to
   2878 # Autoconf.
   2879 for ac_file in $ac_files ''
   2880 do
   2881   test -f "$ac_file" || continue
   2882   case $ac_file in
   2883     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   2884 	;;
   2885     [ab].out )
   2886 	# We found the default executable, but exeext='' is most
   2887 	# certainly right.
   2888 	break;;
   2889     *.* )
   2890         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2891 	then :; else
   2892 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2893 	fi
   2894 	# We set ac_cv_exeext here because the later test for it is not
   2895 	# safe: cross compilers may not add the suffix if given an `-o'
   2896 	# argument, so we may need to know it at that point already.
   2897 	# Even if this section looks crufty: it has the advantage of
   2898 	# actually working.
   2899 	break;;
   2900     * )
   2901 	break;;
   2902   esac
   2903 done
   2904 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2905 
   2906 else
   2907   ac_file=''
   2908 fi
   2909 
   2910 { echo "$as_me:$LINENO: result: $ac_file" >&5
   2911 echo "${ECHO_T}$ac_file" >&6; }
   2912 if test -z "$ac_file"; then
   2913   echo "$as_me: failed program was:" >&5
   2914 sed 's/^/| /' conftest.$ac_ext >&5
   2915 
   2916 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2917 See \`config.log' for more details." >&5
   2918 echo "$as_me: error: C compiler cannot create executables
   2919 See \`config.log' for more details." >&2;}
   2920    { (exit 77); exit 77; }; }
   2921 fi
   2922 
   2923 ac_exeext=$ac_cv_exeext
   2924 
   2925 # Check that the compiler produces executables we can run.  If not, either
   2926 # the compiler is broken, or we cross compile.
   2927 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2928 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   2929 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2930 # If not cross compiling, check that we can run a simple program.
   2931 if test "$cross_compiling" != yes; then
   2932   if { ac_try='./$ac_file'
   2933   { (case "(($ac_try" in
   2934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2935   *) ac_try_echo=$ac_try;;
   2936 esac
   2937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2938   (eval "$ac_try") 2>&5
   2939   ac_status=$?
   2940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2941   (exit $ac_status); }; }; then
   2942     cross_compiling=no
   2943   else
   2944     if test "$cross_compiling" = maybe; then
   2945 	cross_compiling=yes
   2946     else
   2947 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2948 If you meant to cross compile, use \`--host'.
   2949 See \`config.log' for more details." >&5
   2950 echo "$as_me: error: cannot run C compiled programs.
   2951 If you meant to cross compile, use \`--host'.
   2952 See \`config.log' for more details." >&2;}
   2953    { (exit 1); exit 1; }; }
   2954     fi
   2955   fi
   2956 fi
   2957 { echo "$as_me:$LINENO: result: yes" >&5
   2958 echo "${ECHO_T}yes" >&6; }
   2959 
   2960 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2961 ac_clean_files=$ac_clean_files_save
   2962 # Check that the compiler produces executables we can run.  If not, either
   2963 # the compiler is broken, or we cross compile.
   2964 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2965 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   2966 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2967 echo "${ECHO_T}$cross_compiling" >&6; }
   2968 
   2969 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2970 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   2971 if { (ac_try="$ac_link"
   2972 case "(($ac_try" in
   2973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2974   *) ac_try_echo=$ac_try;;
   2975 esac
   2976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2977   (eval "$ac_link") 2>&5
   2978   ac_status=$?
   2979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2980   (exit $ac_status); }; then
   2981   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2982 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2983 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2984 # `rm'.
   2985 for ac_file in conftest.exe conftest conftest.*; do
   2986   test -f "$ac_file" || continue
   2987   case $ac_file in
   2988     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2989     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2990 	  break;;
   2991     * ) break;;
   2992   esac
   2993 done
   2994 else
   2995   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2996 See \`config.log' for more details." >&5
   2997 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2998 See \`config.log' for more details." >&2;}
   2999    { (exit 1); exit 1; }; }
   3000 fi
   3001 
   3002 rm -f conftest$ac_cv_exeext
   3003 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3004 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3005 
   3006 rm -f conftest.$ac_ext
   3007 EXEEXT=$ac_cv_exeext
   3008 ac_exeext=$EXEEXT
   3009 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3010 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3011 if test "${ac_cv_objext+set}" = set; then
   3012   echo $ECHO_N "(cached) $ECHO_C" >&6
   3013 else
   3014   cat >conftest.$ac_ext <<_ACEOF
   3015 /* confdefs.h.  */
   3016 _ACEOF
   3017 cat confdefs.h >>conftest.$ac_ext
   3018 cat >>conftest.$ac_ext <<_ACEOF
   3019 /* end confdefs.h.  */
   3020 
   3021 int
   3022 main ()
   3023 {
   3024 
   3025   ;
   3026   return 0;
   3027 }
   3028 _ACEOF
   3029 rm -f conftest.o conftest.obj
   3030 if { (ac_try="$ac_compile"
   3031 case "(($ac_try" in
   3032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3033   *) ac_try_echo=$ac_try;;
   3034 esac
   3035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3036   (eval "$ac_compile") 2>&5
   3037   ac_status=$?
   3038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3039   (exit $ac_status); }; then
   3040   for ac_file in conftest.o conftest.obj conftest.*; do
   3041   test -f "$ac_file" || continue;
   3042   case $ac_file in
   3043     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3044     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3045        break;;
   3046   esac
   3047 done
   3048 else
   3049   echo "$as_me: failed program was:" >&5
   3050 sed 's/^/| /' conftest.$ac_ext >&5
   3051 
   3052 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3053 See \`config.log' for more details." >&5
   3054 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3055 See \`config.log' for more details." >&2;}
   3056    { (exit 1); exit 1; }; }
   3057 fi
   3058 
   3059 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3060 fi
   3061 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3062 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3063 OBJEXT=$ac_cv_objext
   3064 ac_objext=$OBJEXT
   3065 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3066 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3067 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3068   echo $ECHO_N "(cached) $ECHO_C" >&6
   3069 else
   3070   cat >conftest.$ac_ext <<_ACEOF
   3071 /* confdefs.h.  */
   3072 _ACEOF
   3073 cat confdefs.h >>conftest.$ac_ext
   3074 cat >>conftest.$ac_ext <<_ACEOF
   3075 /* end confdefs.h.  */
   3076 
   3077 int
   3078 main ()
   3079 {
   3080 #ifndef __GNUC__
   3081        choke me
   3082 #endif
   3083 
   3084   ;
   3085   return 0;
   3086 }
   3087 _ACEOF
   3088 rm -f conftest.$ac_objext
   3089 if { (ac_try="$ac_compile"
   3090 case "(($ac_try" in
   3091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3092   *) ac_try_echo=$ac_try;;
   3093 esac
   3094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3095   (eval "$ac_compile") 2>conftest.er1
   3096   ac_status=$?
   3097   grep -v '^ *+' conftest.er1 >conftest.err
   3098   rm -f conftest.er1
   3099   cat conftest.err >&5
   3100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3101   (exit $ac_status); } && {
   3102 	 test -z "$ac_c_werror_flag" ||
   3103 	 test ! -s conftest.err
   3104        } && test -s conftest.$ac_objext; then
   3105   ac_compiler_gnu=yes
   3106 else
   3107   echo "$as_me: failed program was:" >&5
   3108 sed 's/^/| /' conftest.$ac_ext >&5
   3109 
   3110 	ac_compiler_gnu=no
   3111 fi
   3112 
   3113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3114 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3115 
   3116 fi
   3117 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3118 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3119 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3120 ac_test_CFLAGS=${CFLAGS+set}
   3121 ac_save_CFLAGS=$CFLAGS
   3122 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3123 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3124 if test "${ac_cv_prog_cc_g+set}" = set; then
   3125   echo $ECHO_N "(cached) $ECHO_C" >&6
   3126 else
   3127   ac_save_c_werror_flag=$ac_c_werror_flag
   3128    ac_c_werror_flag=yes
   3129    ac_cv_prog_cc_g=no
   3130    CFLAGS="-g"
   3131    cat >conftest.$ac_ext <<_ACEOF
   3132 /* confdefs.h.  */
   3133 _ACEOF
   3134 cat confdefs.h >>conftest.$ac_ext
   3135 cat >>conftest.$ac_ext <<_ACEOF
   3136 /* end confdefs.h.  */
   3137 
   3138 int
   3139 main ()
   3140 {
   3141 
   3142   ;
   3143   return 0;
   3144 }
   3145 _ACEOF
   3146 rm -f conftest.$ac_objext
   3147 if { (ac_try="$ac_compile"
   3148 case "(($ac_try" in
   3149   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3150   *) ac_try_echo=$ac_try;;
   3151 esac
   3152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3153   (eval "$ac_compile") 2>conftest.er1
   3154   ac_status=$?
   3155   grep -v '^ *+' conftest.er1 >conftest.err
   3156   rm -f conftest.er1
   3157   cat conftest.err >&5
   3158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3159   (exit $ac_status); } && {
   3160 	 test -z "$ac_c_werror_flag" ||
   3161 	 test ! -s conftest.err
   3162        } && test -s conftest.$ac_objext; then
   3163   ac_cv_prog_cc_g=yes
   3164 else
   3165   echo "$as_me: failed program was:" >&5
   3166 sed 's/^/| /' conftest.$ac_ext >&5
   3167 
   3168 	CFLAGS=""
   3169       cat >conftest.$ac_ext <<_ACEOF
   3170 /* confdefs.h.  */
   3171 _ACEOF
   3172 cat confdefs.h >>conftest.$ac_ext
   3173 cat >>conftest.$ac_ext <<_ACEOF
   3174 /* end confdefs.h.  */
   3175 
   3176 int
   3177 main ()
   3178 {
   3179 
   3180   ;
   3181   return 0;
   3182 }
   3183 _ACEOF
   3184 rm -f conftest.$ac_objext
   3185 if { (ac_try="$ac_compile"
   3186 case "(($ac_try" in
   3187   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3188   *) ac_try_echo=$ac_try;;
   3189 esac
   3190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3191   (eval "$ac_compile") 2>conftest.er1
   3192   ac_status=$?
   3193   grep -v '^ *+' conftest.er1 >conftest.err
   3194   rm -f conftest.er1
   3195   cat conftest.err >&5
   3196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3197   (exit $ac_status); } && {
   3198 	 test -z "$ac_c_werror_flag" ||
   3199 	 test ! -s conftest.err
   3200        } && test -s conftest.$ac_objext; then
   3201   :
   3202 else
   3203   echo "$as_me: failed program was:" >&5
   3204 sed 's/^/| /' conftest.$ac_ext >&5
   3205 
   3206 	ac_c_werror_flag=$ac_save_c_werror_flag
   3207 	 CFLAGS="-g"
   3208 	 cat >conftest.$ac_ext <<_ACEOF
   3209 /* confdefs.h.  */
   3210 _ACEOF
   3211 cat confdefs.h >>conftest.$ac_ext
   3212 cat >>conftest.$ac_ext <<_ACEOF
   3213 /* end confdefs.h.  */
   3214 
   3215 int
   3216 main ()
   3217 {
   3218 
   3219   ;
   3220   return 0;
   3221 }
   3222 _ACEOF
   3223 rm -f conftest.$ac_objext
   3224 if { (ac_try="$ac_compile"
   3225 case "(($ac_try" in
   3226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3227   *) ac_try_echo=$ac_try;;
   3228 esac
   3229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3230   (eval "$ac_compile") 2>conftest.er1
   3231   ac_status=$?
   3232   grep -v '^ *+' conftest.er1 >conftest.err
   3233   rm -f conftest.er1
   3234   cat conftest.err >&5
   3235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3236   (exit $ac_status); } && {
   3237 	 test -z "$ac_c_werror_flag" ||
   3238 	 test ! -s conftest.err
   3239        } && test -s conftest.$ac_objext; then
   3240   ac_cv_prog_cc_g=yes
   3241 else
   3242   echo "$as_me: failed program was:" >&5
   3243 sed 's/^/| /' conftest.$ac_ext >&5
   3244 
   3245 
   3246 fi
   3247 
   3248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3249 fi
   3250 
   3251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3252 fi
   3253 
   3254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3255    ac_c_werror_flag=$ac_save_c_werror_flag
   3256 fi
   3257 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3258 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3259 if test "$ac_test_CFLAGS" = set; then
   3260   CFLAGS=$ac_save_CFLAGS
   3261 elif test $ac_cv_prog_cc_g = yes; then
   3262   if test "$GCC" = yes; then
   3263     CFLAGS="-g -O2"
   3264   else
   3265     CFLAGS="-g"
   3266   fi
   3267 else
   3268   if test "$GCC" = yes; then
   3269     CFLAGS="-O2"
   3270   else
   3271     CFLAGS=
   3272   fi
   3273 fi
   3274 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3275 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3276 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3277   echo $ECHO_N "(cached) $ECHO_C" >&6
   3278 else
   3279   ac_cv_prog_cc_c89=no
   3280 ac_save_CC=$CC
   3281 cat >conftest.$ac_ext <<_ACEOF
   3282 /* confdefs.h.  */
   3283 _ACEOF
   3284 cat confdefs.h >>conftest.$ac_ext
   3285 cat >>conftest.$ac_ext <<_ACEOF
   3286 /* end confdefs.h.  */
   3287 #include <stdarg.h>
   3288 #include <stdio.h>
   3289 #include <sys/types.h>
   3290 #include <sys/stat.h>
   3291 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3292 struct buf { int x; };
   3293 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3294 static char *e (p, i)
   3295      char **p;
   3296      int i;
   3297 {
   3298   return p[i];
   3299 }
   3300 static char *f (char * (*g) (char **, int), char **p, ...)
   3301 {
   3302   char *s;
   3303   va_list v;
   3304   va_start (v,p);
   3305   s = g (p, va_arg (v,int));
   3306   va_end (v);
   3307   return s;
   3308 }
   3309 
   3310 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3311    function prototypes and stuff, but not '\xHH' hex character constants.
   3312    These don't provoke an error unfortunately, instead are silently treated
   3313    as 'x'.  The following induces an error, until -std is added to get
   3314    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3315    array size at least.  It's necessary to write '\x00'==0 to get something
   3316    that's true only with -std.  */
   3317 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3318 
   3319 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3320    inside strings and character constants.  */
   3321 #define FOO(x) 'x'
   3322 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3323 
   3324 int test (int i, double x);
   3325 struct s1 {int (*f) (int a);};
   3326 struct s2 {int (*f) (double a);};
   3327 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3328 int argc;
   3329 char **argv;
   3330 int
   3331 main ()
   3332 {
   3333 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3334   ;
   3335   return 0;
   3336 }
   3337 _ACEOF
   3338 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3339 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3340 do
   3341   CC="$ac_save_CC $ac_arg"
   3342   rm -f conftest.$ac_objext
   3343 if { (ac_try="$ac_compile"
   3344 case "(($ac_try" in
   3345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3346   *) ac_try_echo=$ac_try;;
   3347 esac
   3348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3349   (eval "$ac_compile") 2>conftest.er1
   3350   ac_status=$?
   3351   grep -v '^ *+' conftest.er1 >conftest.err
   3352   rm -f conftest.er1
   3353   cat conftest.err >&5
   3354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3355   (exit $ac_status); } && {
   3356 	 test -z "$ac_c_werror_flag" ||
   3357 	 test ! -s conftest.err
   3358        } && test -s conftest.$ac_objext; then
   3359   ac_cv_prog_cc_c89=$ac_arg
   3360 else
   3361   echo "$as_me: failed program was:" >&5
   3362 sed 's/^/| /' conftest.$ac_ext >&5
   3363 
   3364 
   3365 fi
   3366 
   3367 rm -f core conftest.err conftest.$ac_objext
   3368   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3369 done
   3370 rm -f conftest.$ac_ext
   3371 CC=$ac_save_CC
   3372 
   3373 fi
   3374 # AC_CACHE_VAL
   3375 case "x$ac_cv_prog_cc_c89" in
   3376   x)
   3377     { echo "$as_me:$LINENO: result: none needed" >&5
   3378 echo "${ECHO_T}none needed" >&6; } ;;
   3379   xno)
   3380     { echo "$as_me:$LINENO: result: unsupported" >&5
   3381 echo "${ECHO_T}unsupported" >&6; } ;;
   3382   *)
   3383     CC="$CC $ac_cv_prog_cc_c89"
   3384     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3385 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3386 esac
   3387 
   3388 
   3389 ac_ext=c
   3390 ac_cpp='$CPP $CPPFLAGS'
   3391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3394 DEPDIR="${am__leading_dot}deps"
   3395 
   3396 ac_config_commands="$ac_config_commands depfiles"
   3397 
   3398 
   3399 am_make=${MAKE-make}
   3400 cat > confinc << 'END'
   3401 am__doit:
   3402 	@echo done
   3403 .PHONY: am__doit
   3404 END
   3405 # If we don't find an include directive, just comment out the code.
   3406 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3407 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   3408 am__include="#"
   3409 am__quote=
   3410 _am_result=none
   3411 # First try GNU make style include.
   3412 echo "include confinc" > confmf
   3413 # We grep out `Entering directory' and `Leaving directory'
   3414 # messages which can occur if `w' ends up in MAKEFLAGS.
   3415 # In particular we don't look at `^make:' because GNU make might
   3416 # be invoked under some other name (usually "gmake"), in which
   3417 # case it prints its new name instead of `make'.
   3418 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3419    am__include=include
   3420    am__quote=
   3421    _am_result=GNU
   3422 fi
   3423 # Now try BSD make style include.
   3424 if test "$am__include" = "#"; then
   3425    echo '.include "confinc"' > confmf
   3426    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3427       am__include=.include
   3428       am__quote="\""
   3429       _am_result=BSD
   3430    fi
   3431 fi
   3432 
   3433 
   3434 { echo "$as_me:$LINENO: result: $_am_result" >&5
   3435 echo "${ECHO_T}$_am_result" >&6; }
   3436 rm -f confinc confmf
   3437 
   3438 # Check whether --enable-dependency-tracking was given.
   3439 if test "${enable_dependency_tracking+set}" = set; then
   3440   enableval=$enable_dependency_tracking;
   3441 fi
   3442 
   3443 if test "x$enable_dependency_tracking" != xno; then
   3444   am_depcomp="$ac_aux_dir/depcomp"
   3445   AMDEPBACKSLASH='\'
   3446 fi
   3447  if test "x$enable_dependency_tracking" != xno; then
   3448   AMDEP_TRUE=
   3449   AMDEP_FALSE='#'
   3450 else
   3451   AMDEP_TRUE='#'
   3452   AMDEP_FALSE=
   3453 fi
   3454 
   3455 
   3456 
   3457 depcc="$CC"   am_compiler_list=
   3458 
   3459 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3460 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3461 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3462   echo $ECHO_N "(cached) $ECHO_C" >&6
   3463 else
   3464   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3465   # We make a subdir and do the tests there.  Otherwise we can end up
   3466   # making bogus files that we don't know about and never remove.  For
   3467   # instance it was reported that on HP-UX the gcc test will end up
   3468   # making a dummy file named `D' -- because `-MD' means `put the output
   3469   # in D'.
   3470   mkdir conftest.dir
   3471   # Copy depcomp to subdir because otherwise we won't find it if we're
   3472   # using a relative directory.
   3473   cp "$am_depcomp" conftest.dir
   3474   cd conftest.dir
   3475   # We will build objects and dependencies in a subdirectory because
   3476   # it helps to detect inapplicable dependency modes.  For instance
   3477   # both Tru64's cc and ICC support -MD to output dependencies as a
   3478   # side effect of compilation, but ICC will put the dependencies in
   3479   # the current directory while Tru64 will put them in the object
   3480   # directory.
   3481   mkdir sub
   3482 
   3483   am_cv_CC_dependencies_compiler_type=none
   3484   if test "$am_compiler_list" = ""; then
   3485      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3486   fi
   3487   for depmode in $am_compiler_list; do
   3488     # Setup a source with many dependencies, because some compilers
   3489     # like to wrap large dependency lists on column 80 (with \), and
   3490     # we should not choose a depcomp mode which is confused by this.
   3491     #
   3492     # We need to recreate these files for each test, as the compiler may
   3493     # overwrite some of them when testing with obscure command lines.
   3494     # This happens at least with the AIX C compiler.
   3495     : > sub/conftest.c
   3496     for i in 1 2 3 4 5 6; do
   3497       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3498       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3499       # Solaris 8's {/usr,}/bin/sh.
   3500       touch sub/conftst$i.h
   3501     done
   3502     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3503 
   3504     case $depmode in
   3505     nosideeffect)
   3506       # after this tag, mechanisms are not by side-effect, so they'll
   3507       # only be used when explicitly requested
   3508       if test "x$enable_dependency_tracking" = xyes; then
   3509 	continue
   3510       else
   3511 	break
   3512       fi
   3513       ;;
   3514     none) break ;;
   3515     esac
   3516     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3517     # mode.  It turns out that the SunPro C++ compiler does not properly
   3518     # handle `-M -o', and we need to detect this.
   3519     if depmode=$depmode \
   3520        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3521        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3522        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3523          >/dev/null 2>conftest.err &&
   3524        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3525        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3526        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3527        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3528       # icc doesn't choke on unknown options, it will just issue warnings
   3529       # or remarks (even with -Werror).  So we grep stderr for any message
   3530       # that says an option was ignored or not supported.
   3531       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3532       #   icc: Command line warning: ignoring option '-M'; no argument required
   3533       # The diagnosis changed in icc 8.0:
   3534       #   icc: Command line remark: option '-MP' not supported
   3535       if (grep 'ignoring option' conftest.err ||
   3536           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3537         am_cv_CC_dependencies_compiler_type=$depmode
   3538         break
   3539       fi
   3540     fi
   3541   done
   3542 
   3543   cd ..
   3544   rm -rf conftest.dir
   3545 else
   3546   am_cv_CC_dependencies_compiler_type=none
   3547 fi
   3548 
   3549 fi
   3550 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3551 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3552 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3553 
   3554  if
   3555   test "x$enable_dependency_tracking" != xno \
   3556   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3557   am__fastdepCC_TRUE=
   3558   am__fastdepCC_FALSE='#'
   3559 else
   3560   am__fastdepCC_TRUE='#'
   3561   am__fastdepCC_FALSE=
   3562 fi
   3563 
   3564 
   3565 # Check whether --enable-shared was given.
   3566 if test "${enable_shared+set}" = set; then
   3567   enableval=$enable_shared; p=${PACKAGE-default}
   3568     case $enableval in
   3569     yes) enable_shared=yes ;;
   3570     no) enable_shared=no ;;
   3571     *)
   3572       enable_shared=no
   3573       # Look at the argument we got.  We use all the common list separators.
   3574       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3575       for pkg in $enableval; do
   3576 	IFS="$lt_save_ifs"
   3577 	if test "X$pkg" = "X$p"; then
   3578 	  enable_shared=yes
   3579 	fi
   3580       done
   3581       IFS="$lt_save_ifs"
   3582       ;;
   3583     esac
   3584 else
   3585   enable_shared=yes
   3586 fi
   3587 
   3588 
   3589 # Check whether --enable-static was given.
   3590 if test "${enable_static+set}" = set; then
   3591   enableval=$enable_static; p=${PACKAGE-default}
   3592     case $enableval in
   3593     yes) enable_static=yes ;;
   3594     no) enable_static=no ;;
   3595     *)
   3596      enable_static=no
   3597       # Look at the argument we got.  We use all the common list separators.
   3598       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3599       for pkg in $enableval; do
   3600 	IFS="$lt_save_ifs"
   3601 	if test "X$pkg" = "X$p"; then
   3602 	  enable_static=yes
   3603 	fi
   3604       done
   3605       IFS="$lt_save_ifs"
   3606       ;;
   3607     esac
   3608 else
   3609   enable_static=yes
   3610 fi
   3611 
   3612 
   3613 # Check whether --enable-fast-install was given.
   3614 if test "${enable_fast_install+set}" = set; then
   3615   enableval=$enable_fast_install; p=${PACKAGE-default}
   3616     case $enableval in
   3617     yes) enable_fast_install=yes ;;
   3618     no) enable_fast_install=no ;;
   3619     *)
   3620       enable_fast_install=no
   3621       # Look at the argument we got.  We use all the common list separators.
   3622       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3623       for pkg in $enableval; do
   3624 	IFS="$lt_save_ifs"
   3625 	if test "X$pkg" = "X$p"; then
   3626 	  enable_fast_install=yes
   3627 	fi
   3628       done
   3629       IFS="$lt_save_ifs"
   3630       ;;
   3631     esac
   3632 else
   3633   enable_fast_install=yes
   3634 fi
   3635 
   3636 
   3637 # Make sure we can run config.sub.
   3638 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3639   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3640 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3641    { (exit 1); exit 1; }; }
   3642 
   3643 { echo "$as_me:$LINENO: checking build system type" >&5
   3644 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   3645 if test "${ac_cv_build+set}" = set; then
   3646   echo $ECHO_N "(cached) $ECHO_C" >&6
   3647 else
   3648   ac_build_alias=$build_alias
   3649 test "x$ac_build_alias" = x &&
   3650   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3651 test "x$ac_build_alias" = x &&
   3652   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3653 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3654    { (exit 1); exit 1; }; }
   3655 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3656   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3657 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3658    { (exit 1); exit 1; }; }
   3659 
   3660 fi
   3661 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3662 echo "${ECHO_T}$ac_cv_build" >&6; }
   3663 case $ac_cv_build in
   3664 *-*-*) ;;
   3665 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3666 echo "$as_me: error: invalid value of canonical build" >&2;}
   3667    { (exit 1); exit 1; }; };;
   3668 esac
   3669 build=$ac_cv_build
   3670 ac_save_IFS=$IFS; IFS='-'
   3671 set x $ac_cv_build
   3672 shift
   3673 build_cpu=$1
   3674 build_vendor=$2
   3675 shift; shift
   3676 # Remember, the first character of IFS is used to create $*,
   3677 # except with old shells:
   3678 build_os=$*
   3679 IFS=$ac_save_IFS
   3680 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3681 
   3682 
   3683 { echo "$as_me:$LINENO: checking host system type" >&5
   3684 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   3685 if test "${ac_cv_host+set}" = set; then
   3686   echo $ECHO_N "(cached) $ECHO_C" >&6
   3687 else
   3688   if test "x$host_alias" = x; then
   3689   ac_cv_host=$ac_cv_build
   3690 else
   3691   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3692     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3693 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3694    { (exit 1); exit 1; }; }
   3695 fi
   3696 
   3697 fi
   3698 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3699 echo "${ECHO_T}$ac_cv_host" >&6; }
   3700 case $ac_cv_host in
   3701 *-*-*) ;;
   3702 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3703 echo "$as_me: error: invalid value of canonical host" >&2;}
   3704    { (exit 1); exit 1; }; };;
   3705 esac
   3706 host=$ac_cv_host
   3707 ac_save_IFS=$IFS; IFS='-'
   3708 set x $ac_cv_host
   3709 shift
   3710 host_cpu=$1
   3711 host_vendor=$2
   3712 shift; shift
   3713 # Remember, the first character of IFS is used to create $*,
   3714 # except with old shells:
   3715 host_os=$*
   3716 IFS=$ac_save_IFS
   3717 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3718 
   3719 
   3720 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3721 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3722 if test "${lt_cv_path_SED+set}" = set; then
   3723   echo $ECHO_N "(cached) $ECHO_C" >&6
   3724 else
   3725   # Loop through the user's path and test for sed and gsed.
   3726 # Then use that list of sed's as ones to test for truncation.
   3727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3728 for as_dir in $PATH
   3729 do
   3730   IFS=$as_save_IFS
   3731   test -z "$as_dir" && as_dir=.
   3732   for lt_ac_prog in sed gsed; do
   3733     for ac_exec_ext in '' $ac_executable_extensions; do
   3734       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   3735         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3736       fi
   3737     done
   3738   done
   3739 done
   3740 lt_ac_max=0
   3741 lt_ac_count=0
   3742 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3743 # along with /bin/sed that truncates output.
   3744 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3745   test ! -f $lt_ac_sed && continue
   3746   cat /dev/null > conftest.in
   3747   lt_ac_count=0
   3748   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3749   # Check for GNU sed and select it if it is found.
   3750   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3751     lt_cv_path_SED=$lt_ac_sed
   3752     break
   3753   fi
   3754   while true; do
   3755     cat conftest.in conftest.in >conftest.tmp
   3756     mv conftest.tmp conftest.in
   3757     cp conftest.in conftest.nl
   3758     echo >>conftest.nl
   3759     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3760     cmp -s conftest.out conftest.nl || break
   3761     # 10000 chars as input seems more than enough
   3762     test $lt_ac_count -gt 10 && break
   3763     lt_ac_count=`expr $lt_ac_count + 1`
   3764     if test $lt_ac_count -gt $lt_ac_max; then
   3765       lt_ac_max=$lt_ac_count
   3766       lt_cv_path_SED=$lt_ac_sed
   3767     fi
   3768   done
   3769 done
   3770 
   3771 fi
   3772 
   3773 SED=$lt_cv_path_SED
   3774 { echo "$as_me:$LINENO: result: $SED" >&5
   3775 echo "${ECHO_T}$SED" >&6; }
   3776 
   3777 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3778 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3779 if test "${ac_cv_path_GREP+set}" = set; then
   3780   echo $ECHO_N "(cached) $ECHO_C" >&6
   3781 else
   3782   # Extract the first word of "grep ggrep" to use in msg output
   3783 if test -z "$GREP"; then
   3784 set dummy grep ggrep; ac_prog_name=$2
   3785 if test "${ac_cv_path_GREP+set}" = set; then
   3786   echo $ECHO_N "(cached) $ECHO_C" >&6
   3787 else
   3788   ac_path_GREP_found=false
   3789 # Loop through the user's path and test for each of PROGNAME-LIST
   3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3791 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3792 do
   3793   IFS=$as_save_IFS
   3794   test -z "$as_dir" && as_dir=.
   3795   for ac_prog in grep ggrep; do
   3796   for ac_exec_ext in '' $ac_executable_extensions; do
   3797     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3798     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3799     # Check for GNU ac_path_GREP and select it if it is found.
   3800   # Check for GNU $ac_path_GREP
   3801 case `"$ac_path_GREP" --version 2>&1` in
   3802 *GNU*)
   3803   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3804 *)
   3805   ac_count=0
   3806   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3807   while :
   3808   do
   3809     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3810     mv "conftest.tmp" "conftest.in"
   3811     cp "conftest.in" "conftest.nl"
   3812     echo 'GREP' >> "conftest.nl"
   3813     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3814     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3815     ac_count=`expr $ac_count + 1`
   3816     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3817       # Best one so far, save it but keep looking for a better one
   3818       ac_cv_path_GREP="$ac_path_GREP"
   3819       ac_path_GREP_max=$ac_count
   3820     fi
   3821     # 10*(2^10) chars as input seems more than enough
   3822     test $ac_count -gt 10 && break
   3823   done
   3824   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3825 esac
   3826 
   3827 
   3828     $ac_path_GREP_found && break 3
   3829   done
   3830 done
   3831 
   3832 done
   3833 IFS=$as_save_IFS
   3834 
   3835 
   3836 fi
   3837 
   3838 GREP="$ac_cv_path_GREP"
   3839 if test -z "$GREP"; then
   3840   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3841 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3842    { (exit 1); exit 1; }; }
   3843 fi
   3844 
   3845 else
   3846   ac_cv_path_GREP=$GREP
   3847 fi
   3848 
   3849 
   3850 fi
   3851 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3852 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3853  GREP="$ac_cv_path_GREP"
   3854 
   3855 
   3856 { echo "$as_me:$LINENO: checking for egrep" >&5
   3857 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3858 if test "${ac_cv_path_EGREP+set}" = set; then
   3859   echo $ECHO_N "(cached) $ECHO_C" >&6
   3860 else
   3861   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3862    then ac_cv_path_EGREP="$GREP -E"
   3863    else
   3864      # Extract the first word of "egrep" to use in msg output
   3865 if test -z "$EGREP"; then
   3866 set dummy egrep; ac_prog_name=$2
   3867 if test "${ac_cv_path_EGREP+set}" = set; then
   3868   echo $ECHO_N "(cached) $ECHO_C" >&6
   3869 else
   3870   ac_path_EGREP_found=false
   3871 # Loop through the user's path and test for each of PROGNAME-LIST
   3872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3873 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3874 do
   3875   IFS=$as_save_IFS
   3876   test -z "$as_dir" && as_dir=.
   3877   for ac_prog in egrep; do
   3878   for ac_exec_ext in '' $ac_executable_extensions; do
   3879     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3880     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3881     # Check for GNU ac_path_EGREP and select it if it is found.
   3882   # Check for GNU $ac_path_EGREP
   3883 case `"$ac_path_EGREP" --version 2>&1` in
   3884 *GNU*)
   3885   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3886 *)
   3887   ac_count=0
   3888   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3889   while :
   3890   do
   3891     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3892     mv "conftest.tmp" "conftest.in"
   3893     cp "conftest.in" "conftest.nl"
   3894     echo 'EGREP' >> "conftest.nl"
   3895     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3896     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3897     ac_count=`expr $ac_count + 1`
   3898     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3899       # Best one so far, save it but keep looking for a better one
   3900       ac_cv_path_EGREP="$ac_path_EGREP"
   3901       ac_path_EGREP_max=$ac_count
   3902     fi
   3903     # 10*(2^10) chars as input seems more than enough
   3904     test $ac_count -gt 10 && break
   3905   done
   3906   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3907 esac
   3908 
   3909 
   3910     $ac_path_EGREP_found && break 3
   3911   done
   3912 done
   3913 
   3914 done
   3915 IFS=$as_save_IFS
   3916 
   3917 
   3918 fi
   3919 
   3920 EGREP="$ac_cv_path_EGREP"
   3921 if test -z "$EGREP"; then
   3922   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3923 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3924    { (exit 1); exit 1; }; }
   3925 fi
   3926 
   3927 else
   3928   ac_cv_path_EGREP=$EGREP
   3929 fi
   3930 
   3931 
   3932    fi
   3933 fi
   3934 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3935 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3936  EGREP="$ac_cv_path_EGREP"
   3937 
   3938 
   3939 
   3940 # Check whether --with-gnu-ld was given.
   3941 if test "${with_gnu_ld+set}" = set; then
   3942   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   3943 else
   3944   with_gnu_ld=no
   3945 fi
   3946 
   3947 ac_prog=ld
   3948 if test "$GCC" = yes; then
   3949   # Check if gcc -print-prog-name=ld gives a path.
   3950   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   3951 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   3952   case $host in
   3953   *-*-mingw*)
   3954     # gcc leaves a trailing carriage return which upsets mingw
   3955     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   3956   *)
   3957     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   3958   esac
   3959   case $ac_prog in
   3960     # Accept absolute paths.
   3961     [\\/]* | ?:[\\/]*)
   3962       re_direlt='/[^/][^/]*/\.\./'
   3963       # Canonicalize the pathname of ld
   3964       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   3965       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   3966 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   3967       done
   3968       test -z "$LD" && LD="$ac_prog"
   3969       ;;
   3970   "")
   3971     # If it fails, then pretend we aren't using GCC.
   3972     ac_prog=ld
   3973     ;;
   3974   *)
   3975     # If it is relative, then search for the first ld in PATH.
   3976     with_gnu_ld=unknown
   3977     ;;
   3978   esac
   3979 elif test "$with_gnu_ld" = yes; then
   3980   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   3981 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   3982 else
   3983   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   3984 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   3985 fi
   3986 if test "${lt_cv_path_LD+set}" = set; then
   3987   echo $ECHO_N "(cached) $ECHO_C" >&6
   3988 else
   3989   if test -z "$LD"; then
   3990   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   3991   for ac_dir in $PATH; do
   3992     IFS="$lt_save_ifs"
   3993     test -z "$ac_dir" && ac_dir=.
   3994     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   3995       lt_cv_path_LD="$ac_dir/$ac_prog"
   3996       # Check to see if the program is GNU ld.  I'd rather use --version,
   3997       # but apparently some variants of GNU ld only accept -v.
   3998       # Break only if it was the GNU/non-GNU ld that we prefer.
   3999       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4000       *GNU* | *'with BFD'*)
   4001 	test "$with_gnu_ld" != no && break
   4002 	;;
   4003       *)
   4004 	test "$with_gnu_ld" != yes && break
   4005 	;;
   4006       esac
   4007     fi
   4008   done
   4009   IFS="$lt_save_ifs"
   4010 else
   4011   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4012 fi
   4013 fi
   4014 
   4015 LD="$lt_cv_path_LD"
   4016 if test -n "$LD"; then
   4017   { echo "$as_me:$LINENO: result: $LD" >&5
   4018 echo "${ECHO_T}$LD" >&6; }
   4019 else
   4020   { echo "$as_me:$LINENO: result: no" >&5
   4021 echo "${ECHO_T}no" >&6; }
   4022 fi
   4023 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4024 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4025    { (exit 1); exit 1; }; }
   4026 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4027 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4028 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4029   echo $ECHO_N "(cached) $ECHO_C" >&6
   4030 else
   4031   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4032 case `$LD -v 2>&1 </dev/null` in
   4033 *GNU* | *'with BFD'*)
   4034   lt_cv_prog_gnu_ld=yes
   4035   ;;
   4036 *)
   4037   lt_cv_prog_gnu_ld=no
   4038   ;;
   4039 esac
   4040 fi
   4041 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4042 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4043 with_gnu_ld=$lt_cv_prog_gnu_ld
   4044 
   4045 
   4046 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4047 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4048 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4049   echo $ECHO_N "(cached) $ECHO_C" >&6
   4050 else
   4051   lt_cv_ld_reload_flag='-r'
   4052 fi
   4053 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4054 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4055 reload_flag=$lt_cv_ld_reload_flag
   4056 case $reload_flag in
   4057 "" | " "*) ;;
   4058 *) reload_flag=" $reload_flag" ;;
   4059 esac
   4060 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4061 case $host_os in
   4062   darwin*)
   4063     if test "$GCC" = yes; then
   4064       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4065     else
   4066       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4067     fi
   4068     ;;
   4069 esac
   4070 
   4071 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4072 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4073 if test "${lt_cv_path_NM+set}" = set; then
   4074   echo $ECHO_N "(cached) $ECHO_C" >&6
   4075 else
   4076   if test -n "$NM"; then
   4077   # Let the user override the test.
   4078   lt_cv_path_NM="$NM"
   4079 else
   4080   lt_nm_to_check="${ac_tool_prefix}nm"
   4081   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4082     lt_nm_to_check="$lt_nm_to_check nm"
   4083   fi
   4084   for lt_tmp_nm in $lt_nm_to_check; do
   4085     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4086     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4087       IFS="$lt_save_ifs"
   4088       test -z "$ac_dir" && ac_dir=.
   4089       tmp_nm="$ac_dir/$lt_tmp_nm"
   4090       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4091 	# Check to see if the nm accepts a BSD-compat flag.
   4092 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4093 	#   nm: unknown option "B" ignored
   4094 	# Tru64's nm complains that /dev/null is an invalid object file
   4095 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4096 	*/dev/null* | *'Invalid file or object type'*)
   4097 	  lt_cv_path_NM="$tmp_nm -B"
   4098 	  break
   4099 	  ;;
   4100 	*)
   4101 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4102 	  */dev/null*)
   4103 	    lt_cv_path_NM="$tmp_nm -p"
   4104 	    break
   4105 	    ;;
   4106 	  *)
   4107 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4108 	    continue # so that we can try to find one that supports BSD flags
   4109 	    ;;
   4110 	  esac
   4111 	  ;;
   4112 	esac
   4113       fi
   4114     done
   4115     IFS="$lt_save_ifs"
   4116   done
   4117   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4118 fi
   4119 fi
   4120 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4121 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4122 NM="$lt_cv_path_NM"
   4123 
   4124 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4125 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4126 LN_S=$as_ln_s
   4127 if test "$LN_S" = "ln -s"; then
   4128   { echo "$as_me:$LINENO: result: yes" >&5
   4129 echo "${ECHO_T}yes" >&6; }
   4130 else
   4131   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4132 echo "${ECHO_T}no, using $LN_S" >&6; }
   4133 fi
   4134 
   4135 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   4136 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
   4137 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4138   echo $ECHO_N "(cached) $ECHO_C" >&6
   4139 else
   4140   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4141 lt_cv_file_magic_test_file=
   4142 lt_cv_deplibs_check_method='unknown'
   4143 # Need to set the preceding variable on all platforms that support
   4144 # interlibrary dependencies.
   4145 # 'none' -- dependencies not supported.
   4146 # `unknown' -- same as none, but documents that we really don't know.
   4147 # 'pass_all' -- all dependencies passed with no checks.
   4148 # 'test_compile' -- check by making test program.
   4149 # 'file_magic [[regex]]' -- check by looking for files in library path
   4150 # which responds to the $file_magic_cmd with a given extended regex.
   4151 # If you have `file' or equivalent on your system and you're not sure
   4152 # whether `pass_all' will *always* work, you probably want this one.
   4153 
   4154 case $host_os in
   4155 aix4* | aix5*)
   4156   lt_cv_deplibs_check_method=pass_all
   4157   ;;
   4158 
   4159 beos*)
   4160   lt_cv_deplibs_check_method=pass_all
   4161   ;;
   4162 
   4163 bsdi[45]*)
   4164   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4165   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4166   lt_cv_file_magic_test_file=/shlib/libc.so
   4167   ;;
   4168 
   4169 cygwin*)
   4170   # func_win32_libid is a shell function defined in ltmain.sh
   4171   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4172   lt_cv_file_magic_cmd='func_win32_libid'
   4173   ;;
   4174 
   4175 mingw* | pw32*)
   4176   # Base MSYS/MinGW do not provide the 'file' command needed by
   4177   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   4178   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4179   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4180   ;;
   4181 
   4182 darwin* | rhapsody*)
   4183   lt_cv_deplibs_check_method=pass_all
   4184   ;;
   4185 
   4186 freebsd* | kfreebsd*-gnu | dragonfly*)
   4187   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4188     case $host_cpu in
   4189     i*86 )
   4190       # Not sure whether the presence of OpenBSD here was a mistake.
   4191       # Let's accept both of them until this is cleared up.
   4192       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4193       lt_cv_file_magic_cmd=/usr/bin/file
   4194       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4195       ;;
   4196     esac
   4197   else
   4198     lt_cv_deplibs_check_method=pass_all
   4199   fi
   4200   ;;
   4201 
   4202 gnu*)
   4203   lt_cv_deplibs_check_method=pass_all
   4204   ;;
   4205 
   4206 hpux10.20* | hpux11*)
   4207   lt_cv_file_magic_cmd=/usr/bin/file
   4208   case $host_cpu in
   4209   ia64*)
   4210     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4211     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4212     ;;
   4213   hppa*64*)
   4214     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]'
   4215     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4216     ;;
   4217   *)
   4218     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4219     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4220     ;;
   4221   esac
   4222   ;;
   4223 
   4224 interix3*)
   4225   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4226   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4227   ;;
   4228 
   4229 irix5* | irix6* | nonstopux*)
   4230   case $LD in
   4231   *-32|*"-32 ") libmagic=32-bit;;
   4232   *-n32|*"-n32 ") libmagic=N32;;
   4233   *-64|*"-64 ") libmagic=64-bit;;
   4234   *) libmagic=never-match;;
   4235   esac
   4236   lt_cv_deplibs_check_method=pass_all
   4237   ;;
   4238 
   4239 # This must be Linux ELF.
   4240 linux*)
   4241   lt_cv_deplibs_check_method=pass_all
   4242   ;;
   4243 
   4244 netbsd*)
   4245   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4246     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4247   else
   4248     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4249   fi
   4250   ;;
   4251 
   4252 newos6*)
   4253   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4254   lt_cv_file_magic_cmd=/usr/bin/file
   4255   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4256   ;;
   4257 
   4258 nto-qnx*)
   4259   lt_cv_deplibs_check_method=unknown
   4260   ;;
   4261 
   4262 openbsd*)
   4263   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4264     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4265   else
   4266     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4267   fi
   4268   ;;
   4269 
   4270 osf3* | osf4* | osf5*)
   4271   lt_cv_deplibs_check_method=pass_all
   4272   ;;
   4273 
   4274 solaris*)
   4275   lt_cv_deplibs_check_method=pass_all
   4276   ;;
   4277 
   4278 sysv4 | sysv4.3*)
   4279   case $host_vendor in
   4280   motorola)
   4281     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]'
   4282     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4283     ;;
   4284   ncr)
   4285     lt_cv_deplibs_check_method=pass_all
   4286     ;;
   4287   sequent)
   4288     lt_cv_file_magic_cmd='/bin/file'
   4289     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4290     ;;
   4291   sni)
   4292     lt_cv_file_magic_cmd='/bin/file'
   4293     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4294     lt_cv_file_magic_test_file=/lib/libc.so
   4295     ;;
   4296   siemens)
   4297     lt_cv_deplibs_check_method=pass_all
   4298     ;;
   4299   pc)
   4300     lt_cv_deplibs_check_method=pass_all
   4301     ;;
   4302   esac
   4303   ;;
   4304 
   4305 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4306   lt_cv_deplibs_check_method=pass_all
   4307   ;;
   4308 esac
   4309 
   4310 fi
   4311 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4312 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4313 file_magic_cmd=$lt_cv_file_magic_cmd
   4314 deplibs_check_method=$lt_cv_deplibs_check_method
   4315 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4316 
   4317 
   4318 
   4319 
   4320 # If no C compiler was specified, use CC.
   4321 LTCC=${LTCC-"$CC"}
   4322 
   4323 # If no C compiler flags were specified, use CFLAGS.
   4324 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4325 
   4326 # Allow CC to be a program name with arguments.
   4327 compiler=$CC
   4328 
   4329 
   4330 # Check whether --enable-libtool-lock was given.
   4331 if test "${enable_libtool_lock+set}" = set; then
   4332   enableval=$enable_libtool_lock;
   4333 fi
   4334 
   4335 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4336 
   4337 # Some flags need to be propagated to the compiler or linker for good
   4338 # libtool support.
   4339 case $host in
   4340 ia64-*-hpux*)
   4341   # Find out which ABI we are using.
   4342   echo 'int i;' > conftest.$ac_ext
   4343   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4344   (eval $ac_compile) 2>&5
   4345   ac_status=$?
   4346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4347   (exit $ac_status); }; then
   4348     case `/usr/bin/file conftest.$ac_objext` in
   4349     *ELF-32*)
   4350       HPUX_IA64_MODE="32"
   4351       ;;
   4352     *ELF-64*)
   4353       HPUX_IA64_MODE="64"
   4354       ;;
   4355     esac
   4356   fi
   4357   rm -rf conftest*
   4358   ;;
   4359 *-*-irix6*)
   4360   # Find out which ABI we are using.
   4361   echo '#line 4361 "configure"' > conftest.$ac_ext
   4362   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4363   (eval $ac_compile) 2>&5
   4364   ac_status=$?
   4365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4366   (exit $ac_status); }; then
   4367    if test "$lt_cv_prog_gnu_ld" = yes; then
   4368     case `/usr/bin/file conftest.$ac_objext` in
   4369     *32-bit*)
   4370       LD="${LD-ld} -melf32bsmip"
   4371       ;;
   4372     *N32*)
   4373       LD="${LD-ld} -melf32bmipn32"
   4374       ;;
   4375     *64-bit*)
   4376       LD="${LD-ld} -melf64bmip"
   4377       ;;
   4378     esac
   4379    else
   4380     case `/usr/bin/file conftest.$ac_objext` in
   4381     *32-bit*)
   4382       LD="${LD-ld} -32"
   4383       ;;
   4384     *N32*)
   4385       LD="${LD-ld} -n32"
   4386       ;;
   4387     *64-bit*)
   4388       LD="${LD-ld} -64"
   4389       ;;
   4390     esac
   4391    fi
   4392   fi
   4393   rm -rf conftest*
   4394   ;;
   4395 
   4396 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   4397   # Find out which ABI we are using.
   4398   echo 'int i;' > conftest.$ac_ext
   4399   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4400   (eval $ac_compile) 2>&5
   4401   ac_status=$?
   4402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4403   (exit $ac_status); }; then
   4404     case `/usr/bin/file conftest.o` in
   4405     *32-bit*)
   4406       case $host in
   4407         x86_64-*linux*)
   4408           LD="${LD-ld} -m elf_i386"
   4409           ;;
   4410         ppc64-*linux*|powerpc64-*linux*)
   4411           LD="${LD-ld} -m elf32ppclinux"
   4412           ;;
   4413         s390x-*linux*)
   4414           LD="${LD-ld} -m elf_s390"
   4415           ;;
   4416         sparc64-*linux*)
   4417           LD="${LD-ld} -m elf32_sparc"
   4418           ;;
   4419       esac
   4420       ;;
   4421     *64-bit*)
   4422       case $host in
   4423         x86_64-*linux*)
   4424           LD="${LD-ld} -m elf_x86_64"
   4425           ;;
   4426         ppc*-*linux*|powerpc*-*linux*)
   4427           LD="${LD-ld} -m elf64ppc"
   4428           ;;
   4429         s390*-*linux*)
   4430           LD="${LD-ld} -m elf64_s390"
   4431           ;;
   4432         sparc*-*linux*)
   4433           LD="${LD-ld} -m elf64_sparc"
   4434           ;;
   4435       esac
   4436       ;;
   4437     esac
   4438   fi
   4439   rm -rf conftest*
   4440   ;;
   4441 
   4442 *-*-sco3.2v5*)
   4443   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4444   SAVE_CFLAGS="$CFLAGS"
   4445   CFLAGS="$CFLAGS -belf"
   4446   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4447 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4448 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4449   echo $ECHO_N "(cached) $ECHO_C" >&6
   4450 else
   4451   ac_ext=c
   4452 ac_cpp='$CPP $CPPFLAGS'
   4453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4456 
   4457      cat >conftest.$ac_ext <<_ACEOF
   4458 /* confdefs.h.  */
   4459 _ACEOF
   4460 cat confdefs.h >>conftest.$ac_ext
   4461 cat >>conftest.$ac_ext <<_ACEOF
   4462 /* end confdefs.h.  */
   4463 
   4464 int
   4465 main ()
   4466 {
   4467 
   4468   ;
   4469   return 0;
   4470 }
   4471 _ACEOF
   4472 rm -f conftest.$ac_objext conftest$ac_exeext
   4473 if { (ac_try="$ac_link"
   4474 case "(($ac_try" in
   4475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4476   *) ac_try_echo=$ac_try;;
   4477 esac
   4478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4479   (eval "$ac_link") 2>conftest.er1
   4480   ac_status=$?
   4481   grep -v '^ *+' conftest.er1 >conftest.err
   4482   rm -f conftest.er1
   4483   cat conftest.err >&5
   4484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4485   (exit $ac_status); } && {
   4486 	 test -z "$ac_c_werror_flag" ||
   4487 	 test ! -s conftest.err
   4488        } && test -s conftest$ac_exeext &&
   4489        $as_test_x conftest$ac_exeext; then
   4490   lt_cv_cc_needs_belf=yes
   4491 else
   4492   echo "$as_me: failed program was:" >&5
   4493 sed 's/^/| /' conftest.$ac_ext >&5
   4494 
   4495 	lt_cv_cc_needs_belf=no
   4496 fi
   4497 
   4498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4499       conftest$ac_exeext conftest.$ac_ext
   4500      ac_ext=c
   4501 ac_cpp='$CPP $CPPFLAGS'
   4502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4505 
   4506 fi
   4507 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4508 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4509   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4510     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4511     CFLAGS="$SAVE_CFLAGS"
   4512   fi
   4513   ;;
   4514 sparc*-*solaris*)
   4515   # Find out which ABI we are using.
   4516   echo 'int i;' > conftest.$ac_ext
   4517   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4518   (eval $ac_compile) 2>&5
   4519   ac_status=$?
   4520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4521   (exit $ac_status); }; then
   4522     case `/usr/bin/file conftest.o` in
   4523     *64-bit*)
   4524       case $lt_cv_prog_gnu_ld in
   4525       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4526       *)    LD="${LD-ld} -64" ;;
   4527       esac
   4528       ;;
   4529     esac
   4530   fi
   4531   rm -rf conftest*
   4532   ;;
   4533 
   4534 
   4535 esac
   4536 
   4537 need_locks="$enable_libtool_lock"
   4538 
   4539 
   4540 ac_ext=c
   4541 ac_cpp='$CPP $CPPFLAGS'
   4542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4545 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4546 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4547 # On Suns, sometimes $CPP names a directory.
   4548 if test -n "$CPP" && test -d "$CPP"; then
   4549   CPP=
   4550 fi
   4551 if test -z "$CPP"; then
   4552   if test "${ac_cv_prog_CPP+set}" = set; then
   4553   echo $ECHO_N "(cached) $ECHO_C" >&6
   4554 else
   4555       # Double quotes because CPP needs to be expanded
   4556     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4557     do
   4558       ac_preproc_ok=false
   4559 for ac_c_preproc_warn_flag in '' yes
   4560 do
   4561   # Use a header file that comes with gcc, so configuring glibc
   4562   # with a fresh cross-compiler works.
   4563   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4564   # <limits.h> exists even on freestanding compilers.
   4565   # On the NeXT, cc -E runs the code through the compiler's parser,
   4566   # not just through cpp. "Syntax error" is here to catch this case.
   4567   cat >conftest.$ac_ext <<_ACEOF
   4568 /* confdefs.h.  */
   4569 _ACEOF
   4570 cat confdefs.h >>conftest.$ac_ext
   4571 cat >>conftest.$ac_ext <<_ACEOF
   4572 /* end confdefs.h.  */
   4573 #ifdef __STDC__
   4574 # include <limits.h>
   4575 #else
   4576 # include <assert.h>
   4577 #endif
   4578 		     Syntax error
   4579 _ACEOF
   4580 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4581 case "(($ac_try" in
   4582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4583   *) ac_try_echo=$ac_try;;
   4584 esac
   4585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4586   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4587   ac_status=$?
   4588   grep -v '^ *+' conftest.er1 >conftest.err
   4589   rm -f conftest.er1
   4590   cat conftest.err >&5
   4591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4592   (exit $ac_status); } >/dev/null && {
   4593 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4594 	 test ! -s conftest.err
   4595        }; then
   4596   :
   4597 else
   4598   echo "$as_me: failed program was:" >&5
   4599 sed 's/^/| /' conftest.$ac_ext >&5
   4600 
   4601   # Broken: fails on valid input.
   4602 continue
   4603 fi
   4604 
   4605 rm -f conftest.err conftest.$ac_ext
   4606 
   4607   # OK, works on sane cases.  Now check whether nonexistent headers
   4608   # can be detected and how.
   4609   cat >conftest.$ac_ext <<_ACEOF
   4610 /* confdefs.h.  */
   4611 _ACEOF
   4612 cat confdefs.h >>conftest.$ac_ext
   4613 cat >>conftest.$ac_ext <<_ACEOF
   4614 /* end confdefs.h.  */
   4615 #include <ac_nonexistent.h>
   4616 _ACEOF
   4617 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4618 case "(($ac_try" in
   4619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4620   *) ac_try_echo=$ac_try;;
   4621 esac
   4622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4623   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4624   ac_status=$?
   4625   grep -v '^ *+' conftest.er1 >conftest.err
   4626   rm -f conftest.er1
   4627   cat conftest.err >&5
   4628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4629   (exit $ac_status); } >/dev/null && {
   4630 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4631 	 test ! -s conftest.err
   4632        }; then
   4633   # Broken: success on invalid input.
   4634 continue
   4635 else
   4636   echo "$as_me: failed program was:" >&5
   4637 sed 's/^/| /' conftest.$ac_ext >&5
   4638 
   4639   # Passes both tests.
   4640 ac_preproc_ok=:
   4641 break
   4642 fi
   4643 
   4644 rm -f conftest.err conftest.$ac_ext
   4645 
   4646 done
   4647 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4648 rm -f conftest.err conftest.$ac_ext
   4649 if $ac_preproc_ok; then
   4650   break
   4651 fi
   4652 
   4653     done
   4654     ac_cv_prog_CPP=$CPP
   4655 
   4656 fi
   4657   CPP=$ac_cv_prog_CPP
   4658 else
   4659   ac_cv_prog_CPP=$CPP
   4660 fi
   4661 { echo "$as_me:$LINENO: result: $CPP" >&5
   4662 echo "${ECHO_T}$CPP" >&6; }
   4663 ac_preproc_ok=false
   4664 for ac_c_preproc_warn_flag in '' yes
   4665 do
   4666   # Use a header file that comes with gcc, so configuring glibc
   4667   # with a fresh cross-compiler works.
   4668   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4669   # <limits.h> exists even on freestanding compilers.
   4670   # On the NeXT, cc -E runs the code through the compiler's parser,
   4671   # not just through cpp. "Syntax error" is here to catch this case.
   4672   cat >conftest.$ac_ext <<_ACEOF
   4673 /* confdefs.h.  */
   4674 _ACEOF
   4675 cat confdefs.h >>conftest.$ac_ext
   4676 cat >>conftest.$ac_ext <<_ACEOF
   4677 /* end confdefs.h.  */
   4678 #ifdef __STDC__
   4679 # include <limits.h>
   4680 #else
   4681 # include <assert.h>
   4682 #endif
   4683 		     Syntax error
   4684 _ACEOF
   4685 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4686 case "(($ac_try" in
   4687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4688   *) ac_try_echo=$ac_try;;
   4689 esac
   4690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4691   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4692   ac_status=$?
   4693   grep -v '^ *+' conftest.er1 >conftest.err
   4694   rm -f conftest.er1
   4695   cat conftest.err >&5
   4696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4697   (exit $ac_status); } >/dev/null && {
   4698 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4699 	 test ! -s conftest.err
   4700        }; then
   4701   :
   4702 else
   4703   echo "$as_me: failed program was:" >&5
   4704 sed 's/^/| /' conftest.$ac_ext >&5
   4705 
   4706   # Broken: fails on valid input.
   4707 continue
   4708 fi
   4709 
   4710 rm -f conftest.err conftest.$ac_ext
   4711 
   4712   # OK, works on sane cases.  Now check whether nonexistent headers
   4713   # can be detected and how.
   4714   cat >conftest.$ac_ext <<_ACEOF
   4715 /* confdefs.h.  */
   4716 _ACEOF
   4717 cat confdefs.h >>conftest.$ac_ext
   4718 cat >>conftest.$ac_ext <<_ACEOF
   4719 /* end confdefs.h.  */
   4720 #include <ac_nonexistent.h>
   4721 _ACEOF
   4722 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4723 case "(($ac_try" in
   4724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4725   *) ac_try_echo=$ac_try;;
   4726 esac
   4727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4728   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4729   ac_status=$?
   4730   grep -v '^ *+' conftest.er1 >conftest.err
   4731   rm -f conftest.er1
   4732   cat conftest.err >&5
   4733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4734   (exit $ac_status); } >/dev/null && {
   4735 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4736 	 test ! -s conftest.err
   4737        }; then
   4738   # Broken: success on invalid input.
   4739 continue
   4740 else
   4741   echo "$as_me: failed program was:" >&5
   4742 sed 's/^/| /' conftest.$ac_ext >&5
   4743 
   4744   # Passes both tests.
   4745 ac_preproc_ok=:
   4746 break
   4747 fi
   4748 
   4749 rm -f conftest.err conftest.$ac_ext
   4750 
   4751 done
   4752 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4753 rm -f conftest.err conftest.$ac_ext
   4754 if $ac_preproc_ok; then
   4755   :
   4756 else
   4757   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4758 See \`config.log' for more details." >&5
   4759 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4760 See \`config.log' for more details." >&2;}
   4761    { (exit 1); exit 1; }; }
   4762 fi
   4763 
   4764 ac_ext=c
   4765 ac_cpp='$CPP $CPPFLAGS'
   4766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4769 
   4770 
   4771 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4772 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4773 if test "${ac_cv_header_stdc+set}" = set; then
   4774   echo $ECHO_N "(cached) $ECHO_C" >&6
   4775 else
   4776   cat >conftest.$ac_ext <<_ACEOF
   4777 /* confdefs.h.  */
   4778 _ACEOF
   4779 cat confdefs.h >>conftest.$ac_ext
   4780 cat >>conftest.$ac_ext <<_ACEOF
   4781 /* end confdefs.h.  */
   4782 #include <stdlib.h>
   4783 #include <stdarg.h>
   4784 #include <string.h>
   4785 #include <float.h>
   4786 
   4787 int
   4788 main ()
   4789 {
   4790 
   4791   ;
   4792   return 0;
   4793 }
   4794 _ACEOF
   4795 rm -f conftest.$ac_objext
   4796 if { (ac_try="$ac_compile"
   4797 case "(($ac_try" in
   4798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4799   *) ac_try_echo=$ac_try;;
   4800 esac
   4801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4802   (eval "$ac_compile") 2>conftest.er1
   4803   ac_status=$?
   4804   grep -v '^ *+' conftest.er1 >conftest.err
   4805   rm -f conftest.er1
   4806   cat conftest.err >&5
   4807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4808   (exit $ac_status); } && {
   4809 	 test -z "$ac_c_werror_flag" ||
   4810 	 test ! -s conftest.err
   4811        } && test -s conftest.$ac_objext; then
   4812   ac_cv_header_stdc=yes
   4813 else
   4814   echo "$as_me: failed program was:" >&5
   4815 sed 's/^/| /' conftest.$ac_ext >&5
   4816 
   4817 	ac_cv_header_stdc=no
   4818 fi
   4819 
   4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4821 
   4822 if test $ac_cv_header_stdc = yes; then
   4823   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4824   cat >conftest.$ac_ext <<_ACEOF
   4825 /* confdefs.h.  */
   4826 _ACEOF
   4827 cat confdefs.h >>conftest.$ac_ext
   4828 cat >>conftest.$ac_ext <<_ACEOF
   4829 /* end confdefs.h.  */
   4830 #include <string.h>
   4831 
   4832 _ACEOF
   4833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4834   $EGREP "memchr" >/dev/null 2>&1; then
   4835   :
   4836 else
   4837   ac_cv_header_stdc=no
   4838 fi
   4839 rm -f conftest*
   4840 
   4841 fi
   4842 
   4843 if test $ac_cv_header_stdc = yes; then
   4844   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4845   cat >conftest.$ac_ext <<_ACEOF
   4846 /* confdefs.h.  */
   4847 _ACEOF
   4848 cat confdefs.h >>conftest.$ac_ext
   4849 cat >>conftest.$ac_ext <<_ACEOF
   4850 /* end confdefs.h.  */
   4851 #include <stdlib.h>
   4852 
   4853 _ACEOF
   4854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4855   $EGREP "free" >/dev/null 2>&1; then
   4856   :
   4857 else
   4858   ac_cv_header_stdc=no
   4859 fi
   4860 rm -f conftest*
   4861 
   4862 fi
   4863 
   4864 if test $ac_cv_header_stdc = yes; then
   4865   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4866   if test "$cross_compiling" = yes; then
   4867   :
   4868 else
   4869   cat >conftest.$ac_ext <<_ACEOF
   4870 /* confdefs.h.  */
   4871 _ACEOF
   4872 cat confdefs.h >>conftest.$ac_ext
   4873 cat >>conftest.$ac_ext <<_ACEOF
   4874 /* end confdefs.h.  */
   4875 #include <ctype.h>
   4876 #include <stdlib.h>
   4877 #if ((' ' & 0x0FF) == 0x020)
   4878 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4879 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4880 #else
   4881 # define ISLOWER(c) \
   4882 		   (('a' <= (c) && (c) <= 'i') \
   4883 		     || ('j' <= (c) && (c) <= 'r') \
   4884 		     || ('s' <= (c) && (c) <= 'z'))
   4885 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4886 #endif
   4887 
   4888 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4889 int
   4890 main ()
   4891 {
   4892   int i;
   4893   for (i = 0; i < 256; i++)
   4894     if (XOR (islower (i), ISLOWER (i))
   4895 	|| toupper (i) != TOUPPER (i))
   4896       return 2;
   4897   return 0;
   4898 }
   4899 _ACEOF
   4900 rm -f conftest$ac_exeext
   4901 if { (ac_try="$ac_link"
   4902 case "(($ac_try" in
   4903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4904   *) ac_try_echo=$ac_try;;
   4905 esac
   4906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4907   (eval "$ac_link") 2>&5
   4908   ac_status=$?
   4909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4910   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4911   { (case "(($ac_try" in
   4912   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4913   *) ac_try_echo=$ac_try;;
   4914 esac
   4915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4916   (eval "$ac_try") 2>&5
   4917   ac_status=$?
   4918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4919   (exit $ac_status); }; }; then
   4920   :
   4921 else
   4922   echo "$as_me: program exited with status $ac_status" >&5
   4923 echo "$as_me: failed program was:" >&5
   4924 sed 's/^/| /' conftest.$ac_ext >&5
   4925 
   4926 ( exit $ac_status )
   4927 ac_cv_header_stdc=no
   4928 fi
   4929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4930 fi
   4931 
   4932 
   4933 fi
   4934 fi
   4935 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4936 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   4937 if test $ac_cv_header_stdc = yes; then
   4938 
   4939 cat >>confdefs.h <<\_ACEOF
   4940 #define STDC_HEADERS 1
   4941 _ACEOF
   4942 
   4943 fi
   4944 
   4945 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4946 
   4947 
   4948 
   4949 
   4950 
   4951 
   4952 
   4953 
   4954 
   4955 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4956 		  inttypes.h stdint.h unistd.h
   4957 do
   4958 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4959 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   4960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   4961 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   4962   echo $ECHO_N "(cached) $ECHO_C" >&6
   4963 else
   4964   cat >conftest.$ac_ext <<_ACEOF
   4965 /* confdefs.h.  */
   4966 _ACEOF
   4967 cat confdefs.h >>conftest.$ac_ext
   4968 cat >>conftest.$ac_ext <<_ACEOF
   4969 /* end confdefs.h.  */
   4970 $ac_includes_default
   4971 
   4972 #include <$ac_header>
   4973 _ACEOF
   4974 rm -f conftest.$ac_objext
   4975 if { (ac_try="$ac_compile"
   4976 case "(($ac_try" in
   4977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4978   *) ac_try_echo=$ac_try;;
   4979 esac
   4980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4981   (eval "$ac_compile") 2>conftest.er1
   4982   ac_status=$?
   4983   grep -v '^ *+' conftest.er1 >conftest.err
   4984   rm -f conftest.er1
   4985   cat conftest.err >&5
   4986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4987   (exit $ac_status); } && {
   4988 	 test -z "$ac_c_werror_flag" ||
   4989 	 test ! -s conftest.err
   4990        } && test -s conftest.$ac_objext; then
   4991   eval "$as_ac_Header=yes"
   4992 else
   4993   echo "$as_me: failed program was:" >&5
   4994 sed 's/^/| /' conftest.$ac_ext >&5
   4995 
   4996 	eval "$as_ac_Header=no"
   4997 fi
   4998 
   4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5000 fi
   5001 ac_res=`eval echo '${'$as_ac_Header'}'`
   5002 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5003 echo "${ECHO_T}$ac_res" >&6; }
   5004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5005   cat >>confdefs.h <<_ACEOF
   5006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5007 _ACEOF
   5008 
   5009 fi
   5010 
   5011 done
   5012 
   5013 
   5014 
   5015 for ac_header in dlfcn.h
   5016 do
   5017 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5019   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5021 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5022   echo $ECHO_N "(cached) $ECHO_C" >&6
   5023 fi
   5024 ac_res=`eval echo '${'$as_ac_Header'}'`
   5025 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5026 echo "${ECHO_T}$ac_res" >&6; }
   5027 else
   5028   # Is the header compilable?
   5029 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5030 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5031 cat >conftest.$ac_ext <<_ACEOF
   5032 /* confdefs.h.  */
   5033 _ACEOF
   5034 cat confdefs.h >>conftest.$ac_ext
   5035 cat >>conftest.$ac_ext <<_ACEOF
   5036 /* end confdefs.h.  */
   5037 $ac_includes_default
   5038 #include <$ac_header>
   5039 _ACEOF
   5040 rm -f conftest.$ac_objext
   5041 if { (ac_try="$ac_compile"
   5042 case "(($ac_try" in
   5043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5044   *) ac_try_echo=$ac_try;;
   5045 esac
   5046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5047   (eval "$ac_compile") 2>conftest.er1
   5048   ac_status=$?
   5049   grep -v '^ *+' conftest.er1 >conftest.err
   5050   rm -f conftest.er1
   5051   cat conftest.err >&5
   5052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5053   (exit $ac_status); } && {
   5054 	 test -z "$ac_c_werror_flag" ||
   5055 	 test ! -s conftest.err
   5056        } && test -s conftest.$ac_objext; then
   5057   ac_header_compiler=yes
   5058 else
   5059   echo "$as_me: failed program was:" >&5
   5060 sed 's/^/| /' conftest.$ac_ext >&5
   5061 
   5062 	ac_header_compiler=no
   5063 fi
   5064 
   5065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5066 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5067 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5068 
   5069 # Is the header present?
   5070 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5071 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5072 cat >conftest.$ac_ext <<_ACEOF
   5073 /* confdefs.h.  */
   5074 _ACEOF
   5075 cat confdefs.h >>conftest.$ac_ext
   5076 cat >>conftest.$ac_ext <<_ACEOF
   5077 /* end confdefs.h.  */
   5078 #include <$ac_header>
   5079 _ACEOF
   5080 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5081 case "(($ac_try" in
   5082   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5083   *) ac_try_echo=$ac_try;;
   5084 esac
   5085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5086   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5087   ac_status=$?
   5088   grep -v '^ *+' conftest.er1 >conftest.err
   5089   rm -f conftest.er1
   5090   cat conftest.err >&5
   5091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5092   (exit $ac_status); } >/dev/null && {
   5093 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5094 	 test ! -s conftest.err
   5095        }; then
   5096   ac_header_preproc=yes
   5097 else
   5098   echo "$as_me: failed program was:" >&5
   5099 sed 's/^/| /' conftest.$ac_ext >&5
   5100 
   5101   ac_header_preproc=no
   5102 fi
   5103 
   5104 rm -f conftest.err conftest.$ac_ext
   5105 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5106 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5107 
   5108 # So?  What about this header?
   5109 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5110   yes:no: )
   5111     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5112 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5113     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5114 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5115     ac_header_preproc=yes
   5116     ;;
   5117   no:yes:* )
   5118     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5119 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5120     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5121 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5122     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5123 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5124     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5125 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5126     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5127 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5128     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5129 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5130     ( cat <<\_ASBOX
   5131 ## ---------------------------------------------------------------------- ##
   5132 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5133 ## ---------------------------------------------------------------------- ##
   5134 _ASBOX
   5135      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5136     ;;
   5137 esac
   5138 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5140 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5141   echo $ECHO_N "(cached) $ECHO_C" >&6
   5142 else
   5143   eval "$as_ac_Header=\$ac_header_preproc"
   5144 fi
   5145 ac_res=`eval echo '${'$as_ac_Header'}'`
   5146 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5147 echo "${ECHO_T}$ac_res" >&6; }
   5148 
   5149 fi
   5150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5151   cat >>confdefs.h <<_ACEOF
   5152 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5153 _ACEOF
   5154 
   5155 fi
   5156 
   5157 done
   5158 
   5159 ac_ext=cpp
   5160 ac_cpp='$CXXCPP $CPPFLAGS'
   5161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5164 if test -z "$CXX"; then
   5165   if test -n "$CCC"; then
   5166     CXX=$CCC
   5167   else
   5168     if test -n "$ac_tool_prefix"; then
   5169   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5170   do
   5171     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5172 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5175 if test "${ac_cv_prog_CXX+set}" = set; then
   5176   echo $ECHO_N "(cached) $ECHO_C" >&6
   5177 else
   5178   if test -n "$CXX"; then
   5179   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5180 else
   5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5182 for as_dir in $PATH
   5183 do
   5184   IFS=$as_save_IFS
   5185   test -z "$as_dir" && as_dir=.
   5186   for ac_exec_ext in '' $ac_executable_extensions; do
   5187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5188     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5189     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5190     break 2
   5191   fi
   5192 done
   5193 done
   5194 IFS=$as_save_IFS
   5195 
   5196 fi
   5197 fi
   5198 CXX=$ac_cv_prog_CXX
   5199 if test -n "$CXX"; then
   5200   { echo "$as_me:$LINENO: result: $CXX" >&5
   5201 echo "${ECHO_T}$CXX" >&6; }
   5202 else
   5203   { echo "$as_me:$LINENO: result: no" >&5
   5204 echo "${ECHO_T}no" >&6; }
   5205 fi
   5206 
   5207 
   5208     test -n "$CXX" && break
   5209   done
   5210 fi
   5211 if test -z "$CXX"; then
   5212   ac_ct_CXX=$CXX
   5213   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5214 do
   5215   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5216 set dummy $ac_prog; ac_word=$2
   5217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5219 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5220   echo $ECHO_N "(cached) $ECHO_C" >&6
   5221 else
   5222   if test -n "$ac_ct_CXX"; then
   5223   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5224 else
   5225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5226 for as_dir in $PATH
   5227 do
   5228   IFS=$as_save_IFS
   5229   test -z "$as_dir" && as_dir=.
   5230   for ac_exec_ext in '' $ac_executable_extensions; do
   5231   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5232     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5233     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5234     break 2
   5235   fi
   5236 done
   5237 done
   5238 IFS=$as_save_IFS
   5239 
   5240 fi
   5241 fi
   5242 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5243 if test -n "$ac_ct_CXX"; then
   5244   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5245 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5246 else
   5247   { echo "$as_me:$LINENO: result: no" >&5
   5248 echo "${ECHO_T}no" >&6; }
   5249 fi
   5250 
   5251 
   5252   test -n "$ac_ct_CXX" && break
   5253 done
   5254 
   5255   if test "x$ac_ct_CXX" = x; then
   5256     CXX="g++"
   5257   else
   5258     case $cross_compiling:$ac_tool_warned in
   5259 yes:)
   5260 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5261 whose name does not start with the host triplet.  If you think this
   5262 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5263 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5264 whose name does not start with the host triplet.  If you think this
   5265 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5266 ac_tool_warned=yes ;;
   5267 esac
   5268     CXX=$ac_ct_CXX
   5269   fi
   5270 fi
   5271 
   5272   fi
   5273 fi
   5274 # Provide some information about the compiler.
   5275 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5276 ac_compiler=`set X $ac_compile; echo $2`
   5277 { (ac_try="$ac_compiler --version >&5"
   5278 case "(($ac_try" in
   5279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5280   *) ac_try_echo=$ac_try;;
   5281 esac
   5282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5283   (eval "$ac_compiler --version >&5") 2>&5
   5284   ac_status=$?
   5285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5286   (exit $ac_status); }
   5287 { (ac_try="$ac_compiler -v >&5"
   5288 case "(($ac_try" in
   5289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5290   *) ac_try_echo=$ac_try;;
   5291 esac
   5292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5293   (eval "$ac_compiler -v >&5") 2>&5
   5294   ac_status=$?
   5295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5296   (exit $ac_status); }
   5297 { (ac_try="$ac_compiler -V >&5"
   5298 case "(($ac_try" in
   5299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5300   *) ac_try_echo=$ac_try;;
   5301 esac
   5302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5303   (eval "$ac_compiler -V >&5") 2>&5
   5304   ac_status=$?
   5305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5306   (exit $ac_status); }
   5307 
   5308 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5309 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5310 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5311   echo $ECHO_N "(cached) $ECHO_C" >&6
   5312 else
   5313   cat >conftest.$ac_ext <<_ACEOF
   5314 /* confdefs.h.  */
   5315 _ACEOF
   5316 cat confdefs.h >>conftest.$ac_ext
   5317 cat >>conftest.$ac_ext <<_ACEOF
   5318 /* end confdefs.h.  */
   5319 
   5320 int
   5321 main ()
   5322 {
   5323 #ifndef __GNUC__
   5324        choke me
   5325 #endif
   5326 
   5327   ;
   5328   return 0;
   5329 }
   5330 _ACEOF
   5331 rm -f conftest.$ac_objext
   5332 if { (ac_try="$ac_compile"
   5333 case "(($ac_try" in
   5334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5335   *) ac_try_echo=$ac_try;;
   5336 esac
   5337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5338   (eval "$ac_compile") 2>conftest.er1
   5339   ac_status=$?
   5340   grep -v '^ *+' conftest.er1 >conftest.err
   5341   rm -f conftest.er1
   5342   cat conftest.err >&5
   5343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5344   (exit $ac_status); } && {
   5345 	 test -z "$ac_cxx_werror_flag" ||
   5346 	 test ! -s conftest.err
   5347        } && test -s conftest.$ac_objext; then
   5348   ac_compiler_gnu=yes
   5349 else
   5350   echo "$as_me: failed program was:" >&5
   5351 sed 's/^/| /' conftest.$ac_ext >&5
   5352 
   5353 	ac_compiler_gnu=no
   5354 fi
   5355 
   5356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5357 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5358 
   5359 fi
   5360 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5361 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5362 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5363 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5364 ac_save_CXXFLAGS=$CXXFLAGS
   5365 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5366 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5367 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5368   echo $ECHO_N "(cached) $ECHO_C" >&6
   5369 else
   5370   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5371    ac_cxx_werror_flag=yes
   5372    ac_cv_prog_cxx_g=no
   5373    CXXFLAGS="-g"
   5374    cat >conftest.$ac_ext <<_ACEOF
   5375 /* confdefs.h.  */
   5376 _ACEOF
   5377 cat confdefs.h >>conftest.$ac_ext
   5378 cat >>conftest.$ac_ext <<_ACEOF
   5379 /* end confdefs.h.  */
   5380 
   5381 int
   5382 main ()
   5383 {
   5384 
   5385   ;
   5386   return 0;
   5387 }
   5388 _ACEOF
   5389 rm -f conftest.$ac_objext
   5390 if { (ac_try="$ac_compile"
   5391 case "(($ac_try" in
   5392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5393   *) ac_try_echo=$ac_try;;
   5394 esac
   5395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5396   (eval "$ac_compile") 2>conftest.er1
   5397   ac_status=$?
   5398   grep -v '^ *+' conftest.er1 >conftest.err
   5399   rm -f conftest.er1
   5400   cat conftest.err >&5
   5401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5402   (exit $ac_status); } && {
   5403 	 test -z "$ac_cxx_werror_flag" ||
   5404 	 test ! -s conftest.err
   5405        } && test -s conftest.$ac_objext; then
   5406   ac_cv_prog_cxx_g=yes
   5407 else
   5408   echo "$as_me: failed program was:" >&5
   5409 sed 's/^/| /' conftest.$ac_ext >&5
   5410 
   5411 	CXXFLAGS=""
   5412       cat >conftest.$ac_ext <<_ACEOF
   5413 /* confdefs.h.  */
   5414 _ACEOF
   5415 cat confdefs.h >>conftest.$ac_ext
   5416 cat >>conftest.$ac_ext <<_ACEOF
   5417 /* end confdefs.h.  */
   5418 
   5419 int
   5420 main ()
   5421 {
   5422 
   5423   ;
   5424   return 0;
   5425 }
   5426 _ACEOF
   5427 rm -f conftest.$ac_objext
   5428 if { (ac_try="$ac_compile"
   5429 case "(($ac_try" in
   5430   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5431   *) ac_try_echo=$ac_try;;
   5432 esac
   5433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5434   (eval "$ac_compile") 2>conftest.er1
   5435   ac_status=$?
   5436   grep -v '^ *+' conftest.er1 >conftest.err
   5437   rm -f conftest.er1
   5438   cat conftest.err >&5
   5439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5440   (exit $ac_status); } && {
   5441 	 test -z "$ac_cxx_werror_flag" ||
   5442 	 test ! -s conftest.err
   5443        } && test -s conftest.$ac_objext; then
   5444   :
   5445 else
   5446   echo "$as_me: failed program was:" >&5
   5447 sed 's/^/| /' conftest.$ac_ext >&5
   5448 
   5449 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5450 	 CXXFLAGS="-g"
   5451 	 cat >conftest.$ac_ext <<_ACEOF
   5452 /* confdefs.h.  */
   5453 _ACEOF
   5454 cat confdefs.h >>conftest.$ac_ext
   5455 cat >>conftest.$ac_ext <<_ACEOF
   5456 /* end confdefs.h.  */
   5457 
   5458 int
   5459 main ()
   5460 {
   5461 
   5462   ;
   5463   return 0;
   5464 }
   5465 _ACEOF
   5466 rm -f conftest.$ac_objext
   5467 if { (ac_try="$ac_compile"
   5468 case "(($ac_try" in
   5469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5470   *) ac_try_echo=$ac_try;;
   5471 esac
   5472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5473   (eval "$ac_compile") 2>conftest.er1
   5474   ac_status=$?
   5475   grep -v '^ *+' conftest.er1 >conftest.err
   5476   rm -f conftest.er1
   5477   cat conftest.err >&5
   5478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5479   (exit $ac_status); } && {
   5480 	 test -z "$ac_cxx_werror_flag" ||
   5481 	 test ! -s conftest.err
   5482        } && test -s conftest.$ac_objext; then
   5483   ac_cv_prog_cxx_g=yes
   5484 else
   5485   echo "$as_me: failed program was:" >&5
   5486 sed 's/^/| /' conftest.$ac_ext >&5
   5487 
   5488 
   5489 fi
   5490 
   5491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5492 fi
   5493 
   5494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5495 fi
   5496 
   5497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5498    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5499 fi
   5500 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5501 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5502 if test "$ac_test_CXXFLAGS" = set; then
   5503   CXXFLAGS=$ac_save_CXXFLAGS
   5504 elif test $ac_cv_prog_cxx_g = yes; then
   5505   if test "$GXX" = yes; then
   5506     CXXFLAGS="-g -O2"
   5507   else
   5508     CXXFLAGS="-g"
   5509   fi
   5510 else
   5511   if test "$GXX" = yes; then
   5512     CXXFLAGS="-O2"
   5513   else
   5514     CXXFLAGS=
   5515   fi
   5516 fi
   5517 ac_ext=cpp
   5518 ac_cpp='$CXXCPP $CPPFLAGS'
   5519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5522 
   5523 depcc="$CXX"  am_compiler_list=
   5524 
   5525 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5526 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5527 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5528   echo $ECHO_N "(cached) $ECHO_C" >&6
   5529 else
   5530   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5531   # We make a subdir and do the tests there.  Otherwise we can end up
   5532   # making bogus files that we don't know about and never remove.  For
   5533   # instance it was reported that on HP-UX the gcc test will end up
   5534   # making a dummy file named `D' -- because `-MD' means `put the output
   5535   # in D'.
   5536   mkdir conftest.dir
   5537   # Copy depcomp to subdir because otherwise we won't find it if we're
   5538   # using a relative directory.
   5539   cp "$am_depcomp" conftest.dir
   5540   cd conftest.dir
   5541   # We will build objects and dependencies in a subdirectory because
   5542   # it helps to detect inapplicable dependency modes.  For instance
   5543   # both Tru64's cc and ICC support -MD to output dependencies as a
   5544   # side effect of compilation, but ICC will put the dependencies in
   5545   # the current directory while Tru64 will put them in the object
   5546   # directory.
   5547   mkdir sub
   5548 
   5549   am_cv_CXX_dependencies_compiler_type=none
   5550   if test "$am_compiler_list" = ""; then
   5551      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5552   fi
   5553   for depmode in $am_compiler_list; do
   5554     # Setup a source with many dependencies, because some compilers
   5555     # like to wrap large dependency lists on column 80 (with \), and
   5556     # we should not choose a depcomp mode which is confused by this.
   5557     #
   5558     # We need to recreate these files for each test, as the compiler may
   5559     # overwrite some of them when testing with obscure command lines.
   5560     # This happens at least with the AIX C compiler.
   5561     : > sub/conftest.c
   5562     for i in 1 2 3 4 5 6; do
   5563       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5564       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5565       # Solaris 8's {/usr,}/bin/sh.
   5566       touch sub/conftst$i.h
   5567     done
   5568     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5569 
   5570     case $depmode in
   5571     nosideeffect)
   5572       # after this tag, mechanisms are not by side-effect, so they'll
   5573       # only be used when explicitly requested
   5574       if test "x$enable_dependency_tracking" = xyes; then
   5575 	continue
   5576       else
   5577 	break
   5578       fi
   5579       ;;
   5580     none) break ;;
   5581     esac
   5582     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5583     # mode.  It turns out that the SunPro C++ compiler does not properly
   5584     # handle `-M -o', and we need to detect this.
   5585     if depmode=$depmode \
   5586        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5587        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5588        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5589          >/dev/null 2>conftest.err &&
   5590        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5591        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5592        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5593        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5594       # icc doesn't choke on unknown options, it will just issue warnings
   5595       # or remarks (even with -Werror).  So we grep stderr for any message
   5596       # that says an option was ignored or not supported.
   5597       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5598       #   icc: Command line warning: ignoring option '-M'; no argument required
   5599       # The diagnosis changed in icc 8.0:
   5600       #   icc: Command line remark: option '-MP' not supported
   5601       if (grep 'ignoring option' conftest.err ||
   5602           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5603         am_cv_CXX_dependencies_compiler_type=$depmode
   5604         break
   5605       fi
   5606     fi
   5607   done
   5608 
   5609   cd ..
   5610   rm -rf conftest.dir
   5611 else
   5612   am_cv_CXX_dependencies_compiler_type=none
   5613 fi
   5614 
   5615 fi
   5616 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5617 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5618 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5619 
   5620  if
   5621   test "x$enable_dependency_tracking" != xno \
   5622   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5623   am__fastdepCXX_TRUE=
   5624   am__fastdepCXX_FALSE='#'
   5625 else
   5626   am__fastdepCXX_TRUE='#'
   5627   am__fastdepCXX_FALSE=
   5628 fi
   5629 
   5630 
   5631 
   5632 
   5633 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5634     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5635     (test "X$CXX" != "Xg++"))) ; then
   5636   ac_ext=cpp
   5637 ac_cpp='$CXXCPP $CPPFLAGS'
   5638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5641 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5642 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5643 if test -z "$CXXCPP"; then
   5644   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5645   echo $ECHO_N "(cached) $ECHO_C" >&6
   5646 else
   5647       # Double quotes because CXXCPP needs to be expanded
   5648     for CXXCPP in "$CXX -E" "/lib/cpp"
   5649     do
   5650       ac_preproc_ok=false
   5651 for ac_cxx_preproc_warn_flag in '' yes
   5652 do
   5653   # Use a header file that comes with gcc, so configuring glibc
   5654   # with a fresh cross-compiler works.
   5655   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5656   # <limits.h> exists even on freestanding compilers.
   5657   # On the NeXT, cc -E runs the code through the compiler's parser,
   5658   # not just through cpp. "Syntax error" is here to catch this case.
   5659   cat >conftest.$ac_ext <<_ACEOF
   5660 /* confdefs.h.  */
   5661 _ACEOF
   5662 cat confdefs.h >>conftest.$ac_ext
   5663 cat >>conftest.$ac_ext <<_ACEOF
   5664 /* end confdefs.h.  */
   5665 #ifdef __STDC__
   5666 # include <limits.h>
   5667 #else
   5668 # include <assert.h>
   5669 #endif
   5670 		     Syntax error
   5671 _ACEOF
   5672 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5673 case "(($ac_try" in
   5674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5675   *) ac_try_echo=$ac_try;;
   5676 esac
   5677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5678   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5679   ac_status=$?
   5680   grep -v '^ *+' conftest.er1 >conftest.err
   5681   rm -f conftest.er1
   5682   cat conftest.err >&5
   5683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5684   (exit $ac_status); } >/dev/null && {
   5685 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5686 	 test ! -s conftest.err
   5687        }; then
   5688   :
   5689 else
   5690   echo "$as_me: failed program was:" >&5
   5691 sed 's/^/| /' conftest.$ac_ext >&5
   5692 
   5693   # Broken: fails on valid input.
   5694 continue
   5695 fi
   5696 
   5697 rm -f conftest.err conftest.$ac_ext
   5698 
   5699   # OK, works on sane cases.  Now check whether nonexistent headers
   5700   # can be detected and how.
   5701   cat >conftest.$ac_ext <<_ACEOF
   5702 /* confdefs.h.  */
   5703 _ACEOF
   5704 cat confdefs.h >>conftest.$ac_ext
   5705 cat >>conftest.$ac_ext <<_ACEOF
   5706 /* end confdefs.h.  */
   5707 #include <ac_nonexistent.h>
   5708 _ACEOF
   5709 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5710 case "(($ac_try" in
   5711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5712   *) ac_try_echo=$ac_try;;
   5713 esac
   5714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5715   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5716   ac_status=$?
   5717   grep -v '^ *+' conftest.er1 >conftest.err
   5718   rm -f conftest.er1
   5719   cat conftest.err >&5
   5720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5721   (exit $ac_status); } >/dev/null && {
   5722 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5723 	 test ! -s conftest.err
   5724        }; then
   5725   # Broken: success on invalid input.
   5726 continue
   5727 else
   5728   echo "$as_me: failed program was:" >&5
   5729 sed 's/^/| /' conftest.$ac_ext >&5
   5730 
   5731   # Passes both tests.
   5732 ac_preproc_ok=:
   5733 break
   5734 fi
   5735 
   5736 rm -f conftest.err conftest.$ac_ext
   5737 
   5738 done
   5739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5740 rm -f conftest.err conftest.$ac_ext
   5741 if $ac_preproc_ok; then
   5742   break
   5743 fi
   5744 
   5745     done
   5746     ac_cv_prog_CXXCPP=$CXXCPP
   5747 
   5748 fi
   5749   CXXCPP=$ac_cv_prog_CXXCPP
   5750 else
   5751   ac_cv_prog_CXXCPP=$CXXCPP
   5752 fi
   5753 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5754 echo "${ECHO_T}$CXXCPP" >&6; }
   5755 ac_preproc_ok=false
   5756 for ac_cxx_preproc_warn_flag in '' yes
   5757 do
   5758   # Use a header file that comes with gcc, so configuring glibc
   5759   # with a fresh cross-compiler works.
   5760   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5761   # <limits.h> exists even on freestanding compilers.
   5762   # On the NeXT, cc -E runs the code through the compiler's parser,
   5763   # not just through cpp. "Syntax error" is here to catch this case.
   5764   cat >conftest.$ac_ext <<_ACEOF
   5765 /* confdefs.h.  */
   5766 _ACEOF
   5767 cat confdefs.h >>conftest.$ac_ext
   5768 cat >>conftest.$ac_ext <<_ACEOF
   5769 /* end confdefs.h.  */
   5770 #ifdef __STDC__
   5771 # include <limits.h>
   5772 #else
   5773 # include <assert.h>
   5774 #endif
   5775 		     Syntax error
   5776 _ACEOF
   5777 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5778 case "(($ac_try" in
   5779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5780   *) ac_try_echo=$ac_try;;
   5781 esac
   5782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5783   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5784   ac_status=$?
   5785   grep -v '^ *+' conftest.er1 >conftest.err
   5786   rm -f conftest.er1
   5787   cat conftest.err >&5
   5788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5789   (exit $ac_status); } >/dev/null && {
   5790 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5791 	 test ! -s conftest.err
   5792        }; then
   5793   :
   5794 else
   5795   echo "$as_me: failed program was:" >&5
   5796 sed 's/^/| /' conftest.$ac_ext >&5
   5797 
   5798   # Broken: fails on valid input.
   5799 continue
   5800 fi
   5801 
   5802 rm -f conftest.err conftest.$ac_ext
   5803 
   5804   # OK, works on sane cases.  Now check whether nonexistent headers
   5805   # can be detected and how.
   5806   cat >conftest.$ac_ext <<_ACEOF
   5807 /* confdefs.h.  */
   5808 _ACEOF
   5809 cat confdefs.h >>conftest.$ac_ext
   5810 cat >>conftest.$ac_ext <<_ACEOF
   5811 /* end confdefs.h.  */
   5812 #include <ac_nonexistent.h>
   5813 _ACEOF
   5814 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5815 case "(($ac_try" in
   5816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5817   *) ac_try_echo=$ac_try;;
   5818 esac
   5819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5820   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5821   ac_status=$?
   5822   grep -v '^ *+' conftest.er1 >conftest.err
   5823   rm -f conftest.er1
   5824   cat conftest.err >&5
   5825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5826   (exit $ac_status); } >/dev/null && {
   5827 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5828 	 test ! -s conftest.err
   5829        }; then
   5830   # Broken: success on invalid input.
   5831 continue
   5832 else
   5833   echo "$as_me: failed program was:" >&5
   5834 sed 's/^/| /' conftest.$ac_ext >&5
   5835 
   5836   # Passes both tests.
   5837 ac_preproc_ok=:
   5838 break
   5839 fi
   5840 
   5841 rm -f conftest.err conftest.$ac_ext
   5842 
   5843 done
   5844 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5845 rm -f conftest.err conftest.$ac_ext
   5846 if $ac_preproc_ok; then
   5847   :
   5848 else
   5849   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5850 See \`config.log' for more details." >&5
   5851 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5852 See \`config.log' for more details." >&2;}
   5853    { (exit 1); exit 1; }; }
   5854 fi
   5855 
   5856 ac_ext=cpp
   5857 ac_cpp='$CXXCPP $CPPFLAGS'
   5858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5861 
   5862 fi
   5863 
   5864 
   5865 ac_ext=f
   5866 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5867 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5868 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5869 if test -n "$ac_tool_prefix"; then
   5870   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
   5871   do
   5872     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5873 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5876 if test "${ac_cv_prog_F77+set}" = set; then
   5877   echo $ECHO_N "(cached) $ECHO_C" >&6
   5878 else
   5879   if test -n "$F77"; then
   5880   ac_cv_prog_F77="$F77" # Let the user override the test.
   5881 else
   5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5883 for as_dir in $PATH
   5884 do
   5885   IFS=$as_save_IFS
   5886   test -z "$as_dir" && as_dir=.
   5887   for ac_exec_ext in '' $ac_executable_extensions; do
   5888   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5889     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5890     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5891     break 2
   5892   fi
   5893 done
   5894 done
   5895 IFS=$as_save_IFS
   5896 
   5897 fi
   5898 fi
   5899 F77=$ac_cv_prog_F77
   5900 if test -n "$F77"; then
   5901   { echo "$as_me:$LINENO: result: $F77" >&5
   5902 echo "${ECHO_T}$F77" >&6; }
   5903 else
   5904   { echo "$as_me:$LINENO: result: no" >&5
   5905 echo "${ECHO_T}no" >&6; }
   5906 fi
   5907 
   5908 
   5909     test -n "$F77" && break
   5910   done
   5911 fi
   5912 if test -z "$F77"; then
   5913   ac_ct_F77=$F77
   5914   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
   5915 do
   5916   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5917 set dummy $ac_prog; ac_word=$2
   5918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5920 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5921   echo $ECHO_N "(cached) $ECHO_C" >&6
   5922 else
   5923   if test -n "$ac_ct_F77"; then
   5924   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5925 else
   5926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5927 for as_dir in $PATH
   5928 do
   5929   IFS=$as_save_IFS
   5930   test -z "$as_dir" && as_dir=.
   5931   for ac_exec_ext in '' $ac_executable_extensions; do
   5932   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5933     ac_cv_prog_ac_ct_F77="$ac_prog"
   5934     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5935     break 2
   5936   fi
   5937 done
   5938 done
   5939 IFS=$as_save_IFS
   5940 
   5941 fi
   5942 fi
   5943 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   5944 if test -n "$ac_ct_F77"; then
   5945   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   5946 echo "${ECHO_T}$ac_ct_F77" >&6; }
   5947 else
   5948   { echo "$as_me:$LINENO: result: no" >&5
   5949 echo "${ECHO_T}no" >&6; }
   5950 fi
   5951 
   5952 
   5953   test -n "$ac_ct_F77" && break
   5954 done
   5955 
   5956   if test "x$ac_ct_F77" = x; then
   5957     F77=""
   5958   else
   5959     case $cross_compiling:$ac_tool_warned in
   5960 yes:)
   5961 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5962 whose name does not start with the host triplet.  If you think this
   5963 configuration is useful to you, please write to autoconf@gnu.org." >&5
   5964 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5965 whose name does not start with the host triplet.  If you think this
   5966 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   5967 ac_tool_warned=yes ;;
   5968 esac
   5969     F77=$ac_ct_F77
   5970   fi
   5971 fi
   5972 
   5973 
   5974 # Provide some information about the compiler.
   5975 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   5976 ac_compiler=`set X $ac_compile; echo $2`
   5977 { (ac_try="$ac_compiler --version >&5"
   5978 case "(($ac_try" in
   5979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5980   *) ac_try_echo=$ac_try;;
   5981 esac
   5982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5983   (eval "$ac_compiler --version >&5") 2>&5
   5984   ac_status=$?
   5985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5986   (exit $ac_status); }
   5987 { (ac_try="$ac_compiler -v >&5"
   5988 case "(($ac_try" in
   5989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5990   *) ac_try_echo=$ac_try;;
   5991 esac
   5992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5993   (eval "$ac_compiler -v >&5") 2>&5
   5994   ac_status=$?
   5995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5996   (exit $ac_status); }
   5997 { (ac_try="$ac_compiler -V >&5"
   5998 case "(($ac_try" in
   5999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6000   *) ac_try_echo=$ac_try;;
   6001 esac
   6002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6003   (eval "$ac_compiler -V >&5") 2>&5
   6004   ac_status=$?
   6005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6006   (exit $ac_status); }
   6007 rm -f a.out
   6008 
   6009 # If we don't use `.F' as extension, the preprocessor is not run on the
   6010 # input file.  (Note that this only needs to work for GNU compilers.)
   6011 ac_save_ext=$ac_ext
   6012 ac_ext=F
   6013 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6014 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6015 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6016   echo $ECHO_N "(cached) $ECHO_C" >&6
   6017 else
   6018   cat >conftest.$ac_ext <<_ACEOF
   6019       program main
   6020 #ifndef __GNUC__
   6021        choke me
   6022 #endif
   6023 
   6024       end
   6025 _ACEOF
   6026 rm -f conftest.$ac_objext
   6027 if { (ac_try="$ac_compile"
   6028 case "(($ac_try" in
   6029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6030   *) ac_try_echo=$ac_try;;
   6031 esac
   6032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6033   (eval "$ac_compile") 2>conftest.er1
   6034   ac_status=$?
   6035   grep -v '^ *+' conftest.er1 >conftest.err
   6036   rm -f conftest.er1
   6037   cat conftest.err >&5
   6038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6039   (exit $ac_status); } && {
   6040 	 test -z "$ac_f77_werror_flag" ||
   6041 	 test ! -s conftest.err
   6042        } && test -s conftest.$ac_objext; then
   6043   ac_compiler_gnu=yes
   6044 else
   6045   echo "$as_me: failed program was:" >&5
   6046 sed 's/^/| /' conftest.$ac_ext >&5
   6047 
   6048 	ac_compiler_gnu=no
   6049 fi
   6050 
   6051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6052 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6053 
   6054 fi
   6055 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6056 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6057 ac_ext=$ac_save_ext
   6058 ac_test_FFLAGS=${FFLAGS+set}
   6059 ac_save_FFLAGS=$FFLAGS
   6060 FFLAGS=
   6061 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6062 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6063 if test "${ac_cv_prog_f77_g+set}" = set; then
   6064   echo $ECHO_N "(cached) $ECHO_C" >&6
   6065 else
   6066   FFLAGS=-g
   6067 cat >conftest.$ac_ext <<_ACEOF
   6068       program main
   6069 
   6070       end
   6071 _ACEOF
   6072 rm -f conftest.$ac_objext
   6073 if { (ac_try="$ac_compile"
   6074 case "(($ac_try" in
   6075   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6076   *) ac_try_echo=$ac_try;;
   6077 esac
   6078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6079   (eval "$ac_compile") 2>conftest.er1
   6080   ac_status=$?
   6081   grep -v '^ *+' conftest.er1 >conftest.err
   6082   rm -f conftest.er1
   6083   cat conftest.err >&5
   6084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6085   (exit $ac_status); } && {
   6086 	 test -z "$ac_f77_werror_flag" ||
   6087 	 test ! -s conftest.err
   6088        } && test -s conftest.$ac_objext; then
   6089   ac_cv_prog_f77_g=yes
   6090 else
   6091   echo "$as_me: failed program was:" >&5
   6092 sed 's/^/| /' conftest.$ac_ext >&5
   6093 
   6094 	ac_cv_prog_f77_g=no
   6095 fi
   6096 
   6097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6098 
   6099 fi
   6100 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6101 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6102 if test "$ac_test_FFLAGS" = set; then
   6103   FFLAGS=$ac_save_FFLAGS
   6104 elif test $ac_cv_prog_f77_g = yes; then
   6105   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6106     FFLAGS="-g -O2"
   6107   else
   6108     FFLAGS="-g"
   6109   fi
   6110 else
   6111   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6112     FFLAGS="-O2"
   6113   else
   6114     FFLAGS=
   6115   fi
   6116 fi
   6117 
   6118 G77=`test $ac_compiler_gnu = yes && echo yes`
   6119 ac_ext=c
   6120 ac_cpp='$CPP $CPPFLAGS'
   6121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6124 
   6125 
   6126 
   6127 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6128 
   6129 # find the maximum length of command line arguments
   6130 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6131 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6132 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6133   echo $ECHO_N "(cached) $ECHO_C" >&6
   6134 else
   6135     i=0
   6136   teststring="ABCD"
   6137 
   6138   case $build_os in
   6139   msdosdjgpp*)
   6140     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6141     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6142     # during glob expansion).  Even if it were fixed, the result of this
   6143     # check would be larger than it should be.
   6144     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6145     ;;
   6146 
   6147   gnu*)
   6148     # Under GNU Hurd, this test is not required because there is
   6149     # no limit to the length of command line arguments.
   6150     # Libtool will interpret -1 as no limit whatsoever
   6151     lt_cv_sys_max_cmd_len=-1;
   6152     ;;
   6153 
   6154   cygwin* | mingw*)
   6155     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6156     # about 5 minutes as the teststring grows exponentially.
   6157     # Worse, since 9x/ME are not pre-emptively multitasking,
   6158     # you end up with a "frozen" computer, even though with patience
   6159     # the test eventually succeeds (with a max line length of 256k).
   6160     # Instead, let's just punt: use the minimum linelength reported by
   6161     # all of the supported platforms: 8192 (on NT/2K/XP).
   6162     lt_cv_sys_max_cmd_len=8192;
   6163     ;;
   6164 
   6165   amigaos*)
   6166     # On AmigaOS with pdksh, this test takes hours, literally.
   6167     # So we just punt and use a minimum line length of 8192.
   6168     lt_cv_sys_max_cmd_len=8192;
   6169     ;;
   6170 
   6171   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6172     # This has been around since 386BSD, at least.  Likely further.
   6173     if test -x /sbin/sysctl; then
   6174       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6175     elif test -x /usr/sbin/sysctl; then
   6176       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6177     else
   6178       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6179     fi
   6180     # And add a safety zone
   6181     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6182     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6183     ;;
   6184 
   6185   interix*)
   6186     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6187     lt_cv_sys_max_cmd_len=196608
   6188     ;;
   6189 
   6190   osf*)
   6191     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6192     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6193     # nice to cause kernel panics so lets avoid the loop below.
   6194     # First set a reasonable default.
   6195     lt_cv_sys_max_cmd_len=16384
   6196     #
   6197     if test -x /sbin/sysconfig; then
   6198       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6199         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6200       esac
   6201     fi
   6202     ;;
   6203   sco3.2v5*)
   6204     lt_cv_sys_max_cmd_len=102400
   6205     ;;
   6206   sysv5* | sco5v6* | sysv4.2uw2*)
   6207     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6208     if test -n "$kargmax"; then
   6209       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6210     else
   6211       lt_cv_sys_max_cmd_len=32768
   6212     fi
   6213     ;;
   6214   *)
   6215     # If test is not a shell built-in, we'll probably end up computing a
   6216     # maximum length that is only half of the actual maximum length, but
   6217     # we can't tell.
   6218     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6219     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6220 	       = "XX$teststring") >/dev/null 2>&1 &&
   6221 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6222 	    lt_cv_sys_max_cmd_len=$new_result &&
   6223 	    test $i != 17 # 1/2 MB should be enough
   6224     do
   6225       i=`expr $i + 1`
   6226       teststring=$teststring$teststring
   6227     done
   6228     teststring=
   6229     # Add a significant safety factor because C++ compilers can tack on massive
   6230     # amounts of additional arguments before passing them to the linker.
   6231     # It appears as though 1/2 is a usable value.
   6232     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6233     ;;
   6234   esac
   6235 
   6236 fi
   6237 
   6238 if test -n $lt_cv_sys_max_cmd_len ; then
   6239   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6240 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6241 else
   6242   { echo "$as_me:$LINENO: result: none" >&5
   6243 echo "${ECHO_T}none" >&6; }
   6244 fi
   6245 
   6246 
   6247 
   6248 
   6249 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6250 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6251 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6252 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6253   echo $ECHO_N "(cached) $ECHO_C" >&6
   6254 else
   6255 
   6256 # These are sane defaults that work on at least a few old systems.
   6257 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6258 
   6259 # Character class describing NM global symbol codes.
   6260 symcode='[BCDEGRST]'
   6261 
   6262 # Regexp to match symbols that can be accessed directly from C.
   6263 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6264 
   6265 # Transform an extracted symbol line into a proper C declaration
   6266 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6267 
   6268 # Transform an extracted symbol line into symbol name and symbol address
   6269 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'"
   6270 
   6271 # Define system-specific variables.
   6272 case $host_os in
   6273 aix*)
   6274   symcode='[BCDT]'
   6275   ;;
   6276 cygwin* | mingw* | pw32*)
   6277   symcode='[ABCDGISTW]'
   6278   ;;
   6279 hpux*) # Its linker distinguishes data from code symbols
   6280   if test "$host_cpu" = ia64; then
   6281     symcode='[ABCDEGRST]'
   6282   fi
   6283   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6284   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'"
   6285   ;;
   6286 linux*)
   6287   if test "$host_cpu" = ia64; then
   6288     symcode='[ABCDGIRSTW]'
   6289     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6290     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'"
   6291   fi
   6292   ;;
   6293 irix* | nonstopux*)
   6294   symcode='[BCDEGRST]'
   6295   ;;
   6296 osf*)
   6297   symcode='[BCDEGQRST]'
   6298   ;;
   6299 solaris*)
   6300   symcode='[BDRT]'
   6301   ;;
   6302 sco3.2v5*)
   6303   symcode='[DT]'
   6304   ;;
   6305 sysv4.2uw2*)
   6306   symcode='[DT]'
   6307   ;;
   6308 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6309   symcode='[ABDT]'
   6310   ;;
   6311 sysv4)
   6312   symcode='[DFNSTU]'
   6313   ;;
   6314 esac
   6315 
   6316 # Handle CRLF in mingw tool chain
   6317 opt_cr=
   6318 case $build_os in
   6319 mingw*)
   6320   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6321   ;;
   6322 esac
   6323 
   6324 # If we're using GNU nm, then use its standard symbol codes.
   6325 case `$NM -V 2>&1` in
   6326 *GNU* | *'with BFD'*)
   6327   symcode='[ABCDGIRSTW]' ;;
   6328 esac
   6329 
   6330 # Try without a prefix undercore, then with it.
   6331 for ac_symprfx in "" "_"; do
   6332 
   6333   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6334   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6335 
   6336   # Write the raw and C identifiers.
   6337   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6338 
   6339   # Check to see that the pipe works correctly.
   6340   pipe_works=no
   6341 
   6342   rm -f conftest*
   6343   cat > conftest.$ac_ext <<EOF
   6344 #ifdef __cplusplus
   6345 extern "C" {
   6346 #endif
   6347 char nm_test_var;
   6348 void nm_test_func(){}
   6349 #ifdef __cplusplus
   6350 }
   6351 #endif
   6352 int main(){nm_test_var='a';nm_test_func();return(0);}
   6353 EOF
   6354 
   6355   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6356   (eval $ac_compile) 2>&5
   6357   ac_status=$?
   6358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6359   (exit $ac_status); }; then
   6360     # Now try to grab the symbols.
   6361     nlist=conftest.nm
   6362     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6363   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6364   ac_status=$?
   6365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6366   (exit $ac_status); } && test -s "$nlist"; then
   6367       # Try sorting and uniquifying the output.
   6368       if sort "$nlist" | uniq > "$nlist"T; then
   6369 	mv -f "$nlist"T "$nlist"
   6370       else
   6371 	rm -f "$nlist"T
   6372       fi
   6373 
   6374       # Make sure that we snagged all the symbols we need.
   6375       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6376 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6377 	  cat <<EOF > conftest.$ac_ext
   6378 #ifdef __cplusplus
   6379 extern "C" {
   6380 #endif
   6381 
   6382 EOF
   6383 	  # Now generate the symbol file.
   6384 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6385 
   6386 	  cat <<EOF >> conftest.$ac_ext
   6387 #if defined (__STDC__) && __STDC__
   6388 # define lt_ptr_t void *
   6389 #else
   6390 # define lt_ptr_t char *
   6391 # define const
   6392 #endif
   6393 
   6394 /* The mapping between symbol names and symbols. */
   6395 const struct {
   6396   const char *name;
   6397   lt_ptr_t address;
   6398 }
   6399 lt_preloaded_symbols[] =
   6400 {
   6401 EOF
   6402 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6403 	  cat <<\EOF >> conftest.$ac_ext
   6404   {0, (lt_ptr_t) 0}
   6405 };
   6406 
   6407 #ifdef __cplusplus
   6408 }
   6409 #endif
   6410 EOF
   6411 	  # Now try linking the two files.
   6412 	  mv conftest.$ac_objext conftstm.$ac_objext
   6413 	  lt_save_LIBS="$LIBS"
   6414 	  lt_save_CFLAGS="$CFLAGS"
   6415 	  LIBS="conftstm.$ac_objext"
   6416 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6417 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6418   (eval $ac_link) 2>&5
   6419   ac_status=$?
   6420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6421   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6422 	    pipe_works=yes
   6423 	  fi
   6424 	  LIBS="$lt_save_LIBS"
   6425 	  CFLAGS="$lt_save_CFLAGS"
   6426 	else
   6427 	  echo "cannot find nm_test_func in $nlist" >&5
   6428 	fi
   6429       else
   6430 	echo "cannot find nm_test_var in $nlist" >&5
   6431       fi
   6432     else
   6433       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6434     fi
   6435   else
   6436     echo "$progname: failed program was:" >&5
   6437     cat conftest.$ac_ext >&5
   6438   fi
   6439   rm -f conftest* conftst*
   6440 
   6441   # Do not use the global_symbol_pipe unless it works.
   6442   if test "$pipe_works" = yes; then
   6443     break
   6444   else
   6445     lt_cv_sys_global_symbol_pipe=
   6446   fi
   6447 done
   6448 
   6449 fi
   6450 
   6451 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6452   lt_cv_sys_global_symbol_to_cdecl=
   6453 fi
   6454 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6455   { echo "$as_me:$LINENO: result: failed" >&5
   6456 echo "${ECHO_T}failed" >&6; }
   6457 else
   6458   { echo "$as_me:$LINENO: result: ok" >&5
   6459 echo "${ECHO_T}ok" >&6; }
   6460 fi
   6461 
   6462 { echo "$as_me:$LINENO: checking for objdir" >&5
   6463 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6464 if test "${lt_cv_objdir+set}" = set; then
   6465   echo $ECHO_N "(cached) $ECHO_C" >&6
   6466 else
   6467   rm -f .libs 2>/dev/null
   6468 mkdir .libs 2>/dev/null
   6469 if test -d .libs; then
   6470   lt_cv_objdir=.libs
   6471 else
   6472   # MS-DOS does not allow filenames that begin with a dot.
   6473   lt_cv_objdir=_libs
   6474 fi
   6475 rmdir .libs 2>/dev/null
   6476 fi
   6477 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6478 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6479 objdir=$lt_cv_objdir
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 case $host_os in
   6486 aix3*)
   6487   # AIX sometimes has problems with the GCC collect2 program.  For some
   6488   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6489   # vanish in a puff of smoke.
   6490   if test "X${COLLECT_NAMES+set}" != Xset; then
   6491     COLLECT_NAMES=
   6492     export COLLECT_NAMES
   6493   fi
   6494   ;;
   6495 esac
   6496 
   6497 # Sed substitution that helps us do robust quoting.  It backslashifies
   6498 # metacharacters that are still active within double-quoted strings.
   6499 Xsed='sed -e 1s/^X//'
   6500 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6501 
   6502 # Same as above, but do not quote variable references.
   6503 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6504 
   6505 # Sed substitution to delay expansion of an escaped shell variable in a
   6506 # double_quote_subst'ed string.
   6507 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6508 
   6509 # Sed substitution to avoid accidental globbing in evaled expressions
   6510 no_glob_subst='s/\*/\\\*/g'
   6511 
   6512 # Constants:
   6513 rm="rm -f"
   6514 
   6515 # Global variables:
   6516 default_ofile=libtool
   6517 can_build_shared=yes
   6518 
   6519 # All known linkers require a `.a' archive for static linking (except MSVC,
   6520 # which needs '.lib').
   6521 libext=a
   6522 ltmain="$ac_aux_dir/ltmain.sh"
   6523 ofile="$default_ofile"
   6524 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6525 
   6526 if test -n "$ac_tool_prefix"; then
   6527   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6528 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6531 if test "${ac_cv_prog_AR+set}" = set; then
   6532   echo $ECHO_N "(cached) $ECHO_C" >&6
   6533 else
   6534   if test -n "$AR"; then
   6535   ac_cv_prog_AR="$AR" # Let the user override the test.
   6536 else
   6537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6538 for as_dir in $PATH
   6539 do
   6540   IFS=$as_save_IFS
   6541   test -z "$as_dir" && as_dir=.
   6542   for ac_exec_ext in '' $ac_executable_extensions; do
   6543   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6544     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6545     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6546     break 2
   6547   fi
   6548 done
   6549 done
   6550 IFS=$as_save_IFS
   6551 
   6552 fi
   6553 fi
   6554 AR=$ac_cv_prog_AR
   6555 if test -n "$AR"; then
   6556   { echo "$as_me:$LINENO: result: $AR" >&5
   6557 echo "${ECHO_T}$AR" >&6; }
   6558 else
   6559   { echo "$as_me:$LINENO: result: no" >&5
   6560 echo "${ECHO_T}no" >&6; }
   6561 fi
   6562 
   6563 
   6564 fi
   6565 if test -z "$ac_cv_prog_AR"; then
   6566   ac_ct_AR=$AR
   6567   # Extract the first word of "ar", so it can be a program name with args.
   6568 set dummy ar; ac_word=$2
   6569 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6571 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6572   echo $ECHO_N "(cached) $ECHO_C" >&6
   6573 else
   6574   if test -n "$ac_ct_AR"; then
   6575   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6576 else
   6577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6578 for as_dir in $PATH
   6579 do
   6580   IFS=$as_save_IFS
   6581   test -z "$as_dir" && as_dir=.
   6582   for ac_exec_ext in '' $ac_executable_extensions; do
   6583   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6584     ac_cv_prog_ac_ct_AR="ar"
   6585     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6586     break 2
   6587   fi
   6588 done
   6589 done
   6590 IFS=$as_save_IFS
   6591 
   6592 fi
   6593 fi
   6594 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6595 if test -n "$ac_ct_AR"; then
   6596   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6597 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6598 else
   6599   { echo "$as_me:$LINENO: result: no" >&5
   6600 echo "${ECHO_T}no" >&6; }
   6601 fi
   6602 
   6603   if test "x$ac_ct_AR" = x; then
   6604     AR="false"
   6605   else
   6606     case $cross_compiling:$ac_tool_warned in
   6607 yes:)
   6608 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6609 whose name does not start with the host triplet.  If you think this
   6610 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6611 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6612 whose name does not start with the host triplet.  If you think this
   6613 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6614 ac_tool_warned=yes ;;
   6615 esac
   6616     AR=$ac_ct_AR
   6617   fi
   6618 else
   6619   AR="$ac_cv_prog_AR"
   6620 fi
   6621 
   6622 if test -n "$ac_tool_prefix"; then
   6623   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6624 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6627 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6628   echo $ECHO_N "(cached) $ECHO_C" >&6
   6629 else
   6630   if test -n "$RANLIB"; then
   6631   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6632 else
   6633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6634 for as_dir in $PATH
   6635 do
   6636   IFS=$as_save_IFS
   6637   test -z "$as_dir" && as_dir=.
   6638   for ac_exec_ext in '' $ac_executable_extensions; do
   6639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6640     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6641     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6642     break 2
   6643   fi
   6644 done
   6645 done
   6646 IFS=$as_save_IFS
   6647 
   6648 fi
   6649 fi
   6650 RANLIB=$ac_cv_prog_RANLIB
   6651 if test -n "$RANLIB"; then
   6652   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6653 echo "${ECHO_T}$RANLIB" >&6; }
   6654 else
   6655   { echo "$as_me:$LINENO: result: no" >&5
   6656 echo "${ECHO_T}no" >&6; }
   6657 fi
   6658 
   6659 
   6660 fi
   6661 if test -z "$ac_cv_prog_RANLIB"; then
   6662   ac_ct_RANLIB=$RANLIB
   6663   # Extract the first word of "ranlib", so it can be a program name with args.
   6664 set dummy ranlib; ac_word=$2
   6665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6667 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6668   echo $ECHO_N "(cached) $ECHO_C" >&6
   6669 else
   6670   if test -n "$ac_ct_RANLIB"; then
   6671   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6672 else
   6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6674 for as_dir in $PATH
   6675 do
   6676   IFS=$as_save_IFS
   6677   test -z "$as_dir" && as_dir=.
   6678   for ac_exec_ext in '' $ac_executable_extensions; do
   6679   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6680     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6681     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6682     break 2
   6683   fi
   6684 done
   6685 done
   6686 IFS=$as_save_IFS
   6687 
   6688 fi
   6689 fi
   6690 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6691 if test -n "$ac_ct_RANLIB"; then
   6692   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6693 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6694 else
   6695   { echo "$as_me:$LINENO: result: no" >&5
   6696 echo "${ECHO_T}no" >&6; }
   6697 fi
   6698 
   6699   if test "x$ac_ct_RANLIB" = x; then
   6700     RANLIB=":"
   6701   else
   6702     case $cross_compiling:$ac_tool_warned in
   6703 yes:)
   6704 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6705 whose name does not start with the host triplet.  If you think this
   6706 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6707 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6708 whose name does not start with the host triplet.  If you think this
   6709 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6710 ac_tool_warned=yes ;;
   6711 esac
   6712     RANLIB=$ac_ct_RANLIB
   6713   fi
   6714 else
   6715   RANLIB="$ac_cv_prog_RANLIB"
   6716 fi
   6717 
   6718 if test -n "$ac_tool_prefix"; then
   6719   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6720 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6723 if test "${ac_cv_prog_STRIP+set}" = set; then
   6724   echo $ECHO_N "(cached) $ECHO_C" >&6
   6725 else
   6726   if test -n "$STRIP"; then
   6727   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6728 else
   6729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6730 for as_dir in $PATH
   6731 do
   6732   IFS=$as_save_IFS
   6733   test -z "$as_dir" && as_dir=.
   6734   for ac_exec_ext in '' $ac_executable_extensions; do
   6735   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6736     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6737     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6738     break 2
   6739   fi
   6740 done
   6741 done
   6742 IFS=$as_save_IFS
   6743 
   6744 fi
   6745 fi
   6746 STRIP=$ac_cv_prog_STRIP
   6747 if test -n "$STRIP"; then
   6748   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6749 echo "${ECHO_T}$STRIP" >&6; }
   6750 else
   6751   { echo "$as_me:$LINENO: result: no" >&5
   6752 echo "${ECHO_T}no" >&6; }
   6753 fi
   6754 
   6755 
   6756 fi
   6757 if test -z "$ac_cv_prog_STRIP"; then
   6758   ac_ct_STRIP=$STRIP
   6759   # Extract the first word of "strip", so it can be a program name with args.
   6760 set dummy strip; ac_word=$2
   6761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6763 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6764   echo $ECHO_N "(cached) $ECHO_C" >&6
   6765 else
   6766   if test -n "$ac_ct_STRIP"; then
   6767   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6768 else
   6769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6770 for as_dir in $PATH
   6771 do
   6772   IFS=$as_save_IFS
   6773   test -z "$as_dir" && as_dir=.
   6774   for ac_exec_ext in '' $ac_executable_extensions; do
   6775   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6776     ac_cv_prog_ac_ct_STRIP="strip"
   6777     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6778     break 2
   6779   fi
   6780 done
   6781 done
   6782 IFS=$as_save_IFS
   6783 
   6784 fi
   6785 fi
   6786 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6787 if test -n "$ac_ct_STRIP"; then
   6788   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6789 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6790 else
   6791   { echo "$as_me:$LINENO: result: no" >&5
   6792 echo "${ECHO_T}no" >&6; }
   6793 fi
   6794 
   6795   if test "x$ac_ct_STRIP" = x; then
   6796     STRIP=":"
   6797   else
   6798     case $cross_compiling:$ac_tool_warned in
   6799 yes:)
   6800 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6801 whose name does not start with the host triplet.  If you think this
   6802 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6803 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6804 whose name does not start with the host triplet.  If you think this
   6805 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6806 ac_tool_warned=yes ;;
   6807 esac
   6808     STRIP=$ac_ct_STRIP
   6809   fi
   6810 else
   6811   STRIP="$ac_cv_prog_STRIP"
   6812 fi
   6813 
   6814 
   6815 old_CC="$CC"
   6816 old_CFLAGS="$CFLAGS"
   6817 
   6818 # Set sane defaults for various variables
   6819 test -z "$AR" && AR=ar
   6820 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6821 test -z "$AS" && AS=as
   6822 test -z "$CC" && CC=cc
   6823 test -z "$LTCC" && LTCC=$CC
   6824 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6825 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6826 test -z "$LD" && LD=ld
   6827 test -z "$LN_S" && LN_S="ln -s"
   6828 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6829 test -z "$NM" && NM=nm
   6830 test -z "$SED" && SED=sed
   6831 test -z "$OBJDUMP" && OBJDUMP=objdump
   6832 test -z "$RANLIB" && RANLIB=:
   6833 test -z "$STRIP" && STRIP=:
   6834 test -z "$ac_objext" && ac_objext=o
   6835 
   6836 # Determine commands to create old-style static archives.
   6837 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   6838 old_postinstall_cmds='chmod 644 $oldlib'
   6839 old_postuninstall_cmds=
   6840 
   6841 if test -n "$RANLIB"; then
   6842   case $host_os in
   6843   openbsd*)
   6844     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6845     ;;
   6846   *)
   6847     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6848     ;;
   6849   esac
   6850   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6851 fi
   6852 
   6853 for cc_temp in $compiler""; do
   6854   case $cc_temp in
   6855     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6856     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6857     \-*) ;;
   6858     *) break;;
   6859   esac
   6860 done
   6861 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6862 
   6863 
   6864 # Only perform the check for file, if the check method requires it
   6865 case $deplibs_check_method in
   6866 file_magic*)
   6867   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6868     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6869 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   6870 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6871   echo $ECHO_N "(cached) $ECHO_C" >&6
   6872 else
   6873   case $MAGIC_CMD in
   6874 [\\/*] |  ?:[\\/]*)
   6875   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6876   ;;
   6877 *)
   6878   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6879   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6880   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6881   for ac_dir in $ac_dummy; do
   6882     IFS="$lt_save_ifs"
   6883     test -z "$ac_dir" && ac_dir=.
   6884     if test -f $ac_dir/${ac_tool_prefix}file; then
   6885       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6886       if test -n "$file_magic_test_file"; then
   6887 	case $deplibs_check_method in
   6888 	"file_magic "*)
   6889 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6890 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6891 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6892 	    $EGREP "$file_magic_regex" > /dev/null; then
   6893 	    :
   6894 	  else
   6895 	    cat <<EOF 1>&2
   6896 
   6897 *** Warning: the command libtool uses to detect shared libraries,
   6898 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6899 *** The result is that libtool may fail to recognize shared libraries
   6900 *** as such.  This will affect the creation of libtool libraries that
   6901 *** depend on shared libraries, but programs linked with such libtool
   6902 *** libraries will work regardless of this problem.  Nevertheless, you
   6903 *** may want to report the problem to your system manager and/or to
   6904 *** bug-libtool@gnu.org
   6905 
   6906 EOF
   6907 	  fi ;;
   6908 	esac
   6909       fi
   6910       break
   6911     fi
   6912   done
   6913   IFS="$lt_save_ifs"
   6914   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6915   ;;
   6916 esac
   6917 fi
   6918 
   6919 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6920 if test -n "$MAGIC_CMD"; then
   6921   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6922 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6923 else
   6924   { echo "$as_me:$LINENO: result: no" >&5
   6925 echo "${ECHO_T}no" >&6; }
   6926 fi
   6927 
   6928 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6929   if test -n "$ac_tool_prefix"; then
   6930     { echo "$as_me:$LINENO: checking for file" >&5
   6931 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   6932 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6933   echo $ECHO_N "(cached) $ECHO_C" >&6
   6934 else
   6935   case $MAGIC_CMD in
   6936 [\\/*] |  ?:[\\/]*)
   6937   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6938   ;;
   6939 *)
   6940   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6941   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6942   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6943   for ac_dir in $ac_dummy; do
   6944     IFS="$lt_save_ifs"
   6945     test -z "$ac_dir" && ac_dir=.
   6946     if test -f $ac_dir/file; then
   6947       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   6948       if test -n "$file_magic_test_file"; then
   6949 	case $deplibs_check_method in
   6950 	"file_magic "*)
   6951 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6952 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6953 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6954 	    $EGREP "$file_magic_regex" > /dev/null; then
   6955 	    :
   6956 	  else
   6957 	    cat <<EOF 1>&2
   6958 
   6959 *** Warning: the command libtool uses to detect shared libraries,
   6960 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6961 *** The result is that libtool may fail to recognize shared libraries
   6962 *** as such.  This will affect the creation of libtool libraries that
   6963 *** depend on shared libraries, but programs linked with such libtool
   6964 *** libraries will work regardless of this problem.  Nevertheless, you
   6965 *** may want to report the problem to your system manager and/or to
   6966 *** bug-libtool@gnu.org
   6967 
   6968 EOF
   6969 	  fi ;;
   6970 	esac
   6971       fi
   6972       break
   6973     fi
   6974   done
   6975   IFS="$lt_save_ifs"
   6976   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6977   ;;
   6978 esac
   6979 fi
   6980 
   6981 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6982 if test -n "$MAGIC_CMD"; then
   6983   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6984 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6985 else
   6986   { echo "$as_me:$LINENO: result: no" >&5
   6987 echo "${ECHO_T}no" >&6; }
   6988 fi
   6989 
   6990   else
   6991     MAGIC_CMD=:
   6992   fi
   6993 fi
   6994 
   6995   fi
   6996   ;;
   6997 esac
   6998 
   6999 enable_dlopen=no
   7000 enable_win32_dll=no
   7001 
   7002 # Check whether --enable-libtool-lock was given.
   7003 if test "${enable_libtool_lock+set}" = set; then
   7004   enableval=$enable_libtool_lock;
   7005 fi
   7006 
   7007 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7008 
   7009 
   7010 # Check whether --with-pic was given.
   7011 if test "${with_pic+set}" = set; then
   7012   withval=$with_pic; pic_mode="$withval"
   7013 else
   7014   pic_mode=default
   7015 fi
   7016 
   7017 test -z "$pic_mode" && pic_mode=default
   7018 
   7019 # Use C for the default configuration in the libtool script
   7020 tagname=
   7021 lt_save_CC="$CC"
   7022 ac_ext=c
   7023 ac_cpp='$CPP $CPPFLAGS'
   7024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7027 
   7028 
   7029 # Source file extension for C test sources.
   7030 ac_ext=c
   7031 
   7032 # Object file extension for compiled C test sources.
   7033 objext=o
   7034 objext=$objext
   7035 
   7036 # Code to be used in simple compile tests
   7037 lt_simple_compile_test_code="int some_variable = 0;\n"
   7038 
   7039 # Code to be used in simple link tests
   7040 lt_simple_link_test_code='int main(){return(0);}\n'
   7041 
   7042 
   7043 # If no C compiler was specified, use CC.
   7044 LTCC=${LTCC-"$CC"}
   7045 
   7046 # If no C compiler flags were specified, use CFLAGS.
   7047 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7048 
   7049 # Allow CC to be a program name with arguments.
   7050 compiler=$CC
   7051 
   7052 
   7053 # save warnings/boilerplate of simple test code
   7054 ac_outfile=conftest.$ac_objext
   7055 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   7056 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7057 _lt_compiler_boilerplate=`cat conftest.err`
   7058 $rm conftest*
   7059 
   7060 ac_outfile=conftest.$ac_objext
   7061 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   7062 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7063 _lt_linker_boilerplate=`cat conftest.err`
   7064 $rm conftest*
   7065 
   7066 
   7067 
   7068 lt_prog_compiler_no_builtin_flag=
   7069 
   7070 if test "$GCC" = yes; then
   7071   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7072 
   7073 
   7074 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7075 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7076 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7077   echo $ECHO_N "(cached) $ECHO_C" >&6
   7078 else
   7079   lt_cv_prog_compiler_rtti_exceptions=no
   7080   ac_outfile=conftest.$ac_objext
   7081    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7082    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7083    # Insert the option either (1) after the last *FLAGS variable, or
   7084    # (2) before a word containing "conftest.", or (3) at the end.
   7085    # Note that $ac_compile itself does not contain backslashes and begins
   7086    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7087    # The option is referenced via a variable to avoid confusing sed.
   7088    lt_compile=`echo "$ac_compile" | $SED \
   7089    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7090    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7091    -e 's:$: $lt_compiler_flag:'`
   7092    (eval echo "\"\$as_me:7092: $lt_compile\"" >&5)
   7093    (eval "$lt_compile" 2>conftest.err)
   7094    ac_status=$?
   7095    cat conftest.err >&5
   7096    echo "$as_me:7096: \$? = $ac_status" >&5
   7097    if (exit $ac_status) && test -s "$ac_outfile"; then
   7098      # The compiler can only warn and ignore the option if not recognized
   7099      # So say no if there are warnings other than the usual output.
   7100      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7101      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7102      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7103        lt_cv_prog_compiler_rtti_exceptions=yes
   7104      fi
   7105    fi
   7106    $rm conftest*
   7107 
   7108 fi
   7109 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7110 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7111 
   7112 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7113     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7114 else
   7115     :
   7116 fi
   7117 
   7118 fi
   7119 
   7120 lt_prog_compiler_wl=
   7121 lt_prog_compiler_pic=
   7122 lt_prog_compiler_static=
   7123 
   7124 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7125 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7126 
   7127   if test "$GCC" = yes; then
   7128     lt_prog_compiler_wl='-Wl,'
   7129     lt_prog_compiler_static='-static'
   7130 
   7131     case $host_os in
   7132       aix*)
   7133       # All AIX code is PIC.
   7134       if test "$host_cpu" = ia64; then
   7135 	# AIX 5 now supports IA64 processor
   7136 	lt_prog_compiler_static='-Bstatic'
   7137       fi
   7138       ;;
   7139 
   7140     amigaos*)
   7141       # FIXME: we need at least 68020 code to build shared libraries, but
   7142       # adding the `-m68020' flag to GCC prevents building anything better,
   7143       # like `-m68040'.
   7144       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7145       ;;
   7146 
   7147     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7148       # PIC is the default for these OSes.
   7149       ;;
   7150 
   7151     mingw* | pw32* | os2*)
   7152       # This hack is so that the source file can tell whether it is being
   7153       # built for inclusion in a dll (and should export symbols for example).
   7154       lt_prog_compiler_pic='-DDLL_EXPORT'
   7155       ;;
   7156 
   7157     darwin* | rhapsody*)
   7158       # PIC is the default on this platform
   7159       # Common symbols not allowed in MH_DYLIB files
   7160       lt_prog_compiler_pic='-fno-common'
   7161       ;;
   7162 
   7163     interix3*)
   7164       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7165       # Instead, we relocate shared libraries at runtime.
   7166       ;;
   7167 
   7168     msdosdjgpp*)
   7169       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7170       # on systems that don't support them.
   7171       lt_prog_compiler_can_build_shared=no
   7172       enable_shared=no
   7173       ;;
   7174 
   7175     sysv4*MP*)
   7176       if test -d /usr/nec; then
   7177 	lt_prog_compiler_pic=-Kconform_pic
   7178       fi
   7179       ;;
   7180 
   7181     hpux*)
   7182       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7183       # not for PA HP-UX.
   7184       case $host_cpu in
   7185       hppa*64*|ia64*)
   7186 	# +Z the default
   7187 	;;
   7188       *)
   7189 	lt_prog_compiler_pic='-fPIC'
   7190 	;;
   7191       esac
   7192       ;;
   7193 
   7194     *)
   7195       lt_prog_compiler_pic='-fPIC'
   7196       ;;
   7197     esac
   7198   else
   7199     # PORTME Check for flag to pass linker flags through the system compiler.
   7200     case $host_os in
   7201     aix*)
   7202       lt_prog_compiler_wl='-Wl,'
   7203       if test "$host_cpu" = ia64; then
   7204 	# AIX 5 now supports IA64 processor
   7205 	lt_prog_compiler_static='-Bstatic'
   7206       else
   7207 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7208       fi
   7209       ;;
   7210       darwin*)
   7211         # PIC is the default on this platform
   7212         # Common symbols not allowed in MH_DYLIB files
   7213        case $cc_basename in
   7214          xlc*)
   7215          lt_prog_compiler_pic='-qnocommon'
   7216          lt_prog_compiler_wl='-Wl,'
   7217          ;;
   7218        esac
   7219        ;;
   7220 
   7221     mingw* | pw32* | os2*)
   7222       # This hack is so that the source file can tell whether it is being
   7223       # built for inclusion in a dll (and should export symbols for example).
   7224       lt_prog_compiler_pic='-DDLL_EXPORT'
   7225       ;;
   7226 
   7227     hpux9* | hpux10* | hpux11*)
   7228       lt_prog_compiler_wl='-Wl,'
   7229       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7230       # not for PA HP-UX.
   7231       case $host_cpu in
   7232       hppa*64*|ia64*)
   7233 	# +Z the default
   7234 	;;
   7235       *)
   7236 	lt_prog_compiler_pic='+Z'
   7237 	;;
   7238       esac
   7239       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7240       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7241       ;;
   7242 
   7243     irix5* | irix6* | nonstopux*)
   7244       lt_prog_compiler_wl='-Wl,'
   7245       # PIC (with -KPIC) is the default.
   7246       lt_prog_compiler_static='-non_shared'
   7247       ;;
   7248 
   7249     newsos6)
   7250       lt_prog_compiler_pic='-KPIC'
   7251       lt_prog_compiler_static='-Bstatic'
   7252       ;;
   7253 
   7254     linux*)
   7255       case $cc_basename in
   7256       icc* | ecc*)
   7257 	lt_prog_compiler_wl='-Wl,'
   7258 	lt_prog_compiler_pic='-KPIC'
   7259 	lt_prog_compiler_static='-static'
   7260         ;;
   7261       pgcc* | pgf77* | pgf90* | pgf95*)
   7262         # Portland Group compilers (*not* the Pentium gcc compiler,
   7263 	# which looks to be a dead project)
   7264 	lt_prog_compiler_wl='-Wl,'
   7265 	lt_prog_compiler_pic='-fpic'
   7266 	lt_prog_compiler_static='-Bstatic'
   7267         ;;
   7268       ccc*)
   7269         lt_prog_compiler_wl='-Wl,'
   7270         # All Alpha code is PIC.
   7271         lt_prog_compiler_static='-non_shared'
   7272         ;;
   7273       esac
   7274       ;;
   7275 
   7276     osf3* | osf4* | osf5*)
   7277       lt_prog_compiler_wl='-Wl,'
   7278       # All OSF/1 code is PIC.
   7279       lt_prog_compiler_static='-non_shared'
   7280       ;;
   7281 
   7282     solaris*)
   7283       lt_prog_compiler_pic='-KPIC'
   7284       lt_prog_compiler_static='-Bstatic'
   7285       case $cc_basename in
   7286       f77* | f90* | f95*)
   7287 	lt_prog_compiler_wl='-Qoption ld ';;
   7288       *)
   7289 	lt_prog_compiler_wl='-Wl,';;
   7290       esac
   7291       ;;
   7292 
   7293     sunos4*)
   7294       lt_prog_compiler_wl='-Qoption ld '
   7295       lt_prog_compiler_pic='-PIC'
   7296       lt_prog_compiler_static='-Bstatic'
   7297       ;;
   7298 
   7299     sysv4 | sysv4.2uw2* | sysv4.3*)
   7300       lt_prog_compiler_wl='-Wl,'
   7301       lt_prog_compiler_pic='-KPIC'
   7302       lt_prog_compiler_static='-Bstatic'
   7303       ;;
   7304 
   7305     sysv4*MP*)
   7306       if test -d /usr/nec ;then
   7307 	lt_prog_compiler_pic='-Kconform_pic'
   7308 	lt_prog_compiler_static='-Bstatic'
   7309       fi
   7310       ;;
   7311 
   7312     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7313       lt_prog_compiler_wl='-Wl,'
   7314       lt_prog_compiler_pic='-KPIC'
   7315       lt_prog_compiler_static='-Bstatic'
   7316       ;;
   7317 
   7318     unicos*)
   7319       lt_prog_compiler_wl='-Wl,'
   7320       lt_prog_compiler_can_build_shared=no
   7321       ;;
   7322 
   7323     uts4*)
   7324       lt_prog_compiler_pic='-pic'
   7325       lt_prog_compiler_static='-Bstatic'
   7326       ;;
   7327 
   7328     *)
   7329       lt_prog_compiler_can_build_shared=no
   7330       ;;
   7331     esac
   7332   fi
   7333 
   7334 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7335 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7336 
   7337 #
   7338 # Check to make sure the PIC flag actually works.
   7339 #
   7340 if test -n "$lt_prog_compiler_pic"; then
   7341 
   7342 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7343 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7344 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7345   echo $ECHO_N "(cached) $ECHO_C" >&6
   7346 else
   7347   lt_prog_compiler_pic_works=no
   7348   ac_outfile=conftest.$ac_objext
   7349    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7350    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7351    # Insert the option either (1) after the last *FLAGS variable, or
   7352    # (2) before a word containing "conftest.", or (3) at the end.
   7353    # Note that $ac_compile itself does not contain backslashes and begins
   7354    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7355    # The option is referenced via a variable to avoid confusing sed.
   7356    lt_compile=`echo "$ac_compile" | $SED \
   7357    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7358    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7359    -e 's:$: $lt_compiler_flag:'`
   7360    (eval echo "\"\$as_me:7360: $lt_compile\"" >&5)
   7361    (eval "$lt_compile" 2>conftest.err)
   7362    ac_status=$?
   7363    cat conftest.err >&5
   7364    echo "$as_me:7364: \$? = $ac_status" >&5
   7365    if (exit $ac_status) && test -s "$ac_outfile"; then
   7366      # The compiler can only warn and ignore the option if not recognized
   7367      # So say no if there are warnings other than the usual output.
   7368      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7369      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7370      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7371        lt_prog_compiler_pic_works=yes
   7372      fi
   7373    fi
   7374    $rm conftest*
   7375 
   7376 fi
   7377 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7378 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7379 
   7380 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7381     case $lt_prog_compiler_pic in
   7382      "" | " "*) ;;
   7383      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7384      esac
   7385 else
   7386     lt_prog_compiler_pic=
   7387      lt_prog_compiler_can_build_shared=no
   7388 fi
   7389 
   7390 fi
   7391 case $host_os in
   7392   # For platforms which do not support PIC, -DPIC is meaningless:
   7393   *djgpp*)
   7394     lt_prog_compiler_pic=
   7395     ;;
   7396   *)
   7397     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7398     ;;
   7399 esac
   7400 
   7401 #
   7402 # Check to make sure the static flag actually works.
   7403 #
   7404 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7405 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7406 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7407 if test "${lt_prog_compiler_static_works+set}" = set; then
   7408   echo $ECHO_N "(cached) $ECHO_C" >&6
   7409 else
   7410   lt_prog_compiler_static_works=no
   7411    save_LDFLAGS="$LDFLAGS"
   7412    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7413    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   7414    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7415      # The linker can only warn and ignore the option if not recognized
   7416      # So say no if there are warnings
   7417      if test -s conftest.err; then
   7418        # Append any errors to the config.log.
   7419        cat conftest.err 1>&5
   7420        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7421        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7422        if diff conftest.exp conftest.er2 >/dev/null; then
   7423          lt_prog_compiler_static_works=yes
   7424        fi
   7425      else
   7426        lt_prog_compiler_static_works=yes
   7427      fi
   7428    fi
   7429    $rm conftest*
   7430    LDFLAGS="$save_LDFLAGS"
   7431 
   7432 fi
   7433 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7434 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7435 
   7436 if test x"$lt_prog_compiler_static_works" = xyes; then
   7437     :
   7438 else
   7439     lt_prog_compiler_static=
   7440 fi
   7441 
   7442 
   7443 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7444 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7445 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7446   echo $ECHO_N "(cached) $ECHO_C" >&6
   7447 else
   7448   lt_cv_prog_compiler_c_o=no
   7449    $rm -r conftest 2>/dev/null
   7450    mkdir conftest
   7451    cd conftest
   7452    mkdir out
   7453    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7454 
   7455    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7456    # Insert the option either (1) after the last *FLAGS variable, or
   7457    # (2) before a word containing "conftest.", or (3) at the end.
   7458    # Note that $ac_compile itself does not contain backslashes and begins
   7459    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7460    lt_compile=`echo "$ac_compile" | $SED \
   7461    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7462    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7463    -e 's:$: $lt_compiler_flag:'`
   7464    (eval echo "\"\$as_me:7464: $lt_compile\"" >&5)
   7465    (eval "$lt_compile" 2>out/conftest.err)
   7466    ac_status=$?
   7467    cat out/conftest.err >&5
   7468    echo "$as_me:7468: \$? = $ac_status" >&5
   7469    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7470    then
   7471      # The compiler can only warn and ignore the option if not recognized
   7472      # So say no if there are warnings
   7473      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7474      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7475      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7476        lt_cv_prog_compiler_c_o=yes
   7477      fi
   7478    fi
   7479    chmod u+w . 2>&5
   7480    $rm conftest*
   7481    # SGI C++ compiler will create directory out/ii_files/ for
   7482    # template instantiation
   7483    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7484    $rm out/* && rmdir out
   7485    cd ..
   7486    rmdir conftest
   7487    $rm conftest*
   7488 
   7489 fi
   7490 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7491 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7492 
   7493 
   7494 hard_links="nottested"
   7495 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7496   # do not overwrite the value of need_locks provided by the user
   7497   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7498 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7499   hard_links=yes
   7500   $rm conftest*
   7501   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7502   touch conftest.a
   7503   ln conftest.a conftest.b 2>&5 || hard_links=no
   7504   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7505   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7506 echo "${ECHO_T}$hard_links" >&6; }
   7507   if test "$hard_links" = no; then
   7508     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7509 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7510     need_locks=warn
   7511   fi
   7512 else
   7513   need_locks=no
   7514 fi
   7515 
   7516 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7517 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7518 
   7519   runpath_var=
   7520   allow_undefined_flag=
   7521   enable_shared_with_static_runtimes=no
   7522   archive_cmds=
   7523   archive_expsym_cmds=
   7524   old_archive_From_new_cmds=
   7525   old_archive_from_expsyms_cmds=
   7526   export_dynamic_flag_spec=
   7527   whole_archive_flag_spec=
   7528   thread_safe_flag_spec=
   7529   hardcode_libdir_flag_spec=
   7530   hardcode_libdir_flag_spec_ld=
   7531   hardcode_libdir_separator=
   7532   hardcode_direct=no
   7533   hardcode_minus_L=no
   7534   hardcode_shlibpath_var=unsupported
   7535   link_all_deplibs=unknown
   7536   hardcode_automatic=no
   7537   module_cmds=
   7538   module_expsym_cmds=
   7539   always_export_symbols=no
   7540   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7541   # include_expsyms should be a list of space-separated symbols to be *always*
   7542   # included in the symbol list
   7543   include_expsyms=
   7544   # exclude_expsyms can be an extended regexp of symbols to exclude
   7545   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7546   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7547   # as well as any symbol that contains `d'.
   7548   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7549   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7550   # platforms (ab)use it in PIC code, but their linkers get confused if
   7551   # the symbol is explicitly referenced.  Since portable code cannot
   7552   # rely on this symbol name, it's probably fine to never include it in
   7553   # preloaded symbol tables.
   7554   extract_expsyms_cmds=
   7555   # Just being paranoid about ensuring that cc_basename is set.
   7556   for cc_temp in $compiler""; do
   7557   case $cc_temp in
   7558     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7559     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7560     \-*) ;;
   7561     *) break;;
   7562   esac
   7563 done
   7564 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7565 
   7566   case $host_os in
   7567   cygwin* | mingw* | pw32*)
   7568     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7569     # When not using gcc, we currently assume that we are using
   7570     # Microsoft Visual C++.
   7571     if test "$GCC" != yes; then
   7572       with_gnu_ld=no
   7573     fi
   7574     ;;
   7575   interix*)
   7576     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7577     with_gnu_ld=yes
   7578     ;;
   7579   openbsd*)
   7580     with_gnu_ld=no
   7581     ;;
   7582   esac
   7583 
   7584   ld_shlibs=yes
   7585   if test "$with_gnu_ld" = yes; then
   7586     # If archive_cmds runs LD, not CC, wlarc should be empty
   7587     wlarc='${wl}'
   7588 
   7589     # Set some defaults for GNU ld with shared library support. These
   7590     # are reset later if shared libraries are not supported. Putting them
   7591     # here allows them to be overridden if necessary.
   7592     runpath_var=LD_RUN_PATH
   7593     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7594     export_dynamic_flag_spec='${wl}--export-dynamic'
   7595     # ancient GNU ld didn't support --whole-archive et. al.
   7596     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7597 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7598       else
   7599   	whole_archive_flag_spec=
   7600     fi
   7601     supports_anon_versioning=no
   7602     case `$LD -v 2>/dev/null` in
   7603       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7604       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7605       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7606       *\ 2.11.*) ;; # other 2.11 versions
   7607       *) supports_anon_versioning=yes ;;
   7608     esac
   7609 
   7610     # See if GNU ld supports shared libraries.
   7611     case $host_os in
   7612     aix3* | aix4* | aix5*)
   7613       # On AIX/PPC, the GNU linker is very broken
   7614       if test "$host_cpu" != ia64; then
   7615 	ld_shlibs=no
   7616 	cat <<EOF 1>&2
   7617 
   7618 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7619 *** to be unable to reliably create shared libraries on AIX.
   7620 *** Therefore, libtool is disabling shared libraries support.  If you
   7621 *** really care for shared libraries, you may want to modify your PATH
   7622 *** so that a non-GNU linker is found, and then restart.
   7623 
   7624 EOF
   7625       fi
   7626       ;;
   7627 
   7628     amigaos*)
   7629       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)'
   7630       hardcode_libdir_flag_spec='-L$libdir'
   7631       hardcode_minus_L=yes
   7632 
   7633       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7634       # that the semantics of dynamic libraries on AmigaOS, at least up
   7635       # to version 4, is to share data among multiple programs linked
   7636       # with the same dynamic library.  Since this doesn't match the
   7637       # behavior of shared libraries on other platforms, we can't use
   7638       # them.
   7639       ld_shlibs=no
   7640       ;;
   7641 
   7642     beos*)
   7643       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7644 	allow_undefined_flag=unsupported
   7645 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7646 	# support --undefined.  This deserves some investigation.  FIXME
   7647 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7648       else
   7649 	ld_shlibs=no
   7650       fi
   7651       ;;
   7652 
   7653     cygwin* | mingw* | pw32*)
   7654       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7655       # as there is no search path for DLLs.
   7656       hardcode_libdir_flag_spec='-L$libdir'
   7657       allow_undefined_flag=unsupported
   7658       always_export_symbols=no
   7659       enable_shared_with_static_runtimes=yes
   7660       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   7661 
   7662       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   7663         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7664 	# If the export-symbols file already is a .def file (1st line
   7665 	# is EXPORTS), use it as is; otherwise, prepend...
   7666 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7667 	  cp $export_symbols $output_objdir/$soname.def;
   7668 	else
   7669 	  echo EXPORTS > $output_objdir/$soname.def;
   7670 	  cat $export_symbols >> $output_objdir/$soname.def;
   7671 	fi~
   7672 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7673       else
   7674 	ld_shlibs=no
   7675       fi
   7676       ;;
   7677 
   7678     interix3*)
   7679       hardcode_direct=no
   7680       hardcode_shlibpath_var=no
   7681       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7682       export_dynamic_flag_spec='${wl}-E'
   7683       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7684       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7685       # default) and relocated if they conflict, which is a slow very memory
   7686       # consuming and fragmenting process.  To avoid this, we pick a random,
   7687       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7688       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7689       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7690       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'
   7691       ;;
   7692 
   7693     linux*)
   7694       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7695 	tmp_addflag=
   7696 	case $cc_basename,$host_cpu in
   7697 	pgcc*)				# Portland Group C compiler
   7698 	  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'
   7699 	  tmp_addflag=' $pic_flag'
   7700 	  ;;
   7701 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7702 	  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'
   7703 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7704 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   7705 	  tmp_addflag=' -i_dynamic' ;;
   7706 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7707 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7708 	ifc* | ifort*)			# Intel Fortran compiler
   7709 	  tmp_addflag=' -nofor_main' ;;
   7710 	esac
   7711 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7712 
   7713 	if test $supports_anon_versioning = yes; then
   7714 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   7715   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7716   $echo "local: *; };" >> $output_objdir/$libname.ver~
   7717 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7718 	fi
   7719       else
   7720 	ld_shlibs=no
   7721       fi
   7722       ;;
   7723 
   7724     netbsd*)
   7725       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7726 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7727 	wlarc=
   7728       else
   7729 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7730 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7731       fi
   7732       ;;
   7733 
   7734     solaris*)
   7735       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   7736 	ld_shlibs=no
   7737 	cat <<EOF 1>&2
   7738 
   7739 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7740 *** create shared libraries on Solaris systems.  Therefore, libtool
   7741 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7742 *** binutils to release 2.9.1 or newer.  Another option is to modify
   7743 *** your PATH or compiler configuration so that the native linker is
   7744 *** used, and then restart.
   7745 
   7746 EOF
   7747       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7748 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7749 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7750       else
   7751 	ld_shlibs=no
   7752       fi
   7753       ;;
   7754 
   7755     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7756       case `$LD -v 2>&1` in
   7757         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7758 	ld_shlibs=no
   7759 	cat <<_LT_EOF 1>&2
   7760 
   7761 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7762 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7763 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7764 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7765 *** your PATH or compiler configuration so that the native linker is
   7766 *** used, and then restart.
   7767 
   7768 _LT_EOF
   7769 	;;
   7770 	*)
   7771 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7772 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   7773 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   7774 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   7775 	  else
   7776 	    ld_shlibs=no
   7777 	  fi
   7778 	;;
   7779       esac
   7780       ;;
   7781 
   7782     sunos4*)
   7783       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7784       wlarc=
   7785       hardcode_direct=yes
   7786       hardcode_shlibpath_var=no
   7787       ;;
   7788 
   7789     *)
   7790       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7791 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7792 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7793       else
   7794 	ld_shlibs=no
   7795       fi
   7796       ;;
   7797     esac
   7798 
   7799     if test "$ld_shlibs" = no; then
   7800       runpath_var=
   7801       hardcode_libdir_flag_spec=
   7802       export_dynamic_flag_spec=
   7803       whole_archive_flag_spec=
   7804     fi
   7805   else
   7806     # PORTME fill in a description of your system's linker (not GNU ld)
   7807     case $host_os in
   7808     aix3*)
   7809       allow_undefined_flag=unsupported
   7810       always_export_symbols=yes
   7811       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'
   7812       # Note: this linker hardcodes the directories in LIBPATH if there
   7813       # are no directories specified by -L.
   7814       hardcode_minus_L=yes
   7815       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7816 	# Neither direct hardcoding nor static linking is supported with a
   7817 	# broken collect2.
   7818 	hardcode_direct=unsupported
   7819       fi
   7820       ;;
   7821 
   7822     aix4* | aix5*)
   7823       if test "$host_cpu" = ia64; then
   7824 	# On IA64, the linker does run time linking by default, so we don't
   7825 	# have to do anything special.
   7826 	aix_use_runtimelinking=no
   7827 	exp_sym_flag='-Bexport'
   7828 	no_entry_flag=""
   7829       else
   7830 	# If we're using GNU nm, then we don't want the "-C" option.
   7831 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7832 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   7833 	  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'
   7834 	else
   7835 	  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'
   7836 	fi
   7837 	aix_use_runtimelinking=no
   7838 
   7839 	# Test if we are trying to use run time linking or normal
   7840 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7841 	# need to do runtime linking.
   7842 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   7843 	  for ld_flag in $LDFLAGS; do
   7844   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7845   	    aix_use_runtimelinking=yes
   7846   	    break
   7847   	  fi
   7848 	  done
   7849 	  ;;
   7850 	esac
   7851 
   7852 	exp_sym_flag='-bexport'
   7853 	no_entry_flag='-bnoentry'
   7854       fi
   7855 
   7856       # When large executables or shared objects are built, AIX ld can
   7857       # have problems creating the table of contents.  If linking a library
   7858       # or program results in "error TOC overflow" add -mminimal-toc to
   7859       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7860       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7861 
   7862       archive_cmds=''
   7863       hardcode_direct=yes
   7864       hardcode_libdir_separator=':'
   7865       link_all_deplibs=yes
   7866 
   7867       if test "$GCC" = yes; then
   7868 	case $host_os in aix4.[012]|aix4.[012].*)
   7869 	# We only want to do this on AIX 4.2 and lower, the check
   7870 	# below for broken collect2 doesn't work under 4.3+
   7871 	  collect2name=`${CC} -print-prog-name=collect2`
   7872 	  if test -f "$collect2name" && \
   7873   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   7874 	  then
   7875   	  # We have reworked collect2
   7876   	  hardcode_direct=yes
   7877 	  else
   7878   	  # We have old collect2
   7879   	  hardcode_direct=unsupported
   7880   	  # It fails to find uninstalled libraries when the uninstalled
   7881   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   7882   	  # to unsupported forces relinking
   7883   	  hardcode_minus_L=yes
   7884   	  hardcode_libdir_flag_spec='-L$libdir'
   7885   	  hardcode_libdir_separator=
   7886 	  fi
   7887 	  ;;
   7888 	esac
   7889 	shared_flag='-shared'
   7890 	if test "$aix_use_runtimelinking" = yes; then
   7891 	  shared_flag="$shared_flag "'${wl}-G'
   7892 	fi
   7893       else
   7894 	# not using gcc
   7895 	if test "$host_cpu" = ia64; then
   7896   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   7897   	# chokes on -Wl,-G. The following line is correct:
   7898 	  shared_flag='-G'
   7899 	else
   7900 	  if test "$aix_use_runtimelinking" = yes; then
   7901 	    shared_flag='${wl}-G'
   7902 	  else
   7903 	    shared_flag='${wl}-bM:SRE'
   7904 	  fi
   7905 	fi
   7906       fi
   7907 
   7908       # It seems that -bexpall does not export symbols beginning with
   7909       # underscore (_), so it is better to generate a list of symbols to export.
   7910       always_export_symbols=yes
   7911       if test "$aix_use_runtimelinking" = yes; then
   7912 	# Warning - without using the other runtime loading flags (-brtl),
   7913 	# -berok will link without error, but may produce a broken library.
   7914 	allow_undefined_flag='-berok'
   7915        # Determine the default libpath from the value encoded in an empty executable.
   7916        cat >conftest.$ac_ext <<_ACEOF
   7917 /* confdefs.h.  */
   7918 _ACEOF
   7919 cat confdefs.h >>conftest.$ac_ext
   7920 cat >>conftest.$ac_ext <<_ACEOF
   7921 /* end confdefs.h.  */
   7922 
   7923 int
   7924 main ()
   7925 {
   7926 
   7927   ;
   7928   return 0;
   7929 }
   7930 _ACEOF
   7931 rm -f conftest.$ac_objext conftest$ac_exeext
   7932 if { (ac_try="$ac_link"
   7933 case "(($ac_try" in
   7934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7935   *) ac_try_echo=$ac_try;;
   7936 esac
   7937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7938   (eval "$ac_link") 2>conftest.er1
   7939   ac_status=$?
   7940   grep -v '^ *+' conftest.er1 >conftest.err
   7941   rm -f conftest.er1
   7942   cat conftest.err >&5
   7943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7944   (exit $ac_status); } && {
   7945 	 test -z "$ac_c_werror_flag" ||
   7946 	 test ! -s conftest.err
   7947        } && test -s conftest$ac_exeext &&
   7948        $as_test_x conftest$ac_exeext; then
   7949 
   7950 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7951 }'`
   7952 # Check for a 64-bit object if we didn't find anything.
   7953 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; }
   7954 }'`; fi
   7955 else
   7956   echo "$as_me: failed program was:" >&5
   7957 sed 's/^/| /' conftest.$ac_ext >&5
   7958 
   7959 
   7960 fi
   7961 
   7962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7963       conftest$ac_exeext conftest.$ac_ext
   7964 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   7965 
   7966        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   7967 	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"
   7968        else
   7969 	if test "$host_cpu" = ia64; then
   7970 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   7971 	  allow_undefined_flag="-z nodefs"
   7972 	  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"
   7973 	else
   7974 	 # Determine the default libpath from the value encoded in an empty executable.
   7975 	 cat >conftest.$ac_ext <<_ACEOF
   7976 /* confdefs.h.  */
   7977 _ACEOF
   7978 cat confdefs.h >>conftest.$ac_ext
   7979 cat >>conftest.$ac_ext <<_ACEOF
   7980 /* end confdefs.h.  */
   7981 
   7982 int
   7983 main ()
   7984 {
   7985 
   7986   ;
   7987   return 0;
   7988 }
   7989 _ACEOF
   7990 rm -f conftest.$ac_objext conftest$ac_exeext
   7991 if { (ac_try="$ac_link"
   7992 case "(($ac_try" in
   7993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7994   *) ac_try_echo=$ac_try;;
   7995 esac
   7996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7997   (eval "$ac_link") 2>conftest.er1
   7998   ac_status=$?
   7999   grep -v '^ *+' conftest.er1 >conftest.err
   8000   rm -f conftest.er1
   8001   cat conftest.err >&5
   8002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8003   (exit $ac_status); } && {
   8004 	 test -z "$ac_c_werror_flag" ||
   8005 	 test ! -s conftest.err
   8006        } && test -s conftest$ac_exeext &&
   8007        $as_test_x conftest$ac_exeext; then
   8008 
   8009 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   8010 }'`
   8011 # Check for a 64-bit object if we didn't find anything.
   8012 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; }
   8013 }'`; fi
   8014 else
   8015   echo "$as_me: failed program was:" >&5
   8016 sed 's/^/| /' conftest.$ac_ext >&5
   8017 
   8018 
   8019 fi
   8020 
   8021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8022       conftest$ac_exeext conftest.$ac_ext
   8023 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8024 
   8025 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8026 	  # Warning - without using the other run time loading flags,
   8027 	  # -berok will link without error, but may produce a broken library.
   8028 	  no_undefined_flag=' ${wl}-bernotok'
   8029 	  allow_undefined_flag=' ${wl}-berok'
   8030 	  # Exported symbols can be pulled into shared objects from archives
   8031 	  whole_archive_flag_spec='$convenience'
   8032 	  archive_cmds_need_lc=yes
   8033 	  # This is similar to how AIX traditionally builds its shared libraries.
   8034 	  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'
   8035 	fi
   8036       fi
   8037       ;;
   8038 
   8039     amigaos*)
   8040       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)'
   8041       hardcode_libdir_flag_spec='-L$libdir'
   8042       hardcode_minus_L=yes
   8043       # see comment about different semantics on the GNU ld section
   8044       ld_shlibs=no
   8045       ;;
   8046 
   8047     bsdi[45]*)
   8048       export_dynamic_flag_spec=-rdynamic
   8049       ;;
   8050 
   8051     cygwin* | mingw* | pw32*)
   8052       # When not using gcc, we currently assume that we are using
   8053       # Microsoft Visual C++.
   8054       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8055       # no search path for DLLs.
   8056       hardcode_libdir_flag_spec=' '
   8057       allow_undefined_flag=unsupported
   8058       # Tell ltmain to make .lib files, not .a files.
   8059       libext=lib
   8060       # Tell ltmain to make .dll files, not .so files.
   8061       shrext_cmds=".dll"
   8062       # FIXME: Setting linknames here is a bad hack.
   8063       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8064       # The linker will automatically build a .lib file if we build a DLL.
   8065       old_archive_From_new_cmds='true'
   8066       # FIXME: Should let the user specify the lib program.
   8067       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   8068       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8069       enable_shared_with_static_runtimes=yes
   8070       ;;
   8071 
   8072     darwin* | rhapsody*)
   8073       case $host_os in
   8074         rhapsody* | darwin1.[012])
   8075          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8076          ;;
   8077        *) # Darwin 1.3 on
   8078          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8079            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8080          else
   8081            case ${MACOSX_DEPLOYMENT_TARGET} in
   8082              10.[012])
   8083                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8084                ;;
   8085              10.*)
   8086                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8087                ;;
   8088            esac
   8089          fi
   8090          ;;
   8091       esac
   8092       archive_cmds_need_lc=no
   8093       hardcode_direct=no
   8094       hardcode_automatic=yes
   8095       hardcode_shlibpath_var=unsupported
   8096       whole_archive_flag_spec=''
   8097       link_all_deplibs=yes
   8098     if test "$GCC" = yes ; then
   8099     	output_verbose_link_cmd='echo'
   8100         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8101       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8102       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8103       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}'
   8104       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}'
   8105     else
   8106       case $cc_basename in
   8107         xlc*)
   8108          output_verbose_link_cmd='echo'
   8109          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   8110          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8111           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8112          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}'
   8113           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}'
   8114           ;;
   8115        *)
   8116          ld_shlibs=no
   8117           ;;
   8118       esac
   8119     fi
   8120       ;;
   8121 
   8122     dgux*)
   8123       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8124       hardcode_libdir_flag_spec='-L$libdir'
   8125       hardcode_shlibpath_var=no
   8126       ;;
   8127 
   8128     freebsd1*)
   8129       ld_shlibs=no
   8130       ;;
   8131 
   8132     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8133     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8134     # does not break anything, and helps significantly (at the cost of a little
   8135     # extra space).
   8136     freebsd2.2*)
   8137       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8138       hardcode_libdir_flag_spec='-R$libdir'
   8139       hardcode_direct=yes
   8140       hardcode_shlibpath_var=no
   8141       ;;
   8142 
   8143     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8144     freebsd2*)
   8145       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8146       hardcode_direct=yes
   8147       hardcode_minus_L=yes
   8148       hardcode_shlibpath_var=no
   8149       ;;
   8150 
   8151     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8152     freebsd* | kfreebsd*-gnu | dragonfly*)
   8153       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8154       hardcode_libdir_flag_spec='-R$libdir'
   8155       hardcode_direct=yes
   8156       hardcode_shlibpath_var=no
   8157       ;;
   8158 
   8159     hpux9*)
   8160       if test "$GCC" = yes; then
   8161 	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'
   8162       else
   8163 	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'
   8164       fi
   8165       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8166       hardcode_libdir_separator=:
   8167       hardcode_direct=yes
   8168 
   8169       # hardcode_minus_L: Not really in the search PATH,
   8170       # but as the default location of the library.
   8171       hardcode_minus_L=yes
   8172       export_dynamic_flag_spec='${wl}-E'
   8173       ;;
   8174 
   8175     hpux10*)
   8176       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8177 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8178       else
   8179 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8180       fi
   8181       if test "$with_gnu_ld" = no; then
   8182 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8183 	hardcode_libdir_separator=:
   8184 
   8185 	hardcode_direct=yes
   8186 	export_dynamic_flag_spec='${wl}-E'
   8187 
   8188 	# hardcode_minus_L: Not really in the search PATH,
   8189 	# but as the default location of the library.
   8190 	hardcode_minus_L=yes
   8191       fi
   8192       ;;
   8193 
   8194     hpux11*)
   8195       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8196 	case $host_cpu in
   8197 	hppa*64*)
   8198 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8199 	  ;;
   8200 	ia64*)
   8201 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8202 	  ;;
   8203 	*)
   8204 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8205 	  ;;
   8206 	esac
   8207       else
   8208 	case $host_cpu in
   8209 	hppa*64*)
   8210 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8211 	  ;;
   8212 	ia64*)
   8213 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8214 	  ;;
   8215 	*)
   8216 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8217 	  ;;
   8218 	esac
   8219       fi
   8220       if test "$with_gnu_ld" = no; then
   8221 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8222 	hardcode_libdir_separator=:
   8223 
   8224 	case $host_cpu in
   8225 	hppa*64*|ia64*)
   8226 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8227 	  hardcode_direct=no
   8228 	  hardcode_shlibpath_var=no
   8229 	  ;;
   8230 	*)
   8231 	  hardcode_direct=yes
   8232 	  export_dynamic_flag_spec='${wl}-E'
   8233 
   8234 	  # hardcode_minus_L: Not really in the search PATH,
   8235 	  # but as the default location of the library.
   8236 	  hardcode_minus_L=yes
   8237 	  ;;
   8238 	esac
   8239       fi
   8240       ;;
   8241 
   8242     irix5* | irix6* | nonstopux*)
   8243       if test "$GCC" = yes; then
   8244 	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'
   8245       else
   8246 	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'
   8247 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8248       fi
   8249       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8250       hardcode_libdir_separator=:
   8251       link_all_deplibs=yes
   8252       ;;
   8253 
   8254     netbsd*)
   8255       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8256 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8257       else
   8258 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8259       fi
   8260       hardcode_libdir_flag_spec='-R$libdir'
   8261       hardcode_direct=yes
   8262       hardcode_shlibpath_var=no
   8263       ;;
   8264 
   8265     newsos6)
   8266       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8267       hardcode_direct=yes
   8268       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8269       hardcode_libdir_separator=:
   8270       hardcode_shlibpath_var=no
   8271       ;;
   8272 
   8273     openbsd*)
   8274       hardcode_direct=yes
   8275       hardcode_shlibpath_var=no
   8276       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8277 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8278 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8279 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8280 	export_dynamic_flag_spec='${wl}-E'
   8281       else
   8282        case $host_os in
   8283 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8284 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8285 	   hardcode_libdir_flag_spec='-R$libdir'
   8286 	   ;;
   8287 	 *)
   8288 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8289 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8290 	   ;;
   8291        esac
   8292       fi
   8293       ;;
   8294 
   8295     os2*)
   8296       hardcode_libdir_flag_spec='-L$libdir'
   8297       hardcode_minus_L=yes
   8298       allow_undefined_flag=unsupported
   8299       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'
   8300       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8301       ;;
   8302 
   8303     osf3*)
   8304       if test "$GCC" = yes; then
   8305 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8306 	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'
   8307       else
   8308 	allow_undefined_flag=' -expect_unresolved \*'
   8309 	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'
   8310       fi
   8311       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8312       hardcode_libdir_separator=:
   8313       ;;
   8314 
   8315     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8316       if test "$GCC" = yes; then
   8317 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8318 	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'
   8319 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8320       else
   8321 	allow_undefined_flag=' -expect_unresolved \*'
   8322 	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'
   8323 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8324 	$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'
   8325 
   8326 	# Both c and cxx compiler support -rpath directly
   8327 	hardcode_libdir_flag_spec='-rpath $libdir'
   8328       fi
   8329       hardcode_libdir_separator=:
   8330       ;;
   8331 
   8332     solaris*)
   8333       no_undefined_flag=' -z text'
   8334       if test "$GCC" = yes; then
   8335 	wlarc='${wl}'
   8336 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8337 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8338 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8339       else
   8340 	wlarc=''
   8341 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8342 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8343   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8344       fi
   8345       hardcode_libdir_flag_spec='-R$libdir'
   8346       hardcode_shlibpath_var=no
   8347       case $host_os in
   8348       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8349       *)
   8350  	# The compiler driver will combine linker options so we
   8351  	# cannot just pass the convience library names through
   8352  	# without $wl, iff we do not link with $LD.
   8353  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   8354  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8355  	case $wlarc in
   8356  	'')
   8357  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   8358  	*)
   8359  	  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' ;;
   8360  	esac ;;
   8361       esac
   8362       link_all_deplibs=yes
   8363       ;;
   8364 
   8365     sunos4*)
   8366       if test "x$host_vendor" = xsequent; then
   8367 	# Use $CC to link under sequent, because it throws in some extra .o
   8368 	# files that make .init and .fini sections work.
   8369 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8370       else
   8371 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8372       fi
   8373       hardcode_libdir_flag_spec='-L$libdir'
   8374       hardcode_direct=yes
   8375       hardcode_minus_L=yes
   8376       hardcode_shlibpath_var=no
   8377       ;;
   8378 
   8379     sysv4)
   8380       case $host_vendor in
   8381 	sni)
   8382 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8383 	  hardcode_direct=yes # is this really true???
   8384 	;;
   8385 	siemens)
   8386 	  ## LD is ld it makes a PLAMLIB
   8387 	  ## CC just makes a GrossModule.
   8388 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8389 	  reload_cmds='$CC -r -o $output$reload_objs'
   8390 	  hardcode_direct=no
   8391         ;;
   8392 	motorola)
   8393 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8394 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8395 	;;
   8396       esac
   8397       runpath_var='LD_RUN_PATH'
   8398       hardcode_shlibpath_var=no
   8399       ;;
   8400 
   8401     sysv4.3*)
   8402       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8403       hardcode_shlibpath_var=no
   8404       export_dynamic_flag_spec='-Bexport'
   8405       ;;
   8406 
   8407     sysv4*MP*)
   8408       if test -d /usr/nec; then
   8409 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8410 	hardcode_shlibpath_var=no
   8411 	runpath_var=LD_RUN_PATH
   8412 	hardcode_runpath_var=yes
   8413 	ld_shlibs=yes
   8414       fi
   8415       ;;
   8416 
   8417     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   8418       no_undefined_flag='${wl}-z,text'
   8419       archive_cmds_need_lc=no
   8420       hardcode_shlibpath_var=no
   8421       runpath_var='LD_RUN_PATH'
   8422 
   8423       if test "$GCC" = yes; then
   8424 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8425 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8426       else
   8427 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8428 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8429       fi
   8430       ;;
   8431 
   8432     sysv5* | sco3.2v5* | sco5v6*)
   8433       # Note: We can NOT use -z defs as we might desire, because we do not
   8434       # link with -lc, and that would cause any symbols used from libc to
   8435       # always be unresolved, which means just about no library would
   8436       # ever link correctly.  If we're not using GNU ld we use -z text
   8437       # though, which does catch some bad symbols but isn't as heavy-handed
   8438       # as -z defs.
   8439       no_undefined_flag='${wl}-z,text'
   8440       allow_undefined_flag='${wl}-z,nodefs'
   8441       archive_cmds_need_lc=no
   8442       hardcode_shlibpath_var=no
   8443       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8444       hardcode_libdir_separator=':'
   8445       link_all_deplibs=yes
   8446       export_dynamic_flag_spec='${wl}-Bexport'
   8447       runpath_var='LD_RUN_PATH'
   8448 
   8449       if test "$GCC" = yes; then
   8450 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8451 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8452       else
   8453 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8454 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8455       fi
   8456       ;;
   8457 
   8458     uts4*)
   8459       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8460       hardcode_libdir_flag_spec='-L$libdir'
   8461       hardcode_shlibpath_var=no
   8462       ;;
   8463 
   8464     *)
   8465       ld_shlibs=no
   8466       ;;
   8467     esac
   8468   fi
   8469 
   8470 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8471 echo "${ECHO_T}$ld_shlibs" >&6; }
   8472 test "$ld_shlibs" = no && can_build_shared=no
   8473 
   8474 #
   8475 # Do we need to explicitly link libc?
   8476 #
   8477 case "x$archive_cmds_need_lc" in
   8478 x|xyes)
   8479   # Assume -lc should be added
   8480   archive_cmds_need_lc=yes
   8481 
   8482   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8483     case $archive_cmds in
   8484     *'~'*)
   8485       # FIXME: we may have to deal with multi-command sequences.
   8486       ;;
   8487     '$CC '*)
   8488       # Test whether the compiler implicitly links with -lc since on some
   8489       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8490       # to ld, don't add -lc before -lgcc.
   8491       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8492 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8493       $rm conftest*
   8494       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8495 
   8496       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8497   (eval $ac_compile) 2>&5
   8498   ac_status=$?
   8499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8500   (exit $ac_status); } 2>conftest.err; then
   8501         soname=conftest
   8502         lib=conftest
   8503         libobjs=conftest.$ac_objext
   8504         deplibs=
   8505         wl=$lt_prog_compiler_wl
   8506 	pic_flag=$lt_prog_compiler_pic
   8507         compiler_flags=-v
   8508         linker_flags=-v
   8509         verstring=
   8510         output_objdir=.
   8511         libname=conftest
   8512         lt_save_allow_undefined_flag=$allow_undefined_flag
   8513         allow_undefined_flag=
   8514         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8515   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8516   ac_status=$?
   8517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8518   (exit $ac_status); }
   8519         then
   8520 	  archive_cmds_need_lc=no
   8521         else
   8522 	  archive_cmds_need_lc=yes
   8523         fi
   8524         allow_undefined_flag=$lt_save_allow_undefined_flag
   8525       else
   8526         cat conftest.err 1>&5
   8527       fi
   8528       $rm conftest*
   8529       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8530 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8531       ;;
   8532     esac
   8533   fi
   8534   ;;
   8535 esac
   8536 
   8537 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8538 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8539 library_names_spec=
   8540 libname_spec='lib$name'
   8541 soname_spec=
   8542 shrext_cmds=".so"
   8543 postinstall_cmds=
   8544 postuninstall_cmds=
   8545 finish_cmds=
   8546 finish_eval=
   8547 shlibpath_var=
   8548 shlibpath_overrides_runpath=unknown
   8549 version_type=none
   8550 dynamic_linker="$host_os ld.so"
   8551 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8552 if test "$GCC" = yes; then
   8553   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8554   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   8555     # if the path contains ";" then we assume it to be the separator
   8556     # otherwise default to the standard path separator (i.e. ":") - it is
   8557     # assumed that no part of a normal pathname contains ";" but that should
   8558     # okay in the real world where ";" in dirpaths is itself problematic.
   8559     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8560   else
   8561     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8562   fi
   8563 else
   8564   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8565 fi
   8566 need_lib_prefix=unknown
   8567 hardcode_into_libs=no
   8568 
   8569 # when you set need_version to no, make sure it does not cause -set_version
   8570 # flags to be left without arguments
   8571 need_version=unknown
   8572 
   8573 case $host_os in
   8574 aix3*)
   8575   version_type=linux
   8576   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8577   shlibpath_var=LIBPATH
   8578 
   8579   # AIX 3 has no versioning support, so we append a major version to the name.
   8580   soname_spec='${libname}${release}${shared_ext}$major'
   8581   ;;
   8582 
   8583 aix4* | aix5*)
   8584   version_type=linux
   8585   need_lib_prefix=no
   8586   need_version=no
   8587   hardcode_into_libs=yes
   8588   if test "$host_cpu" = ia64; then
   8589     # AIX 5 supports IA64
   8590     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8591     shlibpath_var=LD_LIBRARY_PATH
   8592   else
   8593     # With GCC up to 2.95.x, collect2 would create an import file
   8594     # for dependence libraries.  The import file would start with
   8595     # the line `#! .'.  This would cause the generated library to
   8596     # depend on `.', always an invalid library.  This was fixed in
   8597     # development snapshots of GCC prior to 3.0.
   8598     case $host_os in
   8599       aix4 | aix4.[01] | aix4.[01].*)
   8600       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8601 	   echo ' yes '
   8602 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8603 	:
   8604       else
   8605 	can_build_shared=no
   8606       fi
   8607       ;;
   8608     esac
   8609     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8610     # soname into executable. Probably we can add versioning support to
   8611     # collect2, so additional links can be useful in future.
   8612     if test "$aix_use_runtimelinking" = yes; then
   8613       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8614       # instead of lib<name>.a to let people know that these are not
   8615       # typical AIX shared libraries.
   8616       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8617     else
   8618       # We preserve .a as extension for shared libraries through AIX4.2
   8619       # and later when we are not doing run time linking.
   8620       library_names_spec='${libname}${release}.a $libname.a'
   8621       soname_spec='${libname}${release}${shared_ext}$major'
   8622     fi
   8623     shlibpath_var=LIBPATH
   8624   fi
   8625   ;;
   8626 
   8627 amigaos*)
   8628   library_names_spec='$libname.ixlibrary $libname.a'
   8629   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   8630   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'
   8631   ;;
   8632 
   8633 beos*)
   8634   library_names_spec='${libname}${shared_ext}'
   8635   dynamic_linker="$host_os ld.so"
   8636   shlibpath_var=LIBRARY_PATH
   8637   ;;
   8638 
   8639 bsdi[45]*)
   8640   version_type=linux
   8641   need_version=no
   8642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8643   soname_spec='${libname}${release}${shared_ext}$major'
   8644   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   8645   shlibpath_var=LD_LIBRARY_PATH
   8646   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   8647   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   8648   # the default ld.so.conf also contains /usr/contrib/lib and
   8649   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   8650   # libtool to hard-code these into programs
   8651   ;;
   8652 
   8653 cygwin* | mingw* | pw32*)
   8654   version_type=windows
   8655   shrext_cmds=".dll"
   8656   need_version=no
   8657   need_lib_prefix=no
   8658 
   8659   case $GCC,$host_os in
   8660   yes,cygwin* | yes,mingw* | yes,pw32*)
   8661     library_names_spec='$libname.dll.a'
   8662     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   8663     postinstall_cmds='base_file=`basename \${file}`~
   8664       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   8665       dldir=$destdir/`dirname \$dlpath`~
   8666       test -d \$dldir || mkdir -p \$dldir~
   8667       $install_prog $dir/$dlname \$dldir/$dlname~
   8668       chmod a+x \$dldir/$dlname'
   8669     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   8670       dlpath=$dir/\$dldll~
   8671        $rm \$dlpath'
   8672     shlibpath_overrides_runpath=yes
   8673 
   8674     case $host_os in
   8675     cygwin*)
   8676       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   8677       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8678       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   8679       ;;
   8680     mingw*)
   8681       # MinGW DLLs use traditional 'lib' prefix
   8682       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8683       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8684       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   8685         # It is most probably a Windows format PATH printed by
   8686         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   8687         # path with ; separators, and with drive letters. We can handle the
   8688         # drive letters (cygwin fileutils understands them), so leave them,
   8689         # especially as we might pass files found there to a mingw objdump,
   8690         # which wouldn't understand a cygwinified path. Ahh.
   8691         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8692       else
   8693         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8694       fi
   8695       ;;
   8696     pw32*)
   8697       # pw32 DLLs use 'pw' prefix rather than 'lib'
   8698       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8699       ;;
   8700     esac
   8701     ;;
   8702 
   8703   *)
   8704     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8705     ;;
   8706   esac
   8707   dynamic_linker='Win32 ld.exe'
   8708   # FIXME: first we should search . and the directory the executable is in
   8709   shlibpath_var=PATH
   8710   ;;
   8711 
   8712 darwin* | rhapsody*)
   8713   dynamic_linker="$host_os dyld"
   8714   version_type=darwin
   8715   need_lib_prefix=no
   8716   need_version=no
   8717   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8718   soname_spec='${libname}${release}${major}$shared_ext'
   8719   shlibpath_overrides_runpath=yes
   8720   shlibpath_var=DYLD_LIBRARY_PATH
   8721   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   8722   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   8723   if test "$GCC" = yes; then
   8724     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"`
   8725   else
   8726     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   8727   fi
   8728   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8729   ;;
   8730 
   8731 dgux*)
   8732   version_type=linux
   8733   need_lib_prefix=no
   8734   need_version=no
   8735   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8736   soname_spec='${libname}${release}${shared_ext}$major'
   8737   shlibpath_var=LD_LIBRARY_PATH
   8738   ;;
   8739 
   8740 freebsd1*)
   8741   dynamic_linker=no
   8742   ;;
   8743 
   8744 kfreebsd*-gnu)
   8745   version_type=linux
   8746   need_lib_prefix=no
   8747   need_version=no
   8748   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8749   soname_spec='${libname}${release}${shared_ext}$major'
   8750   shlibpath_var=LD_LIBRARY_PATH
   8751   shlibpath_overrides_runpath=no
   8752   hardcode_into_libs=yes
   8753   dynamic_linker='GNU ld.so'
   8754   ;;
   8755 
   8756 freebsd* | dragonfly*)
   8757   # DragonFly does not have aout.  When/if they implement a new
   8758   # versioning mechanism, adjust this.
   8759   if test -x /usr/bin/objformat; then
   8760     objformat=`/usr/bin/objformat`
   8761   else
   8762     case $host_os in
   8763     freebsd[123]*) objformat=aout ;;
   8764     *) objformat=elf ;;
   8765     esac
   8766   fi
   8767   version_type=freebsd-$objformat
   8768   case $version_type in
   8769     freebsd-elf*)
   8770       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8771       need_version=no
   8772       need_lib_prefix=no
   8773       ;;
   8774     freebsd-*)
   8775       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8776       need_version=yes
   8777       ;;
   8778   esac
   8779   shlibpath_var=LD_LIBRARY_PATH
   8780   case $host_os in
   8781   freebsd2*)
   8782     shlibpath_overrides_runpath=yes
   8783     ;;
   8784   freebsd3.[01]* | freebsdelf3.[01]*)
   8785     shlibpath_overrides_runpath=yes
   8786     hardcode_into_libs=yes
   8787     ;;
   8788   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8789   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8790     shlibpath_overrides_runpath=no
   8791     hardcode_into_libs=yes
   8792     ;;
   8793   freebsd*) # from 4.6 on
   8794     shlibpath_overrides_runpath=yes
   8795     hardcode_into_libs=yes
   8796     ;;
   8797   esac
   8798   ;;
   8799 
   8800 gnu*)
   8801   version_type=linux
   8802   need_lib_prefix=no
   8803   need_version=no
   8804   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8805   soname_spec='${libname}${release}${shared_ext}$major'
   8806   shlibpath_var=LD_LIBRARY_PATH
   8807   hardcode_into_libs=yes
   8808   ;;
   8809 
   8810 hpux9* | hpux10* | hpux11*)
   8811   # Give a soname corresponding to the major version so that dld.sl refuses to
   8812   # link against other versions.
   8813   version_type=sunos
   8814   need_lib_prefix=no
   8815   need_version=no
   8816   case $host_cpu in
   8817   ia64*)
   8818     shrext_cmds='.so'
   8819     hardcode_into_libs=yes
   8820     dynamic_linker="$host_os dld.so"
   8821     shlibpath_var=LD_LIBRARY_PATH
   8822     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8823     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8824     soname_spec='${libname}${release}${shared_ext}$major'
   8825     if test "X$HPUX_IA64_MODE" = X32; then
   8826       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8827     else
   8828       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8829     fi
   8830     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8831     ;;
   8832    hppa*64*)
   8833      shrext_cmds='.sl'
   8834      hardcode_into_libs=yes
   8835      dynamic_linker="$host_os dld.sl"
   8836      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8837      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   8841      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8842      ;;
   8843    *)
   8844     shrext_cmds='.sl'
   8845     dynamic_linker="$host_os dld.sl"
   8846     shlibpath_var=SHLIB_PATH
   8847     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   8848     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8849     soname_spec='${libname}${release}${shared_ext}$major'
   8850     ;;
   8851   esac
   8852   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   8853   postinstall_cmds='chmod 555 $lib'
   8854   ;;
   8855 
   8856 interix3*)
   8857   version_type=linux
   8858   need_lib_prefix=no
   8859   need_version=no
   8860   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8861   soname_spec='${libname}${release}${shared_ext}$major'
   8862   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   8863   shlibpath_var=LD_LIBRARY_PATH
   8864   shlibpath_overrides_runpath=no
   8865   hardcode_into_libs=yes
   8866   ;;
   8867 
   8868 irix5* | irix6* | nonstopux*)
   8869   case $host_os in
   8870     nonstopux*) version_type=nonstopux ;;
   8871     *)
   8872 	if test "$lt_cv_prog_gnu_ld" = yes; then
   8873 		version_type=linux
   8874 	else
   8875 		version_type=irix
   8876 	fi ;;
   8877   esac
   8878   need_lib_prefix=no
   8879   need_version=no
   8880   soname_spec='${libname}${release}${shared_ext}$major'
   8881   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   8882   case $host_os in
   8883   irix5* | nonstopux*)
   8884     libsuff= shlibsuff=
   8885     ;;
   8886   *)
   8887     case $LD in # libtool.m4 will add one of these switches to LD
   8888     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   8889       libsuff= shlibsuff= libmagic=32-bit;;
   8890     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   8891       libsuff=32 shlibsuff=N32 libmagic=N32;;
   8892     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   8893       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   8894     *) libsuff= shlibsuff= libmagic=never-match;;
   8895     esac
   8896     ;;
   8897   esac
   8898   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   8899   shlibpath_overrides_runpath=no
   8900   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   8901   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   8902   hardcode_into_libs=yes
   8903   ;;
   8904 
   8905 # No shared lib support for Linux oldld, aout, or coff.
   8906 linux*oldld* | linux*aout* | linux*coff*)
   8907   dynamic_linker=no
   8908   ;;
   8909 
   8910 # This must be Linux ELF.
   8911 linux*)
   8912   version_type=linux
   8913   need_lib_prefix=no
   8914   need_version=no
   8915   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8916   soname_spec='${libname}${release}${shared_ext}$major'
   8917   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   8918   shlibpath_var=LD_LIBRARY_PATH
   8919   shlibpath_overrides_runpath=no
   8920   # This implies no fast_install, which is unacceptable.
   8921   # Some rework will be needed to allow for fast_install
   8922   # before this can be enabled.
   8923   hardcode_into_libs=yes
   8924 
   8925   # Append ld.so.conf contents to the search path
   8926   if test -f /etc/ld.so.conf; then
   8927     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' ' '`
   8928     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   8929   fi
   8930 
   8931   # We used to test for /lib/ld.so.1 and disable shared libraries on
   8932   # powerpc, because MkLinux only supported shared libraries with the
   8933   # GNU dynamic linker.  Since this was broken with cross compilers,
   8934   # most powerpc-linux boxes support dynamic linking these days and
   8935   # people can always --disable-shared, the test was removed, and we
   8936   # assume the GNU/Linux dynamic linker is in use.
   8937   dynamic_linker='GNU/Linux ld.so'
   8938   ;;
   8939 
   8940 knetbsd*-gnu)
   8941   version_type=linux
   8942   need_lib_prefix=no
   8943   need_version=no
   8944   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8945   soname_spec='${libname}${release}${shared_ext}$major'
   8946   shlibpath_var=LD_LIBRARY_PATH
   8947   shlibpath_overrides_runpath=no
   8948   hardcode_into_libs=yes
   8949   dynamic_linker='GNU ld.so'
   8950   ;;
   8951 
   8952 netbsd*)
   8953   version_type=sunos
   8954   need_lib_prefix=no
   8955   need_version=no
   8956   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8957     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8958     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   8959     dynamic_linker='NetBSD (a.out) ld.so'
   8960   else
   8961     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8962     soname_spec='${libname}${release}${shared_ext}$major'
   8963     dynamic_linker='NetBSD ld.elf_so'
   8964   fi
   8965   shlibpath_var=LD_LIBRARY_PATH
   8966   shlibpath_overrides_runpath=yes
   8967   hardcode_into_libs=yes
   8968   ;;
   8969 
   8970 newsos6)
   8971   version_type=linux
   8972   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8973   shlibpath_var=LD_LIBRARY_PATH
   8974   shlibpath_overrides_runpath=yes
   8975   ;;
   8976 
   8977 nto-qnx*)
   8978   version_type=linux
   8979   need_lib_prefix=no
   8980   need_version=no
   8981   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8982   soname_spec='${libname}${release}${shared_ext}$major'
   8983   shlibpath_var=LD_LIBRARY_PATH
   8984   shlibpath_overrides_runpath=yes
   8985   ;;
   8986 
   8987 openbsd*)
   8988   version_type=sunos
   8989   sys_lib_dlsearch_path_spec="/usr/lib"
   8990   need_lib_prefix=no
   8991   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   8992   case $host_os in
   8993     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   8994     *)                         need_version=no  ;;
   8995   esac
   8996   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8997   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   8998   shlibpath_var=LD_LIBRARY_PATH
   8999   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9000     case $host_os in
   9001       openbsd2.[89] | openbsd2.[89].*)
   9002 	shlibpath_overrides_runpath=no
   9003 	;;
   9004       *)
   9005 	shlibpath_overrides_runpath=yes
   9006 	;;
   9007       esac
   9008   else
   9009     shlibpath_overrides_runpath=yes
   9010   fi
   9011   ;;
   9012 
   9013 os2*)
   9014   libname_spec='$name'
   9015   shrext_cmds=".dll"
   9016   need_lib_prefix=no
   9017   library_names_spec='$libname${shared_ext} $libname.a'
   9018   dynamic_linker='OS/2 ld.exe'
   9019   shlibpath_var=LIBPATH
   9020   ;;
   9021 
   9022 osf3* | osf4* | osf5*)
   9023   version_type=osf
   9024   need_lib_prefix=no
   9025   need_version=no
   9026   soname_spec='${libname}${release}${shared_ext}$major'
   9027   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9028   shlibpath_var=LD_LIBRARY_PATH
   9029   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9030   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9031   ;;
   9032 
   9033 solaris*)
   9034   version_type=linux
   9035   need_lib_prefix=no
   9036   need_version=no
   9037   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9038   soname_spec='${libname}${release}${shared_ext}$major'
   9039   shlibpath_var=LD_LIBRARY_PATH
   9040   shlibpath_overrides_runpath=yes
   9041   hardcode_into_libs=yes
   9042   # ldd complains unless libraries are executable
   9043   postinstall_cmds='chmod +x $lib'
   9044   ;;
   9045 
   9046 sunos4*)
   9047   version_type=sunos
   9048   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9049   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9050   shlibpath_var=LD_LIBRARY_PATH
   9051   shlibpath_overrides_runpath=yes
   9052   if test "$with_gnu_ld" = yes; then
   9053     need_lib_prefix=no
   9054   fi
   9055   need_version=yes
   9056   ;;
   9057 
   9058 sysv4 | sysv4.3*)
   9059   version_type=linux
   9060   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9061   soname_spec='${libname}${release}${shared_ext}$major'
   9062   shlibpath_var=LD_LIBRARY_PATH
   9063   case $host_vendor in
   9064     sni)
   9065       shlibpath_overrides_runpath=no
   9066       need_lib_prefix=no
   9067       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9068       runpath_var=LD_RUN_PATH
   9069       ;;
   9070     siemens)
   9071       need_lib_prefix=no
   9072       ;;
   9073     motorola)
   9074       need_lib_prefix=no
   9075       need_version=no
   9076       shlibpath_overrides_runpath=no
   9077       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9078       ;;
   9079   esac
   9080   ;;
   9081 
   9082 sysv4*MP*)
   9083   if test -d /usr/nec ;then
   9084     version_type=linux
   9085     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9086     soname_spec='$libname${shared_ext}.$major'
   9087     shlibpath_var=LD_LIBRARY_PATH
   9088   fi
   9089   ;;
   9090 
   9091 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9092   version_type=freebsd-elf
   9093   need_lib_prefix=no
   9094   need_version=no
   9095   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9096   soname_spec='${libname}${release}${shared_ext}$major'
   9097   shlibpath_var=LD_LIBRARY_PATH
   9098   hardcode_into_libs=yes
   9099   if test "$with_gnu_ld" = yes; then
   9100     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9101     shlibpath_overrides_runpath=no
   9102   else
   9103     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9104     shlibpath_overrides_runpath=yes
   9105     case $host_os in
   9106       sco3.2v5*)
   9107         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9108 	;;
   9109     esac
   9110   fi
   9111   sys_lib_dlsearch_path_spec='/usr/lib'
   9112   ;;
   9113 
   9114 uts4*)
   9115   version_type=linux
   9116   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9117   soname_spec='${libname}${release}${shared_ext}$major'
   9118   shlibpath_var=LD_LIBRARY_PATH
   9119   ;;
   9120 
   9121 *)
   9122   dynamic_linker=no
   9123   ;;
   9124 esac
   9125 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9126 echo "${ECHO_T}$dynamic_linker" >&6; }
   9127 test "$dynamic_linker" = no && can_build_shared=no
   9128 
   9129 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9130 if test "$GCC" = yes; then
   9131   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9132 fi
   9133 
   9134 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9135 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9136 hardcode_action=
   9137 if test -n "$hardcode_libdir_flag_spec" || \
   9138    test -n "$runpath_var" || \
   9139    test "X$hardcode_automatic" = "Xyes" ; then
   9140 
   9141   # We can hardcode non-existant directories.
   9142   if test "$hardcode_direct" != no &&
   9143      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9144      # have to relink, otherwise we might link with an installed library
   9145      # when we should be linking with a yet-to-be-installed one
   9146      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9147      test "$hardcode_minus_L" != no; then
   9148     # Linking always hardcodes the temporary library directory.
   9149     hardcode_action=relink
   9150   else
   9151     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9152     hardcode_action=immediate
   9153   fi
   9154 else
   9155   # We cannot hardcode anything, or else we can only hardcode existing
   9156   # directories.
   9157   hardcode_action=unsupported
   9158 fi
   9159 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9160 echo "${ECHO_T}$hardcode_action" >&6; }
   9161 
   9162 if test "$hardcode_action" = relink; then
   9163   # Fast installation is not supported
   9164   enable_fast_install=no
   9165 elif test "$shlibpath_overrides_runpath" = yes ||
   9166      test "$enable_shared" = no; then
   9167   # Fast installation is not necessary
   9168   enable_fast_install=needless
   9169 fi
   9170 
   9171 striplib=
   9172 old_striplib=
   9173 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9174 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9175 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9176   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9177   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9178   { echo "$as_me:$LINENO: result: yes" >&5
   9179 echo "${ECHO_T}yes" >&6; }
   9180 else
   9181 # FIXME - insert some real tests, host_os isn't really good enough
   9182   case $host_os in
   9183    darwin*)
   9184        if test -n "$STRIP" ; then
   9185          striplib="$STRIP -x"
   9186          { echo "$as_me:$LINENO: result: yes" >&5
   9187 echo "${ECHO_T}yes" >&6; }
   9188        else
   9189   { echo "$as_me:$LINENO: result: no" >&5
   9190 echo "${ECHO_T}no" >&6; }
   9191 fi
   9192        ;;
   9193    *)
   9194   { echo "$as_me:$LINENO: result: no" >&5
   9195 echo "${ECHO_T}no" >&6; }
   9196     ;;
   9197   esac
   9198 fi
   9199 
   9200 if test "x$enable_dlopen" != xyes; then
   9201   enable_dlopen=unknown
   9202   enable_dlopen_self=unknown
   9203   enable_dlopen_self_static=unknown
   9204 else
   9205   lt_cv_dlopen=no
   9206   lt_cv_dlopen_libs=
   9207 
   9208   case $host_os in
   9209   beos*)
   9210     lt_cv_dlopen="load_add_on"
   9211     lt_cv_dlopen_libs=
   9212     lt_cv_dlopen_self=yes
   9213     ;;
   9214 
   9215   mingw* | pw32*)
   9216     lt_cv_dlopen="LoadLibrary"
   9217     lt_cv_dlopen_libs=
   9218    ;;
   9219 
   9220   cygwin*)
   9221     lt_cv_dlopen="dlopen"
   9222     lt_cv_dlopen_libs=
   9223    ;;
   9224 
   9225   darwin*)
   9226   # if libdl is installed we need to link against it
   9227     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9228 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9229 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9230   echo $ECHO_N "(cached) $ECHO_C" >&6
   9231 else
   9232   ac_check_lib_save_LIBS=$LIBS
   9233 LIBS="-ldl  $LIBS"
   9234 cat >conftest.$ac_ext <<_ACEOF
   9235 /* confdefs.h.  */
   9236 _ACEOF
   9237 cat confdefs.h >>conftest.$ac_ext
   9238 cat >>conftest.$ac_ext <<_ACEOF
   9239 /* end confdefs.h.  */
   9240 
   9241 /* Override any GCC internal prototype to avoid an error.
   9242    Use char because int might match the return type of a GCC
   9243    builtin and then its argument prototype would still apply.  */
   9244 #ifdef __cplusplus
   9245 extern "C"
   9246 #endif
   9247 char dlopen ();
   9248 int
   9249 main ()
   9250 {
   9251 return dlopen ();
   9252   ;
   9253   return 0;
   9254 }
   9255 _ACEOF
   9256 rm -f conftest.$ac_objext conftest$ac_exeext
   9257 if { (ac_try="$ac_link"
   9258 case "(($ac_try" in
   9259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9260   *) ac_try_echo=$ac_try;;
   9261 esac
   9262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9263   (eval "$ac_link") 2>conftest.er1
   9264   ac_status=$?
   9265   grep -v '^ *+' conftest.er1 >conftest.err
   9266   rm -f conftest.er1
   9267   cat conftest.err >&5
   9268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9269   (exit $ac_status); } && {
   9270 	 test -z "$ac_c_werror_flag" ||
   9271 	 test ! -s conftest.err
   9272        } && test -s conftest$ac_exeext &&
   9273        $as_test_x conftest$ac_exeext; then
   9274   ac_cv_lib_dl_dlopen=yes
   9275 else
   9276   echo "$as_me: failed program was:" >&5
   9277 sed 's/^/| /' conftest.$ac_ext >&5
   9278 
   9279 	ac_cv_lib_dl_dlopen=no
   9280 fi
   9281 
   9282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9283       conftest$ac_exeext conftest.$ac_ext
   9284 LIBS=$ac_check_lib_save_LIBS
   9285 fi
   9286 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9287 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9288 if test $ac_cv_lib_dl_dlopen = yes; then
   9289   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9290 else
   9291 
   9292     lt_cv_dlopen="dyld"
   9293     lt_cv_dlopen_libs=
   9294     lt_cv_dlopen_self=yes
   9295 
   9296 fi
   9297 
   9298    ;;
   9299 
   9300   *)
   9301     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9302 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9303 if test "${ac_cv_func_shl_load+set}" = set; then
   9304   echo $ECHO_N "(cached) $ECHO_C" >&6
   9305 else
   9306   cat >conftest.$ac_ext <<_ACEOF
   9307 /* confdefs.h.  */
   9308 _ACEOF
   9309 cat confdefs.h >>conftest.$ac_ext
   9310 cat >>conftest.$ac_ext <<_ACEOF
   9311 /* end confdefs.h.  */
   9312 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9313    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9314 #define shl_load innocuous_shl_load
   9315 
   9316 /* System header to define __stub macros and hopefully few prototypes,
   9317     which can conflict with char shl_load (); below.
   9318     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9319     <limits.h> exists even on freestanding compilers.  */
   9320 
   9321 #ifdef __STDC__
   9322 # include <limits.h>
   9323 #else
   9324 # include <assert.h>
   9325 #endif
   9326 
   9327 #undef shl_load
   9328 
   9329 /* Override any GCC internal prototype to avoid an error.
   9330    Use char because int might match the return type of a GCC
   9331    builtin and then its argument prototype would still apply.  */
   9332 #ifdef __cplusplus
   9333 extern "C"
   9334 #endif
   9335 char shl_load ();
   9336 /* The GNU C library defines this for functions which it implements
   9337     to always fail with ENOSYS.  Some functions are actually named
   9338     something starting with __ and the normal name is an alias.  */
   9339 #if defined __stub_shl_load || defined __stub___shl_load
   9340 choke me
   9341 #endif
   9342 
   9343 int
   9344 main ()
   9345 {
   9346 return shl_load ();
   9347   ;
   9348   return 0;
   9349 }
   9350 _ACEOF
   9351 rm -f conftest.$ac_objext conftest$ac_exeext
   9352 if { (ac_try="$ac_link"
   9353 case "(($ac_try" in
   9354   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9355   *) ac_try_echo=$ac_try;;
   9356 esac
   9357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9358   (eval "$ac_link") 2>conftest.er1
   9359   ac_status=$?
   9360   grep -v '^ *+' conftest.er1 >conftest.err
   9361   rm -f conftest.er1
   9362   cat conftest.err >&5
   9363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9364   (exit $ac_status); } && {
   9365 	 test -z "$ac_c_werror_flag" ||
   9366 	 test ! -s conftest.err
   9367        } && test -s conftest$ac_exeext &&
   9368        $as_test_x conftest$ac_exeext; then
   9369   ac_cv_func_shl_load=yes
   9370 else
   9371   echo "$as_me: failed program was:" >&5
   9372 sed 's/^/| /' conftest.$ac_ext >&5
   9373 
   9374 	ac_cv_func_shl_load=no
   9375 fi
   9376 
   9377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9378       conftest$ac_exeext conftest.$ac_ext
   9379 fi
   9380 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9381 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9382 if test $ac_cv_func_shl_load = yes; then
   9383   lt_cv_dlopen="shl_load"
   9384 else
   9385   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9386 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9387 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9388   echo $ECHO_N "(cached) $ECHO_C" >&6
   9389 else
   9390   ac_check_lib_save_LIBS=$LIBS
   9391 LIBS="-ldld  $LIBS"
   9392 cat >conftest.$ac_ext <<_ACEOF
   9393 /* confdefs.h.  */
   9394 _ACEOF
   9395 cat confdefs.h >>conftest.$ac_ext
   9396 cat >>conftest.$ac_ext <<_ACEOF
   9397 /* end confdefs.h.  */
   9398 
   9399 /* Override any GCC internal prototype to avoid an error.
   9400    Use char because int might match the return type of a GCC
   9401    builtin and then its argument prototype would still apply.  */
   9402 #ifdef __cplusplus
   9403 extern "C"
   9404 #endif
   9405 char shl_load ();
   9406 int
   9407 main ()
   9408 {
   9409 return shl_load ();
   9410   ;
   9411   return 0;
   9412 }
   9413 _ACEOF
   9414 rm -f conftest.$ac_objext conftest$ac_exeext
   9415 if { (ac_try="$ac_link"
   9416 case "(($ac_try" in
   9417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9418   *) ac_try_echo=$ac_try;;
   9419 esac
   9420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9421   (eval "$ac_link") 2>conftest.er1
   9422   ac_status=$?
   9423   grep -v '^ *+' conftest.er1 >conftest.err
   9424   rm -f conftest.er1
   9425   cat conftest.err >&5
   9426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9427   (exit $ac_status); } && {
   9428 	 test -z "$ac_c_werror_flag" ||
   9429 	 test ! -s conftest.err
   9430        } && test -s conftest$ac_exeext &&
   9431        $as_test_x conftest$ac_exeext; then
   9432   ac_cv_lib_dld_shl_load=yes
   9433 else
   9434   echo "$as_me: failed program was:" >&5
   9435 sed 's/^/| /' conftest.$ac_ext >&5
   9436 
   9437 	ac_cv_lib_dld_shl_load=no
   9438 fi
   9439 
   9440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9441       conftest$ac_exeext conftest.$ac_ext
   9442 LIBS=$ac_check_lib_save_LIBS
   9443 fi
   9444 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9445 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9446 if test $ac_cv_lib_dld_shl_load = yes; then
   9447   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9448 else
   9449   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9450 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9451 if test "${ac_cv_func_dlopen+set}" = set; then
   9452   echo $ECHO_N "(cached) $ECHO_C" >&6
   9453 else
   9454   cat >conftest.$ac_ext <<_ACEOF
   9455 /* confdefs.h.  */
   9456 _ACEOF
   9457 cat confdefs.h >>conftest.$ac_ext
   9458 cat >>conftest.$ac_ext <<_ACEOF
   9459 /* end confdefs.h.  */
   9460 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9461    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9462 #define dlopen innocuous_dlopen
   9463 
   9464 /* System header to define __stub macros and hopefully few prototypes,
   9465     which can conflict with char dlopen (); below.
   9466     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9467     <limits.h> exists even on freestanding compilers.  */
   9468 
   9469 #ifdef __STDC__
   9470 # include <limits.h>
   9471 #else
   9472 # include <assert.h>
   9473 #endif
   9474 
   9475 #undef dlopen
   9476 
   9477 /* Override any GCC internal prototype to avoid an error.
   9478    Use char because int might match the return type of a GCC
   9479    builtin and then its argument prototype would still apply.  */
   9480 #ifdef __cplusplus
   9481 extern "C"
   9482 #endif
   9483 char dlopen ();
   9484 /* The GNU C library defines this for functions which it implements
   9485     to always fail with ENOSYS.  Some functions are actually named
   9486     something starting with __ and the normal name is an alias.  */
   9487 #if defined __stub_dlopen || defined __stub___dlopen
   9488 choke me
   9489 #endif
   9490 
   9491 int
   9492 main ()
   9493 {
   9494 return dlopen ();
   9495   ;
   9496   return 0;
   9497 }
   9498 _ACEOF
   9499 rm -f conftest.$ac_objext conftest$ac_exeext
   9500 if { (ac_try="$ac_link"
   9501 case "(($ac_try" in
   9502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9503   *) ac_try_echo=$ac_try;;
   9504 esac
   9505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9506   (eval "$ac_link") 2>conftest.er1
   9507   ac_status=$?
   9508   grep -v '^ *+' conftest.er1 >conftest.err
   9509   rm -f conftest.er1
   9510   cat conftest.err >&5
   9511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9512   (exit $ac_status); } && {
   9513 	 test -z "$ac_c_werror_flag" ||
   9514 	 test ! -s conftest.err
   9515        } && test -s conftest$ac_exeext &&
   9516        $as_test_x conftest$ac_exeext; then
   9517   ac_cv_func_dlopen=yes
   9518 else
   9519   echo "$as_me: failed program was:" >&5
   9520 sed 's/^/| /' conftest.$ac_ext >&5
   9521 
   9522 	ac_cv_func_dlopen=no
   9523 fi
   9524 
   9525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9526       conftest$ac_exeext conftest.$ac_ext
   9527 fi
   9528 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   9529 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   9530 if test $ac_cv_func_dlopen = yes; then
   9531   lt_cv_dlopen="dlopen"
   9532 else
   9533   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9534 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9535 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9536   echo $ECHO_N "(cached) $ECHO_C" >&6
   9537 else
   9538   ac_check_lib_save_LIBS=$LIBS
   9539 LIBS="-ldl  $LIBS"
   9540 cat >conftest.$ac_ext <<_ACEOF
   9541 /* confdefs.h.  */
   9542 _ACEOF
   9543 cat confdefs.h >>conftest.$ac_ext
   9544 cat >>conftest.$ac_ext <<_ACEOF
   9545 /* end confdefs.h.  */
   9546 
   9547 /* Override any GCC internal prototype to avoid an error.
   9548    Use char because int might match the return type of a GCC
   9549    builtin and then its argument prototype would still apply.  */
   9550 #ifdef __cplusplus
   9551 extern "C"
   9552 #endif
   9553 char dlopen ();
   9554 int
   9555 main ()
   9556 {
   9557 return dlopen ();
   9558   ;
   9559   return 0;
   9560 }
   9561 _ACEOF
   9562 rm -f conftest.$ac_objext conftest$ac_exeext
   9563 if { (ac_try="$ac_link"
   9564 case "(($ac_try" in
   9565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9566   *) ac_try_echo=$ac_try;;
   9567 esac
   9568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9569   (eval "$ac_link") 2>conftest.er1
   9570   ac_status=$?
   9571   grep -v '^ *+' conftest.er1 >conftest.err
   9572   rm -f conftest.er1
   9573   cat conftest.err >&5
   9574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9575   (exit $ac_status); } && {
   9576 	 test -z "$ac_c_werror_flag" ||
   9577 	 test ! -s conftest.err
   9578        } && test -s conftest$ac_exeext &&
   9579        $as_test_x conftest$ac_exeext; then
   9580   ac_cv_lib_dl_dlopen=yes
   9581 else
   9582   echo "$as_me: failed program was:" >&5
   9583 sed 's/^/| /' conftest.$ac_ext >&5
   9584 
   9585 	ac_cv_lib_dl_dlopen=no
   9586 fi
   9587 
   9588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9589       conftest$ac_exeext conftest.$ac_ext
   9590 LIBS=$ac_check_lib_save_LIBS
   9591 fi
   9592 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9593 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9594 if test $ac_cv_lib_dl_dlopen = yes; then
   9595   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9596 else
   9597   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   9598 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   9599 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   9600   echo $ECHO_N "(cached) $ECHO_C" >&6
   9601 else
   9602   ac_check_lib_save_LIBS=$LIBS
   9603 LIBS="-lsvld  $LIBS"
   9604 cat >conftest.$ac_ext <<_ACEOF
   9605 /* confdefs.h.  */
   9606 _ACEOF
   9607 cat confdefs.h >>conftest.$ac_ext
   9608 cat >>conftest.$ac_ext <<_ACEOF
   9609 /* end confdefs.h.  */
   9610 
   9611 /* Override any GCC internal prototype to avoid an error.
   9612    Use char because int might match the return type of a GCC
   9613    builtin and then its argument prototype would still apply.  */
   9614 #ifdef __cplusplus
   9615 extern "C"
   9616 #endif
   9617 char dlopen ();
   9618 int
   9619 main ()
   9620 {
   9621 return dlopen ();
   9622   ;
   9623   return 0;
   9624 }
   9625 _ACEOF
   9626 rm -f conftest.$ac_objext conftest$ac_exeext
   9627 if { (ac_try="$ac_link"
   9628 case "(($ac_try" in
   9629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9630   *) ac_try_echo=$ac_try;;
   9631 esac
   9632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9633   (eval "$ac_link") 2>conftest.er1
   9634   ac_status=$?
   9635   grep -v '^ *+' conftest.er1 >conftest.err
   9636   rm -f conftest.er1
   9637   cat conftest.err >&5
   9638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9639   (exit $ac_status); } && {
   9640 	 test -z "$ac_c_werror_flag" ||
   9641 	 test ! -s conftest.err
   9642        } && test -s conftest$ac_exeext &&
   9643        $as_test_x conftest$ac_exeext; then
   9644   ac_cv_lib_svld_dlopen=yes
   9645 else
   9646   echo "$as_me: failed program was:" >&5
   9647 sed 's/^/| /' conftest.$ac_ext >&5
   9648 
   9649 	ac_cv_lib_svld_dlopen=no
   9650 fi
   9651 
   9652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9653       conftest$ac_exeext conftest.$ac_ext
   9654 LIBS=$ac_check_lib_save_LIBS
   9655 fi
   9656 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   9657 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   9658 if test $ac_cv_lib_svld_dlopen = yes; then
   9659   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   9660 else
   9661   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   9662 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   9663 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   9664   echo $ECHO_N "(cached) $ECHO_C" >&6
   9665 else
   9666   ac_check_lib_save_LIBS=$LIBS
   9667 LIBS="-ldld  $LIBS"
   9668 cat >conftest.$ac_ext <<_ACEOF
   9669 /* confdefs.h.  */
   9670 _ACEOF
   9671 cat confdefs.h >>conftest.$ac_ext
   9672 cat >>conftest.$ac_ext <<_ACEOF
   9673 /* end confdefs.h.  */
   9674 
   9675 /* Override any GCC internal prototype to avoid an error.
   9676    Use char because int might match the return type of a GCC
   9677    builtin and then its argument prototype would still apply.  */
   9678 #ifdef __cplusplus
   9679 extern "C"
   9680 #endif
   9681 char dld_link ();
   9682 int
   9683 main ()
   9684 {
   9685 return dld_link ();
   9686   ;
   9687   return 0;
   9688 }
   9689 _ACEOF
   9690 rm -f conftest.$ac_objext conftest$ac_exeext
   9691 if { (ac_try="$ac_link"
   9692 case "(($ac_try" in
   9693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9694   *) ac_try_echo=$ac_try;;
   9695 esac
   9696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9697   (eval "$ac_link") 2>conftest.er1
   9698   ac_status=$?
   9699   grep -v '^ *+' conftest.er1 >conftest.err
   9700   rm -f conftest.er1
   9701   cat conftest.err >&5
   9702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9703   (exit $ac_status); } && {
   9704 	 test -z "$ac_c_werror_flag" ||
   9705 	 test ! -s conftest.err
   9706        } && test -s conftest$ac_exeext &&
   9707        $as_test_x conftest$ac_exeext; then
   9708   ac_cv_lib_dld_dld_link=yes
   9709 else
   9710   echo "$as_me: failed program was:" >&5
   9711 sed 's/^/| /' conftest.$ac_ext >&5
   9712 
   9713 	ac_cv_lib_dld_dld_link=no
   9714 fi
   9715 
   9716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9717       conftest$ac_exeext conftest.$ac_ext
   9718 LIBS=$ac_check_lib_save_LIBS
   9719 fi
   9720 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   9721 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   9722 if test $ac_cv_lib_dld_dld_link = yes; then
   9723   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   9724 fi
   9725 
   9726 
   9727 fi
   9728 
   9729 
   9730 fi
   9731 
   9732 
   9733 fi
   9734 
   9735 
   9736 fi
   9737 
   9738 
   9739 fi
   9740 
   9741     ;;
   9742   esac
   9743 
   9744   if test "x$lt_cv_dlopen" != xno; then
   9745     enable_dlopen=yes
   9746   else
   9747     enable_dlopen=no
   9748   fi
   9749 
   9750   case $lt_cv_dlopen in
   9751   dlopen)
   9752     save_CPPFLAGS="$CPPFLAGS"
   9753     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   9754 
   9755     save_LDFLAGS="$LDFLAGS"
   9756     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   9757 
   9758     save_LIBS="$LIBS"
   9759     LIBS="$lt_cv_dlopen_libs $LIBS"
   9760 
   9761     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   9762 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   9763 if test "${lt_cv_dlopen_self+set}" = set; then
   9764   echo $ECHO_N "(cached) $ECHO_C" >&6
   9765 else
   9766   	  if test "$cross_compiling" = yes; then :
   9767   lt_cv_dlopen_self=cross
   9768 else
   9769   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9770   lt_status=$lt_dlunknown
   9771   cat > conftest.$ac_ext <<EOF
   9772 #line 9772 "configure"
   9773 #include "confdefs.h"
   9774 
   9775 #if HAVE_DLFCN_H
   9776 #include <dlfcn.h>
   9777 #endif
   9778 
   9779 #include <stdio.h>
   9780 
   9781 #ifdef RTLD_GLOBAL
   9782 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9783 #else
   9784 #  ifdef DL_GLOBAL
   9785 #    define LT_DLGLOBAL		DL_GLOBAL
   9786 #  else
   9787 #    define LT_DLGLOBAL		0
   9788 #  endif
   9789 #endif
   9790 
   9791 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9792    find out it does not work in some platform. */
   9793 #ifndef LT_DLLAZY_OR_NOW
   9794 #  ifdef RTLD_LAZY
   9795 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9796 #  else
   9797 #    ifdef DL_LAZY
   9798 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9799 #    else
   9800 #      ifdef RTLD_NOW
   9801 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9802 #      else
   9803 #        ifdef DL_NOW
   9804 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9805 #        else
   9806 #          define LT_DLLAZY_OR_NOW	0
   9807 #        endif
   9808 #      endif
   9809 #    endif
   9810 #  endif
   9811 #endif
   9812 
   9813 #ifdef __cplusplus
   9814 extern "C" void exit (int);
   9815 #endif
   9816 
   9817 void fnord() { int i=42;}
   9818 int main ()
   9819 {
   9820   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9821   int status = $lt_dlunknown;
   9822 
   9823   if (self)
   9824     {
   9825       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9826       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9827       /* dlclose (self); */
   9828     }
   9829   else
   9830     puts (dlerror ());
   9831 
   9832     exit (status);
   9833 }
   9834 EOF
   9835   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9836   (eval $ac_link) 2>&5
   9837   ac_status=$?
   9838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9839   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9840     (./conftest; exit; ) >&5 2>/dev/null
   9841     lt_status=$?
   9842     case x$lt_status in
   9843       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   9844       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   9845       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   9846     esac
   9847   else :
   9848     # compilation failed
   9849     lt_cv_dlopen_self=no
   9850   fi
   9851 fi
   9852 rm -fr conftest*
   9853 
   9854 
   9855 fi
   9856 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   9857 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   9858 
   9859     if test "x$lt_cv_dlopen_self" = xyes; then
   9860       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   9861       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   9862 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   9863 if test "${lt_cv_dlopen_self_static+set}" = set; then
   9864   echo $ECHO_N "(cached) $ECHO_C" >&6
   9865 else
   9866   	  if test "$cross_compiling" = yes; then :
   9867   lt_cv_dlopen_self_static=cross
   9868 else
   9869   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9870   lt_status=$lt_dlunknown
   9871   cat > conftest.$ac_ext <<EOF
   9872 #line 9872 "configure"
   9873 #include "confdefs.h"
   9874 
   9875 #if HAVE_DLFCN_H
   9876 #include <dlfcn.h>
   9877 #endif
   9878 
   9879 #include <stdio.h>
   9880 
   9881 #ifdef RTLD_GLOBAL
   9882 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9883 #else
   9884 #  ifdef DL_GLOBAL
   9885 #    define LT_DLGLOBAL		DL_GLOBAL
   9886 #  else
   9887 #    define LT_DLGLOBAL		0
   9888 #  endif
   9889 #endif
   9890 
   9891 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9892    find out it does not work in some platform. */
   9893 #ifndef LT_DLLAZY_OR_NOW
   9894 #  ifdef RTLD_LAZY
   9895 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9896 #  else
   9897 #    ifdef DL_LAZY
   9898 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9899 #    else
   9900 #      ifdef RTLD_NOW
   9901 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9902 #      else
   9903 #        ifdef DL_NOW
   9904 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9905 #        else
   9906 #          define LT_DLLAZY_OR_NOW	0
   9907 #        endif
   9908 #      endif
   9909 #    endif
   9910 #  endif
   9911 #endif
   9912 
   9913 #ifdef __cplusplus
   9914 extern "C" void exit (int);
   9915 #endif
   9916 
   9917 void fnord() { int i=42;}
   9918 int main ()
   9919 {
   9920   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9921   int status = $lt_dlunknown;
   9922 
   9923   if (self)
   9924     {
   9925       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9926       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9927       /* dlclose (self); */
   9928     }
   9929   else
   9930     puts (dlerror ());
   9931 
   9932     exit (status);
   9933 }
   9934 EOF
   9935   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9936   (eval $ac_link) 2>&5
   9937   ac_status=$?
   9938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9939   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9940     (./conftest; exit; ) >&5 2>/dev/null
   9941     lt_status=$?
   9942     case x$lt_status in
   9943       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   9944       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   9945       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   9946     esac
   9947   else :
   9948     # compilation failed
   9949     lt_cv_dlopen_self_static=no
   9950   fi
   9951 fi
   9952 rm -fr conftest*
   9953 
   9954 
   9955 fi
   9956 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   9957 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   9958     fi
   9959 
   9960     CPPFLAGS="$save_CPPFLAGS"
   9961     LDFLAGS="$save_LDFLAGS"
   9962     LIBS="$save_LIBS"
   9963     ;;
   9964   esac
   9965 
   9966   case $lt_cv_dlopen_self in
   9967   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   9968   *) enable_dlopen_self=unknown ;;
   9969   esac
   9970 
   9971   case $lt_cv_dlopen_self_static in
   9972   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   9973   *) enable_dlopen_self_static=unknown ;;
   9974   esac
   9975 fi
   9976 
   9977 
   9978 # Report which library types will actually be built
   9979 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   9980 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   9981 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   9982 echo "${ECHO_T}$can_build_shared" >&6; }
   9983 
   9984 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   9985 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   9986 test "$can_build_shared" = "no" && enable_shared=no
   9987 
   9988 # On AIX, shared libraries and static libraries use the same namespace, and
   9989 # are all built from PIC.
   9990 case $host_os in
   9991 aix3*)
   9992   test "$enable_shared" = yes && enable_static=no
   9993   if test -n "$RANLIB"; then
   9994     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   9995     postinstall_cmds='$RANLIB $lib'
   9996   fi
   9997   ;;
   9998 
   9999 aix4* | aix5*)
   10000   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10001     test "$enable_shared" = yes && enable_static=no
   10002   fi
   10003     ;;
   10004 esac
   10005 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   10006 echo "${ECHO_T}$enable_shared" >&6; }
   10007 
   10008 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10009 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   10010 # Make sure either enable_shared or enable_static is yes.
   10011 test "$enable_shared" = yes || enable_static=yes
   10012 { echo "$as_me:$LINENO: result: $enable_static" >&5
   10013 echo "${ECHO_T}$enable_static" >&6; }
   10014 
   10015 # The else clause should only fire when bootstrapping the
   10016 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10017 # with your package, and you will get complaints that there are
   10018 # no rules to generate ltmain.sh.
   10019 if test -f "$ltmain"; then
   10020   # See if we are running on zsh, and set the options which allow our commands through
   10021   # without removal of \ escapes.
   10022   if test -n "${ZSH_VERSION+set}" ; then
   10023     setopt NO_GLOB_SUBST
   10024   fi
   10025   # Now quote all the things that may contain metacharacters while being
   10026   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10027   # variables and quote the copies for generation of the libtool script.
   10028   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10029     SED SHELL STRIP \
   10030     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10031     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10032     deplibs_check_method reload_flag reload_cmds need_locks \
   10033     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10034     lt_cv_sys_global_symbol_to_c_name_address \
   10035     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10036     old_postinstall_cmds old_postuninstall_cmds \
   10037     compiler \
   10038     CC \
   10039     LD \
   10040     lt_prog_compiler_wl \
   10041     lt_prog_compiler_pic \
   10042     lt_prog_compiler_static \
   10043     lt_prog_compiler_no_builtin_flag \
   10044     export_dynamic_flag_spec \
   10045     thread_safe_flag_spec \
   10046     whole_archive_flag_spec \
   10047     enable_shared_with_static_runtimes \
   10048     old_archive_cmds \
   10049     old_archive_from_new_cmds \
   10050     predep_objects \
   10051     postdep_objects \
   10052     predeps \
   10053     postdeps \
   10054     compiler_lib_search_path \
   10055     archive_cmds \
   10056     archive_expsym_cmds \
   10057     postinstall_cmds \
   10058     postuninstall_cmds \
   10059     old_archive_from_expsyms_cmds \
   10060     allow_undefined_flag \
   10061     no_undefined_flag \
   10062     export_symbols_cmds \
   10063     hardcode_libdir_flag_spec \
   10064     hardcode_libdir_flag_spec_ld \
   10065     hardcode_libdir_separator \
   10066     hardcode_automatic \
   10067     module_cmds \
   10068     module_expsym_cmds \
   10069     lt_cv_prog_compiler_c_o \
   10070     exclude_expsyms \
   10071     include_expsyms; do
   10072 
   10073     case $var in
   10074     old_archive_cmds | \
   10075     old_archive_from_new_cmds | \
   10076     archive_cmds | \
   10077     archive_expsym_cmds | \
   10078     module_cmds | \
   10079     module_expsym_cmds | \
   10080     old_archive_from_expsyms_cmds | \
   10081     export_symbols_cmds | \
   10082     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10083     postinstall_cmds | postuninstall_cmds | \
   10084     old_postinstall_cmds | old_postuninstall_cmds | \
   10085     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10086       # Double-quote double-evaled strings.
   10087       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10088       ;;
   10089     *)
   10090       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10091       ;;
   10092     esac
   10093   done
   10094 
   10095   case $lt_echo in
   10096   *'\$0 --fallback-echo"')
   10097     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10098     ;;
   10099   esac
   10100 
   10101 cfgfile="${ofile}T"
   10102   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10103   $rm -f "$cfgfile"
   10104   { echo "$as_me:$LINENO: creating $ofile" >&5
   10105 echo "$as_me: creating $ofile" >&6;}
   10106 
   10107   cat <<__EOF__ >> "$cfgfile"
   10108 #! $SHELL
   10109 
   10110 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10111 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10112 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10113 #
   10114 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   10115 # Free Software Foundation, Inc.
   10116 #
   10117 # This file is part of GNU Libtool:
   10118 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10119 #
   10120 # This program is free software; you can redistribute it and/or modify
   10121 # it under the terms of the GNU General Public License as published by
   10122 # the Free Software Foundation; either version 2 of the License, or
   10123 # (at your option) any later version.
   10124 #
   10125 # This program is distributed in the hope that it will be useful, but
   10126 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10127 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10128 # General Public License for more details.
   10129 #
   10130 # You should have received a copy of the GNU General Public License
   10131 # along with this program; if not, write to the Free Software
   10132 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10133 #
   10134 # As a special exception to the GNU General Public License, if you
   10135 # distribute this file as part of a program that contains a
   10136 # configuration script generated by Autoconf, you may include it under
   10137 # the same distribution terms that you use for the rest of that program.
   10138 
   10139 # A sed program that does not truncate output.
   10140 SED=$lt_SED
   10141 
   10142 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10143 Xsed="$SED -e 1s/^X//"
   10144 
   10145 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10146 # if CDPATH is set.
   10147 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10148 
   10149 # The names of the tagged configurations supported by this script.
   10150 available_tags=
   10151 
   10152 # ### BEGIN LIBTOOL CONFIG
   10153 
   10154 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10155 
   10156 # Shell to use when invoking shell scripts.
   10157 SHELL=$lt_SHELL
   10158 
   10159 # Whether or not to build shared libraries.
   10160 build_libtool_libs=$enable_shared
   10161 
   10162 # Whether or not to build static libraries.
   10163 build_old_libs=$enable_static
   10164 
   10165 # Whether or not to add -lc for building shared libraries.
   10166 build_libtool_need_lc=$archive_cmds_need_lc
   10167 
   10168 # Whether or not to disallow shared libs when runtime libs are static
   10169 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10170 
   10171 # Whether or not to optimize for fast installation.
   10172 fast_install=$enable_fast_install
   10173 
   10174 # The host system.
   10175 host_alias=$host_alias
   10176 host=$host
   10177 host_os=$host_os
   10178 
   10179 # The build system.
   10180 build_alias=$build_alias
   10181 build=$build
   10182 build_os=$build_os
   10183 
   10184 # An echo program that does not interpret backslashes.
   10185 echo=$lt_echo
   10186 
   10187 # The archiver.
   10188 AR=$lt_AR
   10189 AR_FLAGS=$lt_AR_FLAGS
   10190 
   10191 # A C compiler.
   10192 LTCC=$lt_LTCC
   10193 
   10194 # LTCC compiler flags.
   10195 LTCFLAGS=$lt_LTCFLAGS
   10196 
   10197 # A language-specific compiler.
   10198 CC=$lt_compiler
   10199 
   10200 # Is the compiler the GNU C compiler?
   10201 with_gcc=$GCC
   10202 
   10203 # An ERE matcher.
   10204 EGREP=$lt_EGREP
   10205 
   10206 # The linker used to build libraries.
   10207 LD=$lt_LD
   10208 
   10209 # Whether we need hard or soft links.
   10210 LN_S=$lt_LN_S
   10211 
   10212 # A BSD-compatible nm program.
   10213 NM=$lt_NM
   10214 
   10215 # A symbol stripping program
   10216 STRIP=$lt_STRIP
   10217 
   10218 # Used to examine libraries when file_magic_cmd begins "file"
   10219 MAGIC_CMD=$MAGIC_CMD
   10220 
   10221 # Used on cygwin: DLL creation program.
   10222 DLLTOOL="$DLLTOOL"
   10223 
   10224 # Used on cygwin: object dumper.
   10225 OBJDUMP="$OBJDUMP"
   10226 
   10227 # Used on cygwin: assembler.
   10228 AS="$AS"
   10229 
   10230 # The name of the directory that contains temporary libtool files.
   10231 objdir=$objdir
   10232 
   10233 # How to create reloadable object files.
   10234 reload_flag=$lt_reload_flag
   10235 reload_cmds=$lt_reload_cmds
   10236 
   10237 # How to pass a linker flag through the compiler.
   10238 wl=$lt_lt_prog_compiler_wl
   10239 
   10240 # Object file suffix (normally "o").
   10241 objext="$ac_objext"
   10242 
   10243 # Old archive suffix (normally "a").
   10244 libext="$libext"
   10245 
   10246 # Shared library suffix (normally ".so").
   10247 shrext_cmds='$shrext_cmds'
   10248 
   10249 # Executable file suffix (normally "").
   10250 exeext="$exeext"
   10251 
   10252 # Additional compiler flags for building library objects.
   10253 pic_flag=$lt_lt_prog_compiler_pic
   10254 pic_mode=$pic_mode
   10255 
   10256 # What is the maximum length of a command?
   10257 max_cmd_len=$lt_cv_sys_max_cmd_len
   10258 
   10259 # Does compiler simultaneously support -c and -o options?
   10260 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10261 
   10262 # Must we lock files when doing compilation?
   10263 need_locks=$lt_need_locks
   10264 
   10265 # Do we need the lib prefix for modules?
   10266 need_lib_prefix=$need_lib_prefix
   10267 
   10268 # Do we need a version for libraries?
   10269 need_version=$need_version
   10270 
   10271 # Whether dlopen is supported.
   10272 dlopen_support=$enable_dlopen
   10273 
   10274 # Whether dlopen of programs is supported.
   10275 dlopen_self=$enable_dlopen_self
   10276 
   10277 # Whether dlopen of statically linked programs is supported.
   10278 dlopen_self_static=$enable_dlopen_self_static
   10279 
   10280 # Compiler flag to prevent dynamic linking.
   10281 link_static_flag=$lt_lt_prog_compiler_static
   10282 
   10283 # Compiler flag to turn off builtin functions.
   10284 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10285 
   10286 # Compiler flag to allow reflexive dlopens.
   10287 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10288 
   10289 # Compiler flag to generate shared objects directly from archives.
   10290 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10291 
   10292 # Compiler flag to generate thread-safe objects.
   10293 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10294 
   10295 # Library versioning type.
   10296 version_type=$version_type
   10297 
   10298 # Format of library name prefix.
   10299 libname_spec=$lt_libname_spec
   10300 
   10301 # List of archive names.  First name is the real one, the rest are links.
   10302 # The last name is the one that the linker finds with -lNAME.
   10303 library_names_spec=$lt_library_names_spec
   10304 
   10305 # The coded name of the library, if different from the real name.
   10306 soname_spec=$lt_soname_spec
   10307 
   10308 # Commands used to build and install an old-style archive.
   10309 RANLIB=$lt_RANLIB
   10310 old_archive_cmds=$lt_old_archive_cmds
   10311 old_postinstall_cmds=$lt_old_postinstall_cmds
   10312 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10313 
   10314 # Create an old-style archive from a shared archive.
   10315 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10316 
   10317 # Create a temporary old-style archive to link instead of a shared archive.
   10318 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10319 
   10320 # Commands used to build and install a shared archive.
   10321 archive_cmds=$lt_archive_cmds
   10322 archive_expsym_cmds=$lt_archive_expsym_cmds
   10323 postinstall_cmds=$lt_postinstall_cmds
   10324 postuninstall_cmds=$lt_postuninstall_cmds
   10325 
   10326 # Commands used to build a loadable module (assumed same as above if empty)
   10327 module_cmds=$lt_module_cmds
   10328 module_expsym_cmds=$lt_module_expsym_cmds
   10329 
   10330 # Commands to strip libraries.
   10331 old_striplib=$lt_old_striplib
   10332 striplib=$lt_striplib
   10333 
   10334 # Dependencies to place before the objects being linked to create a
   10335 # shared library.
   10336 predep_objects=$lt_predep_objects
   10337 
   10338 # Dependencies to place after the objects being linked to create a
   10339 # shared library.
   10340 postdep_objects=$lt_postdep_objects
   10341 
   10342 # Dependencies to place before the objects being linked to create a
   10343 # shared library.
   10344 predeps=$lt_predeps
   10345 
   10346 # Dependencies to place after the objects being linked to create a
   10347 # shared library.
   10348 postdeps=$lt_postdeps
   10349 
   10350 # The library search path used internally by the compiler when linking
   10351 # a shared library.
   10352 compiler_lib_search_path=$lt_compiler_lib_search_path
   10353 
   10354 # Method to check whether dependent libraries are shared objects.
   10355 deplibs_check_method=$lt_deplibs_check_method
   10356 
   10357 # Command to use when deplibs_check_method == file_magic.
   10358 file_magic_cmd=$lt_file_magic_cmd
   10359 
   10360 # Flag that allows shared libraries with undefined symbols to be built.
   10361 allow_undefined_flag=$lt_allow_undefined_flag
   10362 
   10363 # Flag that forces no undefined symbols.
   10364 no_undefined_flag=$lt_no_undefined_flag
   10365 
   10366 # Commands used to finish a libtool library installation in a directory.
   10367 finish_cmds=$lt_finish_cmds
   10368 
   10369 # Same as above, but a single script fragment to be evaled but not shown.
   10370 finish_eval=$lt_finish_eval
   10371 
   10372 # Take the output of nm and produce a listing of raw symbols and C names.
   10373 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10374 
   10375 # Transform the output of nm in a proper C declaration
   10376 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10377 
   10378 # Transform the output of nm in a C name address pair
   10379 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10380 
   10381 # This is the shared library runtime path variable.
   10382 runpath_var=$runpath_var
   10383 
   10384 # This is the shared library path variable.
   10385 shlibpath_var=$shlibpath_var
   10386 
   10387 # Is shlibpath searched before the hard-coded library search path?
   10388 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10389 
   10390 # How to hardcode a shared library path into an executable.
   10391 hardcode_action=$hardcode_action
   10392 
   10393 # Whether we should hardcode library paths into libraries.
   10394 hardcode_into_libs=$hardcode_into_libs
   10395 
   10396 # Flag to hardcode \$libdir into a binary during linking.
   10397 # This must work even if \$libdir does not exist.
   10398 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10399 
   10400 # If ld is used when linking, flag to hardcode \$libdir into
   10401 # a binary during linking. This must work even if \$libdir does
   10402 # not exist.
   10403 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10404 
   10405 # Whether we need a single -rpath flag with a separated argument.
   10406 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10407 
   10408 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10409 # resulting binary.
   10410 hardcode_direct=$hardcode_direct
   10411 
   10412 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10413 # resulting binary.
   10414 hardcode_minus_L=$hardcode_minus_L
   10415 
   10416 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10417 # the resulting binary.
   10418 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10419 
   10420 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10421 # and all subsequent libraries and executables linked against it.
   10422 hardcode_automatic=$hardcode_automatic
   10423 
   10424 # Variables whose values should be saved in libtool wrapper scripts and
   10425 # restored at relink time.
   10426 variables_saved_for_relink="$variables_saved_for_relink"
   10427 
   10428 # Whether libtool must link a program against all its dependency libraries.
   10429 link_all_deplibs=$link_all_deplibs
   10430 
   10431 # Compile-time system search path for libraries
   10432 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10433 
   10434 # Run-time system search path for libraries
   10435 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10436 
   10437 # Fix the shell variable \$srcfile for the compiler.
   10438 fix_srcfile_path="$fix_srcfile_path"
   10439 
   10440 # Set to yes if exported symbols are required.
   10441 always_export_symbols=$always_export_symbols
   10442 
   10443 # The commands to list exported symbols.
   10444 export_symbols_cmds=$lt_export_symbols_cmds
   10445 
   10446 # The commands to extract the exported symbol list from a shared archive.
   10447 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10448 
   10449 # Symbols that should not be listed in the preloaded symbols.
   10450 exclude_expsyms=$lt_exclude_expsyms
   10451 
   10452 # Symbols that must always be exported.
   10453 include_expsyms=$lt_include_expsyms
   10454 
   10455 # ### END LIBTOOL CONFIG
   10456 
   10457 __EOF__
   10458 
   10459 
   10460   case $host_os in
   10461   aix3*)
   10462     cat <<\EOF >> "$cfgfile"
   10463 
   10464 # AIX sometimes has problems with the GCC collect2 program.  For some
   10465 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10466 # vanish in a puff of smoke.
   10467 if test "X${COLLECT_NAMES+set}" != Xset; then
   10468   COLLECT_NAMES=
   10469   export COLLECT_NAMES
   10470 fi
   10471 EOF
   10472     ;;
   10473   esac
   10474 
   10475   # We use sed instead of cat because bash on DJGPP gets confused if
   10476   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10477   # text mode, it properly converts lines to CR/LF.  This bash problem
   10478   # is reportedly fixed, but why not run on old versions too?
   10479   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10480 
   10481   mv -f "$cfgfile" "$ofile" || \
   10482     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10483   chmod +x "$ofile"
   10484 
   10485 else
   10486   # If there is no Makefile yet, we rely on a make rule to execute
   10487   # `config.status --recheck' to rerun these tests and create the
   10488   # libtool script then.
   10489   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10490   if test -f "$ltmain_in"; then
   10491     test -f Makefile && make "$ltmain"
   10492   fi
   10493 fi
   10494 
   10495 
   10496 ac_ext=c
   10497 ac_cpp='$CPP $CPPFLAGS'
   10498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10501 
   10502 CC="$lt_save_CC"
   10503 
   10504 
   10505 # Check whether --with-tags was given.
   10506 if test "${with_tags+set}" = set; then
   10507   withval=$with_tags; tagnames="$withval"
   10508 fi
   10509 
   10510 
   10511 if test -f "$ltmain" && test -n "$tagnames"; then
   10512   if test ! -f "${ofile}"; then
   10513     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10514 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10515   fi
   10516 
   10517   if test -z "$LTCC"; then
   10518     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10519     if test -z "$LTCC"; then
   10520       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10521 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   10522     else
   10523       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   10524 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   10525     fi
   10526   fi
   10527   if test -z "$LTCFLAGS"; then
   10528     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   10529   fi
   10530 
   10531   # Extract list of available tagged configurations in $ofile.
   10532   # Note that this assumes the entire list is on one line.
   10533   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   10534 
   10535   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10536   for tagname in $tagnames; do
   10537     IFS="$lt_save_ifs"
   10538     # Check whether tagname contains only valid characters
   10539     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   10540     "") ;;
   10541     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   10542 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   10543    { (exit 1); exit 1; }; }
   10544 	;;
   10545     esac
   10546 
   10547     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   10548     then
   10549       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   10550 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   10551    { (exit 1); exit 1; }; }
   10552     fi
   10553 
   10554     # Update the list of available tags.
   10555     if test -n "$tagname"; then
   10556       echo appending configuration tag \"$tagname\" to $ofile
   10557 
   10558       case $tagname in
   10559       CXX)
   10560 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   10561 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   10562 	    (test "X$CXX" != "Xg++"))) ; then
   10563 	  ac_ext=cpp
   10564 ac_cpp='$CXXCPP $CPPFLAGS'
   10565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   10568 
   10569 
   10570 
   10571 
   10572 archive_cmds_need_lc_CXX=no
   10573 allow_undefined_flag_CXX=
   10574 always_export_symbols_CXX=no
   10575 archive_expsym_cmds_CXX=
   10576 export_dynamic_flag_spec_CXX=
   10577 hardcode_direct_CXX=no
   10578 hardcode_libdir_flag_spec_CXX=
   10579 hardcode_libdir_flag_spec_ld_CXX=
   10580 hardcode_libdir_separator_CXX=
   10581 hardcode_minus_L_CXX=no
   10582 hardcode_shlibpath_var_CXX=unsupported
   10583 hardcode_automatic_CXX=no
   10584 module_cmds_CXX=
   10585 module_expsym_cmds_CXX=
   10586 link_all_deplibs_CXX=unknown
   10587 old_archive_cmds_CXX=$old_archive_cmds
   10588 no_undefined_flag_CXX=
   10589 whole_archive_flag_spec_CXX=
   10590 enable_shared_with_static_runtimes_CXX=no
   10591 
   10592 # Dependencies to place before and after the object being linked:
   10593 predep_objects_CXX=
   10594 postdep_objects_CXX=
   10595 predeps_CXX=
   10596 postdeps_CXX=
   10597 compiler_lib_search_path_CXX=
   10598 
   10599 # Source file extension for C++ test sources.
   10600 ac_ext=cpp
   10601 
   10602 # Object file extension for compiled C++ test sources.
   10603 objext=o
   10604 objext_CXX=$objext
   10605 
   10606 # Code to be used in simple compile tests
   10607 lt_simple_compile_test_code="int some_variable = 0;\n"
   10608 
   10609 # Code to be used in simple link tests
   10610 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   10611 
   10612 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   10613 
   10614 # If no C compiler was specified, use CC.
   10615 LTCC=${LTCC-"$CC"}
   10616 
   10617 # If no C compiler flags were specified, use CFLAGS.
   10618 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10619 
   10620 # Allow CC to be a program name with arguments.
   10621 compiler=$CC
   10622 
   10623 
   10624 # save warnings/boilerplate of simple test code
   10625 ac_outfile=conftest.$ac_objext
   10626 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   10627 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10628 _lt_compiler_boilerplate=`cat conftest.err`
   10629 $rm conftest*
   10630 
   10631 ac_outfile=conftest.$ac_objext
   10632 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   10633 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10634 _lt_linker_boilerplate=`cat conftest.err`
   10635 $rm conftest*
   10636 
   10637 
   10638 # Allow CC to be a program name with arguments.
   10639 lt_save_CC=$CC
   10640 lt_save_LD=$LD
   10641 lt_save_GCC=$GCC
   10642 GCC=$GXX
   10643 lt_save_with_gnu_ld=$with_gnu_ld
   10644 lt_save_path_LD=$lt_cv_path_LD
   10645 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   10646   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   10647 else
   10648   $as_unset lt_cv_prog_gnu_ld
   10649 fi
   10650 if test -n "${lt_cv_path_LDCXX+set}"; then
   10651   lt_cv_path_LD=$lt_cv_path_LDCXX
   10652 else
   10653   $as_unset lt_cv_path_LD
   10654 fi
   10655 test -z "${LDCXX+set}" || LD=$LDCXX
   10656 CC=${CXX-"c++"}
   10657 compiler=$CC
   10658 compiler_CXX=$CC
   10659 for cc_temp in $compiler""; do
   10660   case $cc_temp in
   10661     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10662     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10663     \-*) ;;
   10664     *) break;;
   10665   esac
   10666 done
   10667 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10668 
   10669 
   10670 # We don't want -fno-exception wen compiling C++ code, so set the
   10671 # no_builtin_flag separately
   10672 if test "$GXX" = yes; then
   10673   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   10674 else
   10675   lt_prog_compiler_no_builtin_flag_CXX=
   10676 fi
   10677 
   10678 if test "$GXX" = yes; then
   10679   # Set up default GNU C++ configuration
   10680 
   10681 
   10682 # Check whether --with-gnu-ld was given.
   10683 if test "${with_gnu_ld+set}" = set; then
   10684   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10685 else
   10686   with_gnu_ld=no
   10687 fi
   10688 
   10689 ac_prog=ld
   10690 if test "$GCC" = yes; then
   10691   # Check if gcc -print-prog-name=ld gives a path.
   10692   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   10693 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   10694   case $host in
   10695   *-*-mingw*)
   10696     # gcc leaves a trailing carriage return which upsets mingw
   10697     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10698   *)
   10699     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10700   esac
   10701   case $ac_prog in
   10702     # Accept absolute paths.
   10703     [\\/]* | ?:[\\/]*)
   10704       re_direlt='/[^/][^/]*/\.\./'
   10705       # Canonicalize the pathname of ld
   10706       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   10707       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10708 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   10709       done
   10710       test -z "$LD" && LD="$ac_prog"
   10711       ;;
   10712   "")
   10713     # If it fails, then pretend we aren't using GCC.
   10714     ac_prog=ld
   10715     ;;
   10716   *)
   10717     # If it is relative, then search for the first ld in PATH.
   10718     with_gnu_ld=unknown
   10719     ;;
   10720   esac
   10721 elif test "$with_gnu_ld" = yes; then
   10722   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   10723 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   10724 else
   10725   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10726 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   10727 fi
   10728 if test "${lt_cv_path_LD+set}" = set; then
   10729   echo $ECHO_N "(cached) $ECHO_C" >&6
   10730 else
   10731   if test -z "$LD"; then
   10732   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10733   for ac_dir in $PATH; do
   10734     IFS="$lt_save_ifs"
   10735     test -z "$ac_dir" && ac_dir=.
   10736     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10737       lt_cv_path_LD="$ac_dir/$ac_prog"
   10738       # Check to see if the program is GNU ld.  I'd rather use --version,
   10739       # but apparently some variants of GNU ld only accept -v.
   10740       # Break only if it was the GNU/non-GNU ld that we prefer.
   10741       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10742       *GNU* | *'with BFD'*)
   10743 	test "$with_gnu_ld" != no && break
   10744 	;;
   10745       *)
   10746 	test "$with_gnu_ld" != yes && break
   10747 	;;
   10748       esac
   10749     fi
   10750   done
   10751   IFS="$lt_save_ifs"
   10752 else
   10753   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10754 fi
   10755 fi
   10756 
   10757 LD="$lt_cv_path_LD"
   10758 if test -n "$LD"; then
   10759   { echo "$as_me:$LINENO: result: $LD" >&5
   10760 echo "${ECHO_T}$LD" >&6; }
   10761 else
   10762   { echo "$as_me:$LINENO: result: no" >&5
   10763 echo "${ECHO_T}no" >&6; }
   10764 fi
   10765 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10766 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10767    { (exit 1); exit 1; }; }
   10768 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10769 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   10770 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   10771   echo $ECHO_N "(cached) $ECHO_C" >&6
   10772 else
   10773   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10774 case `$LD -v 2>&1 </dev/null` in
   10775 *GNU* | *'with BFD'*)
   10776   lt_cv_prog_gnu_ld=yes
   10777   ;;
   10778 *)
   10779   lt_cv_prog_gnu_ld=no
   10780   ;;
   10781 esac
   10782 fi
   10783 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   10784 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   10785 with_gnu_ld=$lt_cv_prog_gnu_ld
   10786 
   10787 
   10788 
   10789   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   10790   # archiving commands below assume that GNU ld is being used.
   10791   if test "$with_gnu_ld" = yes; then
   10792     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10793     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'
   10794 
   10795     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10796     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10797 
   10798     # If archive_cmds runs LD, not CC, wlarc should be empty
   10799     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   10800     #     investigate it a little bit more. (MM)
   10801     wlarc='${wl}'
   10802 
   10803     # ancient GNU ld didn't support --whole-archive et. al.
   10804     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   10805 	grep 'no-whole-archive' > /dev/null; then
   10806       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10807     else
   10808       whole_archive_flag_spec_CXX=
   10809     fi
   10810   else
   10811     with_gnu_ld=no
   10812     wlarc=
   10813 
   10814     # A generic and very simple default shared library creation
   10815     # command for GNU C++ for the case where it uses the native
   10816     # linker, instead of GNU ld.  If possible, this setting should
   10817     # overridden to take advantage of the native linker features on
   10818     # the platform it is being used on.
   10819     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10820   fi
   10821 
   10822   # Commands to make compiler produce verbose output that lists
   10823   # what "hidden" libraries, object files and flags are used when
   10824   # linking a shared library.
   10825   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10826 
   10827 else
   10828   GXX=no
   10829   with_gnu_ld=no
   10830   wlarc=
   10831 fi
   10832 
   10833 # PORTME: fill in a description of your system's C++ link characteristics
   10834 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10835 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   10836 ld_shlibs_CXX=yes
   10837 case $host_os in
   10838   aix3*)
   10839     # FIXME: insert proper C++ library support
   10840     ld_shlibs_CXX=no
   10841     ;;
   10842   aix4* | aix5*)
   10843     if test "$host_cpu" = ia64; then
   10844       # On IA64, the linker does run time linking by default, so we don't
   10845       # have to do anything special.
   10846       aix_use_runtimelinking=no
   10847       exp_sym_flag='-Bexport'
   10848       no_entry_flag=""
   10849     else
   10850       aix_use_runtimelinking=no
   10851 
   10852       # Test if we are trying to use run time linking or normal
   10853       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10854       # need to do runtime linking.
   10855       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   10856 	for ld_flag in $LDFLAGS; do
   10857 	  case $ld_flag in
   10858 	  *-brtl*)
   10859 	    aix_use_runtimelinking=yes
   10860 	    break
   10861 	    ;;
   10862 	  esac
   10863 	done
   10864 	;;
   10865       esac
   10866 
   10867       exp_sym_flag='-bexport'
   10868       no_entry_flag='-bnoentry'
   10869     fi
   10870 
   10871     # When large executables or shared objects are built, AIX ld can
   10872     # have problems creating the table of contents.  If linking a library
   10873     # or program results in "error TOC overflow" add -mminimal-toc to
   10874     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10875     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10876 
   10877     archive_cmds_CXX=''
   10878     hardcode_direct_CXX=yes
   10879     hardcode_libdir_separator_CXX=':'
   10880     link_all_deplibs_CXX=yes
   10881 
   10882     if test "$GXX" = yes; then
   10883       case $host_os in aix4.[012]|aix4.[012].*)
   10884       # We only want to do this on AIX 4.2 and lower, the check
   10885       # below for broken collect2 doesn't work under 4.3+
   10886 	collect2name=`${CC} -print-prog-name=collect2`
   10887 	if test -f "$collect2name" && \
   10888 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   10889 	then
   10890 	  # We have reworked collect2
   10891 	  hardcode_direct_CXX=yes
   10892 	else
   10893 	  # We have old collect2
   10894 	  hardcode_direct_CXX=unsupported
   10895 	  # It fails to find uninstalled libraries when the uninstalled
   10896 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10897 	  # to unsupported forces relinking
   10898 	  hardcode_minus_L_CXX=yes
   10899 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   10900 	  hardcode_libdir_separator_CXX=
   10901 	fi
   10902 	;;
   10903       esac
   10904       shared_flag='-shared'
   10905       if test "$aix_use_runtimelinking" = yes; then
   10906 	shared_flag="$shared_flag "'${wl}-G'
   10907       fi
   10908     else
   10909       # not using gcc
   10910       if test "$host_cpu" = ia64; then
   10911 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10912 	# chokes on -Wl,-G. The following line is correct:
   10913 	shared_flag='-G'
   10914       else
   10915 	if test "$aix_use_runtimelinking" = yes; then
   10916 	  shared_flag='${wl}-G'
   10917 	else
   10918 	  shared_flag='${wl}-bM:SRE'
   10919 	fi
   10920       fi
   10921     fi
   10922 
   10923     # It seems that -bexpall does not export symbols beginning with
   10924     # underscore (_), so it is better to generate a list of symbols to export.
   10925     always_export_symbols_CXX=yes
   10926     if test "$aix_use_runtimelinking" = yes; then
   10927       # Warning - without using the other runtime loading flags (-brtl),
   10928       # -berok will link without error, but may produce a broken library.
   10929       allow_undefined_flag_CXX='-berok'
   10930       # Determine the default libpath from the value encoded in an empty executable.
   10931       cat >conftest.$ac_ext <<_ACEOF
   10932 /* confdefs.h.  */
   10933 _ACEOF
   10934 cat confdefs.h >>conftest.$ac_ext
   10935 cat >>conftest.$ac_ext <<_ACEOF
   10936 /* end confdefs.h.  */
   10937 
   10938 int
   10939 main ()
   10940 {
   10941 
   10942   ;
   10943   return 0;
   10944 }
   10945 _ACEOF
   10946 rm -f conftest.$ac_objext conftest$ac_exeext
   10947 if { (ac_try="$ac_link"
   10948 case "(($ac_try" in
   10949   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10950   *) ac_try_echo=$ac_try;;
   10951 esac
   10952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10953   (eval "$ac_link") 2>conftest.er1
   10954   ac_status=$?
   10955   grep -v '^ *+' conftest.er1 >conftest.err
   10956   rm -f conftest.er1
   10957   cat conftest.err >&5
   10958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10959   (exit $ac_status); } && {
   10960 	 test -z "$ac_cxx_werror_flag" ||
   10961 	 test ! -s conftest.err
   10962        } && test -s conftest$ac_exeext &&
   10963        $as_test_x conftest$ac_exeext; then
   10964 
   10965 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   10966 }'`
   10967 # Check for a 64-bit object if we didn't find anything.
   10968 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; }
   10969 }'`; fi
   10970 else
   10971   echo "$as_me: failed program was:" >&5
   10972 sed 's/^/| /' conftest.$ac_ext >&5
   10973 
   10974 
   10975 fi
   10976 
   10977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10978       conftest$ac_exeext conftest.$ac_ext
   10979 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10980 
   10981       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   10982 
   10983       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"
   10984      else
   10985       if test "$host_cpu" = ia64; then
   10986 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   10987 	allow_undefined_flag_CXX="-z nodefs"
   10988 	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"
   10989       else
   10990 	# Determine the default libpath from the value encoded in an empty executable.
   10991 	cat >conftest.$ac_ext <<_ACEOF
   10992 /* confdefs.h.  */
   10993 _ACEOF
   10994 cat confdefs.h >>conftest.$ac_ext
   10995 cat >>conftest.$ac_ext <<_ACEOF
   10996 /* end confdefs.h.  */
   10997 
   10998 int
   10999 main ()
   11000 {
   11001 
   11002   ;
   11003   return 0;
   11004 }
   11005 _ACEOF
   11006 rm -f conftest.$ac_objext conftest$ac_exeext
   11007 if { (ac_try="$ac_link"
   11008 case "(($ac_try" in
   11009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11010   *) ac_try_echo=$ac_try;;
   11011 esac
   11012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11013   (eval "$ac_link") 2>conftest.er1
   11014   ac_status=$?
   11015   grep -v '^ *+' conftest.er1 >conftest.err
   11016   rm -f conftest.er1
   11017   cat conftest.err >&5
   11018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11019   (exit $ac_status); } && {
   11020 	 test -z "$ac_cxx_werror_flag" ||
   11021 	 test ! -s conftest.err
   11022        } && test -s conftest$ac_exeext &&
   11023        $as_test_x conftest$ac_exeext; then
   11024 
   11025 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11026 }'`
   11027 # Check for a 64-bit object if we didn't find anything.
   11028 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; }
   11029 }'`; fi
   11030 else
   11031   echo "$as_me: failed program was:" >&5
   11032 sed 's/^/| /' conftest.$ac_ext >&5
   11033 
   11034 
   11035 fi
   11036 
   11037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11038       conftest$ac_exeext conftest.$ac_ext
   11039 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11040 
   11041 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11042 	# Warning - without using the other run time loading flags,
   11043 	# -berok will link without error, but may produce a broken library.
   11044 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11045 	allow_undefined_flag_CXX=' ${wl}-berok'
   11046 	# Exported symbols can be pulled into shared objects from archives
   11047 	whole_archive_flag_spec_CXX='$convenience'
   11048 	archive_cmds_need_lc_CXX=yes
   11049 	# This is similar to how AIX traditionally builds its shared libraries.
   11050 	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'
   11051       fi
   11052     fi
   11053     ;;
   11054 
   11055   beos*)
   11056     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11057       allow_undefined_flag_CXX=unsupported
   11058       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11059       # support --undefined.  This deserves some investigation.  FIXME
   11060       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11061     else
   11062       ld_shlibs_CXX=no
   11063     fi
   11064     ;;
   11065 
   11066   chorus*)
   11067     case $cc_basename in
   11068       *)
   11069 	# FIXME: insert proper C++ library support
   11070 	ld_shlibs_CXX=no
   11071 	;;
   11072     esac
   11073     ;;
   11074 
   11075   cygwin* | mingw* | pw32*)
   11076     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11077     # as there is no search path for DLLs.
   11078     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11079     allow_undefined_flag_CXX=unsupported
   11080     always_export_symbols_CXX=no
   11081     enable_shared_with_static_runtimes_CXX=yes
   11082 
   11083     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11084       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'
   11085       # If the export-symbols file already is a .def file (1st line
   11086       # is EXPORTS), use it as is; otherwise, prepend...
   11087       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11088 	cp $export_symbols $output_objdir/$soname.def;
   11089       else
   11090 	echo EXPORTS > $output_objdir/$soname.def;
   11091 	cat $export_symbols >> $output_objdir/$soname.def;
   11092       fi~
   11093       $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'
   11094     else
   11095       ld_shlibs_CXX=no
   11096     fi
   11097   ;;
   11098       darwin* | rhapsody*)
   11099         case $host_os in
   11100         rhapsody* | darwin1.[012])
   11101          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11102          ;;
   11103        *) # Darwin 1.3 on
   11104          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11105            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11106          else
   11107            case ${MACOSX_DEPLOYMENT_TARGET} in
   11108              10.[012])
   11109                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11110                ;;
   11111              10.*)
   11112                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11113                ;;
   11114            esac
   11115          fi
   11116          ;;
   11117         esac
   11118       archive_cmds_need_lc_CXX=no
   11119       hardcode_direct_CXX=no
   11120       hardcode_automatic_CXX=yes
   11121       hardcode_shlibpath_var_CXX=unsupported
   11122       whole_archive_flag_spec_CXX=''
   11123       link_all_deplibs_CXX=yes
   11124 
   11125     if test "$GXX" = yes ; then
   11126       lt_int_apple_cc_single_mod=no
   11127       output_verbose_link_cmd='echo'
   11128       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11129        lt_int_apple_cc_single_mod=yes
   11130       fi
   11131       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11132        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11133       else
   11134           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'
   11135         fi
   11136         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11137         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11138           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11139             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}'
   11140           else
   11141             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}'
   11142           fi
   11143             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}'
   11144       else
   11145       case $cc_basename in
   11146         xlc*)
   11147          output_verbose_link_cmd='echo'
   11148           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'
   11149           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11150           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11151           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}'
   11152           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}'
   11153           ;;
   11154        *)
   11155          ld_shlibs_CXX=no
   11156           ;;
   11157       esac
   11158       fi
   11159         ;;
   11160 
   11161   dgux*)
   11162     case $cc_basename in
   11163       ec++*)
   11164 	# FIXME: insert proper C++ library support
   11165 	ld_shlibs_CXX=no
   11166 	;;
   11167       ghcx*)
   11168 	# Green Hills C++ Compiler
   11169 	# FIXME: insert proper C++ library support
   11170 	ld_shlibs_CXX=no
   11171 	;;
   11172       *)
   11173 	# FIXME: insert proper C++ library support
   11174 	ld_shlibs_CXX=no
   11175 	;;
   11176     esac
   11177     ;;
   11178   freebsd[12]*)
   11179     # C++ shared libraries reported to be fairly broken before switch to ELF
   11180     ld_shlibs_CXX=no
   11181     ;;
   11182   freebsd-elf*)
   11183     archive_cmds_need_lc_CXX=no
   11184     ;;
   11185   freebsd* | kfreebsd*-gnu | dragonfly*)
   11186     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11187     # conventions
   11188     ld_shlibs_CXX=yes
   11189     ;;
   11190   gnu*)
   11191     ;;
   11192   hpux9*)
   11193     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11194     hardcode_libdir_separator_CXX=:
   11195     export_dynamic_flag_spec_CXX='${wl}-E'
   11196     hardcode_direct_CXX=yes
   11197     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11198 				# but as the default
   11199 				# location of the library.
   11200 
   11201     case $cc_basename in
   11202     CC*)
   11203       # FIXME: insert proper C++ library support
   11204       ld_shlibs_CXX=no
   11205       ;;
   11206     aCC*)
   11207       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'
   11208       # Commands to make compiler produce verbose output that lists
   11209       # what "hidden" libraries, object files and flags are used when
   11210       # linking a shared library.
   11211       #
   11212       # There doesn't appear to be a way to prevent this compiler from
   11213       # explicitly linking system object files so we need to strip them
   11214       # from the output so that they don't get included in the library
   11215       # dependencies.
   11216       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'
   11217       ;;
   11218     *)
   11219       if test "$GXX" = yes; then
   11220         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'
   11221       else
   11222         # FIXME: insert proper C++ library support
   11223         ld_shlibs_CXX=no
   11224       fi
   11225       ;;
   11226     esac
   11227     ;;
   11228   hpux10*|hpux11*)
   11229     if test $with_gnu_ld = no; then
   11230       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11231       hardcode_libdir_separator_CXX=:
   11232 
   11233       case $host_cpu in
   11234       hppa*64*|ia64*)
   11235 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   11236         ;;
   11237       *)
   11238 	export_dynamic_flag_spec_CXX='${wl}-E'
   11239         ;;
   11240       esac
   11241     fi
   11242     case $host_cpu in
   11243     hppa*64*|ia64*)
   11244       hardcode_direct_CXX=no
   11245       hardcode_shlibpath_var_CXX=no
   11246       ;;
   11247     *)
   11248       hardcode_direct_CXX=yes
   11249       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11250 					      # but as the default
   11251 					      # location of the library.
   11252       ;;
   11253     esac
   11254 
   11255     case $cc_basename in
   11256       CC*)
   11257 	# FIXME: insert proper C++ library support
   11258 	ld_shlibs_CXX=no
   11259 	;;
   11260       aCC*)
   11261 	case $host_cpu in
   11262 	hppa*64*)
   11263 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11264 	  ;;
   11265 	ia64*)
   11266 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11267 	  ;;
   11268 	*)
   11269 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11270 	  ;;
   11271 	esac
   11272 	# Commands to make compiler produce verbose output that lists
   11273 	# what "hidden" libraries, object files and flags are used when
   11274 	# linking a shared library.
   11275 	#
   11276 	# There doesn't appear to be a way to prevent this compiler from
   11277 	# explicitly linking system object files so we need to strip them
   11278 	# from the output so that they don't get included in the library
   11279 	# dependencies.
   11280 	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'
   11281 	;;
   11282       *)
   11283 	if test "$GXX" = yes; then
   11284 	  if test $with_gnu_ld = no; then
   11285 	    case $host_cpu in
   11286 	    hppa*64*)
   11287 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11288 	      ;;
   11289 	    ia64*)
   11290 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11291 	      ;;
   11292 	    *)
   11293 	      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'
   11294 	      ;;
   11295 	    esac
   11296 	  fi
   11297 	else
   11298 	  # FIXME: insert proper C++ library support
   11299 	  ld_shlibs_CXX=no
   11300 	fi
   11301 	;;
   11302     esac
   11303     ;;
   11304   interix3*)
   11305     hardcode_direct_CXX=no
   11306     hardcode_shlibpath_var_CXX=no
   11307     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11308     export_dynamic_flag_spec_CXX='${wl}-E'
   11309     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11310     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11311     # default) and relocated if they conflict, which is a slow very memory
   11312     # consuming and fragmenting process.  To avoid this, we pick a random,
   11313     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11314     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11315     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'
   11316     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'
   11317     ;;
   11318   irix5* | irix6*)
   11319     case $cc_basename in
   11320       CC*)
   11321 	# SGI C++
   11322 	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'
   11323 
   11324 	# Archives containing C++ object files must be created using
   11325 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11326 	# necessary to make sure instantiated templates are included
   11327 	# in the archive.
   11328 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11329 	;;
   11330       *)
   11331 	if test "$GXX" = yes; then
   11332 	  if test "$with_gnu_ld" = no; then
   11333 	    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'
   11334 	  else
   11335 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
   11336 	  fi
   11337 	fi
   11338 	link_all_deplibs_CXX=yes
   11339 	;;
   11340     esac
   11341     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11342     hardcode_libdir_separator_CXX=:
   11343     ;;
   11344   linux*)
   11345     case $cc_basename in
   11346       KCC*)
   11347 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11348 
   11349 	# KCC will only create a shared library if the output file
   11350 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11351 	# to its proper name (with version) after linking.
   11352 	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'
   11353 	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'
   11354 	# Commands to make compiler produce verbose output that lists
   11355 	# what "hidden" libraries, object files and flags are used when
   11356 	# linking a shared library.
   11357 	#
   11358 	# There doesn't appear to be a way to prevent this compiler from
   11359 	# explicitly linking system object files so we need to strip them
   11360 	# from the output so that they don't get included in the library
   11361 	# dependencies.
   11362 	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'
   11363 
   11364 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11365 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11366 
   11367 	# Archives containing C++ object files must be created using
   11368 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11369 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11370 	;;
   11371       icpc*)
   11372 	# Intel C++
   11373 	with_gnu_ld=yes
   11374 	# version 8.0 and above of icpc choke on multiply defined symbols
   11375 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11376 	# earlier do not add the objects themselves.
   11377 	case `$CC -V 2>&1` in
   11378 	*"Version 7."*)
   11379   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11380   	  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'
   11381 	  ;;
   11382 	*)  # Version 8.0 or newer
   11383 	  tmp_idyn=
   11384 	  case $host_cpu in
   11385 	    ia64*) tmp_idyn=' -i_dynamic';;
   11386 	  esac
   11387   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11388 	  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'
   11389 	  ;;
   11390 	esac
   11391 	archive_cmds_need_lc_CXX=no
   11392 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11393 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11394 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11395 	;;
   11396       pgCC*)
   11397         # Portland Group C++ compiler
   11398 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11399   	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'
   11400 
   11401 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11402 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11403 	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'
   11404         ;;
   11405       cxx*)
   11406 	# Compaq C++
   11407 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11408 	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'
   11409 
   11410 	runpath_var=LD_RUN_PATH
   11411 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11412 	hardcode_libdir_separator_CXX=:
   11413 
   11414 	# Commands to make compiler produce verbose output that lists
   11415 	# what "hidden" libraries, object files and flags are used when
   11416 	# linking a shared library.
   11417 	#
   11418 	# There doesn't appear to be a way to prevent this compiler from
   11419 	# explicitly linking system object files so we need to strip them
   11420 	# from the output so that they don't get included in the library
   11421 	# dependencies.
   11422 	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'
   11423 	;;
   11424     esac
   11425     ;;
   11426   lynxos*)
   11427     # FIXME: insert proper C++ library support
   11428     ld_shlibs_CXX=no
   11429     ;;
   11430   m88k*)
   11431     # FIXME: insert proper C++ library support
   11432     ld_shlibs_CXX=no
   11433     ;;
   11434   mvs*)
   11435     case $cc_basename in
   11436       cxx*)
   11437 	# FIXME: insert proper C++ library support
   11438 	ld_shlibs_CXX=no
   11439 	;;
   11440       *)
   11441 	# FIXME: insert proper C++ library support
   11442 	ld_shlibs_CXX=no
   11443 	;;
   11444     esac
   11445     ;;
   11446   netbsd*)
   11447     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11448       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11449       wlarc=
   11450       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11451       hardcode_direct_CXX=yes
   11452       hardcode_shlibpath_var_CXX=no
   11453     fi
   11454     # Workaround some broken pre-1.5 toolchains
   11455     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11456     ;;
   11457   openbsd2*)
   11458     # C++ shared libraries are fairly broken
   11459     ld_shlibs_CXX=no
   11460     ;;
   11461   openbsd*)
   11462     hardcode_direct_CXX=yes
   11463     hardcode_shlibpath_var_CXX=no
   11464     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11465     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11466     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11467       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11468       export_dynamic_flag_spec_CXX='${wl}-E'
   11469       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11470     fi
   11471     output_verbose_link_cmd='echo'
   11472     ;;
   11473   osf3*)
   11474     case $cc_basename in
   11475       KCC*)
   11476 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11477 
   11478 	# KCC will only create a shared library if the output file
   11479 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11480 	# to its proper name (with version) after linking.
   11481 	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'
   11482 
   11483 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11484 	hardcode_libdir_separator_CXX=:
   11485 
   11486 	# Archives containing C++ object files must be created using
   11487 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11488 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11489 
   11490 	;;
   11491       RCC*)
   11492 	# Rational C++ 2.4.1
   11493 	# FIXME: insert proper C++ library support
   11494 	ld_shlibs_CXX=no
   11495 	;;
   11496       cxx*)
   11497 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11498 	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'
   11499 
   11500 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11501 	hardcode_libdir_separator_CXX=:
   11502 
   11503 	# Commands to make compiler produce verbose output that lists
   11504 	# what "hidden" libraries, object files and flags are used when
   11505 	# linking a shared library.
   11506 	#
   11507 	# There doesn't appear to be a way to prevent this compiler from
   11508 	# explicitly linking system object files so we need to strip them
   11509 	# from the output so that they don't get included in the library
   11510 	# dependencies.
   11511 	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'
   11512 	;;
   11513       *)
   11514 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11515 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11516 	  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'
   11517 
   11518 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11519 	  hardcode_libdir_separator_CXX=:
   11520 
   11521 	  # Commands to make compiler produce verbose output that lists
   11522 	  # what "hidden" libraries, object files and flags are used when
   11523 	  # linking a shared library.
   11524 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11525 
   11526 	else
   11527 	  # FIXME: insert proper C++ library support
   11528 	  ld_shlibs_CXX=no
   11529 	fi
   11530 	;;
   11531     esac
   11532     ;;
   11533   osf4* | osf5*)
   11534     case $cc_basename in
   11535       KCC*)
   11536 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11537 
   11538 	# KCC will only create a shared library if the output file
   11539 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11540 	# to its proper name (with version) after linking.
   11541 	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'
   11542 
   11543 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11544 	hardcode_libdir_separator_CXX=:
   11545 
   11546 	# Archives containing C++ object files must be created using
   11547 	# the KAI C++ compiler.
   11548 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   11549 	;;
   11550       RCC*)
   11551 	# Rational C++ 2.4.1
   11552 	# FIXME: insert proper C++ library support
   11553 	ld_shlibs_CXX=no
   11554 	;;
   11555       cxx*)
   11556 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   11557 	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'
   11558 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   11559 	  echo "-hidden">> $lib.exp~
   11560 	  $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~
   11561 	  $rm $lib.exp'
   11562 
   11563 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11564 	hardcode_libdir_separator_CXX=:
   11565 
   11566 	# Commands to make compiler produce verbose output that lists
   11567 	# what "hidden" libraries, object files and flags are used when
   11568 	# linking a shared library.
   11569 	#
   11570 	# There doesn't appear to be a way to prevent this compiler from
   11571 	# explicitly linking system object files so we need to strip them
   11572 	# from the output so that they don't get included in the library
   11573 	# dependencies.
   11574 	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'
   11575 	;;
   11576       *)
   11577 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11578 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11579 	 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'
   11580 
   11581 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11582 	  hardcode_libdir_separator_CXX=:
   11583 
   11584 	  # Commands to make compiler produce verbose output that lists
   11585 	  # what "hidden" libraries, object files and flags are used when
   11586 	  # linking a shared library.
   11587 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11588 
   11589 	else
   11590 	  # FIXME: insert proper C++ library support
   11591 	  ld_shlibs_CXX=no
   11592 	fi
   11593 	;;
   11594     esac
   11595     ;;
   11596   psos*)
   11597     # FIXME: insert proper C++ library support
   11598     ld_shlibs_CXX=no
   11599     ;;
   11600   sunos4*)
   11601     case $cc_basename in
   11602       CC*)
   11603 	# Sun C++ 4.x
   11604 	# FIXME: insert proper C++ library support
   11605 	ld_shlibs_CXX=no
   11606 	;;
   11607       lcc*)
   11608 	# Lucid
   11609 	# FIXME: insert proper C++ library support
   11610 	ld_shlibs_CXX=no
   11611 	;;
   11612       *)
   11613 	# FIXME: insert proper C++ library support
   11614 	ld_shlibs_CXX=no
   11615 	;;
   11616     esac
   11617     ;;
   11618   solaris*)
   11619     case $cc_basename in
   11620       CC*)
   11621 	# Sun C++ 4.2, 5.x and Centerline C++
   11622         archive_cmds_need_lc_CXX=yes
   11623 	no_undefined_flag_CXX=' -zdefs'
   11624 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11625 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11626 	$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'
   11627 
   11628 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   11629 	hardcode_shlibpath_var_CXX=no
   11630 	case $host_os in
   11631 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11632 	  *)
   11633 	    # The C++ compiler is used as linker so we must use $wl
   11634 	    # flag to pass the commands to the underlying system
   11635 	    # linker. We must also pass each convience library through
   11636 	    # to the system linker between allextract/defaultextract.
   11637 	    # The C++ compiler will combine linker options so we
   11638 	    # cannot just pass the convience library names through
   11639 	    # without $wl.
   11640 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   11641 	    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'
   11642 	    ;;
   11643 	esac
   11644 	link_all_deplibs_CXX=yes
   11645 
   11646 	output_verbose_link_cmd='echo'
   11647 
   11648 	# Archives containing C++ object files must be created using
   11649 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11650 	# necessary to make sure instantiated templates are included
   11651 	# in the archive.
   11652 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11653 	;;
   11654       gcx*)
   11655 	# Green Hills C++ Compiler
   11656 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11657 
   11658 	# The C++ compiler must be used to create the archive.
   11659 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   11660 	;;
   11661       *)
   11662 	# GNU C++ compiler with Solaris linker
   11663 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11664 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   11665 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   11666 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11667 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11668 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11669 
   11670 	    # Commands to make compiler produce verbose output that lists
   11671 	    # what "hidden" libraries, object files and flags are used when
   11672 	    # linking a shared library.
   11673 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11674 	  else
   11675 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   11676 	    # platform.
   11677 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11678 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11679 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11680 
   11681 	    # Commands to make compiler produce verbose output that lists
   11682 	    # what "hidden" libraries, object files and flags are used when
   11683 	    # linking a shared library.
   11684 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11685 	  fi
   11686 
   11687 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   11688 	fi
   11689 	;;
   11690     esac
   11691     ;;
   11692   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11693     no_undefined_flag_CXX='${wl}-z,text'
   11694     archive_cmds_need_lc_CXX=no
   11695     hardcode_shlibpath_var_CXX=no
   11696     runpath_var='LD_RUN_PATH'
   11697 
   11698     case $cc_basename in
   11699       CC*)
   11700 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11701 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11702 	;;
   11703       *)
   11704 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11705 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11706 	;;
   11707     esac
   11708     ;;
   11709   sysv5* | sco3.2v5* | sco5v6*)
   11710     # Note: We can NOT use -z defs as we might desire, because we do not
   11711     # link with -lc, and that would cause any symbols used from libc to
   11712     # always be unresolved, which means just about no library would
   11713     # ever link correctly.  If we're not using GNU ld we use -z text
   11714     # though, which does catch some bad symbols but isn't as heavy-handed
   11715     # as -z defs.
   11716     # For security reasons, it is highly recommended that you always
   11717     # use absolute paths for naming shared libraries, and exclude the
   11718     # DT_RUNPATH tag from executables and libraries.  But doing so
   11719     # requires that you compile everything twice, which is a pain.
   11720     # So that behaviour is only enabled if SCOABSPATH is set to a
   11721     # non-empty value in the environment.  Most likely only useful for
   11722     # creating official distributions of packages.
   11723     # This is a hack until libtool officially supports absolute path
   11724     # names for shared libraries.
   11725     no_undefined_flag_CXX='${wl}-z,text'
   11726     allow_undefined_flag_CXX='${wl}-z,nodefs'
   11727     archive_cmds_need_lc_CXX=no
   11728     hardcode_shlibpath_var_CXX=no
   11729     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   11730     hardcode_libdir_separator_CXX=':'
   11731     link_all_deplibs_CXX=yes
   11732     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   11733     runpath_var='LD_RUN_PATH'
   11734 
   11735     case $cc_basename in
   11736       CC*)
   11737 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11738 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11739 	;;
   11740       *)
   11741 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11742 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11743 	;;
   11744     esac
   11745     ;;
   11746   tandem*)
   11747     case $cc_basename in
   11748       NCC*)
   11749 	# NonStop-UX NCC 3.20
   11750 	# FIXME: insert proper C++ library support
   11751 	ld_shlibs_CXX=no
   11752 	;;
   11753       *)
   11754 	# FIXME: insert proper C++ library support
   11755 	ld_shlibs_CXX=no
   11756 	;;
   11757     esac
   11758     ;;
   11759   vxworks*)
   11760     # FIXME: insert proper C++ library support
   11761     ld_shlibs_CXX=no
   11762     ;;
   11763   *)
   11764     # FIXME: insert proper C++ library support
   11765     ld_shlibs_CXX=no
   11766     ;;
   11767 esac
   11768 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11769 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   11770 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11771 
   11772 GCC_CXX="$GXX"
   11773 LD_CXX="$LD"
   11774 
   11775 
   11776 cat > conftest.$ac_ext <<EOF
   11777 class Foo
   11778 {
   11779 public:
   11780   Foo (void) { a = 0; }
   11781 private:
   11782   int a;
   11783 };
   11784 EOF
   11785 
   11786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11787   (eval $ac_compile) 2>&5
   11788   ac_status=$?
   11789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11790   (exit $ac_status); }; then
   11791   # Parse the compiler output and extract the necessary
   11792   # objects, libraries and library flags.
   11793 
   11794   # Sentinel used to keep track of whether or not we are before
   11795   # the conftest object file.
   11796   pre_test_object_deps_done=no
   11797 
   11798   # The `*' in the case matches for architectures that use `case' in
   11799   # $output_verbose_cmd can trigger glob expansion during the loop
   11800   # eval without this substitution.
   11801   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   11802 
   11803   for p in `eval $output_verbose_link_cmd`; do
   11804     case $p in
   11805 
   11806     -L* | -R* | -l*)
   11807        # Some compilers place space between "-{L,R}" and the path.
   11808        # Remove the space.
   11809        if test $p = "-L" \
   11810 	  || test $p = "-R"; then
   11811 	 prev=$p
   11812 	 continue
   11813        else
   11814 	 prev=
   11815        fi
   11816 
   11817        if test "$pre_test_object_deps_done" = no; then
   11818 	 case $p in
   11819 	 -L* | -R*)
   11820 	   # Internal compiler library paths should come after those
   11821 	   # provided the user.  The postdeps already come after the
   11822 	   # user supplied libs so there is no need to process them.
   11823 	   if test -z "$compiler_lib_search_path_CXX"; then
   11824 	     compiler_lib_search_path_CXX="${prev}${p}"
   11825 	   else
   11826 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   11827 	   fi
   11828 	   ;;
   11829 	 # The "-l" case would never come before the object being
   11830 	 # linked, so don't bother handling this case.
   11831 	 esac
   11832        else
   11833 	 if test -z "$postdeps_CXX"; then
   11834 	   postdeps_CXX="${prev}${p}"
   11835 	 else
   11836 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   11837 	 fi
   11838        fi
   11839        ;;
   11840 
   11841     *.$objext)
   11842        # This assumes that the test object file only shows up
   11843        # once in the compiler output.
   11844        if test "$p" = "conftest.$objext"; then
   11845 	 pre_test_object_deps_done=yes
   11846 	 continue
   11847        fi
   11848 
   11849        if test "$pre_test_object_deps_done" = no; then
   11850 	 if test -z "$predep_objects_CXX"; then
   11851 	   predep_objects_CXX="$p"
   11852 	 else
   11853 	   predep_objects_CXX="$predep_objects_CXX $p"
   11854 	 fi
   11855        else
   11856 	 if test -z "$postdep_objects_CXX"; then
   11857 	   postdep_objects_CXX="$p"
   11858 	 else
   11859 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   11860 	 fi
   11861        fi
   11862        ;;
   11863 
   11864     *) ;; # Ignore the rest.
   11865 
   11866     esac
   11867   done
   11868 
   11869   # Clean up.
   11870   rm -f a.out a.exe
   11871 else
   11872   echo "libtool.m4: error: problem compiling CXX test program"
   11873 fi
   11874 
   11875 $rm -f confest.$objext
   11876 
   11877 # PORTME: override above test on systems where it is broken
   11878 case $host_os in
   11879 interix3*)
   11880   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   11881   # hack all around it, let's just trust "g++" to DTRT.
   11882   predep_objects_CXX=
   11883   postdep_objects_CXX=
   11884   postdeps_CXX=
   11885   ;;
   11886 
   11887 solaris*)
   11888   case $cc_basename in
   11889   CC*)
   11890     # Adding this requires a known-good setup of shared libraries for
   11891     # Sun compiler versions before 5.6, else PIC objects from an old
   11892     # archive will be linked into the output, leading to subtle bugs.
   11893     postdeps_CXX='-lCstd -lCrun'
   11894     ;;
   11895   esac
   11896   ;;
   11897 esac
   11898 
   11899 
   11900 case " $postdeps_CXX " in
   11901 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   11902 esac
   11903 
   11904 lt_prog_compiler_wl_CXX=
   11905 lt_prog_compiler_pic_CXX=
   11906 lt_prog_compiler_static_CXX=
   11907 
   11908 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   11909 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   11910 
   11911   # C++ specific cases for pic, static, wl, etc.
   11912   if test "$GXX" = yes; then
   11913     lt_prog_compiler_wl_CXX='-Wl,'
   11914     lt_prog_compiler_static_CXX='-static'
   11915 
   11916     case $host_os in
   11917     aix*)
   11918       # All AIX code is PIC.
   11919       if test "$host_cpu" = ia64; then
   11920 	# AIX 5 now supports IA64 processor
   11921 	lt_prog_compiler_static_CXX='-Bstatic'
   11922       fi
   11923       ;;
   11924     amigaos*)
   11925       # FIXME: we need at least 68020 code to build shared libraries, but
   11926       # adding the `-m68020' flag to GCC prevents building anything better,
   11927       # like `-m68040'.
   11928       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   11929       ;;
   11930     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   11931       # PIC is the default for these OSes.
   11932       ;;
   11933     mingw* | os2* | pw32*)
   11934       # This hack is so that the source file can tell whether it is being
   11935       # built for inclusion in a dll (and should export symbols for example).
   11936       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   11937       ;;
   11938     darwin* | rhapsody*)
   11939       # PIC is the default on this platform
   11940       # Common symbols not allowed in MH_DYLIB files
   11941       lt_prog_compiler_pic_CXX='-fno-common'
   11942       ;;
   11943     *djgpp*)
   11944       # DJGPP does not support shared libraries at all
   11945       lt_prog_compiler_pic_CXX=
   11946       ;;
   11947     interix3*)
   11948       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   11949       # Instead, we relocate shared libraries at runtime.
   11950       ;;
   11951     sysv4*MP*)
   11952       if test -d /usr/nec; then
   11953 	lt_prog_compiler_pic_CXX=-Kconform_pic
   11954       fi
   11955       ;;
   11956     hpux*)
   11957       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   11958       # not for PA HP-UX.
   11959       case $host_cpu in
   11960       hppa*64*|ia64*)
   11961 	;;
   11962       *)
   11963 	lt_prog_compiler_pic_CXX='-fPIC'
   11964 	;;
   11965       esac
   11966       ;;
   11967     *)
   11968       lt_prog_compiler_pic_CXX='-fPIC'
   11969       ;;
   11970     esac
   11971   else
   11972     case $host_os in
   11973       aix4* | aix5*)
   11974 	# All AIX code is PIC.
   11975 	if test "$host_cpu" = ia64; then
   11976 	  # AIX 5 now supports IA64 processor
   11977 	  lt_prog_compiler_static_CXX='-Bstatic'
   11978 	else
   11979 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   11980 	fi
   11981 	;;
   11982       chorus*)
   11983 	case $cc_basename in
   11984 	cxch68*)
   11985 	  # Green Hills C++ Compiler
   11986 	  # _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"
   11987 	  ;;
   11988 	esac
   11989 	;;
   11990        darwin*)
   11991          # PIC is the default on this platform
   11992          # Common symbols not allowed in MH_DYLIB files
   11993          case $cc_basename in
   11994            xlc*)
   11995            lt_prog_compiler_pic_CXX='-qnocommon'
   11996            lt_prog_compiler_wl_CXX='-Wl,'
   11997            ;;
   11998          esac
   11999        ;;
   12000       dgux*)
   12001 	case $cc_basename in
   12002 	  ec++*)
   12003 	    lt_prog_compiler_pic_CXX='-KPIC'
   12004 	    ;;
   12005 	  ghcx*)
   12006 	    # Green Hills C++ Compiler
   12007 	    lt_prog_compiler_pic_CXX='-pic'
   12008 	    ;;
   12009 	  *)
   12010 	    ;;
   12011 	esac
   12012 	;;
   12013       freebsd* | kfreebsd*-gnu | dragonfly*)
   12014 	# FreeBSD uses GNU C++
   12015 	;;
   12016       hpux9* | hpux10* | hpux11*)
   12017 	case $cc_basename in
   12018 	  CC*)
   12019 	    lt_prog_compiler_wl_CXX='-Wl,'
   12020 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12021 	    if test "$host_cpu" != ia64; then
   12022 	      lt_prog_compiler_pic_CXX='+Z'
   12023 	    fi
   12024 	    ;;
   12025 	  aCC*)
   12026 	    lt_prog_compiler_wl_CXX='-Wl,'
   12027 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12028 	    case $host_cpu in
   12029 	    hppa*64*|ia64*)
   12030 	      # +Z the default
   12031 	      ;;
   12032 	    *)
   12033 	      lt_prog_compiler_pic_CXX='+Z'
   12034 	      ;;
   12035 	    esac
   12036 	    ;;
   12037 	  *)
   12038 	    ;;
   12039 	esac
   12040 	;;
   12041       interix*)
   12042 	# This is c89, which is MS Visual C++ (no shared libs)
   12043 	# Anyone wants to do a port?
   12044 	;;
   12045       irix5* | irix6* | nonstopux*)
   12046 	case $cc_basename in
   12047 	  CC*)
   12048 	    lt_prog_compiler_wl_CXX='-Wl,'
   12049 	    lt_prog_compiler_static_CXX='-non_shared'
   12050 	    # CC pic flag -KPIC is the default.
   12051 	    ;;
   12052 	  *)
   12053 	    ;;
   12054 	esac
   12055 	;;
   12056       linux*)
   12057 	case $cc_basename in
   12058 	  KCC*)
   12059 	    # KAI C++ Compiler
   12060 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12061 	    lt_prog_compiler_pic_CXX='-fPIC'
   12062 	    ;;
   12063 	  icpc* | ecpc*)
   12064 	    # Intel C++
   12065 	    lt_prog_compiler_wl_CXX='-Wl,'
   12066 	    lt_prog_compiler_pic_CXX='-KPIC'
   12067 	    lt_prog_compiler_static_CXX='-static'
   12068 	    ;;
   12069 	  pgCC*)
   12070 	    # Portland Group C++ compiler.
   12071 	    lt_prog_compiler_wl_CXX='-Wl,'
   12072 	    lt_prog_compiler_pic_CXX='-fpic'
   12073 	    lt_prog_compiler_static_CXX='-Bstatic'
   12074 	    ;;
   12075 	  cxx*)
   12076 	    # Compaq C++
   12077 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12078 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12079 	    lt_prog_compiler_pic_CXX=
   12080 	    lt_prog_compiler_static_CXX='-non_shared'
   12081 	    ;;
   12082 	  *)
   12083 	    ;;
   12084 	esac
   12085 	;;
   12086       lynxos*)
   12087 	;;
   12088       m88k*)
   12089 	;;
   12090       mvs*)
   12091 	case $cc_basename in
   12092 	  cxx*)
   12093 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12094 	    ;;
   12095 	  *)
   12096 	    ;;
   12097 	esac
   12098 	;;
   12099       netbsd*)
   12100 	;;
   12101       osf3* | osf4* | osf5*)
   12102 	case $cc_basename in
   12103 	  KCC*)
   12104 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12105 	    ;;
   12106 	  RCC*)
   12107 	    # Rational C++ 2.4.1
   12108 	    lt_prog_compiler_pic_CXX='-pic'
   12109 	    ;;
   12110 	  cxx*)
   12111 	    # Digital/Compaq C++
   12112 	    lt_prog_compiler_wl_CXX='-Wl,'
   12113 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12114 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12115 	    lt_prog_compiler_pic_CXX=
   12116 	    lt_prog_compiler_static_CXX='-non_shared'
   12117 	    ;;
   12118 	  *)
   12119 	    ;;
   12120 	esac
   12121 	;;
   12122       psos*)
   12123 	;;
   12124       solaris*)
   12125 	case $cc_basename in
   12126 	  CC*)
   12127 	    # Sun C++ 4.2, 5.x and Centerline C++
   12128 	    lt_prog_compiler_pic_CXX='-KPIC'
   12129 	    lt_prog_compiler_static_CXX='-Bstatic'
   12130 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12131 	    ;;
   12132 	  gcx*)
   12133 	    # Green Hills C++ Compiler
   12134 	    lt_prog_compiler_pic_CXX='-PIC'
   12135 	    ;;
   12136 	  *)
   12137 	    ;;
   12138 	esac
   12139 	;;
   12140       sunos4*)
   12141 	case $cc_basename in
   12142 	  CC*)
   12143 	    # Sun C++ 4.x
   12144 	    lt_prog_compiler_pic_CXX='-pic'
   12145 	    lt_prog_compiler_static_CXX='-Bstatic'
   12146 	    ;;
   12147 	  lcc*)
   12148 	    # Lucid
   12149 	    lt_prog_compiler_pic_CXX='-pic'
   12150 	    ;;
   12151 	  *)
   12152 	    ;;
   12153 	esac
   12154 	;;
   12155       tandem*)
   12156 	case $cc_basename in
   12157 	  NCC*)
   12158 	    # NonStop-UX NCC 3.20
   12159 	    lt_prog_compiler_pic_CXX='-KPIC'
   12160 	    ;;
   12161 	  *)
   12162 	    ;;
   12163 	esac
   12164 	;;
   12165       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12166 	case $cc_basename in
   12167 	  CC*)
   12168 	    lt_prog_compiler_wl_CXX='-Wl,'
   12169 	    lt_prog_compiler_pic_CXX='-KPIC'
   12170 	    lt_prog_compiler_static_CXX='-Bstatic'
   12171 	    ;;
   12172 	esac
   12173 	;;
   12174       vxworks*)
   12175 	;;
   12176       *)
   12177 	lt_prog_compiler_can_build_shared_CXX=no
   12178 	;;
   12179     esac
   12180   fi
   12181 
   12182 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12183 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12184 
   12185 #
   12186 # Check to make sure the PIC flag actually works.
   12187 #
   12188 if test -n "$lt_prog_compiler_pic_CXX"; then
   12189 
   12190 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12191 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12192 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12193   echo $ECHO_N "(cached) $ECHO_C" >&6
   12194 else
   12195   lt_prog_compiler_pic_works_CXX=no
   12196   ac_outfile=conftest.$ac_objext
   12197    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12198    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12199    # Insert the option either (1) after the last *FLAGS variable, or
   12200    # (2) before a word containing "conftest.", or (3) at the end.
   12201    # Note that $ac_compile itself does not contain backslashes and begins
   12202    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12203    # The option is referenced via a variable to avoid confusing sed.
   12204    lt_compile=`echo "$ac_compile" | $SED \
   12205    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12206    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12207    -e 's:$: $lt_compiler_flag:'`
   12208    (eval echo "\"\$as_me:12208: $lt_compile\"" >&5)
   12209    (eval "$lt_compile" 2>conftest.err)
   12210    ac_status=$?
   12211    cat conftest.err >&5
   12212    echo "$as_me:12212: \$? = $ac_status" >&5
   12213    if (exit $ac_status) && test -s "$ac_outfile"; then
   12214      # The compiler can only warn and ignore the option if not recognized
   12215      # So say no if there are warnings other than the usual output.
   12216      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12217      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12218      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12219        lt_prog_compiler_pic_works_CXX=yes
   12220      fi
   12221    fi
   12222    $rm conftest*
   12223 
   12224 fi
   12225 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12226 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12227 
   12228 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12229     case $lt_prog_compiler_pic_CXX in
   12230      "" | " "*) ;;
   12231      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12232      esac
   12233 else
   12234     lt_prog_compiler_pic_CXX=
   12235      lt_prog_compiler_can_build_shared_CXX=no
   12236 fi
   12237 
   12238 fi
   12239 case $host_os in
   12240   # For platforms which do not support PIC, -DPIC is meaningless:
   12241   *djgpp*)
   12242     lt_prog_compiler_pic_CXX=
   12243     ;;
   12244   *)
   12245     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12246     ;;
   12247 esac
   12248 
   12249 #
   12250 # Check to make sure the static flag actually works.
   12251 #
   12252 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12253 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12254 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12255 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12256   echo $ECHO_N "(cached) $ECHO_C" >&6
   12257 else
   12258   lt_prog_compiler_static_works_CXX=no
   12259    save_LDFLAGS="$LDFLAGS"
   12260    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12261    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   12262    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12263      # The linker can only warn and ignore the option if not recognized
   12264      # So say no if there are warnings
   12265      if test -s conftest.err; then
   12266        # Append any errors to the config.log.
   12267        cat conftest.err 1>&5
   12268        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12269        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12270        if diff conftest.exp conftest.er2 >/dev/null; then
   12271          lt_prog_compiler_static_works_CXX=yes
   12272        fi
   12273      else
   12274        lt_prog_compiler_static_works_CXX=yes
   12275      fi
   12276    fi
   12277    $rm conftest*
   12278    LDFLAGS="$save_LDFLAGS"
   12279 
   12280 fi
   12281 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12282 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12283 
   12284 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12285     :
   12286 else
   12287     lt_prog_compiler_static_CXX=
   12288 fi
   12289 
   12290 
   12291 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12292 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12293 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12294   echo $ECHO_N "(cached) $ECHO_C" >&6
   12295 else
   12296   lt_cv_prog_compiler_c_o_CXX=no
   12297    $rm -r conftest 2>/dev/null
   12298    mkdir conftest
   12299    cd conftest
   12300    mkdir out
   12301    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12302 
   12303    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12304    # Insert the option either (1) after the last *FLAGS variable, or
   12305    # (2) before a word containing "conftest.", or (3) at the end.
   12306    # Note that $ac_compile itself does not contain backslashes and begins
   12307    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12308    lt_compile=`echo "$ac_compile" | $SED \
   12309    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12310    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12311    -e 's:$: $lt_compiler_flag:'`
   12312    (eval echo "\"\$as_me:12312: $lt_compile\"" >&5)
   12313    (eval "$lt_compile" 2>out/conftest.err)
   12314    ac_status=$?
   12315    cat out/conftest.err >&5
   12316    echo "$as_me:12316: \$? = $ac_status" >&5
   12317    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12318    then
   12319      # The compiler can only warn and ignore the option if not recognized
   12320      # So say no if there are warnings
   12321      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12322      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12323      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12324        lt_cv_prog_compiler_c_o_CXX=yes
   12325      fi
   12326    fi
   12327    chmod u+w . 2>&5
   12328    $rm conftest*
   12329    # SGI C++ compiler will create directory out/ii_files/ for
   12330    # template instantiation
   12331    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12332    $rm out/* && rmdir out
   12333    cd ..
   12334    rmdir conftest
   12335    $rm conftest*
   12336 
   12337 fi
   12338 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12339 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12340 
   12341 
   12342 hard_links="nottested"
   12343 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12344   # do not overwrite the value of need_locks provided by the user
   12345   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12346 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12347   hard_links=yes
   12348   $rm conftest*
   12349   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12350   touch conftest.a
   12351   ln conftest.a conftest.b 2>&5 || hard_links=no
   12352   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12353   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12354 echo "${ECHO_T}$hard_links" >&6; }
   12355   if test "$hard_links" = no; then
   12356     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12357 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12358     need_locks=warn
   12359   fi
   12360 else
   12361   need_locks=no
   12362 fi
   12363 
   12364 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12365 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12366 
   12367   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12368   case $host_os in
   12369   aix4* | aix5*)
   12370     # If we're using GNU nm, then we don't want the "-C" option.
   12371     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12372     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12373       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'
   12374     else
   12375       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'
   12376     fi
   12377     ;;
   12378   pw32*)
   12379     export_symbols_cmds_CXX="$ltdll_cmds"
   12380   ;;
   12381   cygwin* | mingw*)
   12382     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'
   12383   ;;
   12384   *)
   12385     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12386   ;;
   12387   esac
   12388 
   12389 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12390 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12391 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12392 
   12393 #
   12394 # Do we need to explicitly link libc?
   12395 #
   12396 case "x$archive_cmds_need_lc_CXX" in
   12397 x|xyes)
   12398   # Assume -lc should be added
   12399   archive_cmds_need_lc_CXX=yes
   12400 
   12401   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12402     case $archive_cmds_CXX in
   12403     *'~'*)
   12404       # FIXME: we may have to deal with multi-command sequences.
   12405       ;;
   12406     '$CC '*)
   12407       # Test whether the compiler implicitly links with -lc since on some
   12408       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12409       # to ld, don't add -lc before -lgcc.
   12410       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12411 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12412       $rm conftest*
   12413       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12414 
   12415       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12416   (eval $ac_compile) 2>&5
   12417   ac_status=$?
   12418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12419   (exit $ac_status); } 2>conftest.err; then
   12420         soname=conftest
   12421         lib=conftest
   12422         libobjs=conftest.$ac_objext
   12423         deplibs=
   12424         wl=$lt_prog_compiler_wl_CXX
   12425 	pic_flag=$lt_prog_compiler_pic_CXX
   12426         compiler_flags=-v
   12427         linker_flags=-v
   12428         verstring=
   12429         output_objdir=.
   12430         libname=conftest
   12431         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12432         allow_undefined_flag_CXX=
   12433         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12434   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12435   ac_status=$?
   12436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12437   (exit $ac_status); }
   12438         then
   12439 	  archive_cmds_need_lc_CXX=no
   12440         else
   12441 	  archive_cmds_need_lc_CXX=yes
   12442         fi
   12443         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12444       else
   12445         cat conftest.err 1>&5
   12446       fi
   12447       $rm conftest*
   12448       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12449 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   12450       ;;
   12451     esac
   12452   fi
   12453   ;;
   12454 esac
   12455 
   12456 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12457 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   12458 library_names_spec=
   12459 libname_spec='lib$name'
   12460 soname_spec=
   12461 shrext_cmds=".so"
   12462 postinstall_cmds=
   12463 postuninstall_cmds=
   12464 finish_cmds=
   12465 finish_eval=
   12466 shlibpath_var=
   12467 shlibpath_overrides_runpath=unknown
   12468 version_type=none
   12469 dynamic_linker="$host_os ld.so"
   12470 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12471 if test "$GCC" = yes; then
   12472   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12473   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   12474     # if the path contains ";" then we assume it to be the separator
   12475     # otherwise default to the standard path separator (i.e. ":") - it is
   12476     # assumed that no part of a normal pathname contains ";" but that should
   12477     # okay in the real world where ";" in dirpaths is itself problematic.
   12478     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12479   else
   12480     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12481   fi
   12482 else
   12483   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12484 fi
   12485 need_lib_prefix=unknown
   12486 hardcode_into_libs=no
   12487 
   12488 # when you set need_version to no, make sure it does not cause -set_version
   12489 # flags to be left without arguments
   12490 need_version=unknown
   12491 
   12492 case $host_os in
   12493 aix3*)
   12494   version_type=linux
   12495   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12496   shlibpath_var=LIBPATH
   12497 
   12498   # AIX 3 has no versioning support, so we append a major version to the name.
   12499   soname_spec='${libname}${release}${shared_ext}$major'
   12500   ;;
   12501 
   12502 aix4* | aix5*)
   12503   version_type=linux
   12504   need_lib_prefix=no
   12505   need_version=no
   12506   hardcode_into_libs=yes
   12507   if test "$host_cpu" = ia64; then
   12508     # AIX 5 supports IA64
   12509     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12510     shlibpath_var=LD_LIBRARY_PATH
   12511   else
   12512     # With GCC up to 2.95.x, collect2 would create an import file
   12513     # for dependence libraries.  The import file would start with
   12514     # the line `#! .'.  This would cause the generated library to
   12515     # depend on `.', always an invalid library.  This was fixed in
   12516     # development snapshots of GCC prior to 3.0.
   12517     case $host_os in
   12518       aix4 | aix4.[01] | aix4.[01].*)
   12519       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12520 	   echo ' yes '
   12521 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   12522 	:
   12523       else
   12524 	can_build_shared=no
   12525       fi
   12526       ;;
   12527     esac
   12528     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12529     # soname into executable. Probably we can add versioning support to
   12530     # collect2, so additional links can be useful in future.
   12531     if test "$aix_use_runtimelinking" = yes; then
   12532       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12533       # instead of lib<name>.a to let people know that these are not
   12534       # typical AIX shared libraries.
   12535       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12536     else
   12537       # We preserve .a as extension for shared libraries through AIX4.2
   12538       # and later when we are not doing run time linking.
   12539       library_names_spec='${libname}${release}.a $libname.a'
   12540       soname_spec='${libname}${release}${shared_ext}$major'
   12541     fi
   12542     shlibpath_var=LIBPATH
   12543   fi
   12544   ;;
   12545 
   12546 amigaos*)
   12547   library_names_spec='$libname.ixlibrary $libname.a'
   12548   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12549   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'
   12550   ;;
   12551 
   12552 beos*)
   12553   library_names_spec='${libname}${shared_ext}'
   12554   dynamic_linker="$host_os ld.so"
   12555   shlibpath_var=LIBRARY_PATH
   12556   ;;
   12557 
   12558 bsdi[45]*)
   12559   version_type=linux
   12560   need_version=no
   12561   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12562   soname_spec='${libname}${release}${shared_ext}$major'
   12563   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12564   shlibpath_var=LD_LIBRARY_PATH
   12565   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12566   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12567   # the default ld.so.conf also contains /usr/contrib/lib and
   12568   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12569   # libtool to hard-code these into programs
   12570   ;;
   12571 
   12572 cygwin* | mingw* | pw32*)
   12573   version_type=windows
   12574   shrext_cmds=".dll"
   12575   need_version=no
   12576   need_lib_prefix=no
   12577 
   12578   case $GCC,$host_os in
   12579   yes,cygwin* | yes,mingw* | yes,pw32*)
   12580     library_names_spec='$libname.dll.a'
   12581     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12582     postinstall_cmds='base_file=`basename \${file}`~
   12583       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   12584       dldir=$destdir/`dirname \$dlpath`~
   12585       test -d \$dldir || mkdir -p \$dldir~
   12586       $install_prog $dir/$dlname \$dldir/$dlname~
   12587       chmod a+x \$dldir/$dlname'
   12588     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12589       dlpath=$dir/\$dldll~
   12590        $rm \$dlpath'
   12591     shlibpath_overrides_runpath=yes
   12592 
   12593     case $host_os in
   12594     cygwin*)
   12595       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12596       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12597       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   12598       ;;
   12599     mingw*)
   12600       # MinGW DLLs use traditional 'lib' prefix
   12601       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12602       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12603       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   12604         # It is most probably a Windows format PATH printed by
   12605         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   12606         # path with ; separators, and with drive letters. We can handle the
   12607         # drive letters (cygwin fileutils understands them), so leave them,
   12608         # especially as we might pass files found there to a mingw objdump,
   12609         # which wouldn't understand a cygwinified path. Ahh.
   12610         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12611       else
   12612         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12613       fi
   12614       ;;
   12615     pw32*)
   12616       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12617       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12618       ;;
   12619     esac
   12620     ;;
   12621 
   12622   *)
   12623     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   12624     ;;
   12625   esac
   12626   dynamic_linker='Win32 ld.exe'
   12627   # FIXME: first we should search . and the directory the executable is in
   12628   shlibpath_var=PATH
   12629   ;;
   12630 
   12631 darwin* | rhapsody*)
   12632   dynamic_linker="$host_os dyld"
   12633   version_type=darwin
   12634   need_lib_prefix=no
   12635   need_version=no
   12636   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12637   soname_spec='${libname}${release}${major}$shared_ext'
   12638   shlibpath_overrides_runpath=yes
   12639   shlibpath_var=DYLD_LIBRARY_PATH
   12640   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12641   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   12642   if test "$GCC" = yes; then
   12643     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"`
   12644   else
   12645     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   12646   fi
   12647   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12648   ;;
   12649 
   12650 dgux*)
   12651   version_type=linux
   12652   need_lib_prefix=no
   12653   need_version=no
   12654   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12655   soname_spec='${libname}${release}${shared_ext}$major'
   12656   shlibpath_var=LD_LIBRARY_PATH
   12657   ;;
   12658 
   12659 freebsd1*)
   12660   dynamic_linker=no
   12661   ;;
   12662 
   12663 kfreebsd*-gnu)
   12664   version_type=linux
   12665   need_lib_prefix=no
   12666   need_version=no
   12667   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12668   soname_spec='${libname}${release}${shared_ext}$major'
   12669   shlibpath_var=LD_LIBRARY_PATH
   12670   shlibpath_overrides_runpath=no
   12671   hardcode_into_libs=yes
   12672   dynamic_linker='GNU ld.so'
   12673   ;;
   12674 
   12675 freebsd* | dragonfly*)
   12676   # DragonFly does not have aout.  When/if they implement a new
   12677   # versioning mechanism, adjust this.
   12678   if test -x /usr/bin/objformat; then
   12679     objformat=`/usr/bin/objformat`
   12680   else
   12681     case $host_os in
   12682     freebsd[123]*) objformat=aout ;;
   12683     *) objformat=elf ;;
   12684     esac
   12685   fi
   12686   version_type=freebsd-$objformat
   12687   case $version_type in
   12688     freebsd-elf*)
   12689       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12690       need_version=no
   12691       need_lib_prefix=no
   12692       ;;
   12693     freebsd-*)
   12694       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12695       need_version=yes
   12696       ;;
   12697   esac
   12698   shlibpath_var=LD_LIBRARY_PATH
   12699   case $host_os in
   12700   freebsd2*)
   12701     shlibpath_overrides_runpath=yes
   12702     ;;
   12703   freebsd3.[01]* | freebsdelf3.[01]*)
   12704     shlibpath_overrides_runpath=yes
   12705     hardcode_into_libs=yes
   12706     ;;
   12707   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12708   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12709     shlibpath_overrides_runpath=no
   12710     hardcode_into_libs=yes
   12711     ;;
   12712   freebsd*) # from 4.6 on
   12713     shlibpath_overrides_runpath=yes
   12714     hardcode_into_libs=yes
   12715     ;;
   12716   esac
   12717   ;;
   12718 
   12719 gnu*)
   12720   version_type=linux
   12721   need_lib_prefix=no
   12722   need_version=no
   12723   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12724   soname_spec='${libname}${release}${shared_ext}$major'
   12725   shlibpath_var=LD_LIBRARY_PATH
   12726   hardcode_into_libs=yes
   12727   ;;
   12728 
   12729 hpux9* | hpux10* | hpux11*)
   12730   # Give a soname corresponding to the major version so that dld.sl refuses to
   12731   # link against other versions.
   12732   version_type=sunos
   12733   need_lib_prefix=no
   12734   need_version=no
   12735   case $host_cpu in
   12736   ia64*)
   12737     shrext_cmds='.so'
   12738     hardcode_into_libs=yes
   12739     dynamic_linker="$host_os dld.so"
   12740     shlibpath_var=LD_LIBRARY_PATH
   12741     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12742     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12743     soname_spec='${libname}${release}${shared_ext}$major'
   12744     if test "X$HPUX_IA64_MODE" = X32; then
   12745       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12746     else
   12747       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12748     fi
   12749     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12750     ;;
   12751    hppa*64*)
   12752      shrext_cmds='.sl'
   12753      hardcode_into_libs=yes
   12754      dynamic_linker="$host_os dld.sl"
   12755      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12756      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12760      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12761      ;;
   12762    *)
   12763     shrext_cmds='.sl'
   12764     dynamic_linker="$host_os dld.sl"
   12765     shlibpath_var=SHLIB_PATH
   12766     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12767     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12768     soname_spec='${libname}${release}${shared_ext}$major'
   12769     ;;
   12770   esac
   12771   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12772   postinstall_cmds='chmod 555 $lib'
   12773   ;;
   12774 
   12775 interix3*)
   12776   version_type=linux
   12777   need_lib_prefix=no
   12778   need_version=no
   12779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12780   soname_spec='${libname}${release}${shared_ext}$major'
   12781   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12782   shlibpath_var=LD_LIBRARY_PATH
   12783   shlibpath_overrides_runpath=no
   12784   hardcode_into_libs=yes
   12785   ;;
   12786 
   12787 irix5* | irix6* | nonstopux*)
   12788   case $host_os in
   12789     nonstopux*) version_type=nonstopux ;;
   12790     *)
   12791 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12792 		version_type=linux
   12793 	else
   12794 		version_type=irix
   12795 	fi ;;
   12796   esac
   12797   need_lib_prefix=no
   12798   need_version=no
   12799   soname_spec='${libname}${release}${shared_ext}$major'
   12800   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12801   case $host_os in
   12802   irix5* | nonstopux*)
   12803     libsuff= shlibsuff=
   12804     ;;
   12805   *)
   12806     case $LD in # libtool.m4 will add one of these switches to LD
   12807     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12808       libsuff= shlibsuff= libmagic=32-bit;;
   12809     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12810       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12811     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12812       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12813     *) libsuff= shlibsuff= libmagic=never-match;;
   12814     esac
   12815     ;;
   12816   esac
   12817   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12818   shlibpath_overrides_runpath=no
   12819   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12820   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12821   hardcode_into_libs=yes
   12822   ;;
   12823 
   12824 # No shared lib support for Linux oldld, aout, or coff.
   12825 linux*oldld* | linux*aout* | linux*coff*)
   12826   dynamic_linker=no
   12827   ;;
   12828 
   12829 # This must be Linux ELF.
   12830 linux*)
   12831   version_type=linux
   12832   need_lib_prefix=no
   12833   need_version=no
   12834   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12835   soname_spec='${libname}${release}${shared_ext}$major'
   12836   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12837   shlibpath_var=LD_LIBRARY_PATH
   12838   shlibpath_overrides_runpath=no
   12839   # This implies no fast_install, which is unacceptable.
   12840   # Some rework will be needed to allow for fast_install
   12841   # before this can be enabled.
   12842   hardcode_into_libs=yes
   12843 
   12844   # Append ld.so.conf contents to the search path
   12845   if test -f /etc/ld.so.conf; then
   12846     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' ' '`
   12847     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12848   fi
   12849 
   12850   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12851   # powerpc, because MkLinux only supported shared libraries with the
   12852   # GNU dynamic linker.  Since this was broken with cross compilers,
   12853   # most powerpc-linux boxes support dynamic linking these days and
   12854   # people can always --disable-shared, the test was removed, and we
   12855   # assume the GNU/Linux dynamic linker is in use.
   12856   dynamic_linker='GNU/Linux ld.so'
   12857   ;;
   12858 
   12859 knetbsd*-gnu)
   12860   version_type=linux
   12861   need_lib_prefix=no
   12862   need_version=no
   12863   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12864   soname_spec='${libname}${release}${shared_ext}$major'
   12865   shlibpath_var=LD_LIBRARY_PATH
   12866   shlibpath_overrides_runpath=no
   12867   hardcode_into_libs=yes
   12868   dynamic_linker='GNU ld.so'
   12869   ;;
   12870 
   12871 netbsd*)
   12872   version_type=sunos
   12873   need_lib_prefix=no
   12874   need_version=no
   12875   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12876     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12877     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12878     dynamic_linker='NetBSD (a.out) ld.so'
   12879   else
   12880     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12881     soname_spec='${libname}${release}${shared_ext}$major'
   12882     dynamic_linker='NetBSD ld.elf_so'
   12883   fi
   12884   shlibpath_var=LD_LIBRARY_PATH
   12885   shlibpath_overrides_runpath=yes
   12886   hardcode_into_libs=yes
   12887   ;;
   12888 
   12889 newsos6)
   12890   version_type=linux
   12891   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12892   shlibpath_var=LD_LIBRARY_PATH
   12893   shlibpath_overrides_runpath=yes
   12894   ;;
   12895 
   12896 nto-qnx*)
   12897   version_type=linux
   12898   need_lib_prefix=no
   12899   need_version=no
   12900   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12901   soname_spec='${libname}${release}${shared_ext}$major'
   12902   shlibpath_var=LD_LIBRARY_PATH
   12903   shlibpath_overrides_runpath=yes
   12904   ;;
   12905 
   12906 openbsd*)
   12907   version_type=sunos
   12908   sys_lib_dlsearch_path_spec="/usr/lib"
   12909   need_lib_prefix=no
   12910   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   12911   case $host_os in
   12912     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   12913     *)                         need_version=no  ;;
   12914   esac
   12915   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12916   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12917   shlibpath_var=LD_LIBRARY_PATH
   12918   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12919     case $host_os in
   12920       openbsd2.[89] | openbsd2.[89].*)
   12921 	shlibpath_overrides_runpath=no
   12922 	;;
   12923       *)
   12924 	shlibpath_overrides_runpath=yes
   12925 	;;
   12926       esac
   12927   else
   12928     shlibpath_overrides_runpath=yes
   12929   fi
   12930   ;;
   12931 
   12932 os2*)
   12933   libname_spec='$name'
   12934   shrext_cmds=".dll"
   12935   need_lib_prefix=no
   12936   library_names_spec='$libname${shared_ext} $libname.a'
   12937   dynamic_linker='OS/2 ld.exe'
   12938   shlibpath_var=LIBPATH
   12939   ;;
   12940 
   12941 osf3* | osf4* | osf5*)
   12942   version_type=osf
   12943   need_lib_prefix=no
   12944   need_version=no
   12945   soname_spec='${libname}${release}${shared_ext}$major'
   12946   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12947   shlibpath_var=LD_LIBRARY_PATH
   12948   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12949   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   12950   ;;
   12951 
   12952 solaris*)
   12953   version_type=linux
   12954   need_lib_prefix=no
   12955   need_version=no
   12956   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12957   soname_spec='${libname}${release}${shared_ext}$major'
   12958   shlibpath_var=LD_LIBRARY_PATH
   12959   shlibpath_overrides_runpath=yes
   12960   hardcode_into_libs=yes
   12961   # ldd complains unless libraries are executable
   12962   postinstall_cmds='chmod +x $lib'
   12963   ;;
   12964 
   12965 sunos4*)
   12966   version_type=sunos
   12967   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12968   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12969   shlibpath_var=LD_LIBRARY_PATH
   12970   shlibpath_overrides_runpath=yes
   12971   if test "$with_gnu_ld" = yes; then
   12972     need_lib_prefix=no
   12973   fi
   12974   need_version=yes
   12975   ;;
   12976 
   12977 sysv4 | sysv4.3*)
   12978   version_type=linux
   12979   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12980   soname_spec='${libname}${release}${shared_ext}$major'
   12981   shlibpath_var=LD_LIBRARY_PATH
   12982   case $host_vendor in
   12983     sni)
   12984       shlibpath_overrides_runpath=no
   12985       need_lib_prefix=no
   12986       export_dynamic_flag_spec='${wl}-Blargedynsym'
   12987       runpath_var=LD_RUN_PATH
   12988       ;;
   12989     siemens)
   12990       need_lib_prefix=no
   12991       ;;
   12992     motorola)
   12993       need_lib_prefix=no
   12994       need_version=no
   12995       shlibpath_overrides_runpath=no
   12996       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12997       ;;
   12998   esac
   12999   ;;
   13000 
   13001 sysv4*MP*)
   13002   if test -d /usr/nec ;then
   13003     version_type=linux
   13004     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13005     soname_spec='$libname${shared_ext}.$major'
   13006     shlibpath_var=LD_LIBRARY_PATH
   13007   fi
   13008   ;;
   13009 
   13010 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13011   version_type=freebsd-elf
   13012   need_lib_prefix=no
   13013   need_version=no
   13014   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13015   soname_spec='${libname}${release}${shared_ext}$major'
   13016   shlibpath_var=LD_LIBRARY_PATH
   13017   hardcode_into_libs=yes
   13018   if test "$with_gnu_ld" = yes; then
   13019     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13020     shlibpath_overrides_runpath=no
   13021   else
   13022     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13023     shlibpath_overrides_runpath=yes
   13024     case $host_os in
   13025       sco3.2v5*)
   13026         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13027 	;;
   13028     esac
   13029   fi
   13030   sys_lib_dlsearch_path_spec='/usr/lib'
   13031   ;;
   13032 
   13033 uts4*)
   13034   version_type=linux
   13035   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13036   soname_spec='${libname}${release}${shared_ext}$major'
   13037   shlibpath_var=LD_LIBRARY_PATH
   13038   ;;
   13039 
   13040 *)
   13041   dynamic_linker=no
   13042   ;;
   13043 esac
   13044 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13045 echo "${ECHO_T}$dynamic_linker" >&6; }
   13046 test "$dynamic_linker" = no && can_build_shared=no
   13047 
   13048 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13049 if test "$GCC" = yes; then
   13050   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13051 fi
   13052 
   13053 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13054 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13055 hardcode_action_CXX=
   13056 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13057    test -n "$runpath_var_CXX" || \
   13058    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13059 
   13060   # We can hardcode non-existant directories.
   13061   if test "$hardcode_direct_CXX" != no &&
   13062      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13063      # have to relink, otherwise we might link with an installed library
   13064      # when we should be linking with a yet-to-be-installed one
   13065      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13066      test "$hardcode_minus_L_CXX" != no; then
   13067     # Linking always hardcodes the temporary library directory.
   13068     hardcode_action_CXX=relink
   13069   else
   13070     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13071     hardcode_action_CXX=immediate
   13072   fi
   13073 else
   13074   # We cannot hardcode anything, or else we can only hardcode existing
   13075   # directories.
   13076   hardcode_action_CXX=unsupported
   13077 fi
   13078 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13079 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13080 
   13081 if test "$hardcode_action_CXX" = relink; then
   13082   # Fast installation is not supported
   13083   enable_fast_install=no
   13084 elif test "$shlibpath_overrides_runpath" = yes ||
   13085      test "$enable_shared" = no; then
   13086   # Fast installation is not necessary
   13087   enable_fast_install=needless
   13088 fi
   13089 
   13090 
   13091 # The else clause should only fire when bootstrapping the
   13092 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13093 # with your package, and you will get complaints that there are
   13094 # no rules to generate ltmain.sh.
   13095 if test -f "$ltmain"; then
   13096   # See if we are running on zsh, and set the options which allow our commands through
   13097   # without removal of \ escapes.
   13098   if test -n "${ZSH_VERSION+set}" ; then
   13099     setopt NO_GLOB_SUBST
   13100   fi
   13101   # Now quote all the things that may contain metacharacters while being
   13102   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13103   # variables and quote the copies for generation of the libtool script.
   13104   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13105     SED SHELL STRIP \
   13106     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13107     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13108     deplibs_check_method reload_flag reload_cmds need_locks \
   13109     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13110     lt_cv_sys_global_symbol_to_c_name_address \
   13111     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13112     old_postinstall_cmds old_postuninstall_cmds \
   13113     compiler_CXX \
   13114     CC_CXX \
   13115     LD_CXX \
   13116     lt_prog_compiler_wl_CXX \
   13117     lt_prog_compiler_pic_CXX \
   13118     lt_prog_compiler_static_CXX \
   13119     lt_prog_compiler_no_builtin_flag_CXX \
   13120     export_dynamic_flag_spec_CXX \
   13121     thread_safe_flag_spec_CXX \
   13122     whole_archive_flag_spec_CXX \
   13123     enable_shared_with_static_runtimes_CXX \
   13124     old_archive_cmds_CXX \
   13125     old_archive_from_new_cmds_CXX \
   13126     predep_objects_CXX \
   13127     postdep_objects_CXX \
   13128     predeps_CXX \
   13129     postdeps_CXX \
   13130     compiler_lib_search_path_CXX \
   13131     archive_cmds_CXX \
   13132     archive_expsym_cmds_CXX \
   13133     postinstall_cmds_CXX \
   13134     postuninstall_cmds_CXX \
   13135     old_archive_from_expsyms_cmds_CXX \
   13136     allow_undefined_flag_CXX \
   13137     no_undefined_flag_CXX \
   13138     export_symbols_cmds_CXX \
   13139     hardcode_libdir_flag_spec_CXX \
   13140     hardcode_libdir_flag_spec_ld_CXX \
   13141     hardcode_libdir_separator_CXX \
   13142     hardcode_automatic_CXX \
   13143     module_cmds_CXX \
   13144     module_expsym_cmds_CXX \
   13145     lt_cv_prog_compiler_c_o_CXX \
   13146     exclude_expsyms_CXX \
   13147     include_expsyms_CXX; do
   13148 
   13149     case $var in
   13150     old_archive_cmds_CXX | \
   13151     old_archive_from_new_cmds_CXX | \
   13152     archive_cmds_CXX | \
   13153     archive_expsym_cmds_CXX | \
   13154     module_cmds_CXX | \
   13155     module_expsym_cmds_CXX | \
   13156     old_archive_from_expsyms_cmds_CXX | \
   13157     export_symbols_cmds_CXX | \
   13158     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13159     postinstall_cmds | postuninstall_cmds | \
   13160     old_postinstall_cmds | old_postuninstall_cmds | \
   13161     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13162       # Double-quote double-evaled strings.
   13163       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13164       ;;
   13165     *)
   13166       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13167       ;;
   13168     esac
   13169   done
   13170 
   13171   case $lt_echo in
   13172   *'\$0 --fallback-echo"')
   13173     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13174     ;;
   13175   esac
   13176 
   13177 cfgfile="$ofile"
   13178 
   13179   cat <<__EOF__ >> "$cfgfile"
   13180 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13181 
   13182 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13183 
   13184 # Shell to use when invoking shell scripts.
   13185 SHELL=$lt_SHELL
   13186 
   13187 # Whether or not to build shared libraries.
   13188 build_libtool_libs=$enable_shared
   13189 
   13190 # Whether or not to build static libraries.
   13191 build_old_libs=$enable_static
   13192 
   13193 # Whether or not to add -lc for building shared libraries.
   13194 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13195 
   13196 # Whether or not to disallow shared libs when runtime libs are static
   13197 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13198 
   13199 # Whether or not to optimize for fast installation.
   13200 fast_install=$enable_fast_install
   13201 
   13202 # The host system.
   13203 host_alias=$host_alias
   13204 host=$host
   13205 host_os=$host_os
   13206 
   13207 # The build system.
   13208 build_alias=$build_alias
   13209 build=$build
   13210 build_os=$build_os
   13211 
   13212 # An echo program that does not interpret backslashes.
   13213 echo=$lt_echo
   13214 
   13215 # The archiver.
   13216 AR=$lt_AR
   13217 AR_FLAGS=$lt_AR_FLAGS
   13218 
   13219 # A C compiler.
   13220 LTCC=$lt_LTCC
   13221 
   13222 # LTCC compiler flags.
   13223 LTCFLAGS=$lt_LTCFLAGS
   13224 
   13225 # A language-specific compiler.
   13226 CC=$lt_compiler_CXX
   13227 
   13228 # Is the compiler the GNU C compiler?
   13229 with_gcc=$GCC_CXX
   13230 
   13231 # An ERE matcher.
   13232 EGREP=$lt_EGREP
   13233 
   13234 # The linker used to build libraries.
   13235 LD=$lt_LD_CXX
   13236 
   13237 # Whether we need hard or soft links.
   13238 LN_S=$lt_LN_S
   13239 
   13240 # A BSD-compatible nm program.
   13241 NM=$lt_NM
   13242 
   13243 # A symbol stripping program
   13244 STRIP=$lt_STRIP
   13245 
   13246 # Used to examine libraries when file_magic_cmd begins "file"
   13247 MAGIC_CMD=$MAGIC_CMD
   13248 
   13249 # Used on cygwin: DLL creation program.
   13250 DLLTOOL="$DLLTOOL"
   13251 
   13252 # Used on cygwin: object dumper.
   13253 OBJDUMP="$OBJDUMP"
   13254 
   13255 # Used on cygwin: assembler.
   13256 AS="$AS"
   13257 
   13258 # The name of the directory that contains temporary libtool files.
   13259 objdir=$objdir
   13260 
   13261 # How to create reloadable object files.
   13262 reload_flag=$lt_reload_flag
   13263 reload_cmds=$lt_reload_cmds
   13264 
   13265 # How to pass a linker flag through the compiler.
   13266 wl=$lt_lt_prog_compiler_wl_CXX
   13267 
   13268 # Object file suffix (normally "o").
   13269 objext="$ac_objext"
   13270 
   13271 # Old archive suffix (normally "a").
   13272 libext="$libext"
   13273 
   13274 # Shared library suffix (normally ".so").
   13275 shrext_cmds='$shrext_cmds'
   13276 
   13277 # Executable file suffix (normally "").
   13278 exeext="$exeext"
   13279 
   13280 # Additional compiler flags for building library objects.
   13281 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13282 pic_mode=$pic_mode
   13283 
   13284 # What is the maximum length of a command?
   13285 max_cmd_len=$lt_cv_sys_max_cmd_len
   13286 
   13287 # Does compiler simultaneously support -c and -o options?
   13288 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13289 
   13290 # Must we lock files when doing compilation?
   13291 need_locks=$lt_need_locks
   13292 
   13293 # Do we need the lib prefix for modules?
   13294 need_lib_prefix=$need_lib_prefix
   13295 
   13296 # Do we need a version for libraries?
   13297 need_version=$need_version
   13298 
   13299 # Whether dlopen is supported.
   13300 dlopen_support=$enable_dlopen
   13301 
   13302 # Whether dlopen of programs is supported.
   13303 dlopen_self=$enable_dlopen_self
   13304 
   13305 # Whether dlopen of statically linked programs is supported.
   13306 dlopen_self_static=$enable_dlopen_self_static
   13307 
   13308 # Compiler flag to prevent dynamic linking.
   13309 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13310 
   13311 # Compiler flag to turn off builtin functions.
   13312 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13313 
   13314 # Compiler flag to allow reflexive dlopens.
   13315 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13316 
   13317 # Compiler flag to generate shared objects directly from archives.
   13318 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13319 
   13320 # Compiler flag to generate thread-safe objects.
   13321 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13322 
   13323 # Library versioning type.
   13324 version_type=$version_type
   13325 
   13326 # Format of library name prefix.
   13327 libname_spec=$lt_libname_spec
   13328 
   13329 # List of archive names.  First name is the real one, the rest are links.
   13330 # The last name is the one that the linker finds with -lNAME.
   13331 library_names_spec=$lt_library_names_spec
   13332 
   13333 # The coded name of the library, if different from the real name.
   13334 soname_spec=$lt_soname_spec
   13335 
   13336 # Commands used to build and install an old-style archive.
   13337 RANLIB=$lt_RANLIB
   13338 old_archive_cmds=$lt_old_archive_cmds_CXX
   13339 old_postinstall_cmds=$lt_old_postinstall_cmds
   13340 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13341 
   13342 # Create an old-style archive from a shared archive.
   13343 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13344 
   13345 # Create a temporary old-style archive to link instead of a shared archive.
   13346 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13347 
   13348 # Commands used to build and install a shared archive.
   13349 archive_cmds=$lt_archive_cmds_CXX
   13350 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13351 postinstall_cmds=$lt_postinstall_cmds
   13352 postuninstall_cmds=$lt_postuninstall_cmds
   13353 
   13354 # Commands used to build a loadable module (assumed same as above if empty)
   13355 module_cmds=$lt_module_cmds_CXX
   13356 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13357 
   13358 # Commands to strip libraries.
   13359 old_striplib=$lt_old_striplib
   13360 striplib=$lt_striplib
   13361 
   13362 # Dependencies to place before the objects being linked to create a
   13363 # shared library.
   13364 predep_objects=$lt_predep_objects_CXX
   13365 
   13366 # Dependencies to place after the objects being linked to create a
   13367 # shared library.
   13368 postdep_objects=$lt_postdep_objects_CXX
   13369 
   13370 # Dependencies to place before the objects being linked to create a
   13371 # shared library.
   13372 predeps=$lt_predeps_CXX
   13373 
   13374 # Dependencies to place after the objects being linked to create a
   13375 # shared library.
   13376 postdeps=$lt_postdeps_CXX
   13377 
   13378 # The library search path used internally by the compiler when linking
   13379 # a shared library.
   13380 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13381 
   13382 # Method to check whether dependent libraries are shared objects.
   13383 deplibs_check_method=$lt_deplibs_check_method
   13384 
   13385 # Command to use when deplibs_check_method == file_magic.
   13386 file_magic_cmd=$lt_file_magic_cmd
   13387 
   13388 # Flag that allows shared libraries with undefined symbols to be built.
   13389 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13390 
   13391 # Flag that forces no undefined symbols.
   13392 no_undefined_flag=$lt_no_undefined_flag_CXX
   13393 
   13394 # Commands used to finish a libtool library installation in a directory.
   13395 finish_cmds=$lt_finish_cmds
   13396 
   13397 # Same as above, but a single script fragment to be evaled but not shown.
   13398 finish_eval=$lt_finish_eval
   13399 
   13400 # Take the output of nm and produce a listing of raw symbols and C names.
   13401 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13402 
   13403 # Transform the output of nm in a proper C declaration
   13404 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13405 
   13406 # Transform the output of nm in a C name address pair
   13407 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13408 
   13409 # This is the shared library runtime path variable.
   13410 runpath_var=$runpath_var
   13411 
   13412 # This is the shared library path variable.
   13413 shlibpath_var=$shlibpath_var
   13414 
   13415 # Is shlibpath searched before the hard-coded library search path?
   13416 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13417 
   13418 # How to hardcode a shared library path into an executable.
   13419 hardcode_action=$hardcode_action_CXX
   13420 
   13421 # Whether we should hardcode library paths into libraries.
   13422 hardcode_into_libs=$hardcode_into_libs
   13423 
   13424 # Flag to hardcode \$libdir into a binary during linking.
   13425 # This must work even if \$libdir does not exist.
   13426 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13427 
   13428 # If ld is used when linking, flag to hardcode \$libdir into
   13429 # a binary during linking. This must work even if \$libdir does
   13430 # not exist.
   13431 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13432 
   13433 # Whether we need a single -rpath flag with a separated argument.
   13434 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13435 
   13436 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13437 # resulting binary.
   13438 hardcode_direct=$hardcode_direct_CXX
   13439 
   13440 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13441 # resulting binary.
   13442 hardcode_minus_L=$hardcode_minus_L_CXX
   13443 
   13444 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13445 # the resulting binary.
   13446 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13447 
   13448 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13449 # and all subsequent libraries and executables linked against it.
   13450 hardcode_automatic=$hardcode_automatic_CXX
   13451 
   13452 # Variables whose values should be saved in libtool wrapper scripts and
   13453 # restored at relink time.
   13454 variables_saved_for_relink="$variables_saved_for_relink"
   13455 
   13456 # Whether libtool must link a program against all its dependency libraries.
   13457 link_all_deplibs=$link_all_deplibs_CXX
   13458 
   13459 # Compile-time system search path for libraries
   13460 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13461 
   13462 # Run-time system search path for libraries
   13463 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13464 
   13465 # Fix the shell variable \$srcfile for the compiler.
   13466 fix_srcfile_path="$fix_srcfile_path_CXX"
   13467 
   13468 # Set to yes if exported symbols are required.
   13469 always_export_symbols=$always_export_symbols_CXX
   13470 
   13471 # The commands to list exported symbols.
   13472 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   13473 
   13474 # The commands to extract the exported symbol list from a shared archive.
   13475 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13476 
   13477 # Symbols that should not be listed in the preloaded symbols.
   13478 exclude_expsyms=$lt_exclude_expsyms_CXX
   13479 
   13480 # Symbols that must always be exported.
   13481 include_expsyms=$lt_include_expsyms_CXX
   13482 
   13483 # ### END LIBTOOL TAG CONFIG: $tagname
   13484 
   13485 __EOF__
   13486 
   13487 
   13488 else
   13489   # If there is no Makefile yet, we rely on a make rule to execute
   13490   # `config.status --recheck' to rerun these tests and create the
   13491   # libtool script then.
   13492   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   13493   if test -f "$ltmain_in"; then
   13494     test -f Makefile && make "$ltmain"
   13495   fi
   13496 fi
   13497 
   13498 
   13499 ac_ext=c
   13500 ac_cpp='$CPP $CPPFLAGS'
   13501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13504 
   13505 CC=$lt_save_CC
   13506 LDCXX=$LD
   13507 LD=$lt_save_LD
   13508 GCC=$lt_save_GCC
   13509 with_gnu_ldcxx=$with_gnu_ld
   13510 with_gnu_ld=$lt_save_with_gnu_ld
   13511 lt_cv_path_LDCXX=$lt_cv_path_LD
   13512 lt_cv_path_LD=$lt_save_path_LD
   13513 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   13514 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   13515 
   13516 	else
   13517 	  tagname=""
   13518 	fi
   13519 	;;
   13520 
   13521       F77)
   13522 	if test -n "$F77" && test "X$F77" != "Xno"; then
   13523 
   13524 ac_ext=f
   13525 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   13526 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13527 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   13528 
   13529 
   13530 archive_cmds_need_lc_F77=no
   13531 allow_undefined_flag_F77=
   13532 always_export_symbols_F77=no
   13533 archive_expsym_cmds_F77=
   13534 export_dynamic_flag_spec_F77=
   13535 hardcode_direct_F77=no
   13536 hardcode_libdir_flag_spec_F77=
   13537 hardcode_libdir_flag_spec_ld_F77=
   13538 hardcode_libdir_separator_F77=
   13539 hardcode_minus_L_F77=no
   13540 hardcode_automatic_F77=no
   13541 module_cmds_F77=
   13542 module_expsym_cmds_F77=
   13543 link_all_deplibs_F77=unknown
   13544 old_archive_cmds_F77=$old_archive_cmds
   13545 no_undefined_flag_F77=
   13546 whole_archive_flag_spec_F77=
   13547 enable_shared_with_static_runtimes_F77=no
   13548 
   13549 # Source file extension for f77 test sources.
   13550 ac_ext=f
   13551 
   13552 # Object file extension for compiled f77 test sources.
   13553 objext=o
   13554 objext_F77=$objext
   13555 
   13556 # Code to be used in simple compile tests
   13557 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   13558 
   13559 # Code to be used in simple link tests
   13560 lt_simple_link_test_code="      program t\n      end\n"
   13561 
   13562 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13563 
   13564 # If no C compiler was specified, use CC.
   13565 LTCC=${LTCC-"$CC"}
   13566 
   13567 # If no C compiler flags were specified, use CFLAGS.
   13568 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13569 
   13570 # Allow CC to be a program name with arguments.
   13571 compiler=$CC
   13572 
   13573 
   13574 # save warnings/boilerplate of simple test code
   13575 ac_outfile=conftest.$ac_objext
   13576 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   13577 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13578 _lt_compiler_boilerplate=`cat conftest.err`
   13579 $rm conftest*
   13580 
   13581 ac_outfile=conftest.$ac_objext
   13582 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   13583 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13584 _lt_linker_boilerplate=`cat conftest.err`
   13585 $rm conftest*
   13586 
   13587 
   13588 # Allow CC to be a program name with arguments.
   13589 lt_save_CC="$CC"
   13590 CC=${F77-"f77"}
   13591 compiler=$CC
   13592 compiler_F77=$CC
   13593 for cc_temp in $compiler""; do
   13594   case $cc_temp in
   13595     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13596     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13597     \-*) ;;
   13598     *) break;;
   13599   esac
   13600 done
   13601 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13602 
   13603 
   13604 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   13605 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   13606 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   13607 echo "${ECHO_T}$can_build_shared" >&6; }
   13608 
   13609 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   13610 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   13611 test "$can_build_shared" = "no" && enable_shared=no
   13612 
   13613 # On AIX, shared libraries and static libraries use the same namespace, and
   13614 # are all built from PIC.
   13615 case $host_os in
   13616 aix3*)
   13617   test "$enable_shared" = yes && enable_static=no
   13618   if test -n "$RANLIB"; then
   13619     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13620     postinstall_cmds='$RANLIB $lib'
   13621   fi
   13622   ;;
   13623 aix4* | aix5*)
   13624   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13625     test "$enable_shared" = yes && enable_static=no
   13626   fi
   13627   ;;
   13628 esac
   13629 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   13630 echo "${ECHO_T}$enable_shared" >&6; }
   13631 
   13632 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13633 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   13634 # Make sure either enable_shared or enable_static is yes.
   13635 test "$enable_shared" = yes || enable_static=yes
   13636 { echo "$as_me:$LINENO: result: $enable_static" >&5
   13637 echo "${ECHO_T}$enable_static" >&6; }
   13638 
   13639 GCC_F77="$G77"
   13640 LD_F77="$LD"
   13641 
   13642 lt_prog_compiler_wl_F77=
   13643 lt_prog_compiler_pic_F77=
   13644 lt_prog_compiler_static_F77=
   13645 
   13646 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   13647 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   13648 
   13649   if test "$GCC" = yes; then
   13650     lt_prog_compiler_wl_F77='-Wl,'
   13651     lt_prog_compiler_static_F77='-static'
   13652 
   13653     case $host_os in
   13654       aix*)
   13655       # All AIX code is PIC.
   13656       if test "$host_cpu" = ia64; then
   13657 	# AIX 5 now supports IA64 processor
   13658 	lt_prog_compiler_static_F77='-Bstatic'
   13659       fi
   13660       ;;
   13661 
   13662     amigaos*)
   13663       # FIXME: we need at least 68020 code to build shared libraries, but
   13664       # adding the `-m68020' flag to GCC prevents building anything better,
   13665       # like `-m68040'.
   13666       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   13667       ;;
   13668 
   13669     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13670       # PIC is the default for these OSes.
   13671       ;;
   13672 
   13673     mingw* | pw32* | os2*)
   13674       # This hack is so that the source file can tell whether it is being
   13675       # built for inclusion in a dll (and should export symbols for example).
   13676       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13677       ;;
   13678 
   13679     darwin* | rhapsody*)
   13680       # PIC is the default on this platform
   13681       # Common symbols not allowed in MH_DYLIB files
   13682       lt_prog_compiler_pic_F77='-fno-common'
   13683       ;;
   13684 
   13685     interix3*)
   13686       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13687       # Instead, we relocate shared libraries at runtime.
   13688       ;;
   13689 
   13690     msdosdjgpp*)
   13691       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13692       # on systems that don't support them.
   13693       lt_prog_compiler_can_build_shared_F77=no
   13694       enable_shared=no
   13695       ;;
   13696 
   13697     sysv4*MP*)
   13698       if test -d /usr/nec; then
   13699 	lt_prog_compiler_pic_F77=-Kconform_pic
   13700       fi
   13701       ;;
   13702 
   13703     hpux*)
   13704       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13705       # not for PA HP-UX.
   13706       case $host_cpu in
   13707       hppa*64*|ia64*)
   13708 	# +Z the default
   13709 	;;
   13710       *)
   13711 	lt_prog_compiler_pic_F77='-fPIC'
   13712 	;;
   13713       esac
   13714       ;;
   13715 
   13716     *)
   13717       lt_prog_compiler_pic_F77='-fPIC'
   13718       ;;
   13719     esac
   13720   else
   13721     # PORTME Check for flag to pass linker flags through the system compiler.
   13722     case $host_os in
   13723     aix*)
   13724       lt_prog_compiler_wl_F77='-Wl,'
   13725       if test "$host_cpu" = ia64; then
   13726 	# AIX 5 now supports IA64 processor
   13727 	lt_prog_compiler_static_F77='-Bstatic'
   13728       else
   13729 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   13730       fi
   13731       ;;
   13732       darwin*)
   13733         # PIC is the default on this platform
   13734         # Common symbols not allowed in MH_DYLIB files
   13735        case $cc_basename in
   13736          xlc*)
   13737          lt_prog_compiler_pic_F77='-qnocommon'
   13738          lt_prog_compiler_wl_F77='-Wl,'
   13739          ;;
   13740        esac
   13741        ;;
   13742 
   13743     mingw* | pw32* | os2*)
   13744       # This hack is so that the source file can tell whether it is being
   13745       # built for inclusion in a dll (and should export symbols for example).
   13746       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13747       ;;
   13748 
   13749     hpux9* | hpux10* | hpux11*)
   13750       lt_prog_compiler_wl_F77='-Wl,'
   13751       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13752       # not for PA HP-UX.
   13753       case $host_cpu in
   13754       hppa*64*|ia64*)
   13755 	# +Z the default
   13756 	;;
   13757       *)
   13758 	lt_prog_compiler_pic_F77='+Z'
   13759 	;;
   13760       esac
   13761       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13762       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   13763       ;;
   13764 
   13765     irix5* | irix6* | nonstopux*)
   13766       lt_prog_compiler_wl_F77='-Wl,'
   13767       # PIC (with -KPIC) is the default.
   13768       lt_prog_compiler_static_F77='-non_shared'
   13769       ;;
   13770 
   13771     newsos6)
   13772       lt_prog_compiler_pic_F77='-KPIC'
   13773       lt_prog_compiler_static_F77='-Bstatic'
   13774       ;;
   13775 
   13776     linux*)
   13777       case $cc_basename in
   13778       icc* | ecc*)
   13779 	lt_prog_compiler_wl_F77='-Wl,'
   13780 	lt_prog_compiler_pic_F77='-KPIC'
   13781 	lt_prog_compiler_static_F77='-static'
   13782         ;;
   13783       pgcc* | pgf77* | pgf90* | pgf95*)
   13784         # Portland Group compilers (*not* the Pentium gcc compiler,
   13785 	# which looks to be a dead project)
   13786 	lt_prog_compiler_wl_F77='-Wl,'
   13787 	lt_prog_compiler_pic_F77='-fpic'
   13788 	lt_prog_compiler_static_F77='-Bstatic'
   13789         ;;
   13790       ccc*)
   13791         lt_prog_compiler_wl_F77='-Wl,'
   13792         # All Alpha code is PIC.
   13793         lt_prog_compiler_static_F77='-non_shared'
   13794         ;;
   13795       esac
   13796       ;;
   13797 
   13798     osf3* | osf4* | osf5*)
   13799       lt_prog_compiler_wl_F77='-Wl,'
   13800       # All OSF/1 code is PIC.
   13801       lt_prog_compiler_static_F77='-non_shared'
   13802       ;;
   13803 
   13804     solaris*)
   13805       lt_prog_compiler_pic_F77='-KPIC'
   13806       lt_prog_compiler_static_F77='-Bstatic'
   13807       case $cc_basename in
   13808       f77* | f90* | f95*)
   13809 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   13810       *)
   13811 	lt_prog_compiler_wl_F77='-Wl,';;
   13812       esac
   13813       ;;
   13814 
   13815     sunos4*)
   13816       lt_prog_compiler_wl_F77='-Qoption ld '
   13817       lt_prog_compiler_pic_F77='-PIC'
   13818       lt_prog_compiler_static_F77='-Bstatic'
   13819       ;;
   13820 
   13821     sysv4 | sysv4.2uw2* | sysv4.3*)
   13822       lt_prog_compiler_wl_F77='-Wl,'
   13823       lt_prog_compiler_pic_F77='-KPIC'
   13824       lt_prog_compiler_static_F77='-Bstatic'
   13825       ;;
   13826 
   13827     sysv4*MP*)
   13828       if test -d /usr/nec ;then
   13829 	lt_prog_compiler_pic_F77='-Kconform_pic'
   13830 	lt_prog_compiler_static_F77='-Bstatic'
   13831       fi
   13832       ;;
   13833 
   13834     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13835       lt_prog_compiler_wl_F77='-Wl,'
   13836       lt_prog_compiler_pic_F77='-KPIC'
   13837       lt_prog_compiler_static_F77='-Bstatic'
   13838       ;;
   13839 
   13840     unicos*)
   13841       lt_prog_compiler_wl_F77='-Wl,'
   13842       lt_prog_compiler_can_build_shared_F77=no
   13843       ;;
   13844 
   13845     uts4*)
   13846       lt_prog_compiler_pic_F77='-pic'
   13847       lt_prog_compiler_static_F77='-Bstatic'
   13848       ;;
   13849 
   13850     *)
   13851       lt_prog_compiler_can_build_shared_F77=no
   13852       ;;
   13853     esac
   13854   fi
   13855 
   13856 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   13857 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   13858 
   13859 #
   13860 # Check to make sure the PIC flag actually works.
   13861 #
   13862 if test -n "$lt_prog_compiler_pic_F77"; then
   13863 
   13864 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   13865 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   13866 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   13867   echo $ECHO_N "(cached) $ECHO_C" >&6
   13868 else
   13869   lt_prog_compiler_pic_works_F77=no
   13870   ac_outfile=conftest.$ac_objext
   13871    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13872    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   13873    # Insert the option either (1) after the last *FLAGS variable, or
   13874    # (2) before a word containing "conftest.", or (3) at the end.
   13875    # Note that $ac_compile itself does not contain backslashes and begins
   13876    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13877    # The option is referenced via a variable to avoid confusing sed.
   13878    lt_compile=`echo "$ac_compile" | $SED \
   13879    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13880    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13881    -e 's:$: $lt_compiler_flag:'`
   13882    (eval echo "\"\$as_me:13882: $lt_compile\"" >&5)
   13883    (eval "$lt_compile" 2>conftest.err)
   13884    ac_status=$?
   13885    cat conftest.err >&5
   13886    echo "$as_me:13886: \$? = $ac_status" >&5
   13887    if (exit $ac_status) && test -s "$ac_outfile"; then
   13888      # The compiler can only warn and ignore the option if not recognized
   13889      # So say no if there are warnings other than the usual output.
   13890      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   13891      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13892      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13893        lt_prog_compiler_pic_works_F77=yes
   13894      fi
   13895    fi
   13896    $rm conftest*
   13897 
   13898 fi
   13899 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   13900 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   13901 
   13902 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   13903     case $lt_prog_compiler_pic_F77 in
   13904      "" | " "*) ;;
   13905      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   13906      esac
   13907 else
   13908     lt_prog_compiler_pic_F77=
   13909      lt_prog_compiler_can_build_shared_F77=no
   13910 fi
   13911 
   13912 fi
   13913 case $host_os in
   13914   # For platforms which do not support PIC, -DPIC is meaningless:
   13915   *djgpp*)
   13916     lt_prog_compiler_pic_F77=
   13917     ;;
   13918   *)
   13919     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   13920     ;;
   13921 esac
   13922 
   13923 #
   13924 # Check to make sure the static flag actually works.
   13925 #
   13926 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   13927 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13928 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   13929 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   13930   echo $ECHO_N "(cached) $ECHO_C" >&6
   13931 else
   13932   lt_prog_compiler_static_works_F77=no
   13933    save_LDFLAGS="$LDFLAGS"
   13934    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13935    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   13936    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13937      # The linker can only warn and ignore the option if not recognized
   13938      # So say no if there are warnings
   13939      if test -s conftest.err; then
   13940        # Append any errors to the config.log.
   13941        cat conftest.err 1>&5
   13942        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13943        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13944        if diff conftest.exp conftest.er2 >/dev/null; then
   13945          lt_prog_compiler_static_works_F77=yes
   13946        fi
   13947      else
   13948        lt_prog_compiler_static_works_F77=yes
   13949      fi
   13950    fi
   13951    $rm conftest*
   13952    LDFLAGS="$save_LDFLAGS"
   13953 
   13954 fi
   13955 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   13956 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   13957 
   13958 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   13959     :
   13960 else
   13961     lt_prog_compiler_static_F77=
   13962 fi
   13963 
   13964 
   13965 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13966 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   13967 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   13968   echo $ECHO_N "(cached) $ECHO_C" >&6
   13969 else
   13970   lt_cv_prog_compiler_c_o_F77=no
   13971    $rm -r conftest 2>/dev/null
   13972    mkdir conftest
   13973    cd conftest
   13974    mkdir out
   13975    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13976 
   13977    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13978    # Insert the option either (1) after the last *FLAGS variable, or
   13979    # (2) before a word containing "conftest.", or (3) at the end.
   13980    # Note that $ac_compile itself does not contain backslashes and begins
   13981    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13982    lt_compile=`echo "$ac_compile" | $SED \
   13983    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13984    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13985    -e 's:$: $lt_compiler_flag:'`
   13986    (eval echo "\"\$as_me:13986: $lt_compile\"" >&5)
   13987    (eval "$lt_compile" 2>out/conftest.err)
   13988    ac_status=$?
   13989    cat out/conftest.err >&5
   13990    echo "$as_me:13990: \$? = $ac_status" >&5
   13991    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13992    then
   13993      # The compiler can only warn and ignore the option if not recognized
   13994      # So say no if there are warnings
   13995      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13996      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13997      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13998        lt_cv_prog_compiler_c_o_F77=yes
   13999      fi
   14000    fi
   14001    chmod u+w . 2>&5
   14002    $rm conftest*
   14003    # SGI C++ compiler will create directory out/ii_files/ for
   14004    # template instantiation
   14005    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14006    $rm out/* && rmdir out
   14007    cd ..
   14008    rmdir conftest
   14009    $rm conftest*
   14010 
   14011 fi
   14012 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14013 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   14014 
   14015 
   14016 hard_links="nottested"
   14017 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14018   # do not overwrite the value of need_locks provided by the user
   14019   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14020 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14021   hard_links=yes
   14022   $rm conftest*
   14023   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14024   touch conftest.a
   14025   ln conftest.a conftest.b 2>&5 || hard_links=no
   14026   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14027   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14028 echo "${ECHO_T}$hard_links" >&6; }
   14029   if test "$hard_links" = no; then
   14030     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14031 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14032     need_locks=warn
   14033   fi
   14034 else
   14035   need_locks=no
   14036 fi
   14037 
   14038 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14039 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14040 
   14041   runpath_var=
   14042   allow_undefined_flag_F77=
   14043   enable_shared_with_static_runtimes_F77=no
   14044   archive_cmds_F77=
   14045   archive_expsym_cmds_F77=
   14046   old_archive_From_new_cmds_F77=
   14047   old_archive_from_expsyms_cmds_F77=
   14048   export_dynamic_flag_spec_F77=
   14049   whole_archive_flag_spec_F77=
   14050   thread_safe_flag_spec_F77=
   14051   hardcode_libdir_flag_spec_F77=
   14052   hardcode_libdir_flag_spec_ld_F77=
   14053   hardcode_libdir_separator_F77=
   14054   hardcode_direct_F77=no
   14055   hardcode_minus_L_F77=no
   14056   hardcode_shlibpath_var_F77=unsupported
   14057   link_all_deplibs_F77=unknown
   14058   hardcode_automatic_F77=no
   14059   module_cmds_F77=
   14060   module_expsym_cmds_F77=
   14061   always_export_symbols_F77=no
   14062   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14063   # include_expsyms should be a list of space-separated symbols to be *always*
   14064   # included in the symbol list
   14065   include_expsyms_F77=
   14066   # exclude_expsyms can be an extended regexp of symbols to exclude
   14067   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14068   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14069   # as well as any symbol that contains `d'.
   14070   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14071   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14072   # platforms (ab)use it in PIC code, but their linkers get confused if
   14073   # the symbol is explicitly referenced.  Since portable code cannot
   14074   # rely on this symbol name, it's probably fine to never include it in
   14075   # preloaded symbol tables.
   14076   extract_expsyms_cmds=
   14077   # Just being paranoid about ensuring that cc_basename is set.
   14078   for cc_temp in $compiler""; do
   14079   case $cc_temp in
   14080     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14081     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14082     \-*) ;;
   14083     *) break;;
   14084   esac
   14085 done
   14086 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14087 
   14088   case $host_os in
   14089   cygwin* | mingw* | pw32*)
   14090     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14091     # When not using gcc, we currently assume that we are using
   14092     # Microsoft Visual C++.
   14093     if test "$GCC" != yes; then
   14094       with_gnu_ld=no
   14095     fi
   14096     ;;
   14097   interix*)
   14098     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14099     with_gnu_ld=yes
   14100     ;;
   14101   openbsd*)
   14102     with_gnu_ld=no
   14103     ;;
   14104   esac
   14105 
   14106   ld_shlibs_F77=yes
   14107   if test "$with_gnu_ld" = yes; then
   14108     # If archive_cmds runs LD, not CC, wlarc should be empty
   14109     wlarc='${wl}'
   14110 
   14111     # Set some defaults for GNU ld with shared library support. These
   14112     # are reset later if shared libraries are not supported. Putting them
   14113     # here allows them to be overridden if necessary.
   14114     runpath_var=LD_RUN_PATH
   14115     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14116     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14117     # ancient GNU ld didn't support --whole-archive et. al.
   14118     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14119 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14120       else
   14121   	whole_archive_flag_spec_F77=
   14122     fi
   14123     supports_anon_versioning=no
   14124     case `$LD -v 2>/dev/null` in
   14125       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14126       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14127       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14128       *\ 2.11.*) ;; # other 2.11 versions
   14129       *) supports_anon_versioning=yes ;;
   14130     esac
   14131 
   14132     # See if GNU ld supports shared libraries.
   14133     case $host_os in
   14134     aix3* | aix4* | aix5*)
   14135       # On AIX/PPC, the GNU linker is very broken
   14136       if test "$host_cpu" != ia64; then
   14137 	ld_shlibs_F77=no
   14138 	cat <<EOF 1>&2
   14139 
   14140 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14141 *** to be unable to reliably create shared libraries on AIX.
   14142 *** Therefore, libtool is disabling shared libraries support.  If you
   14143 *** really care for shared libraries, you may want to modify your PATH
   14144 *** so that a non-GNU linker is found, and then restart.
   14145 
   14146 EOF
   14147       fi
   14148       ;;
   14149 
   14150     amigaos*)
   14151       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)'
   14152       hardcode_libdir_flag_spec_F77='-L$libdir'
   14153       hardcode_minus_L_F77=yes
   14154 
   14155       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14156       # that the semantics of dynamic libraries on AmigaOS, at least up
   14157       # to version 4, is to share data among multiple programs linked
   14158       # with the same dynamic library.  Since this doesn't match the
   14159       # behavior of shared libraries on other platforms, we can't use
   14160       # them.
   14161       ld_shlibs_F77=no
   14162       ;;
   14163 
   14164     beos*)
   14165       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14166 	allow_undefined_flag_F77=unsupported
   14167 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14168 	# support --undefined.  This deserves some investigation.  FIXME
   14169 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14170       else
   14171 	ld_shlibs_F77=no
   14172       fi
   14173       ;;
   14174 
   14175     cygwin* | mingw* | pw32*)
   14176       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14177       # as there is no search path for DLLs.
   14178       hardcode_libdir_flag_spec_F77='-L$libdir'
   14179       allow_undefined_flag_F77=unsupported
   14180       always_export_symbols_F77=no
   14181       enable_shared_with_static_runtimes_F77=yes
   14182       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   14183 
   14184       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14185         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14186 	# If the export-symbols file already is a .def file (1st line
   14187 	# is EXPORTS), use it as is; otherwise, prepend...
   14188 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14189 	  cp $export_symbols $output_objdir/$soname.def;
   14190 	else
   14191 	  echo EXPORTS > $output_objdir/$soname.def;
   14192 	  cat $export_symbols >> $output_objdir/$soname.def;
   14193 	fi~
   14194 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14195       else
   14196 	ld_shlibs_F77=no
   14197       fi
   14198       ;;
   14199 
   14200     interix3*)
   14201       hardcode_direct_F77=no
   14202       hardcode_shlibpath_var_F77=no
   14203       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14204       export_dynamic_flag_spec_F77='${wl}-E'
   14205       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14206       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14207       # default) and relocated if they conflict, which is a slow very memory
   14208       # consuming and fragmenting process.  To avoid this, we pick a random,
   14209       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14210       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14211       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'
   14212       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'
   14213       ;;
   14214 
   14215     linux*)
   14216       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14217 	tmp_addflag=
   14218 	case $cc_basename,$host_cpu in
   14219 	pgcc*)				# Portland Group C compiler
   14220 	  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'
   14221 	  tmp_addflag=' $pic_flag'
   14222 	  ;;
   14223 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14224 	  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'
   14225 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14226 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14227 	  tmp_addflag=' -i_dynamic' ;;
   14228 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14229 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14230 	ifc* | ifort*)			# Intel Fortran compiler
   14231 	  tmp_addflag=' -nofor_main' ;;
   14232 	esac
   14233 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14234 
   14235 	if test $supports_anon_versioning = yes; then
   14236 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14237   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14238   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14239 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14240 	fi
   14241       else
   14242 	ld_shlibs_F77=no
   14243       fi
   14244       ;;
   14245 
   14246     netbsd*)
   14247       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14248 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14249 	wlarc=
   14250       else
   14251 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14252 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14253       fi
   14254       ;;
   14255 
   14256     solaris*)
   14257       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14258 	ld_shlibs_F77=no
   14259 	cat <<EOF 1>&2
   14260 
   14261 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14262 *** create shared libraries on Solaris systems.  Therefore, libtool
   14263 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14264 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14265 *** your PATH or compiler configuration so that the native linker is
   14266 *** used, and then restart.
   14267 
   14268 EOF
   14269       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14270 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14271 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14272       else
   14273 	ld_shlibs_F77=no
   14274       fi
   14275       ;;
   14276 
   14277     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14278       case `$LD -v 2>&1` in
   14279         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14280 	ld_shlibs_F77=no
   14281 	cat <<_LT_EOF 1>&2
   14282 
   14283 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14284 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14285 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14286 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14287 *** your PATH or compiler configuration so that the native linker is
   14288 *** used, and then restart.
   14289 
   14290 _LT_EOF
   14291 	;;
   14292 	*)
   14293 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14294 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14295 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14296 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14297 	  else
   14298 	    ld_shlibs_F77=no
   14299 	  fi
   14300 	;;
   14301       esac
   14302       ;;
   14303 
   14304     sunos4*)
   14305       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14306       wlarc=
   14307       hardcode_direct_F77=yes
   14308       hardcode_shlibpath_var_F77=no
   14309       ;;
   14310 
   14311     *)
   14312       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14313 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14314 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14315       else
   14316 	ld_shlibs_F77=no
   14317       fi
   14318       ;;
   14319     esac
   14320 
   14321     if test "$ld_shlibs_F77" = no; then
   14322       runpath_var=
   14323       hardcode_libdir_flag_spec_F77=
   14324       export_dynamic_flag_spec_F77=
   14325       whole_archive_flag_spec_F77=
   14326     fi
   14327   else
   14328     # PORTME fill in a description of your system's linker (not GNU ld)
   14329     case $host_os in
   14330     aix3*)
   14331       allow_undefined_flag_F77=unsupported
   14332       always_export_symbols_F77=yes
   14333       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'
   14334       # Note: this linker hardcodes the directories in LIBPATH if there
   14335       # are no directories specified by -L.
   14336       hardcode_minus_L_F77=yes
   14337       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14338 	# Neither direct hardcoding nor static linking is supported with a
   14339 	# broken collect2.
   14340 	hardcode_direct_F77=unsupported
   14341       fi
   14342       ;;
   14343 
   14344     aix4* | aix5*)
   14345       if test "$host_cpu" = ia64; then
   14346 	# On IA64, the linker does run time linking by default, so we don't
   14347 	# have to do anything special.
   14348 	aix_use_runtimelinking=no
   14349 	exp_sym_flag='-Bexport'
   14350 	no_entry_flag=""
   14351       else
   14352 	# If we're using GNU nm, then we don't want the "-C" option.
   14353 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14354 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14355 	  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'
   14356 	else
   14357 	  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'
   14358 	fi
   14359 	aix_use_runtimelinking=no
   14360 
   14361 	# Test if we are trying to use run time linking or normal
   14362 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14363 	# need to do runtime linking.
   14364 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14365 	  for ld_flag in $LDFLAGS; do
   14366   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14367   	    aix_use_runtimelinking=yes
   14368   	    break
   14369   	  fi
   14370 	  done
   14371 	  ;;
   14372 	esac
   14373 
   14374 	exp_sym_flag='-bexport'
   14375 	no_entry_flag='-bnoentry'
   14376       fi
   14377 
   14378       # When large executables or shared objects are built, AIX ld can
   14379       # have problems creating the table of contents.  If linking a library
   14380       # or program results in "error TOC overflow" add -mminimal-toc to
   14381       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14382       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14383 
   14384       archive_cmds_F77=''
   14385       hardcode_direct_F77=yes
   14386       hardcode_libdir_separator_F77=':'
   14387       link_all_deplibs_F77=yes
   14388 
   14389       if test "$GCC" = yes; then
   14390 	case $host_os in aix4.[012]|aix4.[012].*)
   14391 	# We only want to do this on AIX 4.2 and lower, the check
   14392 	# below for broken collect2 doesn't work under 4.3+
   14393 	  collect2name=`${CC} -print-prog-name=collect2`
   14394 	  if test -f "$collect2name" && \
   14395   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14396 	  then
   14397   	  # We have reworked collect2
   14398   	  hardcode_direct_F77=yes
   14399 	  else
   14400   	  # We have old collect2
   14401   	  hardcode_direct_F77=unsupported
   14402   	  # It fails to find uninstalled libraries when the uninstalled
   14403   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14404   	  # to unsupported forces relinking
   14405   	  hardcode_minus_L_F77=yes
   14406   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14407   	  hardcode_libdir_separator_F77=
   14408 	  fi
   14409 	  ;;
   14410 	esac
   14411 	shared_flag='-shared'
   14412 	if test "$aix_use_runtimelinking" = yes; then
   14413 	  shared_flag="$shared_flag "'${wl}-G'
   14414 	fi
   14415       else
   14416 	# not using gcc
   14417 	if test "$host_cpu" = ia64; then
   14418   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14419   	# chokes on -Wl,-G. The following line is correct:
   14420 	  shared_flag='-G'
   14421 	else
   14422 	  if test "$aix_use_runtimelinking" = yes; then
   14423 	    shared_flag='${wl}-G'
   14424 	  else
   14425 	    shared_flag='${wl}-bM:SRE'
   14426 	  fi
   14427 	fi
   14428       fi
   14429 
   14430       # It seems that -bexpall does not export symbols beginning with
   14431       # underscore (_), so it is better to generate a list of symbols to export.
   14432       always_export_symbols_F77=yes
   14433       if test "$aix_use_runtimelinking" = yes; then
   14434 	# Warning - without using the other runtime loading flags (-brtl),
   14435 	# -berok will link without error, but may produce a broken library.
   14436 	allow_undefined_flag_F77='-berok'
   14437        # Determine the default libpath from the value encoded in an empty executable.
   14438        cat >conftest.$ac_ext <<_ACEOF
   14439       program main
   14440 
   14441       end
   14442 _ACEOF
   14443 rm -f conftest.$ac_objext conftest$ac_exeext
   14444 if { (ac_try="$ac_link"
   14445 case "(($ac_try" in
   14446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14447   *) ac_try_echo=$ac_try;;
   14448 esac
   14449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14450   (eval "$ac_link") 2>conftest.er1
   14451   ac_status=$?
   14452   grep -v '^ *+' conftest.er1 >conftest.err
   14453   rm -f conftest.er1
   14454   cat conftest.err >&5
   14455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14456   (exit $ac_status); } && {
   14457 	 test -z "$ac_f77_werror_flag" ||
   14458 	 test ! -s conftest.err
   14459        } && test -s conftest$ac_exeext &&
   14460        $as_test_x conftest$ac_exeext; then
   14461 
   14462 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14463 }'`
   14464 # Check for a 64-bit object if we didn't find anything.
   14465 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; }
   14466 }'`; fi
   14467 else
   14468   echo "$as_me: failed program was:" >&5
   14469 sed 's/^/| /' conftest.$ac_ext >&5
   14470 
   14471 
   14472 fi
   14473 
   14474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14475       conftest$ac_exeext conftest.$ac_ext
   14476 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14477 
   14478        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14479 	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"
   14480        else
   14481 	if test "$host_cpu" = ia64; then
   14482 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   14483 	  allow_undefined_flag_F77="-z nodefs"
   14484 	  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"
   14485 	else
   14486 	 # Determine the default libpath from the value encoded in an empty executable.
   14487 	 cat >conftest.$ac_ext <<_ACEOF
   14488       program main
   14489 
   14490       end
   14491 _ACEOF
   14492 rm -f conftest.$ac_objext conftest$ac_exeext
   14493 if { (ac_try="$ac_link"
   14494 case "(($ac_try" in
   14495   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14496   *) ac_try_echo=$ac_try;;
   14497 esac
   14498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14499   (eval "$ac_link") 2>conftest.er1
   14500   ac_status=$?
   14501   grep -v '^ *+' conftest.er1 >conftest.err
   14502   rm -f conftest.er1
   14503   cat conftest.err >&5
   14504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14505   (exit $ac_status); } && {
   14506 	 test -z "$ac_f77_werror_flag" ||
   14507 	 test ! -s conftest.err
   14508        } && test -s conftest$ac_exeext &&
   14509        $as_test_x conftest$ac_exeext; then
   14510 
   14511 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14512 }'`
   14513 # Check for a 64-bit object if we didn't find anything.
   14514 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; }
   14515 }'`; fi
   14516 else
   14517   echo "$as_me: failed program was:" >&5
   14518 sed 's/^/| /' conftest.$ac_ext >&5
   14519 
   14520 
   14521 fi
   14522 
   14523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14524       conftest$ac_exeext conftest.$ac_ext
   14525 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14526 
   14527 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14528 	  # Warning - without using the other run time loading flags,
   14529 	  # -berok will link without error, but may produce a broken library.
   14530 	  no_undefined_flag_F77=' ${wl}-bernotok'
   14531 	  allow_undefined_flag_F77=' ${wl}-berok'
   14532 	  # Exported symbols can be pulled into shared objects from archives
   14533 	  whole_archive_flag_spec_F77='$convenience'
   14534 	  archive_cmds_need_lc_F77=yes
   14535 	  # This is similar to how AIX traditionally builds its shared libraries.
   14536 	  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'
   14537 	fi
   14538       fi
   14539       ;;
   14540 
   14541     amigaos*)
   14542       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)'
   14543       hardcode_libdir_flag_spec_F77='-L$libdir'
   14544       hardcode_minus_L_F77=yes
   14545       # see comment about different semantics on the GNU ld section
   14546       ld_shlibs_F77=no
   14547       ;;
   14548 
   14549     bsdi[45]*)
   14550       export_dynamic_flag_spec_F77=-rdynamic
   14551       ;;
   14552 
   14553     cygwin* | mingw* | pw32*)
   14554       # When not using gcc, we currently assume that we are using
   14555       # Microsoft Visual C++.
   14556       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14557       # no search path for DLLs.
   14558       hardcode_libdir_flag_spec_F77=' '
   14559       allow_undefined_flag_F77=unsupported
   14560       # Tell ltmain to make .lib files, not .a files.
   14561       libext=lib
   14562       # Tell ltmain to make .dll files, not .so files.
   14563       shrext_cmds=".dll"
   14564       # FIXME: Setting linknames here is a bad hack.
   14565       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   14566       # The linker will automatically build a .lib file if we build a DLL.
   14567       old_archive_From_new_cmds_F77='true'
   14568       # FIXME: Should let the user specify the lib program.
   14569       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   14570       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   14571       enable_shared_with_static_runtimes_F77=yes
   14572       ;;
   14573 
   14574     darwin* | rhapsody*)
   14575       case $host_os in
   14576         rhapsody* | darwin1.[012])
   14577          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   14578          ;;
   14579        *) # Darwin 1.3 on
   14580          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   14581            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14582          else
   14583            case ${MACOSX_DEPLOYMENT_TARGET} in
   14584              10.[012])
   14585                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14586                ;;
   14587              10.*)
   14588                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   14589                ;;
   14590            esac
   14591          fi
   14592          ;;
   14593       esac
   14594       archive_cmds_need_lc_F77=no
   14595       hardcode_direct_F77=no
   14596       hardcode_automatic_F77=yes
   14597       hardcode_shlibpath_var_F77=unsupported
   14598       whole_archive_flag_spec_F77=''
   14599       link_all_deplibs_F77=yes
   14600     if test "$GCC" = yes ; then
   14601     	output_verbose_link_cmd='echo'
   14602         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   14603       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14604       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14605       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}'
   14606       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}'
   14607     else
   14608       case $cc_basename in
   14609         xlc*)
   14610          output_verbose_link_cmd='echo'
   14611          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   14612          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14613           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14614          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}'
   14615           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}'
   14616           ;;
   14617        *)
   14618          ld_shlibs_F77=no
   14619           ;;
   14620       esac
   14621     fi
   14622       ;;
   14623 
   14624     dgux*)
   14625       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14626       hardcode_libdir_flag_spec_F77='-L$libdir'
   14627       hardcode_shlibpath_var_F77=no
   14628       ;;
   14629 
   14630     freebsd1*)
   14631       ld_shlibs_F77=no
   14632       ;;
   14633 
   14634     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14635     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14636     # does not break anything, and helps significantly (at the cost of a little
   14637     # extra space).
   14638     freebsd2.2*)
   14639       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14640       hardcode_libdir_flag_spec_F77='-R$libdir'
   14641       hardcode_direct_F77=yes
   14642       hardcode_shlibpath_var_F77=no
   14643       ;;
   14644 
   14645     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14646     freebsd2*)
   14647       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14648       hardcode_direct_F77=yes
   14649       hardcode_minus_L_F77=yes
   14650       hardcode_shlibpath_var_F77=no
   14651       ;;
   14652 
   14653     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14654     freebsd* | kfreebsd*-gnu | dragonfly*)
   14655       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   14656       hardcode_libdir_flag_spec_F77='-R$libdir'
   14657       hardcode_direct_F77=yes
   14658       hardcode_shlibpath_var_F77=no
   14659       ;;
   14660 
   14661     hpux9*)
   14662       if test "$GCC" = yes; then
   14663 	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'
   14664       else
   14665 	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'
   14666       fi
   14667       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14668       hardcode_libdir_separator_F77=:
   14669       hardcode_direct_F77=yes
   14670 
   14671       # hardcode_minus_L: Not really in the search PATH,
   14672       # but as the default location of the library.
   14673       hardcode_minus_L_F77=yes
   14674       export_dynamic_flag_spec_F77='${wl}-E'
   14675       ;;
   14676 
   14677     hpux10*)
   14678       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14679 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14680       else
   14681 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14682       fi
   14683       if test "$with_gnu_ld" = no; then
   14684 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14685 	hardcode_libdir_separator_F77=:
   14686 
   14687 	hardcode_direct_F77=yes
   14688 	export_dynamic_flag_spec_F77='${wl}-E'
   14689 
   14690 	# hardcode_minus_L: Not really in the search PATH,
   14691 	# but as the default location of the library.
   14692 	hardcode_minus_L_F77=yes
   14693       fi
   14694       ;;
   14695 
   14696     hpux11*)
   14697       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14698 	case $host_cpu in
   14699 	hppa*64*)
   14700 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14701 	  ;;
   14702 	ia64*)
   14703 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14704 	  ;;
   14705 	*)
   14706 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14707 	  ;;
   14708 	esac
   14709       else
   14710 	case $host_cpu in
   14711 	hppa*64*)
   14712 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14713 	  ;;
   14714 	ia64*)
   14715 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14716 	  ;;
   14717 	*)
   14718 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14719 	  ;;
   14720 	esac
   14721       fi
   14722       if test "$with_gnu_ld" = no; then
   14723 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14724 	hardcode_libdir_separator_F77=:
   14725 
   14726 	case $host_cpu in
   14727 	hppa*64*|ia64*)
   14728 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   14729 	  hardcode_direct_F77=no
   14730 	  hardcode_shlibpath_var_F77=no
   14731 	  ;;
   14732 	*)
   14733 	  hardcode_direct_F77=yes
   14734 	  export_dynamic_flag_spec_F77='${wl}-E'
   14735 
   14736 	  # hardcode_minus_L: Not really in the search PATH,
   14737 	  # but as the default location of the library.
   14738 	  hardcode_minus_L_F77=yes
   14739 	  ;;
   14740 	esac
   14741       fi
   14742       ;;
   14743 
   14744     irix5* | irix6* | nonstopux*)
   14745       if test "$GCC" = yes; then
   14746 	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'
   14747       else
   14748 	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'
   14749 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   14750       fi
   14751       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14752       hardcode_libdir_separator_F77=:
   14753       link_all_deplibs_F77=yes
   14754       ;;
   14755 
   14756     netbsd*)
   14757       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14758 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14759       else
   14760 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14761       fi
   14762       hardcode_libdir_flag_spec_F77='-R$libdir'
   14763       hardcode_direct_F77=yes
   14764       hardcode_shlibpath_var_F77=no
   14765       ;;
   14766 
   14767     newsos6)
   14768       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14769       hardcode_direct_F77=yes
   14770       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14771       hardcode_libdir_separator_F77=:
   14772       hardcode_shlibpath_var_F77=no
   14773       ;;
   14774 
   14775     openbsd*)
   14776       hardcode_direct_F77=yes
   14777       hardcode_shlibpath_var_F77=no
   14778       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14779 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14780 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   14781 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14782 	export_dynamic_flag_spec_F77='${wl}-E'
   14783       else
   14784        case $host_os in
   14785 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   14786 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14787 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   14788 	   ;;
   14789 	 *)
   14790 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14791 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14792 	   ;;
   14793        esac
   14794       fi
   14795       ;;
   14796 
   14797     os2*)
   14798       hardcode_libdir_flag_spec_F77='-L$libdir'
   14799       hardcode_minus_L_F77=yes
   14800       allow_undefined_flag_F77=unsupported
   14801       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'
   14802       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   14803       ;;
   14804 
   14805     osf3*)
   14806       if test "$GCC" = yes; then
   14807 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14808 	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'
   14809       else
   14810 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14811 	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'
   14812       fi
   14813       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14814       hardcode_libdir_separator_F77=:
   14815       ;;
   14816 
   14817     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   14818       if test "$GCC" = yes; then
   14819 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14820 	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'
   14821 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14822       else
   14823 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14824 	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'
   14825 	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~
   14826 	$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'
   14827 
   14828 	# Both c and cxx compiler support -rpath directly
   14829 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   14830       fi
   14831       hardcode_libdir_separator_F77=:
   14832       ;;
   14833 
   14834     solaris*)
   14835       no_undefined_flag_F77=' -z text'
   14836       if test "$GCC" = yes; then
   14837 	wlarc='${wl}'
   14838 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14839 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14840 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   14841       else
   14842 	wlarc=''
   14843 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14844 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14845   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   14846       fi
   14847       hardcode_libdir_flag_spec_F77='-R$libdir'
   14848       hardcode_shlibpath_var_F77=no
   14849       case $host_os in
   14850       solaris2.[0-5] | solaris2.[0-5].*) ;;
   14851       *)
   14852  	# The compiler driver will combine linker options so we
   14853  	# cannot just pass the convience library names through
   14854  	# without $wl, iff we do not link with $LD.
   14855  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   14856  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   14857  	case $wlarc in
   14858  	'')
   14859  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   14860  	*)
   14861  	  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' ;;
   14862  	esac ;;
   14863       esac
   14864       link_all_deplibs_F77=yes
   14865       ;;
   14866 
   14867     sunos4*)
   14868       if test "x$host_vendor" = xsequent; then
   14869 	# Use $CC to link under sequent, because it throws in some extra .o
   14870 	# files that make .init and .fini sections work.
   14871 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14872       else
   14873 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   14874       fi
   14875       hardcode_libdir_flag_spec_F77='-L$libdir'
   14876       hardcode_direct_F77=yes
   14877       hardcode_minus_L_F77=yes
   14878       hardcode_shlibpath_var_F77=no
   14879       ;;
   14880 
   14881     sysv4)
   14882       case $host_vendor in
   14883 	sni)
   14884 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14885 	  hardcode_direct_F77=yes # is this really true???
   14886 	;;
   14887 	siemens)
   14888 	  ## LD is ld it makes a PLAMLIB
   14889 	  ## CC just makes a GrossModule.
   14890 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   14891 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   14892 	  hardcode_direct_F77=no
   14893         ;;
   14894 	motorola)
   14895 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14896 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   14897 	;;
   14898       esac
   14899       runpath_var='LD_RUN_PATH'
   14900       hardcode_shlibpath_var_F77=no
   14901       ;;
   14902 
   14903     sysv4.3*)
   14904       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14905       hardcode_shlibpath_var_F77=no
   14906       export_dynamic_flag_spec_F77='-Bexport'
   14907       ;;
   14908 
   14909     sysv4*MP*)
   14910       if test -d /usr/nec; then
   14911 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14912 	hardcode_shlibpath_var_F77=no
   14913 	runpath_var=LD_RUN_PATH
   14914 	hardcode_runpath_var=yes
   14915 	ld_shlibs_F77=yes
   14916       fi
   14917       ;;
   14918 
   14919     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   14920       no_undefined_flag_F77='${wl}-z,text'
   14921       archive_cmds_need_lc_F77=no
   14922       hardcode_shlibpath_var_F77=no
   14923       runpath_var='LD_RUN_PATH'
   14924 
   14925       if test "$GCC" = yes; then
   14926 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14927 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14928       else
   14929 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14930 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14931       fi
   14932       ;;
   14933 
   14934     sysv5* | sco3.2v5* | sco5v6*)
   14935       # Note: We can NOT use -z defs as we might desire, because we do not
   14936       # link with -lc, and that would cause any symbols used from libc to
   14937       # always be unresolved, which means just about no library would
   14938       # ever link correctly.  If we're not using GNU ld we use -z text
   14939       # though, which does catch some bad symbols but isn't as heavy-handed
   14940       # as -z defs.
   14941       no_undefined_flag_F77='${wl}-z,text'
   14942       allow_undefined_flag_F77='${wl}-z,nodefs'
   14943       archive_cmds_need_lc_F77=no
   14944       hardcode_shlibpath_var_F77=no
   14945       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   14946       hardcode_libdir_separator_F77=':'
   14947       link_all_deplibs_F77=yes
   14948       export_dynamic_flag_spec_F77='${wl}-Bexport'
   14949       runpath_var='LD_RUN_PATH'
   14950 
   14951       if test "$GCC" = yes; then
   14952 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14953 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14954       else
   14955 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14956 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14957       fi
   14958       ;;
   14959 
   14960     uts4*)
   14961       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14962       hardcode_libdir_flag_spec_F77='-L$libdir'
   14963       hardcode_shlibpath_var_F77=no
   14964       ;;
   14965 
   14966     *)
   14967       ld_shlibs_F77=no
   14968       ;;
   14969     esac
   14970   fi
   14971 
   14972 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   14973 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   14974 test "$ld_shlibs_F77" = no && can_build_shared=no
   14975 
   14976 #
   14977 # Do we need to explicitly link libc?
   14978 #
   14979 case "x$archive_cmds_need_lc_F77" in
   14980 x|xyes)
   14981   # Assume -lc should be added
   14982   archive_cmds_need_lc_F77=yes
   14983 
   14984   if test "$enable_shared" = yes && test "$GCC" = yes; then
   14985     case $archive_cmds_F77 in
   14986     *'~'*)
   14987       # FIXME: we may have to deal with multi-command sequences.
   14988       ;;
   14989     '$CC '*)
   14990       # Test whether the compiler implicitly links with -lc since on some
   14991       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14992       # to ld, don't add -lc before -lgcc.
   14993       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   14994 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   14995       $rm conftest*
   14996       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14997 
   14998       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   14999   (eval $ac_compile) 2>&5
   15000   ac_status=$?
   15001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15002   (exit $ac_status); } 2>conftest.err; then
   15003         soname=conftest
   15004         lib=conftest
   15005         libobjs=conftest.$ac_objext
   15006         deplibs=
   15007         wl=$lt_prog_compiler_wl_F77
   15008 	pic_flag=$lt_prog_compiler_pic_F77
   15009         compiler_flags=-v
   15010         linker_flags=-v
   15011         verstring=
   15012         output_objdir=.
   15013         libname=conftest
   15014         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15015         allow_undefined_flag_F77=
   15016         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15017   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15018   ac_status=$?
   15019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15020   (exit $ac_status); }
   15021         then
   15022 	  archive_cmds_need_lc_F77=no
   15023         else
   15024 	  archive_cmds_need_lc_F77=yes
   15025         fi
   15026         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15027       else
   15028         cat conftest.err 1>&5
   15029       fi
   15030       $rm conftest*
   15031       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15032 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15033       ;;
   15034     esac
   15035   fi
   15036   ;;
   15037 esac
   15038 
   15039 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15040 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15041 library_names_spec=
   15042 libname_spec='lib$name'
   15043 soname_spec=
   15044 shrext_cmds=".so"
   15045 postinstall_cmds=
   15046 postuninstall_cmds=
   15047 finish_cmds=
   15048 finish_eval=
   15049 shlibpath_var=
   15050 shlibpath_overrides_runpath=unknown
   15051 version_type=none
   15052 dynamic_linker="$host_os ld.so"
   15053 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15054 if test "$GCC" = yes; then
   15055   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15056   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   15057     # if the path contains ";" then we assume it to be the separator
   15058     # otherwise default to the standard path separator (i.e. ":") - it is
   15059     # assumed that no part of a normal pathname contains ";" but that should
   15060     # okay in the real world where ";" in dirpaths is itself problematic.
   15061     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15062   else
   15063     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15064   fi
   15065 else
   15066   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15067 fi
   15068 need_lib_prefix=unknown
   15069 hardcode_into_libs=no
   15070 
   15071 # when you set need_version to no, make sure it does not cause -set_version
   15072 # flags to be left without arguments
   15073 need_version=unknown
   15074 
   15075 case $host_os in
   15076 aix3*)
   15077   version_type=linux
   15078   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15079   shlibpath_var=LIBPATH
   15080 
   15081   # AIX 3 has no versioning support, so we append a major version to the name.
   15082   soname_spec='${libname}${release}${shared_ext}$major'
   15083   ;;
   15084 
   15085 aix4* | aix5*)
   15086   version_type=linux
   15087   need_lib_prefix=no
   15088   need_version=no
   15089   hardcode_into_libs=yes
   15090   if test "$host_cpu" = ia64; then
   15091     # AIX 5 supports IA64
   15092     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15093     shlibpath_var=LD_LIBRARY_PATH
   15094   else
   15095     # With GCC up to 2.95.x, collect2 would create an import file
   15096     # for dependence libraries.  The import file would start with
   15097     # the line `#! .'.  This would cause the generated library to
   15098     # depend on `.', always an invalid library.  This was fixed in
   15099     # development snapshots of GCC prior to 3.0.
   15100     case $host_os in
   15101       aix4 | aix4.[01] | aix4.[01].*)
   15102       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15103 	   echo ' yes '
   15104 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15105 	:
   15106       else
   15107 	can_build_shared=no
   15108       fi
   15109       ;;
   15110     esac
   15111     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15112     # soname into executable. Probably we can add versioning support to
   15113     # collect2, so additional links can be useful in future.
   15114     if test "$aix_use_runtimelinking" = yes; then
   15115       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15116       # instead of lib<name>.a to let people know that these are not
   15117       # typical AIX shared libraries.
   15118       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15119     else
   15120       # We preserve .a as extension for shared libraries through AIX4.2
   15121       # and later when we are not doing run time linking.
   15122       library_names_spec='${libname}${release}.a $libname.a'
   15123       soname_spec='${libname}${release}${shared_ext}$major'
   15124     fi
   15125     shlibpath_var=LIBPATH
   15126   fi
   15127   ;;
   15128 
   15129 amigaos*)
   15130   library_names_spec='$libname.ixlibrary $libname.a'
   15131   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15132   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'
   15133   ;;
   15134 
   15135 beos*)
   15136   library_names_spec='${libname}${shared_ext}'
   15137   dynamic_linker="$host_os ld.so"
   15138   shlibpath_var=LIBRARY_PATH
   15139   ;;
   15140 
   15141 bsdi[45]*)
   15142   version_type=linux
   15143   need_version=no
   15144   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15145   soname_spec='${libname}${release}${shared_ext}$major'
   15146   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15147   shlibpath_var=LD_LIBRARY_PATH
   15148   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15149   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15150   # the default ld.so.conf also contains /usr/contrib/lib and
   15151   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15152   # libtool to hard-code these into programs
   15153   ;;
   15154 
   15155 cygwin* | mingw* | pw32*)
   15156   version_type=windows
   15157   shrext_cmds=".dll"
   15158   need_version=no
   15159   need_lib_prefix=no
   15160 
   15161   case $GCC,$host_os in
   15162   yes,cygwin* | yes,mingw* | yes,pw32*)
   15163     library_names_spec='$libname.dll.a'
   15164     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15165     postinstall_cmds='base_file=`basename \${file}`~
   15166       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15167       dldir=$destdir/`dirname \$dlpath`~
   15168       test -d \$dldir || mkdir -p \$dldir~
   15169       $install_prog $dir/$dlname \$dldir/$dlname~
   15170       chmod a+x \$dldir/$dlname'
   15171     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15172       dlpath=$dir/\$dldll~
   15173        $rm \$dlpath'
   15174     shlibpath_overrides_runpath=yes
   15175 
   15176     case $host_os in
   15177     cygwin*)
   15178       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15179       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15180       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15181       ;;
   15182     mingw*)
   15183       # MinGW DLLs use traditional 'lib' prefix
   15184       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15185       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15186       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15187         # It is most probably a Windows format PATH printed by
   15188         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15189         # path with ; separators, and with drive letters. We can handle the
   15190         # drive letters (cygwin fileutils understands them), so leave them,
   15191         # especially as we might pass files found there to a mingw objdump,
   15192         # which wouldn't understand a cygwinified path. Ahh.
   15193         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15194       else
   15195         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15196       fi
   15197       ;;
   15198     pw32*)
   15199       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15200       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15201       ;;
   15202     esac
   15203     ;;
   15204 
   15205   *)
   15206     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15207     ;;
   15208   esac
   15209   dynamic_linker='Win32 ld.exe'
   15210   # FIXME: first we should search . and the directory the executable is in
   15211   shlibpath_var=PATH
   15212   ;;
   15213 
   15214 darwin* | rhapsody*)
   15215   dynamic_linker="$host_os dyld"
   15216   version_type=darwin
   15217   need_lib_prefix=no
   15218   need_version=no
   15219   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15220   soname_spec='${libname}${release}${major}$shared_ext'
   15221   shlibpath_overrides_runpath=yes
   15222   shlibpath_var=DYLD_LIBRARY_PATH
   15223   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15224   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   15225   if test "$GCC" = yes; then
   15226     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"`
   15227   else
   15228     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   15229   fi
   15230   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15231   ;;
   15232 
   15233 dgux*)
   15234   version_type=linux
   15235   need_lib_prefix=no
   15236   need_version=no
   15237   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15238   soname_spec='${libname}${release}${shared_ext}$major'
   15239   shlibpath_var=LD_LIBRARY_PATH
   15240   ;;
   15241 
   15242 freebsd1*)
   15243   dynamic_linker=no
   15244   ;;
   15245 
   15246 kfreebsd*-gnu)
   15247   version_type=linux
   15248   need_lib_prefix=no
   15249   need_version=no
   15250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15251   soname_spec='${libname}${release}${shared_ext}$major'
   15252   shlibpath_var=LD_LIBRARY_PATH
   15253   shlibpath_overrides_runpath=no
   15254   hardcode_into_libs=yes
   15255   dynamic_linker='GNU ld.so'
   15256   ;;
   15257 
   15258 freebsd* | dragonfly*)
   15259   # DragonFly does not have aout.  When/if they implement a new
   15260   # versioning mechanism, adjust this.
   15261   if test -x /usr/bin/objformat; then
   15262     objformat=`/usr/bin/objformat`
   15263   else
   15264     case $host_os in
   15265     freebsd[123]*) objformat=aout ;;
   15266     *) objformat=elf ;;
   15267     esac
   15268   fi
   15269   version_type=freebsd-$objformat
   15270   case $version_type in
   15271     freebsd-elf*)
   15272       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15273       need_version=no
   15274       need_lib_prefix=no
   15275       ;;
   15276     freebsd-*)
   15277       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15278       need_version=yes
   15279       ;;
   15280   esac
   15281   shlibpath_var=LD_LIBRARY_PATH
   15282   case $host_os in
   15283   freebsd2*)
   15284     shlibpath_overrides_runpath=yes
   15285     ;;
   15286   freebsd3.[01]* | freebsdelf3.[01]*)
   15287     shlibpath_overrides_runpath=yes
   15288     hardcode_into_libs=yes
   15289     ;;
   15290   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15291   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15292     shlibpath_overrides_runpath=no
   15293     hardcode_into_libs=yes
   15294     ;;
   15295   freebsd*) # from 4.6 on
   15296     shlibpath_overrides_runpath=yes
   15297     hardcode_into_libs=yes
   15298     ;;
   15299   esac
   15300   ;;
   15301 
   15302 gnu*)
   15303   version_type=linux
   15304   need_lib_prefix=no
   15305   need_version=no
   15306   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15307   soname_spec='${libname}${release}${shared_ext}$major'
   15308   shlibpath_var=LD_LIBRARY_PATH
   15309   hardcode_into_libs=yes
   15310   ;;
   15311 
   15312 hpux9* | hpux10* | hpux11*)
   15313   # Give a soname corresponding to the major version so that dld.sl refuses to
   15314   # link against other versions.
   15315   version_type=sunos
   15316   need_lib_prefix=no
   15317   need_version=no
   15318   case $host_cpu in
   15319   ia64*)
   15320     shrext_cmds='.so'
   15321     hardcode_into_libs=yes
   15322     dynamic_linker="$host_os dld.so"
   15323     shlibpath_var=LD_LIBRARY_PATH
   15324     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15325     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15326     soname_spec='${libname}${release}${shared_ext}$major'
   15327     if test "X$HPUX_IA64_MODE" = X32; then
   15328       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15329     else
   15330       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15331     fi
   15332     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15333     ;;
   15334    hppa*64*)
   15335      shrext_cmds='.sl'
   15336      hardcode_into_libs=yes
   15337      dynamic_linker="$host_os dld.sl"
   15338      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15339      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15343      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15344      ;;
   15345    *)
   15346     shrext_cmds='.sl'
   15347     dynamic_linker="$host_os dld.sl"
   15348     shlibpath_var=SHLIB_PATH
   15349     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15350     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15351     soname_spec='${libname}${release}${shared_ext}$major'
   15352     ;;
   15353   esac
   15354   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15355   postinstall_cmds='chmod 555 $lib'
   15356   ;;
   15357 
   15358 interix3*)
   15359   version_type=linux
   15360   need_lib_prefix=no
   15361   need_version=no
   15362   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15363   soname_spec='${libname}${release}${shared_ext}$major'
   15364   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15365   shlibpath_var=LD_LIBRARY_PATH
   15366   shlibpath_overrides_runpath=no
   15367   hardcode_into_libs=yes
   15368   ;;
   15369 
   15370 irix5* | irix6* | nonstopux*)
   15371   case $host_os in
   15372     nonstopux*) version_type=nonstopux ;;
   15373     *)
   15374 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15375 		version_type=linux
   15376 	else
   15377 		version_type=irix
   15378 	fi ;;
   15379   esac
   15380   need_lib_prefix=no
   15381   need_version=no
   15382   soname_spec='${libname}${release}${shared_ext}$major'
   15383   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15384   case $host_os in
   15385   irix5* | nonstopux*)
   15386     libsuff= shlibsuff=
   15387     ;;
   15388   *)
   15389     case $LD in # libtool.m4 will add one of these switches to LD
   15390     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15391       libsuff= shlibsuff= libmagic=32-bit;;
   15392     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15393       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15394     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15395       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15396     *) libsuff= shlibsuff= libmagic=never-match;;
   15397     esac
   15398     ;;
   15399   esac
   15400   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15401   shlibpath_overrides_runpath=no
   15402   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15403   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15404   hardcode_into_libs=yes
   15405   ;;
   15406 
   15407 # No shared lib support for Linux oldld, aout, or coff.
   15408 linux*oldld* | linux*aout* | linux*coff*)
   15409   dynamic_linker=no
   15410   ;;
   15411 
   15412 # This must be Linux ELF.
   15413 linux*)
   15414   version_type=linux
   15415   need_lib_prefix=no
   15416   need_version=no
   15417   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15418   soname_spec='${libname}${release}${shared_ext}$major'
   15419   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15420   shlibpath_var=LD_LIBRARY_PATH
   15421   shlibpath_overrides_runpath=no
   15422   # This implies no fast_install, which is unacceptable.
   15423   # Some rework will be needed to allow for fast_install
   15424   # before this can be enabled.
   15425   hardcode_into_libs=yes
   15426 
   15427   # Append ld.so.conf contents to the search path
   15428   if test -f /etc/ld.so.conf; then
   15429     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' ' '`
   15430     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15431   fi
   15432 
   15433   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15434   # powerpc, because MkLinux only supported shared libraries with the
   15435   # GNU dynamic linker.  Since this was broken with cross compilers,
   15436   # most powerpc-linux boxes support dynamic linking these days and
   15437   # people can always --disable-shared, the test was removed, and we
   15438   # assume the GNU/Linux dynamic linker is in use.
   15439   dynamic_linker='GNU/Linux ld.so'
   15440   ;;
   15441 
   15442 knetbsd*-gnu)
   15443   version_type=linux
   15444   need_lib_prefix=no
   15445   need_version=no
   15446   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15447   soname_spec='${libname}${release}${shared_ext}$major'
   15448   shlibpath_var=LD_LIBRARY_PATH
   15449   shlibpath_overrides_runpath=no
   15450   hardcode_into_libs=yes
   15451   dynamic_linker='GNU ld.so'
   15452   ;;
   15453 
   15454 netbsd*)
   15455   version_type=sunos
   15456   need_lib_prefix=no
   15457   need_version=no
   15458   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15459     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15460     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15461     dynamic_linker='NetBSD (a.out) ld.so'
   15462   else
   15463     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15464     soname_spec='${libname}${release}${shared_ext}$major'
   15465     dynamic_linker='NetBSD ld.elf_so'
   15466   fi
   15467   shlibpath_var=LD_LIBRARY_PATH
   15468   shlibpath_overrides_runpath=yes
   15469   hardcode_into_libs=yes
   15470   ;;
   15471 
   15472 newsos6)
   15473   version_type=linux
   15474   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15475   shlibpath_var=LD_LIBRARY_PATH
   15476   shlibpath_overrides_runpath=yes
   15477   ;;
   15478 
   15479 nto-qnx*)
   15480   version_type=linux
   15481   need_lib_prefix=no
   15482   need_version=no
   15483   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15484   soname_spec='${libname}${release}${shared_ext}$major'
   15485   shlibpath_var=LD_LIBRARY_PATH
   15486   shlibpath_overrides_runpath=yes
   15487   ;;
   15488 
   15489 openbsd*)
   15490   version_type=sunos
   15491   sys_lib_dlsearch_path_spec="/usr/lib"
   15492   need_lib_prefix=no
   15493   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15494   case $host_os in
   15495     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   15496     *)                         need_version=no  ;;
   15497   esac
   15498   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15499   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15500   shlibpath_var=LD_LIBRARY_PATH
   15501   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15502     case $host_os in
   15503       openbsd2.[89] | openbsd2.[89].*)
   15504 	shlibpath_overrides_runpath=no
   15505 	;;
   15506       *)
   15507 	shlibpath_overrides_runpath=yes
   15508 	;;
   15509       esac
   15510   else
   15511     shlibpath_overrides_runpath=yes
   15512   fi
   15513   ;;
   15514 
   15515 os2*)
   15516   libname_spec='$name'
   15517   shrext_cmds=".dll"
   15518   need_lib_prefix=no
   15519   library_names_spec='$libname${shared_ext} $libname.a'
   15520   dynamic_linker='OS/2 ld.exe'
   15521   shlibpath_var=LIBPATH
   15522   ;;
   15523 
   15524 osf3* | osf4* | osf5*)
   15525   version_type=osf
   15526   need_lib_prefix=no
   15527   need_version=no
   15528   soname_spec='${libname}${release}${shared_ext}$major'
   15529   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15530   shlibpath_var=LD_LIBRARY_PATH
   15531   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15532   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15533   ;;
   15534 
   15535 solaris*)
   15536   version_type=linux
   15537   need_lib_prefix=no
   15538   need_version=no
   15539   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15540   soname_spec='${libname}${release}${shared_ext}$major'
   15541   shlibpath_var=LD_LIBRARY_PATH
   15542   shlibpath_overrides_runpath=yes
   15543   hardcode_into_libs=yes
   15544   # ldd complains unless libraries are executable
   15545   postinstall_cmds='chmod +x $lib'
   15546   ;;
   15547 
   15548 sunos4*)
   15549   version_type=sunos
   15550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15551   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15552   shlibpath_var=LD_LIBRARY_PATH
   15553   shlibpath_overrides_runpath=yes
   15554   if test "$with_gnu_ld" = yes; then
   15555     need_lib_prefix=no
   15556   fi
   15557   need_version=yes
   15558   ;;
   15559 
   15560 sysv4 | sysv4.3*)
   15561   version_type=linux
   15562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15563   soname_spec='${libname}${release}${shared_ext}$major'
   15564   shlibpath_var=LD_LIBRARY_PATH
   15565   case $host_vendor in
   15566     sni)
   15567       shlibpath_overrides_runpath=no
   15568       need_lib_prefix=no
   15569       export_dynamic_flag_spec='${wl}-Blargedynsym'
   15570       runpath_var=LD_RUN_PATH
   15571       ;;
   15572     siemens)
   15573       need_lib_prefix=no
   15574       ;;
   15575     motorola)
   15576       need_lib_prefix=no
   15577       need_version=no
   15578       shlibpath_overrides_runpath=no
   15579       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15580       ;;
   15581   esac
   15582   ;;
   15583 
   15584 sysv4*MP*)
   15585   if test -d /usr/nec ;then
   15586     version_type=linux
   15587     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15588     soname_spec='$libname${shared_ext}.$major'
   15589     shlibpath_var=LD_LIBRARY_PATH
   15590   fi
   15591   ;;
   15592 
   15593 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15594   version_type=freebsd-elf
   15595   need_lib_prefix=no
   15596   need_version=no
   15597   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15598   soname_spec='${libname}${release}${shared_ext}$major'
   15599   shlibpath_var=LD_LIBRARY_PATH
   15600   hardcode_into_libs=yes
   15601   if test "$with_gnu_ld" = yes; then
   15602     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15603     shlibpath_overrides_runpath=no
   15604   else
   15605     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15606     shlibpath_overrides_runpath=yes
   15607     case $host_os in
   15608       sco3.2v5*)
   15609         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15610 	;;
   15611     esac
   15612   fi
   15613   sys_lib_dlsearch_path_spec='/usr/lib'
   15614   ;;
   15615 
   15616 uts4*)
   15617   version_type=linux
   15618   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15619   soname_spec='${libname}${release}${shared_ext}$major'
   15620   shlibpath_var=LD_LIBRARY_PATH
   15621   ;;
   15622 
   15623 *)
   15624   dynamic_linker=no
   15625   ;;
   15626 esac
   15627 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   15628 echo "${ECHO_T}$dynamic_linker" >&6; }
   15629 test "$dynamic_linker" = no && can_build_shared=no
   15630 
   15631 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15632 if test "$GCC" = yes; then
   15633   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15634 fi
   15635 
   15636 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   15637 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   15638 hardcode_action_F77=
   15639 if test -n "$hardcode_libdir_flag_spec_F77" || \
   15640    test -n "$runpath_var_F77" || \
   15641    test "X$hardcode_automatic_F77" = "Xyes" ; then
   15642 
   15643   # We can hardcode non-existant directories.
   15644   if test "$hardcode_direct_F77" != no &&
   15645      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15646      # have to relink, otherwise we might link with an installed library
   15647      # when we should be linking with a yet-to-be-installed one
   15648      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   15649      test "$hardcode_minus_L_F77" != no; then
   15650     # Linking always hardcodes the temporary library directory.
   15651     hardcode_action_F77=relink
   15652   else
   15653     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15654     hardcode_action_F77=immediate
   15655   fi
   15656 else
   15657   # We cannot hardcode anything, or else we can only hardcode existing
   15658   # directories.
   15659   hardcode_action_F77=unsupported
   15660 fi
   15661 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   15662 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   15663 
   15664 if test "$hardcode_action_F77" = relink; then
   15665   # Fast installation is not supported
   15666   enable_fast_install=no
   15667 elif test "$shlibpath_overrides_runpath" = yes ||
   15668      test "$enable_shared" = no; then
   15669   # Fast installation is not necessary
   15670   enable_fast_install=needless
   15671 fi
   15672 
   15673 
   15674 # The else clause should only fire when bootstrapping the
   15675 # libtool distribution, otherwise you forgot to ship ltmain.sh
   15676 # with your package, and you will get complaints that there are
   15677 # no rules to generate ltmain.sh.
   15678 if test -f "$ltmain"; then
   15679   # See if we are running on zsh, and set the options which allow our commands through
   15680   # without removal of \ escapes.
   15681   if test -n "${ZSH_VERSION+set}" ; then
   15682     setopt NO_GLOB_SUBST
   15683   fi
   15684   # Now quote all the things that may contain metacharacters while being
   15685   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   15686   # variables and quote the copies for generation of the libtool script.
   15687   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   15688     SED SHELL STRIP \
   15689     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   15690     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   15691     deplibs_check_method reload_flag reload_cmds need_locks \
   15692     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   15693     lt_cv_sys_global_symbol_to_c_name_address \
   15694     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   15695     old_postinstall_cmds old_postuninstall_cmds \
   15696     compiler_F77 \
   15697     CC_F77 \
   15698     LD_F77 \
   15699     lt_prog_compiler_wl_F77 \
   15700     lt_prog_compiler_pic_F77 \
   15701     lt_prog_compiler_static_F77 \
   15702     lt_prog_compiler_no_builtin_flag_F77 \
   15703     export_dynamic_flag_spec_F77 \
   15704     thread_safe_flag_spec_F77 \
   15705     whole_archive_flag_spec_F77 \
   15706     enable_shared_with_static_runtimes_F77 \
   15707     old_archive_cmds_F77 \
   15708     old_archive_from_new_cmds_F77 \
   15709     predep_objects_F77 \
   15710     postdep_objects_F77 \
   15711     predeps_F77 \
   15712     postdeps_F77 \
   15713     compiler_lib_search_path_F77 \
   15714     archive_cmds_F77 \
   15715     archive_expsym_cmds_F77 \
   15716     postinstall_cmds_F77 \
   15717     postuninstall_cmds_F77 \
   15718     old_archive_from_expsyms_cmds_F77 \
   15719     allow_undefined_flag_F77 \
   15720     no_undefined_flag_F77 \
   15721     export_symbols_cmds_F77 \
   15722     hardcode_libdir_flag_spec_F77 \
   15723     hardcode_libdir_flag_spec_ld_F77 \
   15724     hardcode_libdir_separator_F77 \
   15725     hardcode_automatic_F77 \
   15726     module_cmds_F77 \
   15727     module_expsym_cmds_F77 \
   15728     lt_cv_prog_compiler_c_o_F77 \
   15729     exclude_expsyms_F77 \
   15730     include_expsyms_F77; do
   15731 
   15732     case $var in
   15733     old_archive_cmds_F77 | \
   15734     old_archive_from_new_cmds_F77 | \
   15735     archive_cmds_F77 | \
   15736     archive_expsym_cmds_F77 | \
   15737     module_cmds_F77 | \
   15738     module_expsym_cmds_F77 | \
   15739     old_archive_from_expsyms_cmds_F77 | \
   15740     export_symbols_cmds_F77 | \
   15741     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   15742     postinstall_cmds | postuninstall_cmds | \
   15743     old_postinstall_cmds | old_postuninstall_cmds | \
   15744     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   15745       # Double-quote double-evaled strings.
   15746       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   15747       ;;
   15748     *)
   15749       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   15750       ;;
   15751     esac
   15752   done
   15753 
   15754   case $lt_echo in
   15755   *'\$0 --fallback-echo"')
   15756     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   15757     ;;
   15758   esac
   15759 
   15760 cfgfile="$ofile"
   15761 
   15762   cat <<__EOF__ >> "$cfgfile"
   15763 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   15764 
   15765 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15766 
   15767 # Shell to use when invoking shell scripts.
   15768 SHELL=$lt_SHELL
   15769 
   15770 # Whether or not to build shared libraries.
   15771 build_libtool_libs=$enable_shared
   15772 
   15773 # Whether or not to build static libraries.
   15774 build_old_libs=$enable_static
   15775 
   15776 # Whether or not to add -lc for building shared libraries.
   15777 build_libtool_need_lc=$archive_cmds_need_lc_F77
   15778 
   15779 # Whether or not to disallow shared libs when runtime libs are static
   15780 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   15781 
   15782 # Whether or not to optimize for fast installation.
   15783 fast_install=$enable_fast_install
   15784 
   15785 # The host system.
   15786 host_alias=$host_alias
   15787 host=$host
   15788 host_os=$host_os
   15789 
   15790 # The build system.
   15791 build_alias=$build_alias
   15792 build=$build
   15793 build_os=$build_os
   15794 
   15795 # An echo program that does not interpret backslashes.
   15796 echo=$lt_echo
   15797 
   15798 # The archiver.
   15799 AR=$lt_AR
   15800 AR_FLAGS=$lt_AR_FLAGS
   15801 
   15802 # A C compiler.
   15803 LTCC=$lt_LTCC
   15804 
   15805 # LTCC compiler flags.
   15806 LTCFLAGS=$lt_LTCFLAGS
   15807 
   15808 # A language-specific compiler.
   15809 CC=$lt_compiler_F77
   15810 
   15811 # Is the compiler the GNU C compiler?
   15812 with_gcc=$GCC_F77
   15813 
   15814 # An ERE matcher.
   15815 EGREP=$lt_EGREP
   15816 
   15817 # The linker used to build libraries.
   15818 LD=$lt_LD_F77
   15819 
   15820 # Whether we need hard or soft links.
   15821 LN_S=$lt_LN_S
   15822 
   15823 # A BSD-compatible nm program.
   15824 NM=$lt_NM
   15825 
   15826 # A symbol stripping program
   15827 STRIP=$lt_STRIP
   15828 
   15829 # Used to examine libraries when file_magic_cmd begins "file"
   15830 MAGIC_CMD=$MAGIC_CMD
   15831 
   15832 # Used on cygwin: DLL creation program.
   15833 DLLTOOL="$DLLTOOL"
   15834 
   15835 # Used on cygwin: object dumper.
   15836 OBJDUMP="$OBJDUMP"
   15837 
   15838 # Used on cygwin: assembler.
   15839 AS="$AS"
   15840 
   15841 # The name of the directory that contains temporary libtool files.
   15842 objdir=$objdir
   15843 
   15844 # How to create reloadable object files.
   15845 reload_flag=$lt_reload_flag
   15846 reload_cmds=$lt_reload_cmds
   15847 
   15848 # How to pass a linker flag through the compiler.
   15849 wl=$lt_lt_prog_compiler_wl_F77
   15850 
   15851 # Object file suffix (normally "o").
   15852 objext="$ac_objext"
   15853 
   15854 # Old archive suffix (normally "a").
   15855 libext="$libext"
   15856 
   15857 # Shared library suffix (normally ".so").
   15858 shrext_cmds='$shrext_cmds'
   15859 
   15860 # Executable file suffix (normally "").
   15861 exeext="$exeext"
   15862 
   15863 # Additional compiler flags for building library objects.
   15864 pic_flag=$lt_lt_prog_compiler_pic_F77
   15865 pic_mode=$pic_mode
   15866 
   15867 # What is the maximum length of a command?
   15868 max_cmd_len=$lt_cv_sys_max_cmd_len
   15869 
   15870 # Does compiler simultaneously support -c and -o options?
   15871 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   15872 
   15873 # Must we lock files when doing compilation?
   15874 need_locks=$lt_need_locks
   15875 
   15876 # Do we need the lib prefix for modules?
   15877 need_lib_prefix=$need_lib_prefix
   15878 
   15879 # Do we need a version for libraries?
   15880 need_version=$need_version
   15881 
   15882 # Whether dlopen is supported.
   15883 dlopen_support=$enable_dlopen
   15884 
   15885 # Whether dlopen of programs is supported.
   15886 dlopen_self=$enable_dlopen_self
   15887 
   15888 # Whether dlopen of statically linked programs is supported.
   15889 dlopen_self_static=$enable_dlopen_self_static
   15890 
   15891 # Compiler flag to prevent dynamic linking.
   15892 link_static_flag=$lt_lt_prog_compiler_static_F77
   15893 
   15894 # Compiler flag to turn off builtin functions.
   15895 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   15896 
   15897 # Compiler flag to allow reflexive dlopens.
   15898 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   15899 
   15900 # Compiler flag to generate shared objects directly from archives.
   15901 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   15902 
   15903 # Compiler flag to generate thread-safe objects.
   15904 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   15905 
   15906 # Library versioning type.
   15907 version_type=$version_type
   15908 
   15909 # Format of library name prefix.
   15910 libname_spec=$lt_libname_spec
   15911 
   15912 # List of archive names.  First name is the real one, the rest are links.
   15913 # The last name is the one that the linker finds with -lNAME.
   15914 library_names_spec=$lt_library_names_spec
   15915 
   15916 # The coded name of the library, if different from the real name.
   15917 soname_spec=$lt_soname_spec
   15918 
   15919 # Commands used to build and install an old-style archive.
   15920 RANLIB=$lt_RANLIB
   15921 old_archive_cmds=$lt_old_archive_cmds_F77
   15922 old_postinstall_cmds=$lt_old_postinstall_cmds
   15923 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15924 
   15925 # Create an old-style archive from a shared archive.
   15926 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   15927 
   15928 # Create a temporary old-style archive to link instead of a shared archive.
   15929 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   15930 
   15931 # Commands used to build and install a shared archive.
   15932 archive_cmds=$lt_archive_cmds_F77
   15933 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   15934 postinstall_cmds=$lt_postinstall_cmds
   15935 postuninstall_cmds=$lt_postuninstall_cmds
   15936 
   15937 # Commands used to build a loadable module (assumed same as above if empty)
   15938 module_cmds=$lt_module_cmds_F77
   15939 module_expsym_cmds=$lt_module_expsym_cmds_F77
   15940 
   15941 # Commands to strip libraries.
   15942 old_striplib=$lt_old_striplib
   15943 striplib=$lt_striplib
   15944 
   15945 # Dependencies to place before the objects being linked to create a
   15946 # shared library.
   15947 predep_objects=$lt_predep_objects_F77
   15948 
   15949 # Dependencies to place after the objects being linked to create a
   15950 # shared library.
   15951 postdep_objects=$lt_postdep_objects_F77
   15952 
   15953 # Dependencies to place before the objects being linked to create a
   15954 # shared library.
   15955 predeps=$lt_predeps_F77
   15956 
   15957 # Dependencies to place after the objects being linked to create a
   15958 # shared library.
   15959 postdeps=$lt_postdeps_F77
   15960 
   15961 # The library search path used internally by the compiler when linking
   15962 # a shared library.
   15963 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   15964 
   15965 # Method to check whether dependent libraries are shared objects.
   15966 deplibs_check_method=$lt_deplibs_check_method
   15967 
   15968 # Command to use when deplibs_check_method == file_magic.
   15969 file_magic_cmd=$lt_file_magic_cmd
   15970 
   15971 # Flag that allows shared libraries with undefined symbols to be built.
   15972 allow_undefined_flag=$lt_allow_undefined_flag_F77
   15973 
   15974 # Flag that forces no undefined symbols.
   15975 no_undefined_flag=$lt_no_undefined_flag_F77
   15976 
   15977 # Commands used to finish a libtool library installation in a directory.
   15978 finish_cmds=$lt_finish_cmds
   15979 
   15980 # Same as above, but a single script fragment to be evaled but not shown.
   15981 finish_eval=$lt_finish_eval
   15982 
   15983 # Take the output of nm and produce a listing of raw symbols and C names.
   15984 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15985 
   15986 # Transform the output of nm in a proper C declaration
   15987 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15988 
   15989 # Transform the output of nm in a C name address pair
   15990 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15991 
   15992 # This is the shared library runtime path variable.
   15993 runpath_var=$runpath_var
   15994 
   15995 # This is the shared library path variable.
   15996 shlibpath_var=$shlibpath_var
   15997 
   15998 # Is shlibpath searched before the hard-coded library search path?
   15999 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16000 
   16001 # How to hardcode a shared library path into an executable.
   16002 hardcode_action=$hardcode_action_F77
   16003 
   16004 # Whether we should hardcode library paths into libraries.
   16005 hardcode_into_libs=$hardcode_into_libs
   16006 
   16007 # Flag to hardcode \$libdir into a binary during linking.
   16008 # This must work even if \$libdir does not exist.
   16009 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16010 
   16011 # If ld is used when linking, flag to hardcode \$libdir into
   16012 # a binary during linking. This must work even if \$libdir does
   16013 # not exist.
   16014 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16015 
   16016 # Whether we need a single -rpath flag with a separated argument.
   16017 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16018 
   16019 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16020 # resulting binary.
   16021 hardcode_direct=$hardcode_direct_F77
   16022 
   16023 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16024 # resulting binary.
   16025 hardcode_minus_L=$hardcode_minus_L_F77
   16026 
   16027 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16028 # the resulting binary.
   16029 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16030 
   16031 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16032 # and all subsequent libraries and executables linked against it.
   16033 hardcode_automatic=$hardcode_automatic_F77
   16034 
   16035 # Variables whose values should be saved in libtool wrapper scripts and
   16036 # restored at relink time.
   16037 variables_saved_for_relink="$variables_saved_for_relink"
   16038 
   16039 # Whether libtool must link a program against all its dependency libraries.
   16040 link_all_deplibs=$link_all_deplibs_F77
   16041 
   16042 # Compile-time system search path for libraries
   16043 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16044 
   16045 # Run-time system search path for libraries
   16046 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16047 
   16048 # Fix the shell variable \$srcfile for the compiler.
   16049 fix_srcfile_path="$fix_srcfile_path_F77"
   16050 
   16051 # Set to yes if exported symbols are required.
   16052 always_export_symbols=$always_export_symbols_F77
   16053 
   16054 # The commands to list exported symbols.
   16055 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16056 
   16057 # The commands to extract the exported symbol list from a shared archive.
   16058 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16059 
   16060 # Symbols that should not be listed in the preloaded symbols.
   16061 exclude_expsyms=$lt_exclude_expsyms_F77
   16062 
   16063 # Symbols that must always be exported.
   16064 include_expsyms=$lt_include_expsyms_F77
   16065 
   16066 # ### END LIBTOOL TAG CONFIG: $tagname
   16067 
   16068 __EOF__
   16069 
   16070 
   16071 else
   16072   # If there is no Makefile yet, we rely on a make rule to execute
   16073   # `config.status --recheck' to rerun these tests and create the
   16074   # libtool script then.
   16075   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16076   if test -f "$ltmain_in"; then
   16077     test -f Makefile && make "$ltmain"
   16078   fi
   16079 fi
   16080 
   16081 
   16082 ac_ext=c
   16083 ac_cpp='$CPP $CPPFLAGS'
   16084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16087 
   16088 CC="$lt_save_CC"
   16089 
   16090 	else
   16091 	  tagname=""
   16092 	fi
   16093 	;;
   16094 
   16095       GCJ)
   16096 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16097 
   16098 
   16099 # Source file extension for Java test sources.
   16100 ac_ext=java
   16101 
   16102 # Object file extension for compiled Java test sources.
   16103 objext=o
   16104 objext_GCJ=$objext
   16105 
   16106 # Code to be used in simple compile tests
   16107 lt_simple_compile_test_code="class foo {}\n"
   16108 
   16109 # Code to be used in simple link tests
   16110 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   16111 
   16112 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16113 
   16114 # If no C compiler was specified, use CC.
   16115 LTCC=${LTCC-"$CC"}
   16116 
   16117 # If no C compiler flags were specified, use CFLAGS.
   16118 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16119 
   16120 # Allow CC to be a program name with arguments.
   16121 compiler=$CC
   16122 
   16123 
   16124 # save warnings/boilerplate of simple test code
   16125 ac_outfile=conftest.$ac_objext
   16126 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   16127 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16128 _lt_compiler_boilerplate=`cat conftest.err`
   16129 $rm conftest*
   16130 
   16131 ac_outfile=conftest.$ac_objext
   16132 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   16133 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16134 _lt_linker_boilerplate=`cat conftest.err`
   16135 $rm conftest*
   16136 
   16137 
   16138 # Allow CC to be a program name with arguments.
   16139 lt_save_CC="$CC"
   16140 CC=${GCJ-"gcj"}
   16141 compiler=$CC
   16142 compiler_GCJ=$CC
   16143 for cc_temp in $compiler""; do
   16144   case $cc_temp in
   16145     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16146     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16147     \-*) ;;
   16148     *) break;;
   16149   esac
   16150 done
   16151 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16152 
   16153 
   16154 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16155 archive_cmds_need_lc_GCJ=no
   16156 
   16157 old_archive_cmds_GCJ=$old_archive_cmds
   16158 
   16159 
   16160 lt_prog_compiler_no_builtin_flag_GCJ=
   16161 
   16162 if test "$GCC" = yes; then
   16163   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16164 
   16165 
   16166 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16167 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16168 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16169   echo $ECHO_N "(cached) $ECHO_C" >&6
   16170 else
   16171   lt_cv_prog_compiler_rtti_exceptions=no
   16172   ac_outfile=conftest.$ac_objext
   16173    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16174    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16175    # Insert the option either (1) after the last *FLAGS variable, or
   16176    # (2) before a word containing "conftest.", or (3) at the end.
   16177    # Note that $ac_compile itself does not contain backslashes and begins
   16178    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16179    # The option is referenced via a variable to avoid confusing sed.
   16180    lt_compile=`echo "$ac_compile" | $SED \
   16181    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16182    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16183    -e 's:$: $lt_compiler_flag:'`
   16184    (eval echo "\"\$as_me:16184: $lt_compile\"" >&5)
   16185    (eval "$lt_compile" 2>conftest.err)
   16186    ac_status=$?
   16187    cat conftest.err >&5
   16188    echo "$as_me:16188: \$? = $ac_status" >&5
   16189    if (exit $ac_status) && test -s "$ac_outfile"; then
   16190      # The compiler can only warn and ignore the option if not recognized
   16191      # So say no if there are warnings other than the usual output.
   16192      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16193      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16194      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16195        lt_cv_prog_compiler_rtti_exceptions=yes
   16196      fi
   16197    fi
   16198    $rm conftest*
   16199 
   16200 fi
   16201 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16202 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16203 
   16204 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16205     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16206 else
   16207     :
   16208 fi
   16209 
   16210 fi
   16211 
   16212 lt_prog_compiler_wl_GCJ=
   16213 lt_prog_compiler_pic_GCJ=
   16214 lt_prog_compiler_static_GCJ=
   16215 
   16216 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16217 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16218 
   16219   if test "$GCC" = yes; then
   16220     lt_prog_compiler_wl_GCJ='-Wl,'
   16221     lt_prog_compiler_static_GCJ='-static'
   16222 
   16223     case $host_os in
   16224       aix*)
   16225       # All AIX code is PIC.
   16226       if test "$host_cpu" = ia64; then
   16227 	# AIX 5 now supports IA64 processor
   16228 	lt_prog_compiler_static_GCJ='-Bstatic'
   16229       fi
   16230       ;;
   16231 
   16232     amigaos*)
   16233       # FIXME: we need at least 68020 code to build shared libraries, but
   16234       # adding the `-m68020' flag to GCC prevents building anything better,
   16235       # like `-m68040'.
   16236       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16237       ;;
   16238 
   16239     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16240       # PIC is the default for these OSes.
   16241       ;;
   16242 
   16243     mingw* | pw32* | os2*)
   16244       # This hack is so that the source file can tell whether it is being
   16245       # built for inclusion in a dll (and should export symbols for example).
   16246       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16247       ;;
   16248 
   16249     darwin* | rhapsody*)
   16250       # PIC is the default on this platform
   16251       # Common symbols not allowed in MH_DYLIB files
   16252       lt_prog_compiler_pic_GCJ='-fno-common'
   16253       ;;
   16254 
   16255     interix3*)
   16256       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16257       # Instead, we relocate shared libraries at runtime.
   16258       ;;
   16259 
   16260     msdosdjgpp*)
   16261       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16262       # on systems that don't support them.
   16263       lt_prog_compiler_can_build_shared_GCJ=no
   16264       enable_shared=no
   16265       ;;
   16266 
   16267     sysv4*MP*)
   16268       if test -d /usr/nec; then
   16269 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16270       fi
   16271       ;;
   16272 
   16273     hpux*)
   16274       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16275       # not for PA HP-UX.
   16276       case $host_cpu in
   16277       hppa*64*|ia64*)
   16278 	# +Z the default
   16279 	;;
   16280       *)
   16281 	lt_prog_compiler_pic_GCJ='-fPIC'
   16282 	;;
   16283       esac
   16284       ;;
   16285 
   16286     *)
   16287       lt_prog_compiler_pic_GCJ='-fPIC'
   16288       ;;
   16289     esac
   16290   else
   16291     # PORTME Check for flag to pass linker flags through the system compiler.
   16292     case $host_os in
   16293     aix*)
   16294       lt_prog_compiler_wl_GCJ='-Wl,'
   16295       if test "$host_cpu" = ia64; then
   16296 	# AIX 5 now supports IA64 processor
   16297 	lt_prog_compiler_static_GCJ='-Bstatic'
   16298       else
   16299 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16300       fi
   16301       ;;
   16302       darwin*)
   16303         # PIC is the default on this platform
   16304         # Common symbols not allowed in MH_DYLIB files
   16305        case $cc_basename in
   16306          xlc*)
   16307          lt_prog_compiler_pic_GCJ='-qnocommon'
   16308          lt_prog_compiler_wl_GCJ='-Wl,'
   16309          ;;
   16310        esac
   16311        ;;
   16312 
   16313     mingw* | pw32* | os2*)
   16314       # This hack is so that the source file can tell whether it is being
   16315       # built for inclusion in a dll (and should export symbols for example).
   16316       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16317       ;;
   16318 
   16319     hpux9* | hpux10* | hpux11*)
   16320       lt_prog_compiler_wl_GCJ='-Wl,'
   16321       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16322       # not for PA HP-UX.
   16323       case $host_cpu in
   16324       hppa*64*|ia64*)
   16325 	# +Z the default
   16326 	;;
   16327       *)
   16328 	lt_prog_compiler_pic_GCJ='+Z'
   16329 	;;
   16330       esac
   16331       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16332       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16333       ;;
   16334 
   16335     irix5* | irix6* | nonstopux*)
   16336       lt_prog_compiler_wl_GCJ='-Wl,'
   16337       # PIC (with -KPIC) is the default.
   16338       lt_prog_compiler_static_GCJ='-non_shared'
   16339       ;;
   16340 
   16341     newsos6)
   16342       lt_prog_compiler_pic_GCJ='-KPIC'
   16343       lt_prog_compiler_static_GCJ='-Bstatic'
   16344       ;;
   16345 
   16346     linux*)
   16347       case $cc_basename in
   16348       icc* | ecc*)
   16349 	lt_prog_compiler_wl_GCJ='-Wl,'
   16350 	lt_prog_compiler_pic_GCJ='-KPIC'
   16351 	lt_prog_compiler_static_GCJ='-static'
   16352         ;;
   16353       pgcc* | pgf77* | pgf90* | pgf95*)
   16354         # Portland Group compilers (*not* the Pentium gcc compiler,
   16355 	# which looks to be a dead project)
   16356 	lt_prog_compiler_wl_GCJ='-Wl,'
   16357 	lt_prog_compiler_pic_GCJ='-fpic'
   16358 	lt_prog_compiler_static_GCJ='-Bstatic'
   16359         ;;
   16360       ccc*)
   16361         lt_prog_compiler_wl_GCJ='-Wl,'
   16362         # All Alpha code is PIC.
   16363         lt_prog_compiler_static_GCJ='-non_shared'
   16364         ;;
   16365       esac
   16366       ;;
   16367 
   16368     osf3* | osf4* | osf5*)
   16369       lt_prog_compiler_wl_GCJ='-Wl,'
   16370       # All OSF/1 code is PIC.
   16371       lt_prog_compiler_static_GCJ='-non_shared'
   16372       ;;
   16373 
   16374     solaris*)
   16375       lt_prog_compiler_pic_GCJ='-KPIC'
   16376       lt_prog_compiler_static_GCJ='-Bstatic'
   16377       case $cc_basename in
   16378       f77* | f90* | f95*)
   16379 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16380       *)
   16381 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16382       esac
   16383       ;;
   16384 
   16385     sunos4*)
   16386       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16387       lt_prog_compiler_pic_GCJ='-PIC'
   16388       lt_prog_compiler_static_GCJ='-Bstatic'
   16389       ;;
   16390 
   16391     sysv4 | sysv4.2uw2* | sysv4.3*)
   16392       lt_prog_compiler_wl_GCJ='-Wl,'
   16393       lt_prog_compiler_pic_GCJ='-KPIC'
   16394       lt_prog_compiler_static_GCJ='-Bstatic'
   16395       ;;
   16396 
   16397     sysv4*MP*)
   16398       if test -d /usr/nec ;then
   16399 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   16400 	lt_prog_compiler_static_GCJ='-Bstatic'
   16401       fi
   16402       ;;
   16403 
   16404     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16405       lt_prog_compiler_wl_GCJ='-Wl,'
   16406       lt_prog_compiler_pic_GCJ='-KPIC'
   16407       lt_prog_compiler_static_GCJ='-Bstatic'
   16408       ;;
   16409 
   16410     unicos*)
   16411       lt_prog_compiler_wl_GCJ='-Wl,'
   16412       lt_prog_compiler_can_build_shared_GCJ=no
   16413       ;;
   16414 
   16415     uts4*)
   16416       lt_prog_compiler_pic_GCJ='-pic'
   16417       lt_prog_compiler_static_GCJ='-Bstatic'
   16418       ;;
   16419 
   16420     *)
   16421       lt_prog_compiler_can_build_shared_GCJ=no
   16422       ;;
   16423     esac
   16424   fi
   16425 
   16426 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   16427 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   16428 
   16429 #
   16430 # Check to make sure the PIC flag actually works.
   16431 #
   16432 if test -n "$lt_prog_compiler_pic_GCJ"; then
   16433 
   16434 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   16435 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   16436 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   16437   echo $ECHO_N "(cached) $ECHO_C" >&6
   16438 else
   16439   lt_prog_compiler_pic_works_GCJ=no
   16440   ac_outfile=conftest.$ac_objext
   16441    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16442    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   16443    # Insert the option either (1) after the last *FLAGS variable, or
   16444    # (2) before a word containing "conftest.", or (3) at the end.
   16445    # Note that $ac_compile itself does not contain backslashes and begins
   16446    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16447    # The option is referenced via a variable to avoid confusing sed.
   16448    lt_compile=`echo "$ac_compile" | $SED \
   16449    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16450    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16451    -e 's:$: $lt_compiler_flag:'`
   16452    (eval echo "\"\$as_me:16452: $lt_compile\"" >&5)
   16453    (eval "$lt_compile" 2>conftest.err)
   16454    ac_status=$?
   16455    cat conftest.err >&5
   16456    echo "$as_me:16456: \$? = $ac_status" >&5
   16457    if (exit $ac_status) && test -s "$ac_outfile"; then
   16458      # The compiler can only warn and ignore the option if not recognized
   16459      # So say no if there are warnings other than the usual output.
   16460      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16461      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16462      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16463        lt_prog_compiler_pic_works_GCJ=yes
   16464      fi
   16465    fi
   16466    $rm conftest*
   16467 
   16468 fi
   16469 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   16470 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   16471 
   16472 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   16473     case $lt_prog_compiler_pic_GCJ in
   16474      "" | " "*) ;;
   16475      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   16476      esac
   16477 else
   16478     lt_prog_compiler_pic_GCJ=
   16479      lt_prog_compiler_can_build_shared_GCJ=no
   16480 fi
   16481 
   16482 fi
   16483 case $host_os in
   16484   # For platforms which do not support PIC, -DPIC is meaningless:
   16485   *djgpp*)
   16486     lt_prog_compiler_pic_GCJ=
   16487     ;;
   16488   *)
   16489     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   16490     ;;
   16491 esac
   16492 
   16493 #
   16494 # Check to make sure the static flag actually works.
   16495 #
   16496 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   16497 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16498 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   16499 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   16500   echo $ECHO_N "(cached) $ECHO_C" >&6
   16501 else
   16502   lt_prog_compiler_static_works_GCJ=no
   16503    save_LDFLAGS="$LDFLAGS"
   16504    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16505    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   16506    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16507      # The linker can only warn and ignore the option if not recognized
   16508      # So say no if there are warnings
   16509      if test -s conftest.err; then
   16510        # Append any errors to the config.log.
   16511        cat conftest.err 1>&5
   16512        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   16513        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16514        if diff conftest.exp conftest.er2 >/dev/null; then
   16515          lt_prog_compiler_static_works_GCJ=yes
   16516        fi
   16517      else
   16518        lt_prog_compiler_static_works_GCJ=yes
   16519      fi
   16520    fi
   16521    $rm conftest*
   16522    LDFLAGS="$save_LDFLAGS"
   16523 
   16524 fi
   16525 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   16526 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   16527 
   16528 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   16529     :
   16530 else
   16531     lt_prog_compiler_static_GCJ=
   16532 fi
   16533 
   16534 
   16535 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   16536 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   16537 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   16538   echo $ECHO_N "(cached) $ECHO_C" >&6
   16539 else
   16540   lt_cv_prog_compiler_c_o_GCJ=no
   16541    $rm -r conftest 2>/dev/null
   16542    mkdir conftest
   16543    cd conftest
   16544    mkdir out
   16545    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16546 
   16547    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16548    # Insert the option either (1) after the last *FLAGS variable, or
   16549    # (2) before a word containing "conftest.", or (3) at the end.
   16550    # Note that $ac_compile itself does not contain backslashes and begins
   16551    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16552    lt_compile=`echo "$ac_compile" | $SED \
   16553    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16554    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16555    -e 's:$: $lt_compiler_flag:'`
   16556    (eval echo "\"\$as_me:16556: $lt_compile\"" >&5)
   16557    (eval "$lt_compile" 2>out/conftest.err)
   16558    ac_status=$?
   16559    cat out/conftest.err >&5
   16560    echo "$as_me:16560: \$? = $ac_status" >&5
   16561    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16562    then
   16563      # The compiler can only warn and ignore the option if not recognized
   16564      # So say no if there are warnings
   16565      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   16566      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16567      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16568        lt_cv_prog_compiler_c_o_GCJ=yes
   16569      fi
   16570    fi
   16571    chmod u+w . 2>&5
   16572    $rm conftest*
   16573    # SGI C++ compiler will create directory out/ii_files/ for
   16574    # template instantiation
   16575    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   16576    $rm out/* && rmdir out
   16577    cd ..
   16578    rmdir conftest
   16579    $rm conftest*
   16580 
   16581 fi
   16582 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   16583 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   16584 
   16585 
   16586 hard_links="nottested"
   16587 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   16588   # do not overwrite the value of need_locks provided by the user
   16589   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   16590 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   16591   hard_links=yes
   16592   $rm conftest*
   16593   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16594   touch conftest.a
   16595   ln conftest.a conftest.b 2>&5 || hard_links=no
   16596   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16597   { echo "$as_me:$LINENO: result: $hard_links" >&5
   16598 echo "${ECHO_T}$hard_links" >&6; }
   16599   if test "$hard_links" = no; then
   16600     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   16601 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   16602     need_locks=warn
   16603   fi
   16604 else
   16605   need_locks=no
   16606 fi
   16607 
   16608 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16609 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   16610 
   16611   runpath_var=
   16612   allow_undefined_flag_GCJ=
   16613   enable_shared_with_static_runtimes_GCJ=no
   16614   archive_cmds_GCJ=
   16615   archive_expsym_cmds_GCJ=
   16616   old_archive_From_new_cmds_GCJ=
   16617   old_archive_from_expsyms_cmds_GCJ=
   16618   export_dynamic_flag_spec_GCJ=
   16619   whole_archive_flag_spec_GCJ=
   16620   thread_safe_flag_spec_GCJ=
   16621   hardcode_libdir_flag_spec_GCJ=
   16622   hardcode_libdir_flag_spec_ld_GCJ=
   16623   hardcode_libdir_separator_GCJ=
   16624   hardcode_direct_GCJ=no
   16625   hardcode_minus_L_GCJ=no
   16626   hardcode_shlibpath_var_GCJ=unsupported
   16627   link_all_deplibs_GCJ=unknown
   16628   hardcode_automatic_GCJ=no
   16629   module_cmds_GCJ=
   16630   module_expsym_cmds_GCJ=
   16631   always_export_symbols_GCJ=no
   16632   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16633   # include_expsyms should be a list of space-separated symbols to be *always*
   16634   # included in the symbol list
   16635   include_expsyms_GCJ=
   16636   # exclude_expsyms can be an extended regexp of symbols to exclude
   16637   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   16638   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   16639   # as well as any symbol that contains `d'.
   16640   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   16641   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16642   # platforms (ab)use it in PIC code, but their linkers get confused if
   16643   # the symbol is explicitly referenced.  Since portable code cannot
   16644   # rely on this symbol name, it's probably fine to never include it in
   16645   # preloaded symbol tables.
   16646   extract_expsyms_cmds=
   16647   # Just being paranoid about ensuring that cc_basename is set.
   16648   for cc_temp in $compiler""; do
   16649   case $cc_temp in
   16650     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16651     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16652     \-*) ;;
   16653     *) break;;
   16654   esac
   16655 done
   16656 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16657 
   16658   case $host_os in
   16659   cygwin* | mingw* | pw32*)
   16660     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16661     # When not using gcc, we currently assume that we are using
   16662     # Microsoft Visual C++.
   16663     if test "$GCC" != yes; then
   16664       with_gnu_ld=no
   16665     fi
   16666     ;;
   16667   interix*)
   16668     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16669     with_gnu_ld=yes
   16670     ;;
   16671   openbsd*)
   16672     with_gnu_ld=no
   16673     ;;
   16674   esac
   16675 
   16676   ld_shlibs_GCJ=yes
   16677   if test "$with_gnu_ld" = yes; then
   16678     # If archive_cmds runs LD, not CC, wlarc should be empty
   16679     wlarc='${wl}'
   16680 
   16681     # Set some defaults for GNU ld with shared library support. These
   16682     # are reset later if shared libraries are not supported. Putting them
   16683     # here allows them to be overridden if necessary.
   16684     runpath_var=LD_RUN_PATH
   16685     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   16686     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   16687     # ancient GNU ld didn't support --whole-archive et. al.
   16688     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   16689 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   16690       else
   16691   	whole_archive_flag_spec_GCJ=
   16692     fi
   16693     supports_anon_versioning=no
   16694     case `$LD -v 2>/dev/null` in
   16695       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16696       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16697       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16698       *\ 2.11.*) ;; # other 2.11 versions
   16699       *) supports_anon_versioning=yes ;;
   16700     esac
   16701 
   16702     # See if GNU ld supports shared libraries.
   16703     case $host_os in
   16704     aix3* | aix4* | aix5*)
   16705       # On AIX/PPC, the GNU linker is very broken
   16706       if test "$host_cpu" != ia64; then
   16707 	ld_shlibs_GCJ=no
   16708 	cat <<EOF 1>&2
   16709 
   16710 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   16711 *** to be unable to reliably create shared libraries on AIX.
   16712 *** Therefore, libtool is disabling shared libraries support.  If you
   16713 *** really care for shared libraries, you may want to modify your PATH
   16714 *** so that a non-GNU linker is found, and then restart.
   16715 
   16716 EOF
   16717       fi
   16718       ;;
   16719 
   16720     amigaos*)
   16721       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)'
   16722       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16723       hardcode_minus_L_GCJ=yes
   16724 
   16725       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   16726       # that the semantics of dynamic libraries on AmigaOS, at least up
   16727       # to version 4, is to share data among multiple programs linked
   16728       # with the same dynamic library.  Since this doesn't match the
   16729       # behavior of shared libraries on other platforms, we can't use
   16730       # them.
   16731       ld_shlibs_GCJ=no
   16732       ;;
   16733 
   16734     beos*)
   16735       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16736 	allow_undefined_flag_GCJ=unsupported
   16737 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16738 	# support --undefined.  This deserves some investigation.  FIXME
   16739 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16740       else
   16741 	ld_shlibs_GCJ=no
   16742       fi
   16743       ;;
   16744 
   16745     cygwin* | mingw* | pw32*)
   16746       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   16747       # as there is no search path for DLLs.
   16748       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16749       allow_undefined_flag_GCJ=unsupported
   16750       always_export_symbols_GCJ=no
   16751       enable_shared_with_static_runtimes_GCJ=yes
   16752       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   16753 
   16754       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   16755         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16756 	# If the export-symbols file already is a .def file (1st line
   16757 	# is EXPORTS), use it as is; otherwise, prepend...
   16758 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   16759 	  cp $export_symbols $output_objdir/$soname.def;
   16760 	else
   16761 	  echo EXPORTS > $output_objdir/$soname.def;
   16762 	  cat $export_symbols >> $output_objdir/$soname.def;
   16763 	fi~
   16764 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16765       else
   16766 	ld_shlibs_GCJ=no
   16767       fi
   16768       ;;
   16769 
   16770     interix3*)
   16771       hardcode_direct_GCJ=no
   16772       hardcode_shlibpath_var_GCJ=no
   16773       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16774       export_dynamic_flag_spec_GCJ='${wl}-E'
   16775       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16776       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16777       # default) and relocated if they conflict, which is a slow very memory
   16778       # consuming and fragmenting process.  To avoid this, we pick a random,
   16779       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16780       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16781       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'
   16782       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'
   16783       ;;
   16784 
   16785     linux*)
   16786       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16787 	tmp_addflag=
   16788 	case $cc_basename,$host_cpu in
   16789 	pgcc*)				# Portland Group C compiler
   16790 	  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'
   16791 	  tmp_addflag=' $pic_flag'
   16792 	  ;;
   16793 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   16794 	  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'
   16795 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16796 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   16797 	  tmp_addflag=' -i_dynamic' ;;
   16798 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16799 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16800 	ifc* | ifort*)			# Intel Fortran compiler
   16801 	  tmp_addflag=' -nofor_main' ;;
   16802 	esac
   16803 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16804 
   16805 	if test $supports_anon_versioning = yes; then
   16806 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   16807   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16808   $echo "local: *; };" >> $output_objdir/$libname.ver~
   16809 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   16810 	fi
   16811       else
   16812 	ld_shlibs_GCJ=no
   16813       fi
   16814       ;;
   16815 
   16816     netbsd*)
   16817       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16818 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16819 	wlarc=
   16820       else
   16821 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16822 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16823       fi
   16824       ;;
   16825 
   16826     solaris*)
   16827       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   16828 	ld_shlibs_GCJ=no
   16829 	cat <<EOF 1>&2
   16830 
   16831 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16832 *** create shared libraries on Solaris systems.  Therefore, libtool
   16833 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16834 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16835 *** your PATH or compiler configuration so that the native linker is
   16836 *** used, and then restart.
   16837 
   16838 EOF
   16839       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16840 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16841 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16842       else
   16843 	ld_shlibs_GCJ=no
   16844       fi
   16845       ;;
   16846 
   16847     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16848       case `$LD -v 2>&1` in
   16849         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16850 	ld_shlibs_GCJ=no
   16851 	cat <<_LT_EOF 1>&2
   16852 
   16853 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   16854 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16855 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16856 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16857 *** your PATH or compiler configuration so that the native linker is
   16858 *** used, and then restart.
   16859 
   16860 _LT_EOF
   16861 	;;
   16862 	*)
   16863 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16864 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   16865 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   16866 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   16867 	  else
   16868 	    ld_shlibs_GCJ=no
   16869 	  fi
   16870 	;;
   16871       esac
   16872       ;;
   16873 
   16874     sunos4*)
   16875       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16876       wlarc=
   16877       hardcode_direct_GCJ=yes
   16878       hardcode_shlibpath_var_GCJ=no
   16879       ;;
   16880 
   16881     *)
   16882       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16883 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16884 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16885       else
   16886 	ld_shlibs_GCJ=no
   16887       fi
   16888       ;;
   16889     esac
   16890 
   16891     if test "$ld_shlibs_GCJ" = no; then
   16892       runpath_var=
   16893       hardcode_libdir_flag_spec_GCJ=
   16894       export_dynamic_flag_spec_GCJ=
   16895       whole_archive_flag_spec_GCJ=
   16896     fi
   16897   else
   16898     # PORTME fill in a description of your system's linker (not GNU ld)
   16899     case $host_os in
   16900     aix3*)
   16901       allow_undefined_flag_GCJ=unsupported
   16902       always_export_symbols_GCJ=yes
   16903       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'
   16904       # Note: this linker hardcodes the directories in LIBPATH if there
   16905       # are no directories specified by -L.
   16906       hardcode_minus_L_GCJ=yes
   16907       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   16908 	# Neither direct hardcoding nor static linking is supported with a
   16909 	# broken collect2.
   16910 	hardcode_direct_GCJ=unsupported
   16911       fi
   16912       ;;
   16913 
   16914     aix4* | aix5*)
   16915       if test "$host_cpu" = ia64; then
   16916 	# On IA64, the linker does run time linking by default, so we don't
   16917 	# have to do anything special.
   16918 	aix_use_runtimelinking=no
   16919 	exp_sym_flag='-Bexport'
   16920 	no_entry_flag=""
   16921       else
   16922 	# If we're using GNU nm, then we don't want the "-C" option.
   16923 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   16924 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   16925 	  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'
   16926 	else
   16927 	  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'
   16928 	fi
   16929 	aix_use_runtimelinking=no
   16930 
   16931 	# Test if we are trying to use run time linking or normal
   16932 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16933 	# need to do runtime linking.
   16934 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   16935 	  for ld_flag in $LDFLAGS; do
   16936   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   16937   	    aix_use_runtimelinking=yes
   16938   	    break
   16939   	  fi
   16940 	  done
   16941 	  ;;
   16942 	esac
   16943 
   16944 	exp_sym_flag='-bexport'
   16945 	no_entry_flag='-bnoentry'
   16946       fi
   16947 
   16948       # When large executables or shared objects are built, AIX ld can
   16949       # have problems creating the table of contents.  If linking a library
   16950       # or program results in "error TOC overflow" add -mminimal-toc to
   16951       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16952       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16953 
   16954       archive_cmds_GCJ=''
   16955       hardcode_direct_GCJ=yes
   16956       hardcode_libdir_separator_GCJ=':'
   16957       link_all_deplibs_GCJ=yes
   16958 
   16959       if test "$GCC" = yes; then
   16960 	case $host_os in aix4.[012]|aix4.[012].*)
   16961 	# We only want to do this on AIX 4.2 and lower, the check
   16962 	# below for broken collect2 doesn't work under 4.3+
   16963 	  collect2name=`${CC} -print-prog-name=collect2`
   16964 	  if test -f "$collect2name" && \
   16965   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   16966 	  then
   16967   	  # We have reworked collect2
   16968   	  hardcode_direct_GCJ=yes
   16969 	  else
   16970   	  # We have old collect2
   16971   	  hardcode_direct_GCJ=unsupported
   16972   	  # It fails to find uninstalled libraries when the uninstalled
   16973   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16974   	  # to unsupported forces relinking
   16975   	  hardcode_minus_L_GCJ=yes
   16976   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16977   	  hardcode_libdir_separator_GCJ=
   16978 	  fi
   16979 	  ;;
   16980 	esac
   16981 	shared_flag='-shared'
   16982 	if test "$aix_use_runtimelinking" = yes; then
   16983 	  shared_flag="$shared_flag "'${wl}-G'
   16984 	fi
   16985       else
   16986 	# not using gcc
   16987 	if test "$host_cpu" = ia64; then
   16988   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16989   	# chokes on -Wl,-G. The following line is correct:
   16990 	  shared_flag='-G'
   16991 	else
   16992 	  if test "$aix_use_runtimelinking" = yes; then
   16993 	    shared_flag='${wl}-G'
   16994 	  else
   16995 	    shared_flag='${wl}-bM:SRE'
   16996 	  fi
   16997 	fi
   16998       fi
   16999 
   17000       # It seems that -bexpall does not export symbols beginning with
   17001       # underscore (_), so it is better to generate a list of symbols to export.
   17002       always_export_symbols_GCJ=yes
   17003       if test "$aix_use_runtimelinking" = yes; then
   17004 	# Warning - without using the other runtime loading flags (-brtl),
   17005 	# -berok will link without error, but may produce a broken library.
   17006 	allow_undefined_flag_GCJ='-berok'
   17007        # Determine the default libpath from the value encoded in an empty executable.
   17008        cat >conftest.$ac_ext <<_ACEOF
   17009 /* confdefs.h.  */
   17010 _ACEOF
   17011 cat confdefs.h >>conftest.$ac_ext
   17012 cat >>conftest.$ac_ext <<_ACEOF
   17013 /* end confdefs.h.  */
   17014 
   17015 int
   17016 main ()
   17017 {
   17018 
   17019   ;
   17020   return 0;
   17021 }
   17022 _ACEOF
   17023 rm -f conftest.$ac_objext conftest$ac_exeext
   17024 if { (ac_try="$ac_link"
   17025 case "(($ac_try" in
   17026   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17027   *) ac_try_echo=$ac_try;;
   17028 esac
   17029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17030   (eval "$ac_link") 2>conftest.er1
   17031   ac_status=$?
   17032   grep -v '^ *+' conftest.er1 >conftest.err
   17033   rm -f conftest.er1
   17034   cat conftest.err >&5
   17035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17036   (exit $ac_status); } && {
   17037 	 test -z "$ac_c_werror_flag" ||
   17038 	 test ! -s conftest.err
   17039        } && test -s conftest$ac_exeext &&
   17040        $as_test_x conftest$ac_exeext; then
   17041 
   17042 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17043 }'`
   17044 # Check for a 64-bit object if we didn't find anything.
   17045 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; }
   17046 }'`; fi
   17047 else
   17048   echo "$as_me: failed program was:" >&5
   17049 sed 's/^/| /' conftest.$ac_ext >&5
   17050 
   17051 
   17052 fi
   17053 
   17054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17055       conftest$ac_exeext conftest.$ac_ext
   17056 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17057 
   17058        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17059 	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"
   17060        else
   17061 	if test "$host_cpu" = ia64; then
   17062 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17063 	  allow_undefined_flag_GCJ="-z nodefs"
   17064 	  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"
   17065 	else
   17066 	 # Determine the default libpath from the value encoded in an empty executable.
   17067 	 cat >conftest.$ac_ext <<_ACEOF
   17068 /* confdefs.h.  */
   17069 _ACEOF
   17070 cat confdefs.h >>conftest.$ac_ext
   17071 cat >>conftest.$ac_ext <<_ACEOF
   17072 /* end confdefs.h.  */
   17073 
   17074 int
   17075 main ()
   17076 {
   17077 
   17078   ;
   17079   return 0;
   17080 }
   17081 _ACEOF
   17082 rm -f conftest.$ac_objext conftest$ac_exeext
   17083 if { (ac_try="$ac_link"
   17084 case "(($ac_try" in
   17085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17086   *) ac_try_echo=$ac_try;;
   17087 esac
   17088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17089   (eval "$ac_link") 2>conftest.er1
   17090   ac_status=$?
   17091   grep -v '^ *+' conftest.er1 >conftest.err
   17092   rm -f conftest.er1
   17093   cat conftest.err >&5
   17094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17095   (exit $ac_status); } && {
   17096 	 test -z "$ac_c_werror_flag" ||
   17097 	 test ! -s conftest.err
   17098        } && test -s conftest$ac_exeext &&
   17099        $as_test_x conftest$ac_exeext; then
   17100 
   17101 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17102 }'`
   17103 # Check for a 64-bit object if we didn't find anything.
   17104 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; }
   17105 }'`; fi
   17106 else
   17107   echo "$as_me: failed program was:" >&5
   17108 sed 's/^/| /' conftest.$ac_ext >&5
   17109 
   17110 
   17111 fi
   17112 
   17113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17114       conftest$ac_exeext conftest.$ac_ext
   17115 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17116 
   17117 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17118 	  # Warning - without using the other run time loading flags,
   17119 	  # -berok will link without error, but may produce a broken library.
   17120 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17121 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17122 	  # Exported symbols can be pulled into shared objects from archives
   17123 	  whole_archive_flag_spec_GCJ='$convenience'
   17124 	  archive_cmds_need_lc_GCJ=yes
   17125 	  # This is similar to how AIX traditionally builds its shared libraries.
   17126 	  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'
   17127 	fi
   17128       fi
   17129       ;;
   17130 
   17131     amigaos*)
   17132       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)'
   17133       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17134       hardcode_minus_L_GCJ=yes
   17135       # see comment about different semantics on the GNU ld section
   17136       ld_shlibs_GCJ=no
   17137       ;;
   17138 
   17139     bsdi[45]*)
   17140       export_dynamic_flag_spec_GCJ=-rdynamic
   17141       ;;
   17142 
   17143     cygwin* | mingw* | pw32*)
   17144       # When not using gcc, we currently assume that we are using
   17145       # Microsoft Visual C++.
   17146       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17147       # no search path for DLLs.
   17148       hardcode_libdir_flag_spec_GCJ=' '
   17149       allow_undefined_flag_GCJ=unsupported
   17150       # Tell ltmain to make .lib files, not .a files.
   17151       libext=lib
   17152       # Tell ltmain to make .dll files, not .so files.
   17153       shrext_cmds=".dll"
   17154       # FIXME: Setting linknames here is a bad hack.
   17155       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17156       # The linker will automatically build a .lib file if we build a DLL.
   17157       old_archive_From_new_cmds_GCJ='true'
   17158       # FIXME: Should let the user specify the lib program.
   17159       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   17160       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17161       enable_shared_with_static_runtimes_GCJ=yes
   17162       ;;
   17163 
   17164     darwin* | rhapsody*)
   17165       case $host_os in
   17166         rhapsody* | darwin1.[012])
   17167          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17168          ;;
   17169        *) # Darwin 1.3 on
   17170          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17171            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17172          else
   17173            case ${MACOSX_DEPLOYMENT_TARGET} in
   17174              10.[012])
   17175                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17176                ;;
   17177              10.*)
   17178                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17179                ;;
   17180            esac
   17181          fi
   17182          ;;
   17183       esac
   17184       archive_cmds_need_lc_GCJ=no
   17185       hardcode_direct_GCJ=no
   17186       hardcode_automatic_GCJ=yes
   17187       hardcode_shlibpath_var_GCJ=unsupported
   17188       whole_archive_flag_spec_GCJ=''
   17189       link_all_deplibs_GCJ=yes
   17190     if test "$GCC" = yes ; then
   17191     	output_verbose_link_cmd='echo'
   17192         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17193       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17194       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17195       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}'
   17196       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}'
   17197     else
   17198       case $cc_basename in
   17199         xlc*)
   17200          output_verbose_link_cmd='echo'
   17201          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   17202          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17203           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17204          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}'
   17205           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}'
   17206           ;;
   17207        *)
   17208          ld_shlibs_GCJ=no
   17209           ;;
   17210       esac
   17211     fi
   17212       ;;
   17213 
   17214     dgux*)
   17215       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17216       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17217       hardcode_shlibpath_var_GCJ=no
   17218       ;;
   17219 
   17220     freebsd1*)
   17221       ld_shlibs_GCJ=no
   17222       ;;
   17223 
   17224     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17225     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17226     # does not break anything, and helps significantly (at the cost of a little
   17227     # extra space).
   17228     freebsd2.2*)
   17229       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17230       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17231       hardcode_direct_GCJ=yes
   17232       hardcode_shlibpath_var_GCJ=no
   17233       ;;
   17234 
   17235     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17236     freebsd2*)
   17237       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17238       hardcode_direct_GCJ=yes
   17239       hardcode_minus_L_GCJ=yes
   17240       hardcode_shlibpath_var_GCJ=no
   17241       ;;
   17242 
   17243     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17244     freebsd* | kfreebsd*-gnu | dragonfly*)
   17245       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17246       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17247       hardcode_direct_GCJ=yes
   17248       hardcode_shlibpath_var_GCJ=no
   17249       ;;
   17250 
   17251     hpux9*)
   17252       if test "$GCC" = yes; then
   17253 	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'
   17254       else
   17255 	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'
   17256       fi
   17257       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17258       hardcode_libdir_separator_GCJ=:
   17259       hardcode_direct_GCJ=yes
   17260 
   17261       # hardcode_minus_L: Not really in the search PATH,
   17262       # but as the default location of the library.
   17263       hardcode_minus_L_GCJ=yes
   17264       export_dynamic_flag_spec_GCJ='${wl}-E'
   17265       ;;
   17266 
   17267     hpux10*)
   17268       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17269 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17270       else
   17271 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17272       fi
   17273       if test "$with_gnu_ld" = no; then
   17274 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17275 	hardcode_libdir_separator_GCJ=:
   17276 
   17277 	hardcode_direct_GCJ=yes
   17278 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17279 
   17280 	# hardcode_minus_L: Not really in the search PATH,
   17281 	# but as the default location of the library.
   17282 	hardcode_minus_L_GCJ=yes
   17283       fi
   17284       ;;
   17285 
   17286     hpux11*)
   17287       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17288 	case $host_cpu in
   17289 	hppa*64*)
   17290 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17291 	  ;;
   17292 	ia64*)
   17293 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17294 	  ;;
   17295 	*)
   17296 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17297 	  ;;
   17298 	esac
   17299       else
   17300 	case $host_cpu in
   17301 	hppa*64*)
   17302 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17303 	  ;;
   17304 	ia64*)
   17305 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17306 	  ;;
   17307 	*)
   17308 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17309 	  ;;
   17310 	esac
   17311       fi
   17312       if test "$with_gnu_ld" = no; then
   17313 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17314 	hardcode_libdir_separator_GCJ=:
   17315 
   17316 	case $host_cpu in
   17317 	hppa*64*|ia64*)
   17318 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17319 	  hardcode_direct_GCJ=no
   17320 	  hardcode_shlibpath_var_GCJ=no
   17321 	  ;;
   17322 	*)
   17323 	  hardcode_direct_GCJ=yes
   17324 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17325 
   17326 	  # hardcode_minus_L: Not really in the search PATH,
   17327 	  # but as the default location of the library.
   17328 	  hardcode_minus_L_GCJ=yes
   17329 	  ;;
   17330 	esac
   17331       fi
   17332       ;;
   17333 
   17334     irix5* | irix6* | nonstopux*)
   17335       if test "$GCC" = yes; then
   17336 	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'
   17337       else
   17338 	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'
   17339 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17340       fi
   17341       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17342       hardcode_libdir_separator_GCJ=:
   17343       link_all_deplibs_GCJ=yes
   17344       ;;
   17345 
   17346     netbsd*)
   17347       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17348 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17349       else
   17350 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17351       fi
   17352       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17353       hardcode_direct_GCJ=yes
   17354       hardcode_shlibpath_var_GCJ=no
   17355       ;;
   17356 
   17357     newsos6)
   17358       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17359       hardcode_direct_GCJ=yes
   17360       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17361       hardcode_libdir_separator_GCJ=:
   17362       hardcode_shlibpath_var_GCJ=no
   17363       ;;
   17364 
   17365     openbsd*)
   17366       hardcode_direct_GCJ=yes
   17367       hardcode_shlibpath_var_GCJ=no
   17368       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17369 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17370 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   17371 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17372 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17373       else
   17374        case $host_os in
   17375 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   17376 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17377 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17378 	   ;;
   17379 	 *)
   17380 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17381 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17382 	   ;;
   17383        esac
   17384       fi
   17385       ;;
   17386 
   17387     os2*)
   17388       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17389       hardcode_minus_L_GCJ=yes
   17390       allow_undefined_flag_GCJ=unsupported
   17391       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'
   17392       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   17393       ;;
   17394 
   17395     osf3*)
   17396       if test "$GCC" = yes; then
   17397 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17398 	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'
   17399       else
   17400 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17401 	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'
   17402       fi
   17403       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17404       hardcode_libdir_separator_GCJ=:
   17405       ;;
   17406 
   17407     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17408       if test "$GCC" = yes; then
   17409 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17410 	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'
   17411 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17412       else
   17413 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17414 	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'
   17415 	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~
   17416 	$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'
   17417 
   17418 	# Both c and cxx compiler support -rpath directly
   17419 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   17420       fi
   17421       hardcode_libdir_separator_GCJ=:
   17422       ;;
   17423 
   17424     solaris*)
   17425       no_undefined_flag_GCJ=' -z text'
   17426       if test "$GCC" = yes; then
   17427 	wlarc='${wl}'
   17428 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17429 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17430 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   17431       else
   17432 	wlarc=''
   17433 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17434 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17435   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   17436       fi
   17437       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17438       hardcode_shlibpath_var_GCJ=no
   17439       case $host_os in
   17440       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17441       *)
   17442  	# The compiler driver will combine linker options so we
   17443  	# cannot just pass the convience library names through
   17444  	# without $wl, iff we do not link with $LD.
   17445  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   17446  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17447  	case $wlarc in
   17448  	'')
   17449  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   17450  	*)
   17451  	  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' ;;
   17452  	esac ;;
   17453       esac
   17454       link_all_deplibs_GCJ=yes
   17455       ;;
   17456 
   17457     sunos4*)
   17458       if test "x$host_vendor" = xsequent; then
   17459 	# Use $CC to link under sequent, because it throws in some extra .o
   17460 	# files that make .init and .fini sections work.
   17461 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17462       else
   17463 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17464       fi
   17465       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17466       hardcode_direct_GCJ=yes
   17467       hardcode_minus_L_GCJ=yes
   17468       hardcode_shlibpath_var_GCJ=no
   17469       ;;
   17470 
   17471     sysv4)
   17472       case $host_vendor in
   17473 	sni)
   17474 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17475 	  hardcode_direct_GCJ=yes # is this really true???
   17476 	;;
   17477 	siemens)
   17478 	  ## LD is ld it makes a PLAMLIB
   17479 	  ## CC just makes a GrossModule.
   17480 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17481 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   17482 	  hardcode_direct_GCJ=no
   17483         ;;
   17484 	motorola)
   17485 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17486 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   17487 	;;
   17488       esac
   17489       runpath_var='LD_RUN_PATH'
   17490       hardcode_shlibpath_var_GCJ=no
   17491       ;;
   17492 
   17493     sysv4.3*)
   17494       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17495       hardcode_shlibpath_var_GCJ=no
   17496       export_dynamic_flag_spec_GCJ='-Bexport'
   17497       ;;
   17498 
   17499     sysv4*MP*)
   17500       if test -d /usr/nec; then
   17501 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17502 	hardcode_shlibpath_var_GCJ=no
   17503 	runpath_var=LD_RUN_PATH
   17504 	hardcode_runpath_var=yes
   17505 	ld_shlibs_GCJ=yes
   17506       fi
   17507       ;;
   17508 
   17509     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   17510       no_undefined_flag_GCJ='${wl}-z,text'
   17511       archive_cmds_need_lc_GCJ=no
   17512       hardcode_shlibpath_var_GCJ=no
   17513       runpath_var='LD_RUN_PATH'
   17514 
   17515       if test "$GCC" = yes; then
   17516 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17517 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17518       else
   17519 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17520 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17521       fi
   17522       ;;
   17523 
   17524     sysv5* | sco3.2v5* | sco5v6*)
   17525       # Note: We can NOT use -z defs as we might desire, because we do not
   17526       # link with -lc, and that would cause any symbols used from libc to
   17527       # always be unresolved, which means just about no library would
   17528       # ever link correctly.  If we're not using GNU ld we use -z text
   17529       # though, which does catch some bad symbols but isn't as heavy-handed
   17530       # as -z defs.
   17531       no_undefined_flag_GCJ='${wl}-z,text'
   17532       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   17533       archive_cmds_need_lc_GCJ=no
   17534       hardcode_shlibpath_var_GCJ=no
   17535       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   17536       hardcode_libdir_separator_GCJ=':'
   17537       link_all_deplibs_GCJ=yes
   17538       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   17539       runpath_var='LD_RUN_PATH'
   17540 
   17541       if test "$GCC" = yes; then
   17542 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17543 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17544       else
   17545 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17546 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17547       fi
   17548       ;;
   17549 
   17550     uts4*)
   17551       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17552       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17553       hardcode_shlibpath_var_GCJ=no
   17554       ;;
   17555 
   17556     *)
   17557       ld_shlibs_GCJ=no
   17558       ;;
   17559     esac
   17560   fi
   17561 
   17562 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   17563 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   17564 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   17565 
   17566 #
   17567 # Do we need to explicitly link libc?
   17568 #
   17569 case "x$archive_cmds_need_lc_GCJ" in
   17570 x|xyes)
   17571   # Assume -lc should be added
   17572   archive_cmds_need_lc_GCJ=yes
   17573 
   17574   if test "$enable_shared" = yes && test "$GCC" = yes; then
   17575     case $archive_cmds_GCJ in
   17576     *'~'*)
   17577       # FIXME: we may have to deal with multi-command sequences.
   17578       ;;
   17579     '$CC '*)
   17580       # Test whether the compiler implicitly links with -lc since on some
   17581       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17582       # to ld, don't add -lc before -lgcc.
   17583       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   17584 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   17585       $rm conftest*
   17586       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17587 
   17588       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17589   (eval $ac_compile) 2>&5
   17590   ac_status=$?
   17591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17592   (exit $ac_status); } 2>conftest.err; then
   17593         soname=conftest
   17594         lib=conftest
   17595         libobjs=conftest.$ac_objext
   17596         deplibs=
   17597         wl=$lt_prog_compiler_wl_GCJ
   17598 	pic_flag=$lt_prog_compiler_pic_GCJ
   17599         compiler_flags=-v
   17600         linker_flags=-v
   17601         verstring=
   17602         output_objdir=.
   17603         libname=conftest
   17604         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   17605         allow_undefined_flag_GCJ=
   17606         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   17607   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17608   ac_status=$?
   17609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17610   (exit $ac_status); }
   17611         then
   17612 	  archive_cmds_need_lc_GCJ=no
   17613         else
   17614 	  archive_cmds_need_lc_GCJ=yes
   17615         fi
   17616         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   17617       else
   17618         cat conftest.err 1>&5
   17619       fi
   17620       $rm conftest*
   17621       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   17622 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   17623       ;;
   17624     esac
   17625   fi
   17626   ;;
   17627 esac
   17628 
   17629 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   17630 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   17631 library_names_spec=
   17632 libname_spec='lib$name'
   17633 soname_spec=
   17634 shrext_cmds=".so"
   17635 postinstall_cmds=
   17636 postuninstall_cmds=
   17637 finish_cmds=
   17638 finish_eval=
   17639 shlibpath_var=
   17640 shlibpath_overrides_runpath=unknown
   17641 version_type=none
   17642 dynamic_linker="$host_os ld.so"
   17643 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17644 if test "$GCC" = yes; then
   17645   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17646   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   17647     # if the path contains ";" then we assume it to be the separator
   17648     # otherwise default to the standard path separator (i.e. ":") - it is
   17649     # assumed that no part of a normal pathname contains ";" but that should
   17650     # okay in the real world where ";" in dirpaths is itself problematic.
   17651     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17652   else
   17653     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17654   fi
   17655 else
   17656   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17657 fi
   17658 need_lib_prefix=unknown
   17659 hardcode_into_libs=no
   17660 
   17661 # when you set need_version to no, make sure it does not cause -set_version
   17662 # flags to be left without arguments
   17663 need_version=unknown
   17664 
   17665 case $host_os in
   17666 aix3*)
   17667   version_type=linux
   17668   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   17669   shlibpath_var=LIBPATH
   17670 
   17671   # AIX 3 has no versioning support, so we append a major version to the name.
   17672   soname_spec='${libname}${release}${shared_ext}$major'
   17673   ;;
   17674 
   17675 aix4* | aix5*)
   17676   version_type=linux
   17677   need_lib_prefix=no
   17678   need_version=no
   17679   hardcode_into_libs=yes
   17680   if test "$host_cpu" = ia64; then
   17681     # AIX 5 supports IA64
   17682     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   17683     shlibpath_var=LD_LIBRARY_PATH
   17684   else
   17685     # With GCC up to 2.95.x, collect2 would create an import file
   17686     # for dependence libraries.  The import file would start with
   17687     # the line `#! .'.  This would cause the generated library to
   17688     # depend on `.', always an invalid library.  This was fixed in
   17689     # development snapshots of GCC prior to 3.0.
   17690     case $host_os in
   17691       aix4 | aix4.[01] | aix4.[01].*)
   17692       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17693 	   echo ' yes '
   17694 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   17695 	:
   17696       else
   17697 	can_build_shared=no
   17698       fi
   17699       ;;
   17700     esac
   17701     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   17702     # soname into executable. Probably we can add versioning support to
   17703     # collect2, so additional links can be useful in future.
   17704     if test "$aix_use_runtimelinking" = yes; then
   17705       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17706       # instead of lib<name>.a to let people know that these are not
   17707       # typical AIX shared libraries.
   17708       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17709     else
   17710       # We preserve .a as extension for shared libraries through AIX4.2
   17711       # and later when we are not doing run time linking.
   17712       library_names_spec='${libname}${release}.a $libname.a'
   17713       soname_spec='${libname}${release}${shared_ext}$major'
   17714     fi
   17715     shlibpath_var=LIBPATH
   17716   fi
   17717   ;;
   17718 
   17719 amigaos*)
   17720   library_names_spec='$libname.ixlibrary $libname.a'
   17721   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17722   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'
   17723   ;;
   17724 
   17725 beos*)
   17726   library_names_spec='${libname}${shared_ext}'
   17727   dynamic_linker="$host_os ld.so"
   17728   shlibpath_var=LIBRARY_PATH
   17729   ;;
   17730 
   17731 bsdi[45]*)
   17732   version_type=linux
   17733   need_version=no
   17734   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17735   soname_spec='${libname}${release}${shared_ext}$major'
   17736   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17737   shlibpath_var=LD_LIBRARY_PATH
   17738   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17739   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17740   # the default ld.so.conf also contains /usr/contrib/lib and
   17741   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17742   # libtool to hard-code these into programs
   17743   ;;
   17744 
   17745 cygwin* | mingw* | pw32*)
   17746   version_type=windows
   17747   shrext_cmds=".dll"
   17748   need_version=no
   17749   need_lib_prefix=no
   17750 
   17751   case $GCC,$host_os in
   17752   yes,cygwin* | yes,mingw* | yes,pw32*)
   17753     library_names_spec='$libname.dll.a'
   17754     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17755     postinstall_cmds='base_file=`basename \${file}`~
   17756       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   17757       dldir=$destdir/`dirname \$dlpath`~
   17758       test -d \$dldir || mkdir -p \$dldir~
   17759       $install_prog $dir/$dlname \$dldir/$dlname~
   17760       chmod a+x \$dldir/$dlname'
   17761     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17762       dlpath=$dir/\$dldll~
   17763        $rm \$dlpath'
   17764     shlibpath_overrides_runpath=yes
   17765 
   17766     case $host_os in
   17767     cygwin*)
   17768       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17769       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17770       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   17771       ;;
   17772     mingw*)
   17773       # MinGW DLLs use traditional 'lib' prefix
   17774       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17775       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17776       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   17777         # It is most probably a Windows format PATH printed by
   17778         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   17779         # path with ; separators, and with drive letters. We can handle the
   17780         # drive letters (cygwin fileutils understands them), so leave them,
   17781         # especially as we might pass files found there to a mingw objdump,
   17782         # which wouldn't understand a cygwinified path. Ahh.
   17783         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17784       else
   17785         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17786       fi
   17787       ;;
   17788     pw32*)
   17789       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17790       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17791       ;;
   17792     esac
   17793     ;;
   17794 
   17795   *)
   17796     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   17797     ;;
   17798   esac
   17799   dynamic_linker='Win32 ld.exe'
   17800   # FIXME: first we should search . and the directory the executable is in
   17801   shlibpath_var=PATH
   17802   ;;
   17803 
   17804 darwin* | rhapsody*)
   17805   dynamic_linker="$host_os dyld"
   17806   version_type=darwin
   17807   need_lib_prefix=no
   17808   need_version=no
   17809   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   17810   soname_spec='${libname}${release}${major}$shared_ext'
   17811   shlibpath_overrides_runpath=yes
   17812   shlibpath_var=DYLD_LIBRARY_PATH
   17813   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17814   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   17815   if test "$GCC" = yes; then
   17816     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"`
   17817   else
   17818     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   17819   fi
   17820   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17821   ;;
   17822 
   17823 dgux*)
   17824   version_type=linux
   17825   need_lib_prefix=no
   17826   need_version=no
   17827   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   17828   soname_spec='${libname}${release}${shared_ext}$major'
   17829   shlibpath_var=LD_LIBRARY_PATH
   17830   ;;
   17831 
   17832 freebsd1*)
   17833   dynamic_linker=no
   17834   ;;
   17835 
   17836 kfreebsd*-gnu)
   17837   version_type=linux
   17838   need_lib_prefix=no
   17839   need_version=no
   17840   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17841   soname_spec='${libname}${release}${shared_ext}$major'
   17842   shlibpath_var=LD_LIBRARY_PATH
   17843   shlibpath_overrides_runpath=no
   17844   hardcode_into_libs=yes
   17845   dynamic_linker='GNU ld.so'
   17846   ;;
   17847 
   17848 freebsd* | dragonfly*)
   17849   # DragonFly does not have aout.  When/if they implement a new
   17850   # versioning mechanism, adjust this.
   17851   if test -x /usr/bin/objformat; then
   17852     objformat=`/usr/bin/objformat`
   17853   else
   17854     case $host_os in
   17855     freebsd[123]*) objformat=aout ;;
   17856     *) objformat=elf ;;
   17857     esac
   17858   fi
   17859   version_type=freebsd-$objformat
   17860   case $version_type in
   17861     freebsd-elf*)
   17862       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   17863       need_version=no
   17864       need_lib_prefix=no
   17865       ;;
   17866     freebsd-*)
   17867       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   17868       need_version=yes
   17869       ;;
   17870   esac
   17871   shlibpath_var=LD_LIBRARY_PATH
   17872   case $host_os in
   17873   freebsd2*)
   17874     shlibpath_overrides_runpath=yes
   17875     ;;
   17876   freebsd3.[01]* | freebsdelf3.[01]*)
   17877     shlibpath_overrides_runpath=yes
   17878     hardcode_into_libs=yes
   17879     ;;
   17880   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17881   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17882     shlibpath_overrides_runpath=no
   17883     hardcode_into_libs=yes
   17884     ;;
   17885   freebsd*) # from 4.6 on
   17886     shlibpath_overrides_runpath=yes
   17887     hardcode_into_libs=yes
   17888     ;;
   17889   esac
   17890   ;;
   17891 
   17892 gnu*)
   17893   version_type=linux
   17894   need_lib_prefix=no
   17895   need_version=no
   17896   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   17897   soname_spec='${libname}${release}${shared_ext}$major'
   17898   shlibpath_var=LD_LIBRARY_PATH
   17899   hardcode_into_libs=yes
   17900   ;;
   17901 
   17902 hpux9* | hpux10* | hpux11*)
   17903   # Give a soname corresponding to the major version so that dld.sl refuses to
   17904   # link against other versions.
   17905   version_type=sunos
   17906   need_lib_prefix=no
   17907   need_version=no
   17908   case $host_cpu in
   17909   ia64*)
   17910     shrext_cmds='.so'
   17911     hardcode_into_libs=yes
   17912     dynamic_linker="$host_os dld.so"
   17913     shlibpath_var=LD_LIBRARY_PATH
   17914     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17915     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17916     soname_spec='${libname}${release}${shared_ext}$major'
   17917     if test "X$HPUX_IA64_MODE" = X32; then
   17918       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17919     else
   17920       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17921     fi
   17922     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17923     ;;
   17924    hppa*64*)
   17925      shrext_cmds='.sl'
   17926      hardcode_into_libs=yes
   17927      dynamic_linker="$host_os dld.sl"
   17928      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17929      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17933      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17934      ;;
   17935    *)
   17936     shrext_cmds='.sl'
   17937     dynamic_linker="$host_os dld.sl"
   17938     shlibpath_var=SHLIB_PATH
   17939     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17940     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17941     soname_spec='${libname}${release}${shared_ext}$major'
   17942     ;;
   17943   esac
   17944   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   17945   postinstall_cmds='chmod 555 $lib'
   17946   ;;
   17947 
   17948 interix3*)
   17949   version_type=linux
   17950   need_lib_prefix=no
   17951   need_version=no
   17952   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17953   soname_spec='${libname}${release}${shared_ext}$major'
   17954   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17955   shlibpath_var=LD_LIBRARY_PATH
   17956   shlibpath_overrides_runpath=no
   17957   hardcode_into_libs=yes
   17958   ;;
   17959 
   17960 irix5* | irix6* | nonstopux*)
   17961   case $host_os in
   17962     nonstopux*) version_type=nonstopux ;;
   17963     *)
   17964 	if test "$lt_cv_prog_gnu_ld" = yes; then
   17965 		version_type=linux
   17966 	else
   17967 		version_type=irix
   17968 	fi ;;
   17969   esac
   17970   need_lib_prefix=no
   17971   need_version=no
   17972   soname_spec='${libname}${release}${shared_ext}$major'
   17973   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   17974   case $host_os in
   17975   irix5* | nonstopux*)
   17976     libsuff= shlibsuff=
   17977     ;;
   17978   *)
   17979     case $LD in # libtool.m4 will add one of these switches to LD
   17980     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17981       libsuff= shlibsuff= libmagic=32-bit;;
   17982     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17983       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17984     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17985       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17986     *) libsuff= shlibsuff= libmagic=never-match;;
   17987     esac
   17988     ;;
   17989   esac
   17990   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17991   shlibpath_overrides_runpath=no
   17992   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   17993   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   17994   hardcode_into_libs=yes
   17995   ;;
   17996 
   17997 # No shared lib support for Linux oldld, aout, or coff.
   17998 linux*oldld* | linux*aout* | linux*coff*)
   17999   dynamic_linker=no
   18000   ;;
   18001 
   18002 # This must be Linux ELF.
   18003 linux*)
   18004   version_type=linux
   18005   need_lib_prefix=no
   18006   need_version=no
   18007   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18008   soname_spec='${libname}${release}${shared_ext}$major'
   18009   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18010   shlibpath_var=LD_LIBRARY_PATH
   18011   shlibpath_overrides_runpath=no
   18012   # This implies no fast_install, which is unacceptable.
   18013   # Some rework will be needed to allow for fast_install
   18014   # before this can be enabled.
   18015   hardcode_into_libs=yes
   18016 
   18017   # Append ld.so.conf contents to the search path
   18018   if test -f /etc/ld.so.conf; then
   18019     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' ' '`
   18020     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18021   fi
   18022 
   18023   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18024   # powerpc, because MkLinux only supported shared libraries with the
   18025   # GNU dynamic linker.  Since this was broken with cross compilers,
   18026   # most powerpc-linux boxes support dynamic linking these days and
   18027   # people can always --disable-shared, the test was removed, and we
   18028   # assume the GNU/Linux dynamic linker is in use.
   18029   dynamic_linker='GNU/Linux ld.so'
   18030   ;;
   18031 
   18032 knetbsd*-gnu)
   18033   version_type=linux
   18034   need_lib_prefix=no
   18035   need_version=no
   18036   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18037   soname_spec='${libname}${release}${shared_ext}$major'
   18038   shlibpath_var=LD_LIBRARY_PATH
   18039   shlibpath_overrides_runpath=no
   18040   hardcode_into_libs=yes
   18041   dynamic_linker='GNU ld.so'
   18042   ;;
   18043 
   18044 netbsd*)
   18045   version_type=sunos
   18046   need_lib_prefix=no
   18047   need_version=no
   18048   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18049     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18050     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18051     dynamic_linker='NetBSD (a.out) ld.so'
   18052   else
   18053     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18054     soname_spec='${libname}${release}${shared_ext}$major'
   18055     dynamic_linker='NetBSD ld.elf_so'
   18056   fi
   18057   shlibpath_var=LD_LIBRARY_PATH
   18058   shlibpath_overrides_runpath=yes
   18059   hardcode_into_libs=yes
   18060   ;;
   18061 
   18062 newsos6)
   18063   version_type=linux
   18064   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18065   shlibpath_var=LD_LIBRARY_PATH
   18066   shlibpath_overrides_runpath=yes
   18067   ;;
   18068 
   18069 nto-qnx*)
   18070   version_type=linux
   18071   need_lib_prefix=no
   18072   need_version=no
   18073   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18074   soname_spec='${libname}${release}${shared_ext}$major'
   18075   shlibpath_var=LD_LIBRARY_PATH
   18076   shlibpath_overrides_runpath=yes
   18077   ;;
   18078 
   18079 openbsd*)
   18080   version_type=sunos
   18081   sys_lib_dlsearch_path_spec="/usr/lib"
   18082   need_lib_prefix=no
   18083   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18084   case $host_os in
   18085     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18086     *)                         need_version=no  ;;
   18087   esac
   18088   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18089   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18090   shlibpath_var=LD_LIBRARY_PATH
   18091   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18092     case $host_os in
   18093       openbsd2.[89] | openbsd2.[89].*)
   18094 	shlibpath_overrides_runpath=no
   18095 	;;
   18096       *)
   18097 	shlibpath_overrides_runpath=yes
   18098 	;;
   18099       esac
   18100   else
   18101     shlibpath_overrides_runpath=yes
   18102   fi
   18103   ;;
   18104 
   18105 os2*)
   18106   libname_spec='$name'
   18107   shrext_cmds=".dll"
   18108   need_lib_prefix=no
   18109   library_names_spec='$libname${shared_ext} $libname.a'
   18110   dynamic_linker='OS/2 ld.exe'
   18111   shlibpath_var=LIBPATH
   18112   ;;
   18113 
   18114 osf3* | osf4* | osf5*)
   18115   version_type=osf
   18116   need_lib_prefix=no
   18117   need_version=no
   18118   soname_spec='${libname}${release}${shared_ext}$major'
   18119   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18120   shlibpath_var=LD_LIBRARY_PATH
   18121   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18122   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18123   ;;
   18124 
   18125 solaris*)
   18126   version_type=linux
   18127   need_lib_prefix=no
   18128   need_version=no
   18129   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18130   soname_spec='${libname}${release}${shared_ext}$major'
   18131   shlibpath_var=LD_LIBRARY_PATH
   18132   shlibpath_overrides_runpath=yes
   18133   hardcode_into_libs=yes
   18134   # ldd complains unless libraries are executable
   18135   postinstall_cmds='chmod +x $lib'
   18136   ;;
   18137 
   18138 sunos4*)
   18139   version_type=sunos
   18140   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18141   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18142   shlibpath_var=LD_LIBRARY_PATH
   18143   shlibpath_overrides_runpath=yes
   18144   if test "$with_gnu_ld" = yes; then
   18145     need_lib_prefix=no
   18146   fi
   18147   need_version=yes
   18148   ;;
   18149 
   18150 sysv4 | sysv4.3*)
   18151   version_type=linux
   18152   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18153   soname_spec='${libname}${release}${shared_ext}$major'
   18154   shlibpath_var=LD_LIBRARY_PATH
   18155   case $host_vendor in
   18156     sni)
   18157       shlibpath_overrides_runpath=no
   18158       need_lib_prefix=no
   18159       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18160       runpath_var=LD_RUN_PATH
   18161       ;;
   18162     siemens)
   18163       need_lib_prefix=no
   18164       ;;
   18165     motorola)
   18166       need_lib_prefix=no
   18167       need_version=no
   18168       shlibpath_overrides_runpath=no
   18169       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18170       ;;
   18171   esac
   18172   ;;
   18173 
   18174 sysv4*MP*)
   18175   if test -d /usr/nec ;then
   18176     version_type=linux
   18177     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18178     soname_spec='$libname${shared_ext}.$major'
   18179     shlibpath_var=LD_LIBRARY_PATH
   18180   fi
   18181   ;;
   18182 
   18183 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18184   version_type=freebsd-elf
   18185   need_lib_prefix=no
   18186   need_version=no
   18187   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18188   soname_spec='${libname}${release}${shared_ext}$major'
   18189   shlibpath_var=LD_LIBRARY_PATH
   18190   hardcode_into_libs=yes
   18191   if test "$with_gnu_ld" = yes; then
   18192     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18193     shlibpath_overrides_runpath=no
   18194   else
   18195     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18196     shlibpath_overrides_runpath=yes
   18197     case $host_os in
   18198       sco3.2v5*)
   18199         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18200 	;;
   18201     esac
   18202   fi
   18203   sys_lib_dlsearch_path_spec='/usr/lib'
   18204   ;;
   18205 
   18206 uts4*)
   18207   version_type=linux
   18208   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18209   soname_spec='${libname}${release}${shared_ext}$major'
   18210   shlibpath_var=LD_LIBRARY_PATH
   18211   ;;
   18212 
   18213 *)
   18214   dynamic_linker=no
   18215   ;;
   18216 esac
   18217 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18218 echo "${ECHO_T}$dynamic_linker" >&6; }
   18219 test "$dynamic_linker" = no && can_build_shared=no
   18220 
   18221 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18222 if test "$GCC" = yes; then
   18223   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18224 fi
   18225 
   18226 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18227 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18228 hardcode_action_GCJ=
   18229 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18230    test -n "$runpath_var_GCJ" || \
   18231    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18232 
   18233   # We can hardcode non-existant directories.
   18234   if test "$hardcode_direct_GCJ" != no &&
   18235      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18236      # have to relink, otherwise we might link with an installed library
   18237      # when we should be linking with a yet-to-be-installed one
   18238      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18239      test "$hardcode_minus_L_GCJ" != no; then
   18240     # Linking always hardcodes the temporary library directory.
   18241     hardcode_action_GCJ=relink
   18242   else
   18243     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18244     hardcode_action_GCJ=immediate
   18245   fi
   18246 else
   18247   # We cannot hardcode anything, or else we can only hardcode existing
   18248   # directories.
   18249   hardcode_action_GCJ=unsupported
   18250 fi
   18251 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18252 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18253 
   18254 if test "$hardcode_action_GCJ" = relink; then
   18255   # Fast installation is not supported
   18256   enable_fast_install=no
   18257 elif test "$shlibpath_overrides_runpath" = yes ||
   18258      test "$enable_shared" = no; then
   18259   # Fast installation is not necessary
   18260   enable_fast_install=needless
   18261 fi
   18262 
   18263 
   18264 # The else clause should only fire when bootstrapping the
   18265 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18266 # with your package, and you will get complaints that there are
   18267 # no rules to generate ltmain.sh.
   18268 if test -f "$ltmain"; then
   18269   # See if we are running on zsh, and set the options which allow our commands through
   18270   # without removal of \ escapes.
   18271   if test -n "${ZSH_VERSION+set}" ; then
   18272     setopt NO_GLOB_SUBST
   18273   fi
   18274   # Now quote all the things that may contain metacharacters while being
   18275   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18276   # variables and quote the copies for generation of the libtool script.
   18277   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18278     SED SHELL STRIP \
   18279     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18280     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18281     deplibs_check_method reload_flag reload_cmds need_locks \
   18282     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18283     lt_cv_sys_global_symbol_to_c_name_address \
   18284     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18285     old_postinstall_cmds old_postuninstall_cmds \
   18286     compiler_GCJ \
   18287     CC_GCJ \
   18288     LD_GCJ \
   18289     lt_prog_compiler_wl_GCJ \
   18290     lt_prog_compiler_pic_GCJ \
   18291     lt_prog_compiler_static_GCJ \
   18292     lt_prog_compiler_no_builtin_flag_GCJ \
   18293     export_dynamic_flag_spec_GCJ \
   18294     thread_safe_flag_spec_GCJ \
   18295     whole_archive_flag_spec_GCJ \
   18296     enable_shared_with_static_runtimes_GCJ \
   18297     old_archive_cmds_GCJ \
   18298     old_archive_from_new_cmds_GCJ \
   18299     predep_objects_GCJ \
   18300     postdep_objects_GCJ \
   18301     predeps_GCJ \
   18302     postdeps_GCJ \
   18303     compiler_lib_search_path_GCJ \
   18304     archive_cmds_GCJ \
   18305     archive_expsym_cmds_GCJ \
   18306     postinstall_cmds_GCJ \
   18307     postuninstall_cmds_GCJ \
   18308     old_archive_from_expsyms_cmds_GCJ \
   18309     allow_undefined_flag_GCJ \
   18310     no_undefined_flag_GCJ \
   18311     export_symbols_cmds_GCJ \
   18312     hardcode_libdir_flag_spec_GCJ \
   18313     hardcode_libdir_flag_spec_ld_GCJ \
   18314     hardcode_libdir_separator_GCJ \
   18315     hardcode_automatic_GCJ \
   18316     module_cmds_GCJ \
   18317     module_expsym_cmds_GCJ \
   18318     lt_cv_prog_compiler_c_o_GCJ \
   18319     exclude_expsyms_GCJ \
   18320     include_expsyms_GCJ; do
   18321 
   18322     case $var in
   18323     old_archive_cmds_GCJ | \
   18324     old_archive_from_new_cmds_GCJ | \
   18325     archive_cmds_GCJ | \
   18326     archive_expsym_cmds_GCJ | \
   18327     module_cmds_GCJ | \
   18328     module_expsym_cmds_GCJ | \
   18329     old_archive_from_expsyms_cmds_GCJ | \
   18330     export_symbols_cmds_GCJ | \
   18331     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18332     postinstall_cmds | postuninstall_cmds | \
   18333     old_postinstall_cmds | old_postuninstall_cmds | \
   18334     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18335       # Double-quote double-evaled strings.
   18336       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18337       ;;
   18338     *)
   18339       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18340       ;;
   18341     esac
   18342   done
   18343 
   18344   case $lt_echo in
   18345   *'\$0 --fallback-echo"')
   18346     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18347     ;;
   18348   esac
   18349 
   18350 cfgfile="$ofile"
   18351 
   18352   cat <<__EOF__ >> "$cfgfile"
   18353 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18354 
   18355 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18356 
   18357 # Shell to use when invoking shell scripts.
   18358 SHELL=$lt_SHELL
   18359 
   18360 # Whether or not to build shared libraries.
   18361 build_libtool_libs=$enable_shared
   18362 
   18363 # Whether or not to build static libraries.
   18364 build_old_libs=$enable_static
   18365 
   18366 # Whether or not to add -lc for building shared libraries.
   18367 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18368 
   18369 # Whether or not to disallow shared libs when runtime libs are static
   18370 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18371 
   18372 # Whether or not to optimize for fast installation.
   18373 fast_install=$enable_fast_install
   18374 
   18375 # The host system.
   18376 host_alias=$host_alias
   18377 host=$host
   18378 host_os=$host_os
   18379 
   18380 # The build system.
   18381 build_alias=$build_alias
   18382 build=$build
   18383 build_os=$build_os
   18384 
   18385 # An echo program that does not interpret backslashes.
   18386 echo=$lt_echo
   18387 
   18388 # The archiver.
   18389 AR=$lt_AR
   18390 AR_FLAGS=$lt_AR_FLAGS
   18391 
   18392 # A C compiler.
   18393 LTCC=$lt_LTCC
   18394 
   18395 # LTCC compiler flags.
   18396 LTCFLAGS=$lt_LTCFLAGS
   18397 
   18398 # A language-specific compiler.
   18399 CC=$lt_compiler_GCJ
   18400 
   18401 # Is the compiler the GNU C compiler?
   18402 with_gcc=$GCC_GCJ
   18403 
   18404 # An ERE matcher.
   18405 EGREP=$lt_EGREP
   18406 
   18407 # The linker used to build libraries.
   18408 LD=$lt_LD_GCJ
   18409 
   18410 # Whether we need hard or soft links.
   18411 LN_S=$lt_LN_S
   18412 
   18413 # A BSD-compatible nm program.
   18414 NM=$lt_NM
   18415 
   18416 # A symbol stripping program
   18417 STRIP=$lt_STRIP
   18418 
   18419 # Used to examine libraries when file_magic_cmd begins "file"
   18420 MAGIC_CMD=$MAGIC_CMD
   18421 
   18422 # Used on cygwin: DLL creation program.
   18423 DLLTOOL="$DLLTOOL"
   18424 
   18425 # Used on cygwin: object dumper.
   18426 OBJDUMP="$OBJDUMP"
   18427 
   18428 # Used on cygwin: assembler.
   18429 AS="$AS"
   18430 
   18431 # The name of the directory that contains temporary libtool files.
   18432 objdir=$objdir
   18433 
   18434 # How to create reloadable object files.
   18435 reload_flag=$lt_reload_flag
   18436 reload_cmds=$lt_reload_cmds
   18437 
   18438 # How to pass a linker flag through the compiler.
   18439 wl=$lt_lt_prog_compiler_wl_GCJ
   18440 
   18441 # Object file suffix (normally "o").
   18442 objext="$ac_objext"
   18443 
   18444 # Old archive suffix (normally "a").
   18445 libext="$libext"
   18446 
   18447 # Shared library suffix (normally ".so").
   18448 shrext_cmds='$shrext_cmds'
   18449 
   18450 # Executable file suffix (normally "").
   18451 exeext="$exeext"
   18452 
   18453 # Additional compiler flags for building library objects.
   18454 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   18455 pic_mode=$pic_mode
   18456 
   18457 # What is the maximum length of a command?
   18458 max_cmd_len=$lt_cv_sys_max_cmd_len
   18459 
   18460 # Does compiler simultaneously support -c and -o options?
   18461 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   18462 
   18463 # Must we lock files when doing compilation?
   18464 need_locks=$lt_need_locks
   18465 
   18466 # Do we need the lib prefix for modules?
   18467 need_lib_prefix=$need_lib_prefix
   18468 
   18469 # Do we need a version for libraries?
   18470 need_version=$need_version
   18471 
   18472 # Whether dlopen is supported.
   18473 dlopen_support=$enable_dlopen
   18474 
   18475 # Whether dlopen of programs is supported.
   18476 dlopen_self=$enable_dlopen_self
   18477 
   18478 # Whether dlopen of statically linked programs is supported.
   18479 dlopen_self_static=$enable_dlopen_self_static
   18480 
   18481 # Compiler flag to prevent dynamic linking.
   18482 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   18483 
   18484 # Compiler flag to turn off builtin functions.
   18485 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   18486 
   18487 # Compiler flag to allow reflexive dlopens.
   18488 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   18489 
   18490 # Compiler flag to generate shared objects directly from archives.
   18491 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   18492 
   18493 # Compiler flag to generate thread-safe objects.
   18494 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   18495 
   18496 # Library versioning type.
   18497 version_type=$version_type
   18498 
   18499 # Format of library name prefix.
   18500 libname_spec=$lt_libname_spec
   18501 
   18502 # List of archive names.  First name is the real one, the rest are links.
   18503 # The last name is the one that the linker finds with -lNAME.
   18504 library_names_spec=$lt_library_names_spec
   18505 
   18506 # The coded name of the library, if different from the real name.
   18507 soname_spec=$lt_soname_spec
   18508 
   18509 # Commands used to build and install an old-style archive.
   18510 RANLIB=$lt_RANLIB
   18511 old_archive_cmds=$lt_old_archive_cmds_GCJ
   18512 old_postinstall_cmds=$lt_old_postinstall_cmds
   18513 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18514 
   18515 # Create an old-style archive from a shared archive.
   18516 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   18517 
   18518 # Create a temporary old-style archive to link instead of a shared archive.
   18519 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   18520 
   18521 # Commands used to build and install a shared archive.
   18522 archive_cmds=$lt_archive_cmds_GCJ
   18523 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   18524 postinstall_cmds=$lt_postinstall_cmds
   18525 postuninstall_cmds=$lt_postuninstall_cmds
   18526 
   18527 # Commands used to build a loadable module (assumed same as above if empty)
   18528 module_cmds=$lt_module_cmds_GCJ
   18529 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   18530 
   18531 # Commands to strip libraries.
   18532 old_striplib=$lt_old_striplib
   18533 striplib=$lt_striplib
   18534 
   18535 # Dependencies to place before the objects being linked to create a
   18536 # shared library.
   18537 predep_objects=$lt_predep_objects_GCJ
   18538 
   18539 # Dependencies to place after the objects being linked to create a
   18540 # shared library.
   18541 postdep_objects=$lt_postdep_objects_GCJ
   18542 
   18543 # Dependencies to place before the objects being linked to create a
   18544 # shared library.
   18545 predeps=$lt_predeps_GCJ
   18546 
   18547 # Dependencies to place after the objects being linked to create a
   18548 # shared library.
   18549 postdeps=$lt_postdeps_GCJ
   18550 
   18551 # The library search path used internally by the compiler when linking
   18552 # a shared library.
   18553 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   18554 
   18555 # Method to check whether dependent libraries are shared objects.
   18556 deplibs_check_method=$lt_deplibs_check_method
   18557 
   18558 # Command to use when deplibs_check_method == file_magic.
   18559 file_magic_cmd=$lt_file_magic_cmd
   18560 
   18561 # Flag that allows shared libraries with undefined symbols to be built.
   18562 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   18563 
   18564 # Flag that forces no undefined symbols.
   18565 no_undefined_flag=$lt_no_undefined_flag_GCJ
   18566 
   18567 # Commands used to finish a libtool library installation in a directory.
   18568 finish_cmds=$lt_finish_cmds
   18569 
   18570 # Same as above, but a single script fragment to be evaled but not shown.
   18571 finish_eval=$lt_finish_eval
   18572 
   18573 # Take the output of nm and produce a listing of raw symbols and C names.
   18574 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18575 
   18576 # Transform the output of nm in a proper C declaration
   18577 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18578 
   18579 # Transform the output of nm in a C name address pair
   18580 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18581 
   18582 # This is the shared library runtime path variable.
   18583 runpath_var=$runpath_var
   18584 
   18585 # This is the shared library path variable.
   18586 shlibpath_var=$shlibpath_var
   18587 
   18588 # Is shlibpath searched before the hard-coded library search path?
   18589 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18590 
   18591 # How to hardcode a shared library path into an executable.
   18592 hardcode_action=$hardcode_action_GCJ
   18593 
   18594 # Whether we should hardcode library paths into libraries.
   18595 hardcode_into_libs=$hardcode_into_libs
   18596 
   18597 # Flag to hardcode \$libdir into a binary during linking.
   18598 # This must work even if \$libdir does not exist.
   18599 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   18600 
   18601 # If ld is used when linking, flag to hardcode \$libdir into
   18602 # a binary during linking. This must work even if \$libdir does
   18603 # not exist.
   18604 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   18605 
   18606 # Whether we need a single -rpath flag with a separated argument.
   18607 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   18608 
   18609 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18610 # resulting binary.
   18611 hardcode_direct=$hardcode_direct_GCJ
   18612 
   18613 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18614 # resulting binary.
   18615 hardcode_minus_L=$hardcode_minus_L_GCJ
   18616 
   18617 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18618 # the resulting binary.
   18619 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   18620 
   18621 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18622 # and all subsequent libraries and executables linked against it.
   18623 hardcode_automatic=$hardcode_automatic_GCJ
   18624 
   18625 # Variables whose values should be saved in libtool wrapper scripts and
   18626 # restored at relink time.
   18627 variables_saved_for_relink="$variables_saved_for_relink"
   18628 
   18629 # Whether libtool must link a program against all its dependency libraries.
   18630 link_all_deplibs=$link_all_deplibs_GCJ
   18631 
   18632 # Compile-time system search path for libraries
   18633 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18634 
   18635 # Run-time system search path for libraries
   18636 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18637 
   18638 # Fix the shell variable \$srcfile for the compiler.
   18639 fix_srcfile_path="$fix_srcfile_path_GCJ"
   18640 
   18641 # Set to yes if exported symbols are required.
   18642 always_export_symbols=$always_export_symbols_GCJ
   18643 
   18644 # The commands to list exported symbols.
   18645 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   18646 
   18647 # The commands to extract the exported symbol list from a shared archive.
   18648 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18649 
   18650 # Symbols that should not be listed in the preloaded symbols.
   18651 exclude_expsyms=$lt_exclude_expsyms_GCJ
   18652 
   18653 # Symbols that must always be exported.
   18654 include_expsyms=$lt_include_expsyms_GCJ
   18655 
   18656 # ### END LIBTOOL TAG CONFIG: $tagname
   18657 
   18658 __EOF__
   18659 
   18660 
   18661 else
   18662   # If there is no Makefile yet, we rely on a make rule to execute
   18663   # `config.status --recheck' to rerun these tests and create the
   18664   # libtool script then.
   18665   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18666   if test -f "$ltmain_in"; then
   18667     test -f Makefile && make "$ltmain"
   18668   fi
   18669 fi
   18670 
   18671 
   18672 ac_ext=c
   18673 ac_cpp='$CPP $CPPFLAGS'
   18674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18677 
   18678 CC="$lt_save_CC"
   18679 
   18680 	else
   18681 	  tagname=""
   18682 	fi
   18683 	;;
   18684 
   18685       RC)
   18686 
   18687 
   18688 # Source file extension for RC test sources.
   18689 ac_ext=rc
   18690 
   18691 # Object file extension for compiled RC test sources.
   18692 objext=o
   18693 objext_RC=$objext
   18694 
   18695 # Code to be used in simple compile tests
   18696 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   18697 
   18698 # Code to be used in simple link tests
   18699 lt_simple_link_test_code="$lt_simple_compile_test_code"
   18700 
   18701 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18702 
   18703 # If no C compiler was specified, use CC.
   18704 LTCC=${LTCC-"$CC"}
   18705 
   18706 # If no C compiler flags were specified, use CFLAGS.
   18707 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18708 
   18709 # Allow CC to be a program name with arguments.
   18710 compiler=$CC
   18711 
   18712 
   18713 # save warnings/boilerplate of simple test code
   18714 ac_outfile=conftest.$ac_objext
   18715 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   18716 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18717 _lt_compiler_boilerplate=`cat conftest.err`
   18718 $rm conftest*
   18719 
   18720 ac_outfile=conftest.$ac_objext
   18721 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   18722 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18723 _lt_linker_boilerplate=`cat conftest.err`
   18724 $rm conftest*
   18725 
   18726 
   18727 # Allow CC to be a program name with arguments.
   18728 lt_save_CC="$CC"
   18729 CC=${RC-"windres"}
   18730 compiler=$CC
   18731 compiler_RC=$CC
   18732 for cc_temp in $compiler""; do
   18733   case $cc_temp in
   18734     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18735     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18736     \-*) ;;
   18737     *) break;;
   18738   esac
   18739 done
   18740 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   18741 
   18742 lt_cv_prog_compiler_c_o_RC=yes
   18743 
   18744 # The else clause should only fire when bootstrapping the
   18745 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18746 # with your package, and you will get complaints that there are
   18747 # no rules to generate ltmain.sh.
   18748 if test -f "$ltmain"; then
   18749   # See if we are running on zsh, and set the options which allow our commands through
   18750   # without removal of \ escapes.
   18751   if test -n "${ZSH_VERSION+set}" ; then
   18752     setopt NO_GLOB_SUBST
   18753   fi
   18754   # Now quote all the things that may contain metacharacters while being
   18755   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18756   # variables and quote the copies for generation of the libtool script.
   18757   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18758     SED SHELL STRIP \
   18759     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18760     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18761     deplibs_check_method reload_flag reload_cmds need_locks \
   18762     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18763     lt_cv_sys_global_symbol_to_c_name_address \
   18764     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18765     old_postinstall_cmds old_postuninstall_cmds \
   18766     compiler_RC \
   18767     CC_RC \
   18768     LD_RC \
   18769     lt_prog_compiler_wl_RC \
   18770     lt_prog_compiler_pic_RC \
   18771     lt_prog_compiler_static_RC \
   18772     lt_prog_compiler_no_builtin_flag_RC \
   18773     export_dynamic_flag_spec_RC \
   18774     thread_safe_flag_spec_RC \
   18775     whole_archive_flag_spec_RC \
   18776     enable_shared_with_static_runtimes_RC \
   18777     old_archive_cmds_RC \
   18778     old_archive_from_new_cmds_RC \
   18779     predep_objects_RC \
   18780     postdep_objects_RC \
   18781     predeps_RC \
   18782     postdeps_RC \
   18783     compiler_lib_search_path_RC \
   18784     archive_cmds_RC \
   18785     archive_expsym_cmds_RC \
   18786     postinstall_cmds_RC \
   18787     postuninstall_cmds_RC \
   18788     old_archive_from_expsyms_cmds_RC \
   18789     allow_undefined_flag_RC \
   18790     no_undefined_flag_RC \
   18791     export_symbols_cmds_RC \
   18792     hardcode_libdir_flag_spec_RC \
   18793     hardcode_libdir_flag_spec_ld_RC \
   18794     hardcode_libdir_separator_RC \
   18795     hardcode_automatic_RC \
   18796     module_cmds_RC \
   18797     module_expsym_cmds_RC \
   18798     lt_cv_prog_compiler_c_o_RC \
   18799     exclude_expsyms_RC \
   18800     include_expsyms_RC; do
   18801 
   18802     case $var in
   18803     old_archive_cmds_RC | \
   18804     old_archive_from_new_cmds_RC | \
   18805     archive_cmds_RC | \
   18806     archive_expsym_cmds_RC | \
   18807     module_cmds_RC | \
   18808     module_expsym_cmds_RC | \
   18809     old_archive_from_expsyms_cmds_RC | \
   18810     export_symbols_cmds_RC | \
   18811     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18812     postinstall_cmds | postuninstall_cmds | \
   18813     old_postinstall_cmds | old_postuninstall_cmds | \
   18814     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18815       # Double-quote double-evaled strings.
   18816       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18817       ;;
   18818     *)
   18819       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18820       ;;
   18821     esac
   18822   done
   18823 
   18824   case $lt_echo in
   18825   *'\$0 --fallback-echo"')
   18826     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18827     ;;
   18828   esac
   18829 
   18830 cfgfile="$ofile"
   18831 
   18832   cat <<__EOF__ >> "$cfgfile"
   18833 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18834 
   18835 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18836 
   18837 # Shell to use when invoking shell scripts.
   18838 SHELL=$lt_SHELL
   18839 
   18840 # Whether or not to build shared libraries.
   18841 build_libtool_libs=$enable_shared
   18842 
   18843 # Whether or not to build static libraries.
   18844 build_old_libs=$enable_static
   18845 
   18846 # Whether or not to add -lc for building shared libraries.
   18847 build_libtool_need_lc=$archive_cmds_need_lc_RC
   18848 
   18849 # Whether or not to disallow shared libs when runtime libs are static
   18850 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   18851 
   18852 # Whether or not to optimize for fast installation.
   18853 fast_install=$enable_fast_install
   18854 
   18855 # The host system.
   18856 host_alias=$host_alias
   18857 host=$host
   18858 host_os=$host_os
   18859 
   18860 # The build system.
   18861 build_alias=$build_alias
   18862 build=$build
   18863 build_os=$build_os
   18864 
   18865 # An echo program that does not interpret backslashes.
   18866 echo=$lt_echo
   18867 
   18868 # The archiver.
   18869 AR=$lt_AR
   18870 AR_FLAGS=$lt_AR_FLAGS
   18871 
   18872 # A C compiler.
   18873 LTCC=$lt_LTCC
   18874 
   18875 # LTCC compiler flags.
   18876 LTCFLAGS=$lt_LTCFLAGS
   18877 
   18878 # A language-specific compiler.
   18879 CC=$lt_compiler_RC
   18880 
   18881 # Is the compiler the GNU C compiler?
   18882 with_gcc=$GCC_RC
   18883 
   18884 # An ERE matcher.
   18885 EGREP=$lt_EGREP
   18886 
   18887 # The linker used to build libraries.
   18888 LD=$lt_LD_RC
   18889 
   18890 # Whether we need hard or soft links.
   18891 LN_S=$lt_LN_S
   18892 
   18893 # A BSD-compatible nm program.
   18894 NM=$lt_NM
   18895 
   18896 # A symbol stripping program
   18897 STRIP=$lt_STRIP
   18898 
   18899 # Used to examine libraries when file_magic_cmd begins "file"
   18900 MAGIC_CMD=$MAGIC_CMD
   18901 
   18902 # Used on cygwin: DLL creation program.
   18903 DLLTOOL="$DLLTOOL"
   18904 
   18905 # Used on cygwin: object dumper.
   18906 OBJDUMP="$OBJDUMP"
   18907 
   18908 # Used on cygwin: assembler.
   18909 AS="$AS"
   18910 
   18911 # The name of the directory that contains temporary libtool files.
   18912 objdir=$objdir
   18913 
   18914 # How to create reloadable object files.
   18915 reload_flag=$lt_reload_flag
   18916 reload_cmds=$lt_reload_cmds
   18917 
   18918 # How to pass a linker flag through the compiler.
   18919 wl=$lt_lt_prog_compiler_wl_RC
   18920 
   18921 # Object file suffix (normally "o").
   18922 objext="$ac_objext"
   18923 
   18924 # Old archive suffix (normally "a").
   18925 libext="$libext"
   18926 
   18927 # Shared library suffix (normally ".so").
   18928 shrext_cmds='$shrext_cmds'
   18929 
   18930 # Executable file suffix (normally "").
   18931 exeext="$exeext"
   18932 
   18933 # Additional compiler flags for building library objects.
   18934 pic_flag=$lt_lt_prog_compiler_pic_RC
   18935 pic_mode=$pic_mode
   18936 
   18937 # What is the maximum length of a command?
   18938 max_cmd_len=$lt_cv_sys_max_cmd_len
   18939 
   18940 # Does compiler simultaneously support -c and -o options?
   18941 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   18942 
   18943 # Must we lock files when doing compilation?
   18944 need_locks=$lt_need_locks
   18945 
   18946 # Do we need the lib prefix for modules?
   18947 need_lib_prefix=$need_lib_prefix
   18948 
   18949 # Do we need a version for libraries?
   18950 need_version=$need_version
   18951 
   18952 # Whether dlopen is supported.
   18953 dlopen_support=$enable_dlopen
   18954 
   18955 # Whether dlopen of programs is supported.
   18956 dlopen_self=$enable_dlopen_self
   18957 
   18958 # Whether dlopen of statically linked programs is supported.
   18959 dlopen_self_static=$enable_dlopen_self_static
   18960 
   18961 # Compiler flag to prevent dynamic linking.
   18962 link_static_flag=$lt_lt_prog_compiler_static_RC
   18963 
   18964 # Compiler flag to turn off builtin functions.
   18965 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   18966 
   18967 # Compiler flag to allow reflexive dlopens.
   18968 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   18969 
   18970 # Compiler flag to generate shared objects directly from archives.
   18971 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   18972 
   18973 # Compiler flag to generate thread-safe objects.
   18974 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   18975 
   18976 # Library versioning type.
   18977 version_type=$version_type
   18978 
   18979 # Format of library name prefix.
   18980 libname_spec=$lt_libname_spec
   18981 
   18982 # List of archive names.  First name is the real one, the rest are links.
   18983 # The last name is the one that the linker finds with -lNAME.
   18984 library_names_spec=$lt_library_names_spec
   18985 
   18986 # The coded name of the library, if different from the real name.
   18987 soname_spec=$lt_soname_spec
   18988 
   18989 # Commands used to build and install an old-style archive.
   18990 RANLIB=$lt_RANLIB
   18991 old_archive_cmds=$lt_old_archive_cmds_RC
   18992 old_postinstall_cmds=$lt_old_postinstall_cmds
   18993 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18994 
   18995 # Create an old-style archive from a shared archive.
   18996 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   18997 
   18998 # Create a temporary old-style archive to link instead of a shared archive.
   18999 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19000 
   19001 # Commands used to build and install a shared archive.
   19002 archive_cmds=$lt_archive_cmds_RC
   19003 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19004 postinstall_cmds=$lt_postinstall_cmds
   19005 postuninstall_cmds=$lt_postuninstall_cmds
   19006 
   19007 # Commands used to build a loadable module (assumed same as above if empty)
   19008 module_cmds=$lt_module_cmds_RC
   19009 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19010 
   19011 # Commands to strip libraries.
   19012 old_striplib=$lt_old_striplib
   19013 striplib=$lt_striplib
   19014 
   19015 # Dependencies to place before the objects being linked to create a
   19016 # shared library.
   19017 predep_objects=$lt_predep_objects_RC
   19018 
   19019 # Dependencies to place after the objects being linked to create a
   19020 # shared library.
   19021 postdep_objects=$lt_postdep_objects_RC
   19022 
   19023 # Dependencies to place before the objects being linked to create a
   19024 # shared library.
   19025 predeps=$lt_predeps_RC
   19026 
   19027 # Dependencies to place after the objects being linked to create a
   19028 # shared library.
   19029 postdeps=$lt_postdeps_RC
   19030 
   19031 # The library search path used internally by the compiler when linking
   19032 # a shared library.
   19033 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19034 
   19035 # Method to check whether dependent libraries are shared objects.
   19036 deplibs_check_method=$lt_deplibs_check_method
   19037 
   19038 # Command to use when deplibs_check_method == file_magic.
   19039 file_magic_cmd=$lt_file_magic_cmd
   19040 
   19041 # Flag that allows shared libraries with undefined symbols to be built.
   19042 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19043 
   19044 # Flag that forces no undefined symbols.
   19045 no_undefined_flag=$lt_no_undefined_flag_RC
   19046 
   19047 # Commands used to finish a libtool library installation in a directory.
   19048 finish_cmds=$lt_finish_cmds
   19049 
   19050 # Same as above, but a single script fragment to be evaled but not shown.
   19051 finish_eval=$lt_finish_eval
   19052 
   19053 # Take the output of nm and produce a listing of raw symbols and C names.
   19054 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19055 
   19056 # Transform the output of nm in a proper C declaration
   19057 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19058 
   19059 # Transform the output of nm in a C name address pair
   19060 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19061 
   19062 # This is the shared library runtime path variable.
   19063 runpath_var=$runpath_var
   19064 
   19065 # This is the shared library path variable.
   19066 shlibpath_var=$shlibpath_var
   19067 
   19068 # Is shlibpath searched before the hard-coded library search path?
   19069 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19070 
   19071 # How to hardcode a shared library path into an executable.
   19072 hardcode_action=$hardcode_action_RC
   19073 
   19074 # Whether we should hardcode library paths into libraries.
   19075 hardcode_into_libs=$hardcode_into_libs
   19076 
   19077 # Flag to hardcode \$libdir into a binary during linking.
   19078 # This must work even if \$libdir does not exist.
   19079 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19080 
   19081 # If ld is used when linking, flag to hardcode \$libdir into
   19082 # a binary during linking. This must work even if \$libdir does
   19083 # not exist.
   19084 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19085 
   19086 # Whether we need a single -rpath flag with a separated argument.
   19087 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19088 
   19089 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19090 # resulting binary.
   19091 hardcode_direct=$hardcode_direct_RC
   19092 
   19093 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19094 # resulting binary.
   19095 hardcode_minus_L=$hardcode_minus_L_RC
   19096 
   19097 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19098 # the resulting binary.
   19099 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19100 
   19101 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19102 # and all subsequent libraries and executables linked against it.
   19103 hardcode_automatic=$hardcode_automatic_RC
   19104 
   19105 # Variables whose values should be saved in libtool wrapper scripts and
   19106 # restored at relink time.
   19107 variables_saved_for_relink="$variables_saved_for_relink"
   19108 
   19109 # Whether libtool must link a program against all its dependency libraries.
   19110 link_all_deplibs=$link_all_deplibs_RC
   19111 
   19112 # Compile-time system search path for libraries
   19113 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19114 
   19115 # Run-time system search path for libraries
   19116 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19117 
   19118 # Fix the shell variable \$srcfile for the compiler.
   19119 fix_srcfile_path="$fix_srcfile_path_RC"
   19120 
   19121 # Set to yes if exported symbols are required.
   19122 always_export_symbols=$always_export_symbols_RC
   19123 
   19124 # The commands to list exported symbols.
   19125 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19126 
   19127 # The commands to extract the exported symbol list from a shared archive.
   19128 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19129 
   19130 # Symbols that should not be listed in the preloaded symbols.
   19131 exclude_expsyms=$lt_exclude_expsyms_RC
   19132 
   19133 # Symbols that must always be exported.
   19134 include_expsyms=$lt_include_expsyms_RC
   19135 
   19136 # ### END LIBTOOL TAG CONFIG: $tagname
   19137 
   19138 __EOF__
   19139 
   19140 
   19141 else
   19142   # If there is no Makefile yet, we rely on a make rule to execute
   19143   # `config.status --recheck' to rerun these tests and create the
   19144   # libtool script then.
   19145   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19146   if test -f "$ltmain_in"; then
   19147     test -f Makefile && make "$ltmain"
   19148   fi
   19149 fi
   19150 
   19151 
   19152 ac_ext=c
   19153 ac_cpp='$CPP $CPPFLAGS'
   19154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19157 
   19158 CC="$lt_save_CC"
   19159 
   19160 	;;
   19161 
   19162       *)
   19163 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19164 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19165    { (exit 1); exit 1; }; }
   19166 	;;
   19167       esac
   19168 
   19169       # Append the new tag name to the list of available tags.
   19170       if test -n "$tagname" ; then
   19171       available_tags="$available_tags $tagname"
   19172     fi
   19173     fi
   19174   done
   19175   IFS="$lt_save_ifs"
   19176 
   19177   # Now substitute the updated list of available tags.
   19178   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19179     mv "${ofile}T" "$ofile"
   19180     chmod +x "$ofile"
   19181   else
   19182     rm -f "${ofile}T"
   19183     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19184 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19185    { (exit 1); exit 1; }; }
   19186   fi
   19187 fi
   19188 
   19189 
   19190 
   19191 # This can be used to rebuild libtool when needed
   19192 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19193 
   19194 # Always use our own libtool.
   19195 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19196 
   19197 # Prevent multiple expansion
   19198 
   19199 
   19200 
   19201 
   19202 
   19203 
   19204 
   19205 
   19206 
   19207 
   19208 
   19209 
   19210 
   19211 
   19212 
   19213 
   19214 
   19215 
   19216 
   19217 
   19218 
   19219 # Checks for pkg-config packages
   19220 
   19221 
   19222 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   19223 	if test -n "$ac_tool_prefix"; then
   19224   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   19225 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   19226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19228 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   19229   echo $ECHO_N "(cached) $ECHO_C" >&6
   19230 else
   19231   case $PKG_CONFIG in
   19232   [\\/]* | ?:[\\/]*)
   19233   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19234   ;;
   19235   *)
   19236   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19237 for as_dir in $PATH
   19238 do
   19239   IFS=$as_save_IFS
   19240   test -z "$as_dir" && as_dir=.
   19241   for ac_exec_ext in '' $ac_executable_extensions; do
   19242   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19243     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19244     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19245     break 2
   19246   fi
   19247 done
   19248 done
   19249 IFS=$as_save_IFS
   19250 
   19251   ;;
   19252 esac
   19253 fi
   19254 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19255 if test -n "$PKG_CONFIG"; then
   19256   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   19257 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   19258 else
   19259   { echo "$as_me:$LINENO: result: no" >&5
   19260 echo "${ECHO_T}no" >&6; }
   19261 fi
   19262 
   19263 
   19264 fi
   19265 if test -z "$ac_cv_path_PKG_CONFIG"; then
   19266   ac_pt_PKG_CONFIG=$PKG_CONFIG
   19267   # Extract the first word of "pkg-config", so it can be a program name with args.
   19268 set dummy pkg-config; ac_word=$2
   19269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19271 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   19272   echo $ECHO_N "(cached) $ECHO_C" >&6
   19273 else
   19274   case $ac_pt_PKG_CONFIG in
   19275   [\\/]* | ?:[\\/]*)
   19276   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   19277   ;;
   19278   *)
   19279   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19280 for as_dir in $PATH
   19281 do
   19282   IFS=$as_save_IFS
   19283   test -z "$as_dir" && as_dir=.
   19284   for ac_exec_ext in '' $ac_executable_extensions; do
   19285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19286     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19287     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19288     break 2
   19289   fi
   19290 done
   19291 done
   19292 IFS=$as_save_IFS
   19293 
   19294   ;;
   19295 esac
   19296 fi
   19297 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   19298 if test -n "$ac_pt_PKG_CONFIG"; then
   19299   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   19300 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   19301 else
   19302   { echo "$as_me:$LINENO: result: no" >&5
   19303 echo "${ECHO_T}no" >&6; }
   19304 fi
   19305 
   19306   if test "x$ac_pt_PKG_CONFIG" = x; then
   19307     PKG_CONFIG=""
   19308   else
   19309     case $cross_compiling:$ac_tool_warned in
   19310 yes:)
   19311 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19312 whose name does not start with the host triplet.  If you think this
   19313 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19314 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19315 whose name does not start with the host triplet.  If you think this
   19316 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19317 ac_tool_warned=yes ;;
   19318 esac
   19319     PKG_CONFIG=$ac_pt_PKG_CONFIG
   19320   fi
   19321 else
   19322   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   19323 fi
   19324 
   19325 fi
   19326 if test -n "$PKG_CONFIG"; then
   19327 	_pkg_min_version=0.9.0
   19328 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   19329 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   19330 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   19331 		{ echo "$as_me:$LINENO: result: yes" >&5
   19332 echo "${ECHO_T}yes" >&6; }
   19333 	else
   19334 		{ echo "$as_me:$LINENO: result: no" >&5
   19335 echo "${ECHO_T}no" >&6; }
   19336 		PKG_CONFIG=""
   19337 	fi
   19338 
   19339 fi
   19340 
   19341 pkg_failed=no
   19342 { echo "$as_me:$LINENO: checking for XXF86DGA" >&5
   19343 echo $ECHO_N "checking for XXF86DGA... $ECHO_C" >&6; }
   19344 
   19345 if test -n "$PKG_CONFIG"; then
   19346     if test -n "$XXF86DGA_CFLAGS"; then
   19347         pkg_cv_XXF86DGA_CFLAGS="$XXF86DGA_CFLAGS"
   19348     else
   19349         if test -n "$PKG_CONFIG" && \
   19350     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xextproto xext xf86dgaproto >= 2.0.3\"") >&5
   19351   ($PKG_CONFIG --exists --print-errors "xproto x11 xextproto xext xf86dgaproto >= 2.0.3") 2>&5
   19352   ac_status=$?
   19353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19354   (exit $ac_status); }; then
   19355   pkg_cv_XXF86DGA_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xextproto xext xf86dgaproto >= 2.0.3" 2>/dev/null`
   19356 else
   19357   pkg_failed=yes
   19358 fi
   19359     fi
   19360 else
   19361 	pkg_failed=untried
   19362 fi
   19363 if test -n "$PKG_CONFIG"; then
   19364     if test -n "$XXF86DGA_LIBS"; then
   19365         pkg_cv_XXF86DGA_LIBS="$XXF86DGA_LIBS"
   19366     else
   19367         if test -n "$PKG_CONFIG" && \
   19368     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xextproto xext xf86dgaproto >= 2.0.3\"") >&5
   19369   ($PKG_CONFIG --exists --print-errors "xproto x11 xextproto xext xf86dgaproto >= 2.0.3") 2>&5
   19370   ac_status=$?
   19371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19372   (exit $ac_status); }; then
   19373   pkg_cv_XXF86DGA_LIBS=`$PKG_CONFIG --libs "xproto x11 xextproto xext xf86dgaproto >= 2.0.3" 2>/dev/null`
   19374 else
   19375   pkg_failed=yes
   19376 fi
   19377     fi
   19378 else
   19379 	pkg_failed=untried
   19380 fi
   19381 
   19382 
   19383 
   19384 if test $pkg_failed = yes; then
   19385 
   19386 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19387         _pkg_short_errors_supported=yes
   19388 else
   19389         _pkg_short_errors_supported=no
   19390 fi
   19391         if test $_pkg_short_errors_supported = yes; then
   19392 	        XXF86DGA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xproto x11 xextproto xext xf86dgaproto >= 2.0.3"`
   19393         else
   19394 	        XXF86DGA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto x11 xextproto xext xf86dgaproto >= 2.0.3"`
   19395         fi
   19396 	# Put the nasty error message in config.log where it belongs
   19397 	echo "$XXF86DGA_PKG_ERRORS" >&5
   19398 
   19399 	{ { echo "$as_me:$LINENO: error: Package requirements (xproto x11 xextproto xext xf86dgaproto >= 2.0.3) were not met:
   19400 
   19401 $XXF86DGA_PKG_ERRORS
   19402 
   19403 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19404 installed software in a non-standard prefix.
   19405 
   19406 Alternatively, you may set the environment variables XXF86DGA_CFLAGS
   19407 and XXF86DGA_LIBS to avoid the need to call pkg-config.
   19408 See the pkg-config man page for more details.
   19409 " >&5
   19410 echo "$as_me: error: Package requirements (xproto x11 xextproto xext xf86dgaproto >= 2.0.3) were not met:
   19411 
   19412 $XXF86DGA_PKG_ERRORS
   19413 
   19414 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19415 installed software in a non-standard prefix.
   19416 
   19417 Alternatively, you may set the environment variables XXF86DGA_CFLAGS
   19418 and XXF86DGA_LIBS to avoid the need to call pkg-config.
   19419 See the pkg-config man page for more details.
   19420 " >&2;}
   19421    { (exit 1); exit 1; }; }
   19422 elif test $pkg_failed = untried; then
   19423 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   19424 is in your PATH or set the PKG_CONFIG environment variable to the full
   19425 path to pkg-config.
   19426 
   19427 Alternatively, you may set the environment variables XXF86DGA_CFLAGS
   19428 and XXF86DGA_LIBS to avoid the need to call pkg-config.
   19429 See the pkg-config man page for more details.
   19430 
   19431 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19432 See \`config.log' for more details." >&5
   19433 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   19434 is in your PATH or set the PKG_CONFIG environment variable to the full
   19435 path to pkg-config.
   19436 
   19437 Alternatively, you may set the environment variables XXF86DGA_CFLAGS
   19438 and XXF86DGA_LIBS to avoid the need to call pkg-config.
   19439 See the pkg-config man page for more details.
   19440 
   19441 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19442 See \`config.log' for more details." >&2;}
   19443    { (exit 1); exit 1; }; }
   19444 else
   19445 	XXF86DGA_CFLAGS=$pkg_cv_XXF86DGA_CFLAGS
   19446 	XXF86DGA_LIBS=$pkg_cv_XXF86DGA_LIBS
   19447         { echo "$as_me:$LINENO: result: yes" >&5
   19448 echo "${ECHO_T}yes" >&6; }
   19449 	:
   19450 fi
   19451 
   19452 
   19453 # Check whether --enable-malloc0returnsnull was given.
   19454 if test "${enable_malloc0returnsnull+set}" = set; then
   19455   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   19456 else
   19457   MALLOC_ZERO_RETURNS_NULL=auto
   19458 fi
   19459 
   19460 
   19461 { echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
   19462 echo $ECHO_N "checking whether malloc(0) returns NULL... $ECHO_C" >&6; }
   19463 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   19464 	if test "$cross_compiling" = yes; then
   19465   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   19466 See \`config.log' for more details." >&5
   19467 echo "$as_me: error: cannot run test program while cross compiling
   19468 See \`config.log' for more details." >&2;}
   19469    { (exit 1); exit 1; }; }
   19470 else
   19471   cat >conftest.$ac_ext <<_ACEOF
   19472 
   19473 char *malloc();
   19474 char *realloc();
   19475 char *calloc();
   19476 main() {
   19477     char *m0, *r0, *c0, *p;
   19478     m0 = malloc(0);
   19479     p = malloc(10);
   19480     r0 = realloc(p,0);
   19481     c0 = calloc(0);
   19482     exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
   19483 }
   19484 _ACEOF
   19485 rm -f conftest$ac_exeext
   19486 if { (ac_try="$ac_link"
   19487 case "(($ac_try" in
   19488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19489   *) ac_try_echo=$ac_try;;
   19490 esac
   19491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19492   (eval "$ac_link") 2>&5
   19493   ac_status=$?
   19494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19495   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   19496   { (case "(($ac_try" in
   19497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19498   *) ac_try_echo=$ac_try;;
   19499 esac
   19500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19501   (eval "$ac_try") 2>&5
   19502   ac_status=$?
   19503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19504   (exit $ac_status); }; }; then
   19505   MALLOC_ZERO_RETURNS_NULL=yes
   19506 else
   19507   echo "$as_me: program exited with status $ac_status" >&5
   19508 echo "$as_me: failed program was:" >&5
   19509 sed 's/^/| /' conftest.$ac_ext >&5
   19510 
   19511 ( exit $ac_status )
   19512 MALLOC_ZERO_RETURNS_NULL=no
   19513 fi
   19514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   19515 fi
   19516 
   19517 
   19518 fi
   19519 { echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   19520 echo "${ECHO_T}$MALLOC_ZERO_RETURNS_NULL" >&6; }
   19521 
   19522 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   19523 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   19524 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   19525 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   19526 else
   19527 	MALLOC_ZERO_CFLAGS=""
   19528 	XMALLOC_ZERO_CFLAGS=""
   19529 	XTMALLOC_ZERO_CFLAGS=""
   19530 fi
   19531 
   19532 
   19533 
   19534 
   19535 
   19536 
   19537 
   19538 
   19539 if test x$APP_MAN_SUFFIX = x    ; then
   19540     APP_MAN_SUFFIX=1
   19541 fi
   19542 if test x$APP_MAN_DIR = x    ; then
   19543     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19544 fi
   19545 
   19546 if test x$LIB_MAN_SUFFIX = x    ; then
   19547     LIB_MAN_SUFFIX=3
   19548 fi
   19549 if test x$LIB_MAN_DIR = x    ; then
   19550     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19551 fi
   19552 
   19553 if test x$FILE_MAN_SUFFIX = x    ; then
   19554     case $host_os in
   19555 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   19556 	*)		FILE_MAN_SUFFIX=5  ;;
   19557     esac
   19558 fi
   19559 if test x$FILE_MAN_DIR = x    ; then
   19560     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19561 fi
   19562 
   19563 if test x$MISC_MAN_SUFFIX = x    ; then
   19564     case $host_os in
   19565 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   19566 	*)		MISC_MAN_SUFFIX=7  ;;
   19567     esac
   19568 fi
   19569 if test x$MISC_MAN_DIR = x    ; then
   19570     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19571 fi
   19572 
   19573 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19574     case $host_os in
   19575 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   19576 	*)		DRIVER_MAN_SUFFIX=4  ;;
   19577     esac
   19578 fi
   19579 if test x$DRIVER_MAN_DIR = x    ; then
   19580     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19581 fi
   19582 
   19583 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19584     case $host_os in
   19585 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   19586 	*)		ADMIN_MAN_SUFFIX=8  ;;
   19587     esac
   19588 fi
   19589 if test x$ADMIN_MAN_DIR = x    ; then
   19590     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19591 fi
   19592 
   19593 
   19594 
   19595 
   19596 
   19597 
   19598 
   19599 
   19600 
   19601 
   19602 
   19603 
   19604 
   19605 
   19606 
   19607 
   19608 
   19609 # Check whether --with-release-version was given.
   19610 if test "${with_release_version+set}" = set; then
   19611   withval=$with_release_version; RELEASE_VERSION="$withval"
   19612 else
   19613   RELEASE_VERSION=""
   19614 fi
   19615 
   19616 	if test "x$RELEASE_VERSION" != "x"; then
   19617 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   19618 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   19619 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   19620 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   19621 	fi
   19622 
   19623 cat >>confdefs.h <<_ACEOF
   19624 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19625 _ACEOF
   19626 
   19627 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
   19628 	if test "x$PVM" = "x"; then
   19629 		PVM="0"
   19630 	fi
   19631 
   19632 cat >>confdefs.h <<_ACEOF
   19633 #define PACKAGE_VERSION_MINOR $PVM
   19634 _ACEOF
   19635 
   19636 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
   19637 	if test "x$PVP" = "x"; then
   19638 		PVP="0"
   19639 	fi
   19640 
   19641 cat >>confdefs.h <<_ACEOF
   19642 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   19643 _ACEOF
   19644 
   19645 
   19646 
   19647 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xxf86dga.pc"
   19648 
   19649 cat >confcache <<\_ACEOF
   19650 # This file is a shell script that caches the results of configure
   19651 # tests run on this system so they can be shared between configure
   19652 # scripts and configure runs, see configure's option --config-cache.
   19653 # It is not useful on other systems.  If it contains results you don't
   19654 # want to keep, you may remove or edit it.
   19655 #
   19656 # config.status only pays attention to the cache file if you give it
   19657 # the --recheck option to rerun configure.
   19658 #
   19659 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19660 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19661 # following values.
   19662 
   19663 _ACEOF
   19664 
   19665 # The following way of writing the cache mishandles newlines in values,
   19666 # but we know of no workaround that is simple, portable, and efficient.
   19667 # So, we kill variables containing newlines.
   19668 # Ultrix sh set writes to stderr and can't be redirected directly,
   19669 # and sets the high bit in the cache file unless we assign to the vars.
   19670 (
   19671   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19672     eval ac_val=\$$ac_var
   19673     case $ac_val in #(
   19674     *${as_nl}*)
   19675       case $ac_var in #(
   19676       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   19677 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   19678       esac
   19679       case $ac_var in #(
   19680       _ | IFS | as_nl) ;; #(
   19681       *) $as_unset $ac_var ;;
   19682       esac ;;
   19683     esac
   19684   done
   19685 
   19686   (set) 2>&1 |
   19687     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19688     *${as_nl}ac_space=\ *)
   19689       # `set' does not quote correctly, so add quotes (double-quote
   19690       # substitution turns \\\\ into \\, and sed turns \\ into \).
   19691       sed -n \
   19692 	"s/'/'\\\\''/g;
   19693 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19694       ;; #(
   19695     *)
   19696       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19697       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19698       ;;
   19699     esac |
   19700     sort
   19701 ) |
   19702   sed '
   19703      /^ac_cv_env_/b end
   19704      t clear
   19705      :clear
   19706      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19707      t end
   19708      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19709      :end' >>confcache
   19710 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19711   if test -w "$cache_file"; then
   19712     test "x$cache_file" != "x/dev/null" &&
   19713       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   19714 echo "$as_me: updating cache $cache_file" >&6;}
   19715     cat confcache >$cache_file
   19716   else
   19717     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   19718 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19719   fi
   19720 fi
   19721 rm -f confcache
   19722 
   19723 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19724 # Let make expand exec_prefix.
   19725 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19726 
   19727 DEFS=-DHAVE_CONFIG_H
   19728 
   19729 ac_libobjs=
   19730 ac_ltlibobjs=
   19731 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19732   # 1. Remove the extension, and $U if already installed.
   19733   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19734   ac_i=`echo "$ac_i" | sed "$ac_script"`
   19735   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19736   #    will be set to the directory where LIBOBJS objects are built.
   19737   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19738   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   19739 done
   19740 LIBOBJS=$ac_libobjs
   19741 
   19742 LTLIBOBJS=$ac_ltlibobjs
   19743 
   19744 
   19745 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   19746   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   19747 Usually this means the macro was only invoked conditionally." >&5
   19748 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   19749 Usually this means the macro was only invoked conditionally." >&2;}
   19750    { (exit 1); exit 1; }; }
   19751 fi
   19752 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19753   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   19754 Usually this means the macro was only invoked conditionally." >&5
   19755 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   19756 Usually this means the macro was only invoked conditionally." >&2;}
   19757    { (exit 1); exit 1; }; }
   19758 fi
   19759 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19760   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   19761 Usually this means the macro was only invoked conditionally." >&5
   19762 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   19763 Usually this means the macro was only invoked conditionally." >&2;}
   19764    { (exit 1); exit 1; }; }
   19765 fi
   19766 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   19767   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   19768 Usually this means the macro was only invoked conditionally." >&5
   19769 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   19770 Usually this means the macro was only invoked conditionally." >&2;}
   19771    { (exit 1); exit 1; }; }
   19772 fi
   19773 
   19774 : ${CONFIG_STATUS=./config.status}
   19775 ac_clean_files_save=$ac_clean_files
   19776 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19777 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   19778 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19779 cat >$CONFIG_STATUS <<_ACEOF
   19780 #! $SHELL
   19781 # Generated by $as_me.
   19782 # Run this file to recreate the current configuration.
   19783 # Compiler output produced by configure, useful for debugging
   19784 # configure, is in config.log if it exists.
   19785 
   19786 debug=false
   19787 ac_cs_recheck=false
   19788 ac_cs_silent=false
   19789 SHELL=\${CONFIG_SHELL-$SHELL}
   19790 _ACEOF
   19791 
   19792 cat >>$CONFIG_STATUS <<\_ACEOF
   19793 ## --------------------- ##
   19794 ## M4sh Initialization.  ##
   19795 ## --------------------- ##
   19796 
   19797 # Be more Bourne compatible
   19798 DUALCASE=1; export DUALCASE # for MKS sh
   19799 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   19800   emulate sh
   19801   NULLCMD=:
   19802   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   19803   # is contrary to our usage.  Disable this feature.
   19804   alias -g '${1+"$@"}'='"$@"'
   19805   setopt NO_GLOB_SUBST
   19806 else
   19807   case `(set -o) 2>/dev/null` in
   19808   *posix*) set -o posix ;;
   19809 esac
   19810 
   19811 fi
   19812 
   19813 
   19814 
   19815 
   19816 # PATH needs CR
   19817 # Avoid depending upon Character Ranges.
   19818 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19819 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19820 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19821 as_cr_digits='0123456789'
   19822 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19823 
   19824 # The user is always right.
   19825 if test "${PATH_SEPARATOR+set}" != set; then
   19826   echo "#! /bin/sh" >conf$$.sh
   19827   echo  "exit 0"   >>conf$$.sh
   19828   chmod +x conf$$.sh
   19829   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   19830     PATH_SEPARATOR=';'
   19831   else
   19832     PATH_SEPARATOR=:
   19833   fi
   19834   rm -f conf$$.sh
   19835 fi
   19836 
   19837 # Support unset when possible.
   19838 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   19839   as_unset=unset
   19840 else
   19841   as_unset=false
   19842 fi
   19843 
   19844 
   19845 # IFS
   19846 # We need space, tab and new line, in precisely that order.  Quoting is
   19847 # there to prevent editors from complaining about space-tab.
   19848 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19849 # splitting by setting IFS to empty value.)
   19850 as_nl='
   19851 '
   19852 IFS=" ""	$as_nl"
   19853 
   19854 # Find who we are.  Look in the path if we contain no directory separator.
   19855 case $0 in
   19856   *[\\/]* ) as_myself=$0 ;;
   19857   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19858 for as_dir in $PATH
   19859 do
   19860   IFS=$as_save_IFS
   19861   test -z "$as_dir" && as_dir=.
   19862   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19863 done
   19864 IFS=$as_save_IFS
   19865 
   19866      ;;
   19867 esac
   19868 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19869 # in which case we are not to be found in the path.
   19870 if test "x$as_myself" = x; then
   19871   as_myself=$0
   19872 fi
   19873 if test ! -f "$as_myself"; then
   19874   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19875   { (exit 1); exit 1; }
   19876 fi
   19877 
   19878 # Work around bugs in pre-3.0 UWIN ksh.
   19879 for as_var in ENV MAIL MAILPATH
   19880 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   19881 done
   19882 PS1='$ '
   19883 PS2='> '
   19884 PS4='+ '
   19885 
   19886 # NLS nuisances.
   19887 for as_var in \
   19888   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   19889   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   19890   LC_TELEPHONE LC_TIME
   19891 do
   19892   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   19893     eval $as_var=C; export $as_var
   19894   else
   19895     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   19896   fi
   19897 done
   19898 
   19899 # Required to use basename.
   19900 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19901    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19902   as_expr=expr
   19903 else
   19904   as_expr=false
   19905 fi
   19906 
   19907 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19908   as_basename=basename
   19909 else
   19910   as_basename=false
   19911 fi
   19912 
   19913 
   19914 # Name of the executable.
   19915 as_me=`$as_basename -- "$0" ||
   19916 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19917 	 X"$0" : 'X\(//\)$' \| \
   19918 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19919 echo X/"$0" |
   19920     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19921 	    s//\1/
   19922 	    q
   19923 	  }
   19924 	  /^X\/\(\/\/\)$/{
   19925 	    s//\1/
   19926 	    q
   19927 	  }
   19928 	  /^X\/\(\/\).*/{
   19929 	    s//\1/
   19930 	    q
   19931 	  }
   19932 	  s/.*/./; q'`
   19933 
   19934 # CDPATH.
   19935 $as_unset CDPATH
   19936 
   19937 
   19938 
   19939   as_lineno_1=$LINENO
   19940   as_lineno_2=$LINENO
   19941   test "x$as_lineno_1" != "x$as_lineno_2" &&
   19942   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   19943 
   19944   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   19945   # uniformly replaced by the line number.  The first 'sed' inserts a
   19946   # line-number line after each line using $LINENO; the second 'sed'
   19947   # does the real work.  The second script uses 'N' to pair each
   19948   # line-number line with the line containing $LINENO, and appends
   19949   # trailing '-' during substitution so that $LINENO is not a special
   19950   # case at line end.
   19951   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   19952   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   19953   # E. McMahon (1931-1989) for sed's syntax.  :-)
   19954   sed -n '
   19955     p
   19956     /[$]LINENO/=
   19957   ' <$as_myself |
   19958     sed '
   19959       s/[$]LINENO.*/&-/
   19960       t lineno
   19961       b
   19962       :lineno
   19963       N
   19964       :loop
   19965       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   19966       t loop
   19967       s/-\n.*//
   19968     ' >$as_me.lineno &&
   19969   chmod +x "$as_me.lineno" ||
   19970     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   19971    { (exit 1); exit 1; }; }
   19972 
   19973   # Don't try to exec as it changes $[0], causing all sort of problems
   19974   # (the dirname of $[0] is not the place where we might find the
   19975   # original and so on.  Autoconf is especially sensitive to this).
   19976   . "./$as_me.lineno"
   19977   # Exit status is that of the last command.
   19978   exit
   19979 }
   19980 
   19981 
   19982 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19983   as_dirname=dirname
   19984 else
   19985   as_dirname=false
   19986 fi
   19987 
   19988 ECHO_C= ECHO_N= ECHO_T=
   19989 case `echo -n x` in
   19990 -n*)
   19991   case `echo 'x\c'` in
   19992   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19993   *)   ECHO_C='\c';;
   19994   esac;;
   19995 *)
   19996   ECHO_N='-n';;
   19997 esac
   19998 
   19999 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20000    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20001   as_expr=expr
   20002 else
   20003   as_expr=false
   20004 fi
   20005 
   20006 rm -f conf$$ conf$$.exe conf$$.file
   20007 if test -d conf$$.dir; then
   20008   rm -f conf$$.dir/conf$$.file
   20009 else
   20010   rm -f conf$$.dir
   20011   mkdir conf$$.dir
   20012 fi
   20013 echo >conf$$.file
   20014 if ln -s conf$$.file conf$$ 2>/dev/null; then
   20015   as_ln_s='ln -s'
   20016   # ... but there are two gotchas:
   20017   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20018   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20019   # In both cases, we have to default to `cp -p'.
   20020   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20021     as_ln_s='cp -p'
   20022 elif ln conf$$.file conf$$ 2>/dev/null; then
   20023   as_ln_s=ln
   20024 else
   20025   as_ln_s='cp -p'
   20026 fi
   20027 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20028 rmdir conf$$.dir 2>/dev/null
   20029 
   20030 if mkdir -p . 2>/dev/null; then
   20031   as_mkdir_p=:
   20032 else
   20033   test -d ./-p && rmdir ./-p
   20034   as_mkdir_p=false
   20035 fi
   20036 
   20037 if test -x / >/dev/null 2>&1; then
   20038   as_test_x='test -x'
   20039 else
   20040   if ls -dL / >/dev/null 2>&1; then
   20041     as_ls_L_option=L
   20042   else
   20043     as_ls_L_option=
   20044   fi
   20045   as_test_x='
   20046     eval sh -c '\''
   20047       if test -d "$1"; then
   20048         test -d "$1/.";
   20049       else
   20050 	case $1 in
   20051         -*)set "./$1";;
   20052 	esac;
   20053 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   20054 	???[sx]*):;;*)false;;esac;fi
   20055     '\'' sh
   20056   '
   20057 fi
   20058 as_executable_p=$as_test_x
   20059 
   20060 # Sed expression to map a string onto a valid CPP name.
   20061 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20062 
   20063 # Sed expression to map a string onto a valid variable name.
   20064 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20065 
   20066 
   20067 exec 6>&1
   20068 
   20069 # Save the log message, to keep $[0] and so on meaningful, and to
   20070 # report actual input values of CONFIG_FILES etc. instead of their
   20071 # values after options handling.
   20072 ac_log="
   20073 This file was extended by libXxf86dga $as_me 1.0.2, which was
   20074 generated by GNU Autoconf 2.61.  Invocation command line was
   20075 
   20076   CONFIG_FILES    = $CONFIG_FILES
   20077   CONFIG_HEADERS  = $CONFIG_HEADERS
   20078   CONFIG_LINKS    = $CONFIG_LINKS
   20079   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20080   $ $0 $@
   20081 
   20082 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20083 "
   20084 
   20085 _ACEOF
   20086 
   20087 cat >>$CONFIG_STATUS <<_ACEOF
   20088 # Files that config.status was made for.
   20089 config_files="$ac_config_files"
   20090 config_headers="$ac_config_headers"
   20091 config_commands="$ac_config_commands"
   20092 
   20093 _ACEOF
   20094 
   20095 cat >>$CONFIG_STATUS <<\_ACEOF
   20096 ac_cs_usage="\
   20097 \`$as_me' instantiates files from templates according to the
   20098 current configuration.
   20099 
   20100 Usage: $0 [OPTIONS] [FILE]...
   20101 
   20102   -h, --help       print this help, then exit
   20103   -V, --version    print version number and configuration settings, then exit
   20104   -q, --quiet      do not print progress messages
   20105   -d, --debug      don't remove temporary files
   20106       --recheck    update $as_me by reconfiguring in the same conditions
   20107   --file=FILE[:TEMPLATE]
   20108 		   instantiate the configuration file FILE
   20109   --header=FILE[:TEMPLATE]
   20110 		   instantiate the configuration header FILE
   20111 
   20112 Configuration files:
   20113 $config_files
   20114 
   20115 Configuration headers:
   20116 $config_headers
   20117 
   20118 Configuration commands:
   20119 $config_commands
   20120 
   20121 Report bugs to <bug-autoconf (at] gnu.org>."
   20122 
   20123 _ACEOF
   20124 cat >>$CONFIG_STATUS <<_ACEOF
   20125 ac_cs_version="\\
   20126 libXxf86dga config.status 1.0.2
   20127 configured by $0, generated by GNU Autoconf 2.61,
   20128   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   20129 
   20130 Copyright (C) 2006 Free Software Foundation, Inc.
   20131 This config.status script is free software; the Free Software Foundation
   20132 gives unlimited permission to copy, distribute and modify it."
   20133 
   20134 ac_pwd='$ac_pwd'
   20135 srcdir='$srcdir'
   20136 INSTALL='$INSTALL'
   20137 MKDIR_P='$MKDIR_P'
   20138 _ACEOF
   20139 
   20140 cat >>$CONFIG_STATUS <<\_ACEOF
   20141 # If no file are specified by the user, then we need to provide default
   20142 # value.  By we need to know if files were specified by the user.
   20143 ac_need_defaults=:
   20144 while test $# != 0
   20145 do
   20146   case $1 in
   20147   --*=*)
   20148     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20149     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20150     ac_shift=:
   20151     ;;
   20152   *)
   20153     ac_option=$1
   20154     ac_optarg=$2
   20155     ac_shift=shift
   20156     ;;
   20157   esac
   20158 
   20159   case $ac_option in
   20160   # Handling of the options.
   20161   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20162     ac_cs_recheck=: ;;
   20163   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20164     echo "$ac_cs_version"; exit ;;
   20165   --debug | --debu | --deb | --de | --d | -d )
   20166     debug=: ;;
   20167   --file | --fil | --fi | --f )
   20168     $ac_shift
   20169     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   20170     ac_need_defaults=false;;
   20171   --header | --heade | --head | --hea )
   20172     $ac_shift
   20173     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   20174     ac_need_defaults=false;;
   20175   --he | --h)
   20176     # Conflict between --help and --header
   20177     { echo "$as_me: error: ambiguous option: $1
   20178 Try \`$0 --help' for more information." >&2
   20179    { (exit 1); exit 1; }; };;
   20180   --help | --hel | -h )
   20181     echo "$ac_cs_usage"; exit ;;
   20182   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20183   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20184     ac_cs_silent=: ;;
   20185 
   20186   # This is an error.
   20187   -*) { echo "$as_me: error: unrecognized option: $1
   20188 Try \`$0 --help' for more information." >&2
   20189    { (exit 1); exit 1; }; } ;;
   20190 
   20191   *) ac_config_targets="$ac_config_targets $1"
   20192      ac_need_defaults=false ;;
   20193 
   20194   esac
   20195   shift
   20196 done
   20197 
   20198 ac_configure_extra_args=
   20199 
   20200 if $ac_cs_silent; then
   20201   exec 6>/dev/null
   20202   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20203 fi
   20204 
   20205 _ACEOF
   20206 cat >>$CONFIG_STATUS <<_ACEOF
   20207 if \$ac_cs_recheck; then
   20208   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   20209   CONFIG_SHELL=$SHELL
   20210   export CONFIG_SHELL
   20211   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20212 fi
   20213 
   20214 _ACEOF
   20215 cat >>$CONFIG_STATUS <<\_ACEOF
   20216 exec 5>>config.log
   20217 {
   20218   echo
   20219   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20220 ## Running $as_me. ##
   20221 _ASBOX
   20222   echo "$ac_log"
   20223 } >&5
   20224 
   20225 _ACEOF
   20226 cat >>$CONFIG_STATUS <<_ACEOF
   20227 #
   20228 # INIT-COMMANDS
   20229 #
   20230 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   20231 
   20232 _ACEOF
   20233 
   20234 cat >>$CONFIG_STATUS <<\_ACEOF
   20235 
   20236 # Handling of arguments.
   20237 for ac_config_target in $ac_config_targets
   20238 do
   20239   case $ac_config_target in
   20240     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   20241     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20242     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20243     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20244     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20245     "xxf86dga.pc") CONFIG_FILES="$CONFIG_FILES xxf86dga.pc" ;;
   20246 
   20247   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   20248 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   20249    { (exit 1); exit 1; }; };;
   20250   esac
   20251 done
   20252 
   20253 
   20254 # If the user did not use the arguments to specify the items to instantiate,
   20255 # then the envvar interface is used.  Set only those that are not.
   20256 # We use the long form for the default assignment because of an extremely
   20257 # bizarre bug on SunOS 4.1.3.
   20258 if $ac_need_defaults; then
   20259   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20260   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20261   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20262 fi
   20263 
   20264 # Have a temporary directory for convenience.  Make it in the build tree
   20265 # simply because there is no reason against having it here, and in addition,
   20266 # creating and moving files from /tmp can sometimes cause problems.
   20267 # Hook for its removal unless debugging.
   20268 # Note that there is a small window in which the directory will not be cleaned:
   20269 # after its creation but before its name has been assigned to `$tmp'.
   20270 $debug ||
   20271 {
   20272   tmp=
   20273   trap 'exit_status=$?
   20274   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   20275 ' 0
   20276   trap '{ (exit 1); exit 1; }' 1 2 13 15
   20277 }
   20278 # Create a (secure) tmp directory for tmp files.
   20279 
   20280 {
   20281   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20282   test -n "$tmp" && test -d "$tmp"
   20283 }  ||
   20284 {
   20285   tmp=./conf$$-$RANDOM
   20286   (umask 077 && mkdir "$tmp")
   20287 } ||
   20288 {
   20289    echo "$me: cannot create a temporary directory in ." >&2
   20290    { (exit 1); exit 1; }
   20291 }
   20292 
   20293 #
   20294 # Set up the sed scripts for CONFIG_FILES section.
   20295 #
   20296 
   20297 # No need to generate the scripts if there are no CONFIG_FILES.
   20298 # This happens for instance when ./config.status config.h
   20299 if test -n "$CONFIG_FILES"; then
   20300 
   20301 _ACEOF
   20302 
   20303 
   20304 
   20305 ac_delim='%!_!# '
   20306 for ac_last_try in false false false false false :; do
   20307   cat >conf$$subs.sed <<_ACEOF
   20308 SHELL!$SHELL$ac_delim
   20309 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   20310 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   20311 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   20312 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   20313 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   20314 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   20315 exec_prefix!$exec_prefix$ac_delim
   20316 prefix!$prefix$ac_delim
   20317 program_transform_name!$program_transform_name$ac_delim
   20318 bindir!$bindir$ac_delim
   20319 sbindir!$sbindir$ac_delim
   20320 libexecdir!$libexecdir$ac_delim
   20321 datarootdir!$datarootdir$ac_delim
   20322 datadir!$datadir$ac_delim
   20323 sysconfdir!$sysconfdir$ac_delim
   20324 sharedstatedir!$sharedstatedir$ac_delim
   20325 localstatedir!$localstatedir$ac_delim
   20326 includedir!$includedir$ac_delim
   20327 oldincludedir!$oldincludedir$ac_delim
   20328 docdir!$docdir$ac_delim
   20329 infodir!$infodir$ac_delim
   20330 htmldir!$htmldir$ac_delim
   20331 dvidir!$dvidir$ac_delim
   20332 pdfdir!$pdfdir$ac_delim
   20333 psdir!$psdir$ac_delim
   20334 libdir!$libdir$ac_delim
   20335 localedir!$localedir$ac_delim
   20336 mandir!$mandir$ac_delim
   20337 DEFS!$DEFS$ac_delim
   20338 ECHO_C!$ECHO_C$ac_delim
   20339 ECHO_N!$ECHO_N$ac_delim
   20340 ECHO_T!$ECHO_T$ac_delim
   20341 LIBS!$LIBS$ac_delim
   20342 build_alias!$build_alias$ac_delim
   20343 host_alias!$host_alias$ac_delim
   20344 target_alias!$target_alias$ac_delim
   20345 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   20346 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   20347 INSTALL_DATA!$INSTALL_DATA$ac_delim
   20348 am__isrc!$am__isrc$ac_delim
   20349 CYGPATH_W!$CYGPATH_W$ac_delim
   20350 PACKAGE!$PACKAGE$ac_delim
   20351 VERSION!$VERSION$ac_delim
   20352 ACLOCAL!$ACLOCAL$ac_delim
   20353 AUTOCONF!$AUTOCONF$ac_delim
   20354 AUTOMAKE!$AUTOMAKE$ac_delim
   20355 AUTOHEADER!$AUTOHEADER$ac_delim
   20356 MAKEINFO!$MAKEINFO$ac_delim
   20357 install_sh!$install_sh$ac_delim
   20358 STRIP!$STRIP$ac_delim
   20359 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   20360 mkdir_p!$mkdir_p$ac_delim
   20361 AWK!$AWK$ac_delim
   20362 SET_MAKE!$SET_MAKE$ac_delim
   20363 am__leading_dot!$am__leading_dot$ac_delim
   20364 AMTAR!$AMTAR$ac_delim
   20365 am__tar!$am__tar$ac_delim
   20366 am__untar!$am__untar$ac_delim
   20367 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   20368 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   20369 MAINT!$MAINT$ac_delim
   20370 CC!$CC$ac_delim
   20371 CFLAGS!$CFLAGS$ac_delim
   20372 LDFLAGS!$LDFLAGS$ac_delim
   20373 CPPFLAGS!$CPPFLAGS$ac_delim
   20374 ac_ct_CC!$ac_ct_CC$ac_delim
   20375 EXEEXT!$EXEEXT$ac_delim
   20376 OBJEXT!$OBJEXT$ac_delim
   20377 DEPDIR!$DEPDIR$ac_delim
   20378 am__include!$am__include$ac_delim
   20379 am__quote!$am__quote$ac_delim
   20380 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   20381 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   20382 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   20383 CCDEPMODE!$CCDEPMODE$ac_delim
   20384 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   20385 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   20386 build!$build$ac_delim
   20387 build_cpu!$build_cpu$ac_delim
   20388 build_vendor!$build_vendor$ac_delim
   20389 build_os!$build_os$ac_delim
   20390 host!$host$ac_delim
   20391 host_cpu!$host_cpu$ac_delim
   20392 host_vendor!$host_vendor$ac_delim
   20393 host_os!$host_os$ac_delim
   20394 GREP!$GREP$ac_delim
   20395 EGREP!$EGREP$ac_delim
   20396 LN_S!$LN_S$ac_delim
   20397 ECHO!$ECHO$ac_delim
   20398 AR!$AR$ac_delim
   20399 RANLIB!$RANLIB$ac_delim
   20400 CPP!$CPP$ac_delim
   20401 CXX!$CXX$ac_delim
   20402 CXXFLAGS!$CXXFLAGS$ac_delim
   20403 ac_ct_CXX!$ac_ct_CXX$ac_delim
   20404 CXXDEPMODE!$CXXDEPMODE$ac_delim
   20405 _ACEOF
   20406 
   20407   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   20408     break
   20409   elif $ac_last_try; then
   20410     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   20411 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   20412    { (exit 1); exit 1; }; }
   20413   else
   20414     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20415   fi
   20416 done
   20417 
   20418 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   20419 if test -n "$ac_eof"; then
   20420   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   20421   ac_eof=`expr $ac_eof + 1`
   20422 fi
   20423 
   20424 cat >>$CONFIG_STATUS <<_ACEOF
   20425 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   20426 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20427 _ACEOF
   20428 sed '
   20429 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   20430 s/^/s,@/; s/!/@,|#_!!_#|/
   20431 :n
   20432 t n
   20433 s/'"$ac_delim"'$/,g/; t
   20434 s/$/\\/; p
   20435 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   20436 ' >>$CONFIG_STATUS <conf$$subs.sed
   20437 rm -f conf$$subs.sed
   20438 cat >>$CONFIG_STATUS <<_ACEOF
   20439 CEOF$ac_eof
   20440 _ACEOF
   20441 
   20442 
   20443 ac_delim='%!_!# '
   20444 for ac_last_try in false false false false false :; do
   20445   cat >conf$$subs.sed <<_ACEOF
   20446 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   20447 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   20448 CXXCPP!$CXXCPP$ac_delim
   20449 F77!$F77$ac_delim
   20450 FFLAGS!$FFLAGS$ac_delim
   20451 ac_ct_F77!$ac_ct_F77$ac_delim
   20452 LIBTOOL!$LIBTOOL$ac_delim
   20453 PKG_CONFIG!$PKG_CONFIG$ac_delim
   20454 XXF86DGA_CFLAGS!$XXF86DGA_CFLAGS$ac_delim
   20455 XXF86DGA_LIBS!$XXF86DGA_LIBS$ac_delim
   20456 MALLOC_ZERO_CFLAGS!$MALLOC_ZERO_CFLAGS$ac_delim
   20457 XMALLOC_ZERO_CFLAGS!$XMALLOC_ZERO_CFLAGS$ac_delim
   20458 XTMALLOC_ZERO_CFLAGS!$XTMALLOC_ZERO_CFLAGS$ac_delim
   20459 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
   20460 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
   20461 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
   20462 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
   20463 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
   20464 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
   20465 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
   20466 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
   20467 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
   20468 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
   20469 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
   20470 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
   20471 LIBOBJS!$LIBOBJS$ac_delim
   20472 LTLIBOBJS!$LTLIBOBJS$ac_delim
   20473 _ACEOF
   20474 
   20475   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 27; then
   20476     break
   20477   elif $ac_last_try; then
   20478     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   20479 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   20480    { (exit 1); exit 1; }; }
   20481   else
   20482     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20483   fi
   20484 done
   20485 
   20486 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   20487 if test -n "$ac_eof"; then
   20488   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   20489   ac_eof=`expr $ac_eof + 1`
   20490 fi
   20491 
   20492 cat >>$CONFIG_STATUS <<_ACEOF
   20493 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   20494 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   20495 _ACEOF
   20496 sed '
   20497 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   20498 s/^/s,@/; s/!/@,|#_!!_#|/
   20499 :n
   20500 t n
   20501 s/'"$ac_delim"'$/,g/; t
   20502 s/$/\\/; p
   20503 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   20504 ' >>$CONFIG_STATUS <conf$$subs.sed
   20505 rm -f conf$$subs.sed
   20506 cat >>$CONFIG_STATUS <<_ACEOF
   20507 :end
   20508 s/|#_!!_#|//g
   20509 CEOF$ac_eof
   20510 _ACEOF
   20511 
   20512 
   20513 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   20514 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   20515 # trailing colons and then remove the whole line if VPATH becomes empty
   20516 # (actually we leave an empty line to preserve line numbers).
   20517 if test "x$srcdir" = x.; then
   20518   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   20519 s/:*\$(srcdir):*/:/
   20520 s/:*\${srcdir}:*/:/
   20521 s/:*@srcdir@:*/:/
   20522 s/^\([^=]*=[	 ]*\):*/\1/
   20523 s/:*$//
   20524 s/^[^=]*=[	 ]*$//
   20525 }'
   20526 fi
   20527 
   20528 cat >>$CONFIG_STATUS <<\_ACEOF
   20529 fi # test -n "$CONFIG_FILES"
   20530 
   20531 
   20532 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   20533 do
   20534   case $ac_tag in
   20535   :[FHLC]) ac_mode=$ac_tag; continue;;
   20536   esac
   20537   case $ac_mode$ac_tag in
   20538   :[FHL]*:*);;
   20539   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   20540 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   20541    { (exit 1); exit 1; }; };;
   20542   :[FH]-) ac_tag=-:-;;
   20543   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20544   esac
   20545   ac_save_IFS=$IFS
   20546   IFS=:
   20547   set x $ac_tag
   20548   IFS=$ac_save_IFS
   20549   shift
   20550   ac_file=$1
   20551   shift
   20552 
   20553   case $ac_mode in
   20554   :L) ac_source=$1;;
   20555   :[FH])
   20556     ac_file_inputs=
   20557     for ac_f
   20558     do
   20559       case $ac_f in
   20560       -) ac_f="$tmp/stdin";;
   20561       *) # Look for the file first in the build tree, then in the source tree
   20562 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20563 	 # because $ac_f cannot contain `:'.
   20564 	 test -f "$ac_f" ||
   20565 	   case $ac_f in
   20566 	   [\\/$]*) false;;
   20567 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20568 	   esac ||
   20569 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   20570 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   20571    { (exit 1); exit 1; }; };;
   20572       esac
   20573       ac_file_inputs="$ac_file_inputs $ac_f"
   20574     done
   20575 
   20576     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20577     # use $as_me), people would be surprised to read:
   20578     #    /* config.h.  Generated by config.status.  */
   20579     configure_input="Generated from "`IFS=:
   20580 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   20581     if test x"$ac_file" != x-; then
   20582       configure_input="$ac_file.  $configure_input"
   20583       { echo "$as_me:$LINENO: creating $ac_file" >&5
   20584 echo "$as_me: creating $ac_file" >&6;}
   20585     fi
   20586 
   20587     case $ac_tag in
   20588     *:-:* | *:-) cat >"$tmp/stdin";;
   20589     esac
   20590     ;;
   20591   esac
   20592 
   20593   ac_dir=`$as_dirname -- "$ac_file" ||
   20594 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20595 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20596 	 X"$ac_file" : 'X\(//\)$' \| \
   20597 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20598 echo X"$ac_file" |
   20599     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20600 	    s//\1/
   20601 	    q
   20602 	  }
   20603 	  /^X\(\/\/\)[^/].*/{
   20604 	    s//\1/
   20605 	    q
   20606 	  }
   20607 	  /^X\(\/\/\)$/{
   20608 	    s//\1/
   20609 	    q
   20610 	  }
   20611 	  /^X\(\/\).*/{
   20612 	    s//\1/
   20613 	    q
   20614 	  }
   20615 	  s/.*/./; q'`
   20616   { as_dir="$ac_dir"
   20617   case $as_dir in #(
   20618   -*) as_dir=./$as_dir;;
   20619   esac
   20620   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   20621     as_dirs=
   20622     while :; do
   20623       case $as_dir in #(
   20624       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   20625       *) as_qdir=$as_dir;;
   20626       esac
   20627       as_dirs="'$as_qdir' $as_dirs"
   20628       as_dir=`$as_dirname -- "$as_dir" ||
   20629 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20630 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20631 	 X"$as_dir" : 'X\(//\)$' \| \
   20632 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20633 echo X"$as_dir" |
   20634     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20635 	    s//\1/
   20636 	    q
   20637 	  }
   20638 	  /^X\(\/\/\)[^/].*/{
   20639 	    s//\1/
   20640 	    q
   20641 	  }
   20642 	  /^X\(\/\/\)$/{
   20643 	    s//\1/
   20644 	    q
   20645 	  }
   20646 	  /^X\(\/\).*/{
   20647 	    s//\1/
   20648 	    q
   20649 	  }
   20650 	  s/.*/./; q'`
   20651       test -d "$as_dir" && break
   20652     done
   20653     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20654   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   20655 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   20656    { (exit 1); exit 1; }; }; }
   20657   ac_builddir=.
   20658 
   20659 case "$ac_dir" in
   20660 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20661 *)
   20662   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   20663   # A ".." for each directory in $ac_dir_suffix.
   20664   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   20665   case $ac_top_builddir_sub in
   20666   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20667   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20668   esac ;;
   20669 esac
   20670 ac_abs_top_builddir=$ac_pwd
   20671 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20672 # for backward compatibility:
   20673 ac_top_builddir=$ac_top_build_prefix
   20674 
   20675 case $srcdir in
   20676   .)  # We are building in place.
   20677     ac_srcdir=.
   20678     ac_top_srcdir=$ac_top_builddir_sub
   20679     ac_abs_top_srcdir=$ac_pwd ;;
   20680   [\\/]* | ?:[\\/]* )  # Absolute name.
   20681     ac_srcdir=$srcdir$ac_dir_suffix;
   20682     ac_top_srcdir=$srcdir
   20683     ac_abs_top_srcdir=$srcdir ;;
   20684   *) # Relative name.
   20685     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20686     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20687     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20688 esac
   20689 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20690 
   20691 
   20692   case $ac_mode in
   20693   :F)
   20694   #
   20695   # CONFIG_FILE
   20696   #
   20697 
   20698   case $INSTALL in
   20699   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20700   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20701   esac
   20702   ac_MKDIR_P=$MKDIR_P
   20703   case $MKDIR_P in
   20704   [\\/$]* | ?:[\\/]* ) ;;
   20705   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20706   esac
   20707 _ACEOF
   20708 
   20709 cat >>$CONFIG_STATUS <<\_ACEOF
   20710 # If the template does not know about datarootdir, expand it.
   20711 # FIXME: This hack should be removed a few years after 2.60.
   20712 ac_datarootdir_hack=; ac_datarootdir_seen=
   20713 
   20714 case `sed -n '/datarootdir/ {
   20715   p
   20716   q
   20717 }
   20718 /@datadir@/p
   20719 /@docdir@/p
   20720 /@infodir@/p
   20721 /@localedir@/p
   20722 /@mandir@/p
   20723 ' $ac_file_inputs` in
   20724 *datarootdir*) ac_datarootdir_seen=yes;;
   20725 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20726   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20727 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20728 _ACEOF
   20729 cat >>$CONFIG_STATUS <<_ACEOF
   20730   ac_datarootdir_hack='
   20731   s&@datadir@&$datadir&g
   20732   s&@docdir@&$docdir&g
   20733   s&@infodir@&$infodir&g
   20734   s&@localedir@&$localedir&g
   20735   s&@mandir@&$mandir&g
   20736     s&\\\${datarootdir}&$datarootdir&g' ;;
   20737 esac
   20738 _ACEOF
   20739 
   20740 # Neutralize VPATH when `$srcdir' = `.'.
   20741 # Shell code in configure.ac might set extrasub.
   20742 # FIXME: do we really want to maintain this feature?
   20743 cat >>$CONFIG_STATUS <<_ACEOF
   20744   sed "$ac_vpsub
   20745 $extrasub
   20746 _ACEOF
   20747 cat >>$CONFIG_STATUS <<\_ACEOF
   20748 :t
   20749 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20750 s&@configure_input@&$configure_input&;t t
   20751 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20752 s&@srcdir@&$ac_srcdir&;t t
   20753 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20754 s&@top_srcdir@&$ac_top_srcdir&;t t
   20755 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20756 s&@builddir@&$ac_builddir&;t t
   20757 s&@abs_builddir@&$ac_abs_builddir&;t t
   20758 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20759 s&@INSTALL@&$ac_INSTALL&;t t
   20760 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20761 $ac_datarootdir_hack
   20762 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   20763 
   20764 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20765   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   20766   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   20767   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20768 which seems to be undefined.  Please make sure it is defined." >&5
   20769 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20770 which seems to be undefined.  Please make sure it is defined." >&2;}
   20771 
   20772   rm -f "$tmp/stdin"
   20773   case $ac_file in
   20774   -) cat "$tmp/out"; rm -f "$tmp/out";;
   20775   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   20776   esac
   20777  ;;
   20778   :H)
   20779   #
   20780   # CONFIG_HEADER
   20781   #
   20782 _ACEOF
   20783 
   20784 # Transform confdefs.h into a sed script `conftest.defines', that
   20785 # substitutes the proper values into config.h.in to produce config.h.
   20786 rm -f conftest.defines conftest.tail
   20787 # First, append a space to every undef/define line, to ease matching.
   20788 echo 's/$/ /' >conftest.defines
   20789 # Then, protect against being on the right side of a sed subst, or in
   20790 # an unquoted here document, in config.status.  If some macros were
   20791 # called several times there might be several #defines for the same
   20792 # symbol, which is useless.  But do not sort them, since the last
   20793 # AC_DEFINE must be honored.
   20794 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20795 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   20796 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   20797 # PARAMS is the parameter list in the macro definition--in most cases, it's
   20798 # just an empty string.
   20799 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   20800 ac_dB='\\)[	 (].*,\\1define\\2'
   20801 ac_dC=' '
   20802 ac_dD=' ,'
   20803 
   20804 uniq confdefs.h |
   20805   sed -n '
   20806 	t rset
   20807 	:rset
   20808 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   20809 	t ok
   20810 	d
   20811 	:ok
   20812 	s/[\\&,]/\\&/g
   20813 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   20814 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   20815   ' >>conftest.defines
   20816 
   20817 # Remove the space that was appended to ease matching.
   20818 # Then replace #undef with comments.  This is necessary, for
   20819 # example, in the case of _POSIX_SOURCE, which is predefined and required
   20820 # on some systems where configure will not decide to define it.
   20821 # (The regexp can be short, since the line contains either #define or #undef.)
   20822 echo 's/ $//
   20823 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   20824 
   20825 # Break up conftest.defines:
   20826 ac_max_sed_lines=50
   20827 
   20828 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   20829 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   20830 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   20831 # et cetera.
   20832 ac_in='$ac_file_inputs'
   20833 ac_out='"$tmp/out1"'
   20834 ac_nxt='"$tmp/out2"'
   20835 
   20836 while :
   20837 do
   20838   # Write a here document:
   20839     cat >>$CONFIG_STATUS <<_ACEOF
   20840     # First, check the format of the line:
   20841     cat >"\$tmp/defines.sed" <<\\CEOF
   20842 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   20843 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   20844 b
   20845 :def
   20846 _ACEOF
   20847   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   20848   echo 'CEOF
   20849     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   20850   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   20851   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   20852   grep . conftest.tail >/dev/null || break
   20853   rm -f conftest.defines
   20854   mv conftest.tail conftest.defines
   20855 done
   20856 rm -f conftest.defines conftest.tail
   20857 
   20858 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   20859 cat >>$CONFIG_STATUS <<\_ACEOF
   20860   if test x"$ac_file" != x-; then
   20861     echo "/* $configure_input  */" >"$tmp/config.h"
   20862     cat "$ac_result" >>"$tmp/config.h"
   20863     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   20864       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   20865 echo "$as_me: $ac_file is unchanged" >&6;}
   20866     else
   20867       rm -f $ac_file
   20868       mv "$tmp/config.h" $ac_file
   20869     fi
   20870   else
   20871     echo "/* $configure_input  */"
   20872     cat "$ac_result"
   20873   fi
   20874   rm -f "$tmp/out12"
   20875 # Compute $ac_file's index in $config_headers.
   20876 _am_stamp_count=1
   20877 for _am_header in $config_headers :; do
   20878   case $_am_header in
   20879     $ac_file | $ac_file:* )
   20880       break ;;
   20881     * )
   20882       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20883   esac
   20884 done
   20885 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
   20886 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20887 	 X$ac_file : 'X\(//\)[^/]' \| \
   20888 	 X$ac_file : 'X\(//\)$' \| \
   20889 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
   20890 echo X$ac_file |
   20891     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20892 	    s//\1/
   20893 	    q
   20894 	  }
   20895 	  /^X\(\/\/\)[^/].*/{
   20896 	    s//\1/
   20897 	    q
   20898 	  }
   20899 	  /^X\(\/\/\)$/{
   20900 	    s//\1/
   20901 	    q
   20902 	  }
   20903 	  /^X\(\/\).*/{
   20904 	    s//\1/
   20905 	    q
   20906 	  }
   20907 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20908  ;;
   20909 
   20910   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   20911 echo "$as_me: executing $ac_file commands" >&6;}
   20912  ;;
   20913   esac
   20914 
   20915 
   20916   case $ac_file$ac_mode in
   20917     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   20918   # Strip MF so we end up with the name of the file.
   20919   mf=`echo "$mf" | sed -e 's/:.*$//'`
   20920   # Check whether this is an Automake generated Makefile or not.
   20921   # We used to match only the files named `Makefile.in', but
   20922   # some people rename them; so instead we look at the file content.
   20923   # Grep'ing the first line is not enough: some people post-process
   20924   # each Makefile.in and add a new line on top of each file to say so.
   20925   # Grep'ing the whole file is not good either: AIX grep has a line
   20926   # limit of 2048, but all sed's we know have understand at least 4000.
   20927   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
   20928     dirpart=`$as_dirname -- "$mf" ||
   20929 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20930 	 X"$mf" : 'X\(//\)[^/]' \| \
   20931 	 X"$mf" : 'X\(//\)$' \| \
   20932 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20933 echo X"$mf" |
   20934     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20935 	    s//\1/
   20936 	    q
   20937 	  }
   20938 	  /^X\(\/\/\)[^/].*/{
   20939 	    s//\1/
   20940 	    q
   20941 	  }
   20942 	  /^X\(\/\/\)$/{
   20943 	    s//\1/
   20944 	    q
   20945 	  }
   20946 	  /^X\(\/\).*/{
   20947 	    s//\1/
   20948 	    q
   20949 	  }
   20950 	  s/.*/./; q'`
   20951   else
   20952     continue
   20953   fi
   20954   # Extract the definition of DEPDIR, am__include, and am__quote
   20955   # from the Makefile without running `make'.
   20956   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20957   test -z "$DEPDIR" && continue
   20958   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20959   test -z "am__include" && continue
   20960   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20961   # When using ansi2knr, U may be empty or an underscore; expand it
   20962   U=`sed -n 's/^U = //p' < "$mf"`
   20963   # Find all dependency output files, they are included files with
   20964   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20965   # simplest approach to changing $(DEPDIR) to its actual value in the
   20966   # expansion.
   20967   for file in `sed -n "
   20968     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20969        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   20970     # Make sure the directory exists.
   20971     test -f "$dirpart/$file" && continue
   20972     fdir=`$as_dirname -- "$file" ||
   20973 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20974 	 X"$file" : 'X\(//\)[^/]' \| \
   20975 	 X"$file" : 'X\(//\)$' \| \
   20976 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20977 echo X"$file" |
   20978     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20979 	    s//\1/
   20980 	    q
   20981 	  }
   20982 	  /^X\(\/\/\)[^/].*/{
   20983 	    s//\1/
   20984 	    q
   20985 	  }
   20986 	  /^X\(\/\/\)$/{
   20987 	    s//\1/
   20988 	    q
   20989 	  }
   20990 	  /^X\(\/\).*/{
   20991 	    s//\1/
   20992 	    q
   20993 	  }
   20994 	  s/.*/./; q'`
   20995     { as_dir=$dirpart/$fdir
   20996   case $as_dir in #(
   20997   -*) as_dir=./$as_dir;;
   20998   esac
   20999   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   21000     as_dirs=
   21001     while :; do
   21002       case $as_dir in #(
   21003       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   21004       *) as_qdir=$as_dir;;
   21005       esac
   21006       as_dirs="'$as_qdir' $as_dirs"
   21007       as_dir=`$as_dirname -- "$as_dir" ||
   21008 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21009 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21010 	 X"$as_dir" : 'X\(//\)$' \| \
   21011 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21012 echo X"$as_dir" |
   21013     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21014 	    s//\1/
   21015 	    q
   21016 	  }
   21017 	  /^X\(\/\/\)[^/].*/{
   21018 	    s//\1/
   21019 	    q
   21020 	  }
   21021 	  /^X\(\/\/\)$/{
   21022 	    s//\1/
   21023 	    q
   21024 	  }
   21025 	  /^X\(\/\).*/{
   21026 	    s//\1/
   21027 	    q
   21028 	  }
   21029 	  s/.*/./; q'`
   21030       test -d "$as_dir" && break
   21031     done
   21032     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21033   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   21034 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   21035    { (exit 1); exit 1; }; }; }
   21036     # echo "creating $dirpart/$file"
   21037     echo '# dummy' > "$dirpart/$file"
   21038   done
   21039 done
   21040  ;;
   21041 
   21042   esac
   21043 done # for ac_tag
   21044 
   21045 
   21046 { (exit 0); exit 0; }
   21047 _ACEOF
   21048 chmod +x $CONFIG_STATUS
   21049 ac_clean_files=$ac_clean_files_save
   21050 
   21051 
   21052 # configure is writing to config.log, and then calls config.status.
   21053 # config.status does its own redirection, appending to config.log.
   21054 # Unfortunately, on DOS this fails, as config.log is still kept open
   21055 # by configure, so config.status won't be able to write to it; its
   21056 # output is simply discarded.  So we exec the FD to /dev/null,
   21057 # effectively closing config.log, so it can be properly (re)opened and
   21058 # appended to by config.status.  When coming back to configure, we
   21059 # need to make the FD available again.
   21060 if test "$no_create" != yes; then
   21061   ac_cs_success=:
   21062   ac_config_status_args=
   21063   test "$silent" = yes &&
   21064     ac_config_status_args="$ac_config_status_args --quiet"
   21065   exec 5>/dev/null
   21066   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21067   exec 5>>config.log
   21068   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21069   # would make configure fail if this is the last instruction.
   21070   $ac_cs_success || { (exit 1); exit 1; }
   21071 fi
   21072 
   21073