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 libxkbfile 1.0.5.
      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='libxkbfile'
    730 PACKAGE_TARNAME='libxkbfile'
    731 PACKAGE_VERSION='1.0.5'
    732 PACKAGE_STRING='libxkbfile 1.0.5'
    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 XKBFILE_CFLAGS
    877 XKBFILE_LIBS
    878 LIBOBJS
    879 LTLIBOBJS'
    880 ac_subst_files=''
    881       ac_precious_vars='build_alias
    882 host_alias
    883 target_alias
    884 CC
    885 CFLAGS
    886 LDFLAGS
    887 LIBS
    888 CPPFLAGS
    889 CPP
    890 CXX
    891 CXXFLAGS
    892 CCC
    893 CXXCPP
    894 F77
    895 FFLAGS
    896 PKG_CONFIG
    897 XKBFILE_CFLAGS
    898 XKBFILE_LIBS'
    899 
    900 
    901 # Initialize some variables set by options.
    902 ac_init_help=
    903 ac_init_version=false
    904 # The variables have the same names as the options, with
    905 # dashes changed to underlines.
    906 cache_file=/dev/null
    907 exec_prefix=NONE
    908 no_create=
    909 no_recursion=
    910 prefix=NONE
    911 program_prefix=NONE
    912 program_suffix=NONE
    913 program_transform_name=s,x,x,
    914 silent=
    915 site=
    916 srcdir=
    917 verbose=
    918 x_includes=NONE
    919 x_libraries=NONE
    920 
    921 # Installation directory options.
    922 # These are left unexpanded so users can "make install exec_prefix=/foo"
    923 # and all the variables that are supposed to be based on exec_prefix
    924 # by default will actually change.
    925 # Use braces instead of parens because sh, perl, etc. also accept them.
    926 # (The list follows the same order as the GNU Coding Standards.)
    927 bindir='${exec_prefix}/bin'
    928 sbindir='${exec_prefix}/sbin'
    929 libexecdir='${exec_prefix}/libexec'
    930 datarootdir='${prefix}/share'
    931 datadir='${datarootdir}'
    932 sysconfdir='${prefix}/etc'
    933 sharedstatedir='${prefix}/com'
    934 localstatedir='${prefix}/var'
    935 includedir='${prefix}/include'
    936 oldincludedir='/usr/include'
    937 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    938 infodir='${datarootdir}/info'
    939 htmldir='${docdir}'
    940 dvidir='${docdir}'
    941 pdfdir='${docdir}'
    942 psdir='${docdir}'
    943 libdir='${exec_prefix}/lib'
    944 localedir='${datarootdir}/locale'
    945 mandir='${datarootdir}/man'
    946 
    947 ac_prev=
    948 ac_dashdash=
    949 for ac_option
    950 do
    951   # If the previous option needs an argument, assign it.
    952   if test -n "$ac_prev"; then
    953     eval $ac_prev=\$ac_option
    954     ac_prev=
    955     continue
    956   fi
    957 
    958   case $ac_option in
    959   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    960   *)	ac_optarg=yes ;;
    961   esac
    962 
    963   # Accept the important Cygnus configure options, so we can diagnose typos.
    964 
    965   case $ac_dashdash$ac_option in
    966   --)
    967     ac_dashdash=yes ;;
    968 
    969   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    970     ac_prev=bindir ;;
    971   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    972     bindir=$ac_optarg ;;
    973 
    974   -build | --build | --buil | --bui | --bu)
    975     ac_prev=build_alias ;;
    976   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    977     build_alias=$ac_optarg ;;
    978 
    979   -cache-file | --cache-file | --cache-fil | --cache-fi \
    980   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    981     ac_prev=cache_file ;;
    982   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    983   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    984     cache_file=$ac_optarg ;;
    985 
    986   --config-cache | -C)
    987     cache_file=config.cache ;;
    988 
    989   -datadir | --datadir | --datadi | --datad)
    990     ac_prev=datadir ;;
    991   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    992     datadir=$ac_optarg ;;
    993 
    994   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    995   | --dataroo | --dataro | --datar)
    996     ac_prev=datarootdir ;;
    997   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    998   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    999     datarootdir=$ac_optarg ;;
   1000 
   1001   -disable-* | --disable-*)
   1002     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1003     # Reject names that are not valid shell variable names.
   1004     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1005       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1006    { (exit 1); exit 1; }; }
   1007     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1008     eval enable_$ac_feature=no ;;
   1009 
   1010   -docdir | --docdir | --docdi | --doc | --do)
   1011     ac_prev=docdir ;;
   1012   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1013     docdir=$ac_optarg ;;
   1014 
   1015   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1016     ac_prev=dvidir ;;
   1017   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1018     dvidir=$ac_optarg ;;
   1019 
   1020   -enable-* | --enable-*)
   1021     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1022     # Reject names that are not valid shell variable names.
   1023     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1024       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1025    { (exit 1); exit 1; }; }
   1026     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1027     eval enable_$ac_feature=\$ac_optarg ;;
   1028 
   1029   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1030   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1031   | --exec | --exe | --ex)
   1032     ac_prev=exec_prefix ;;
   1033   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1034   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1035   | --exec=* | --exe=* | --ex=*)
   1036     exec_prefix=$ac_optarg ;;
   1037 
   1038   -gas | --gas | --ga | --g)
   1039     # Obsolete; use --with-gas.
   1040     with_gas=yes ;;
   1041 
   1042   -help | --help | --hel | --he | -h)
   1043     ac_init_help=long ;;
   1044   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1045     ac_init_help=recursive ;;
   1046   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1047     ac_init_help=short ;;
   1048 
   1049   -host | --host | --hos | --ho)
   1050     ac_prev=host_alias ;;
   1051   -host=* | --host=* | --hos=* | --ho=*)
   1052     host_alias=$ac_optarg ;;
   1053 
   1054   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1055     ac_prev=htmldir ;;
   1056   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1057   | --ht=*)
   1058     htmldir=$ac_optarg ;;
   1059 
   1060   -includedir | --includedir | --includedi | --included | --include \
   1061   | --includ | --inclu | --incl | --inc)
   1062     ac_prev=includedir ;;
   1063   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1064   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1065     includedir=$ac_optarg ;;
   1066 
   1067   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1068     ac_prev=infodir ;;
   1069   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1070     infodir=$ac_optarg ;;
   1071 
   1072   -libdir | --libdir | --libdi | --libd)
   1073     ac_prev=libdir ;;
   1074   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1075     libdir=$ac_optarg ;;
   1076 
   1077   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1078   | --libexe | --libex | --libe)
   1079     ac_prev=libexecdir ;;
   1080   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1081   | --libexe=* | --libex=* | --libe=*)
   1082     libexecdir=$ac_optarg ;;
   1083 
   1084   -localedir | --localedir | --localedi | --localed | --locale)
   1085     ac_prev=localedir ;;
   1086   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1087     localedir=$ac_optarg ;;
   1088 
   1089   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1090   | --localstate | --localstat | --localsta | --localst | --locals)
   1091     ac_prev=localstatedir ;;
   1092   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1093   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1094     localstatedir=$ac_optarg ;;
   1095 
   1096   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1097     ac_prev=mandir ;;
   1098   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1099     mandir=$ac_optarg ;;
   1100 
   1101   -nfp | --nfp | --nf)
   1102     # Obsolete; use --without-fp.
   1103     with_fp=no ;;
   1104 
   1105   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1106   | --no-cr | --no-c | -n)
   1107     no_create=yes ;;
   1108 
   1109   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1110   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1111     no_recursion=yes ;;
   1112 
   1113   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1114   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1115   | --oldin | --oldi | --old | --ol | --o)
   1116     ac_prev=oldincludedir ;;
   1117   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1118   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1119   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1120     oldincludedir=$ac_optarg ;;
   1121 
   1122   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1123     ac_prev=prefix ;;
   1124   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1125     prefix=$ac_optarg ;;
   1126 
   1127   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1128   | --program-pre | --program-pr | --program-p)
   1129     ac_prev=program_prefix ;;
   1130   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1131   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1132     program_prefix=$ac_optarg ;;
   1133 
   1134   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1135   | --program-suf | --program-su | --program-s)
   1136     ac_prev=program_suffix ;;
   1137   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1138   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1139     program_suffix=$ac_optarg ;;
   1140 
   1141   -program-transform-name | --program-transform-name \
   1142   | --program-transform-nam | --program-transform-na \
   1143   | --program-transform-n | --program-transform- \
   1144   | --program-transform | --program-transfor \
   1145   | --program-transfo | --program-transf \
   1146   | --program-trans | --program-tran \
   1147   | --progr-tra | --program-tr | --program-t)
   1148     ac_prev=program_transform_name ;;
   1149   -program-transform-name=* | --program-transform-name=* \
   1150   | --program-transform-nam=* | --program-transform-na=* \
   1151   | --program-transform-n=* | --program-transform-=* \
   1152   | --program-transform=* | --program-transfor=* \
   1153   | --program-transfo=* | --program-transf=* \
   1154   | --program-trans=* | --program-tran=* \
   1155   | --progr-tra=* | --program-tr=* | --program-t=*)
   1156     program_transform_name=$ac_optarg ;;
   1157 
   1158   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1159     ac_prev=pdfdir ;;
   1160   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1161     pdfdir=$ac_optarg ;;
   1162 
   1163   -psdir | --psdir | --psdi | --psd | --ps)
   1164     ac_prev=psdir ;;
   1165   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1166     psdir=$ac_optarg ;;
   1167 
   1168   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1169   | -silent | --silent | --silen | --sile | --sil)
   1170     silent=yes ;;
   1171 
   1172   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1173     ac_prev=sbindir ;;
   1174   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1175   | --sbi=* | --sb=*)
   1176     sbindir=$ac_optarg ;;
   1177 
   1178   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1179   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1180   | --sharedst | --shareds | --shared | --share | --shar \
   1181   | --sha | --sh)
   1182     ac_prev=sharedstatedir ;;
   1183   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1184   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1185   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1186   | --sha=* | --sh=*)
   1187     sharedstatedir=$ac_optarg ;;
   1188 
   1189   -site | --site | --sit)
   1190     ac_prev=site ;;
   1191   -site=* | --site=* | --sit=*)
   1192     site=$ac_optarg ;;
   1193 
   1194   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1195     ac_prev=srcdir ;;
   1196   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1197     srcdir=$ac_optarg ;;
   1198 
   1199   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1200   | --syscon | --sysco | --sysc | --sys | --sy)
   1201     ac_prev=sysconfdir ;;
   1202   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1203   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1204     sysconfdir=$ac_optarg ;;
   1205 
   1206   -target | --target | --targe | --targ | --tar | --ta | --t)
   1207     ac_prev=target_alias ;;
   1208   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1209     target_alias=$ac_optarg ;;
   1210 
   1211   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1212     verbose=yes ;;
   1213 
   1214   -version | --version | --versio | --versi | --vers | -V)
   1215     ac_init_version=: ;;
   1216 
   1217   -with-* | --with-*)
   1218     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1219     # Reject names that are not valid shell variable names.
   1220     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1221       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1222    { (exit 1); exit 1; }; }
   1223     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1224     eval with_$ac_package=\$ac_optarg ;;
   1225 
   1226   -without-* | --without-*)
   1227     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1228     # Reject names that are not valid shell variable names.
   1229     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1230       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1231    { (exit 1); exit 1; }; }
   1232     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1233     eval with_$ac_package=no ;;
   1234 
   1235   --x)
   1236     # Obsolete; use --with-x.
   1237     with_x=yes ;;
   1238 
   1239   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1240   | --x-incl | --x-inc | --x-in | --x-i)
   1241     ac_prev=x_includes ;;
   1242   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1243   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1244     x_includes=$ac_optarg ;;
   1245 
   1246   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1247   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1248     ac_prev=x_libraries ;;
   1249   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1250   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1251     x_libraries=$ac_optarg ;;
   1252 
   1253   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1254 Try \`$0 --help' for more information." >&2
   1255    { (exit 1); exit 1; }; }
   1256     ;;
   1257 
   1258   *=*)
   1259     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1260     # Reject names that are not valid shell variable names.
   1261     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1262       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1263    { (exit 1); exit 1; }; }
   1264     eval $ac_envvar=\$ac_optarg
   1265     export $ac_envvar ;;
   1266 
   1267   *)
   1268     # FIXME: should be removed in autoconf 3.0.
   1269     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1270     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1271       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1272     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1273     ;;
   1274 
   1275   esac
   1276 done
   1277 
   1278 if test -n "$ac_prev"; then
   1279   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1280   { echo "$as_me: error: missing argument to $ac_option" >&2
   1281    { (exit 1); exit 1; }; }
   1282 fi
   1283 
   1284 # Be sure to have absolute directory names.
   1285 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1286 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1287 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1288 		libdir localedir mandir
   1289 do
   1290   eval ac_val=\$$ac_var
   1291   case $ac_val in
   1292     [\\/$]* | ?:[\\/]* )  continue;;
   1293     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1294   esac
   1295   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1296    { (exit 1); exit 1; }; }
   1297 done
   1298 
   1299 # There might be people who depend on the old broken behavior: `$host'
   1300 # used to hold the argument of --host etc.
   1301 # FIXME: To remove some day.
   1302 build=$build_alias
   1303 host=$host_alias
   1304 target=$target_alias
   1305 
   1306 # FIXME: To remove some day.
   1307 if test "x$host_alias" != x; then
   1308   if test "x$build_alias" = x; then
   1309     cross_compiling=maybe
   1310     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1311     If a cross compiler is detected then cross compile mode will be used." >&2
   1312   elif test "x$build_alias" != "x$host_alias"; then
   1313     cross_compiling=yes
   1314   fi
   1315 fi
   1316 
   1317 ac_tool_prefix=
   1318 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1319 
   1320 test "$silent" = yes && exec 6>/dev/null
   1321 
   1322 
   1323 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1324 ac_ls_di=`ls -di .` &&
   1325 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1326   { echo "$as_me: error: Working directory cannot be determined" >&2
   1327    { (exit 1); exit 1; }; }
   1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1329   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1330    { (exit 1); exit 1; }; }
   1331 
   1332 
   1333 # Find the source files, if location was not specified.
   1334 if test -z "$srcdir"; then
   1335   ac_srcdir_defaulted=yes
   1336   # Try the directory containing this script, then the parent directory.
   1337   ac_confdir=`$as_dirname -- "$0" ||
   1338 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1339 	 X"$0" : 'X\(//\)[^/]' \| \
   1340 	 X"$0" : 'X\(//\)$' \| \
   1341 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1342 echo X"$0" |
   1343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1344 	    s//\1/
   1345 	    q
   1346 	  }
   1347 	  /^X\(\/\/\)[^/].*/{
   1348 	    s//\1/
   1349 	    q
   1350 	  }
   1351 	  /^X\(\/\/\)$/{
   1352 	    s//\1/
   1353 	    q
   1354 	  }
   1355 	  /^X\(\/\).*/{
   1356 	    s//\1/
   1357 	    q
   1358 	  }
   1359 	  s/.*/./; q'`
   1360   srcdir=$ac_confdir
   1361   if test ! -r "$srcdir/$ac_unique_file"; then
   1362     srcdir=..
   1363   fi
   1364 else
   1365   ac_srcdir_defaulted=no
   1366 fi
   1367 if test ! -r "$srcdir/$ac_unique_file"; then
   1368   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1369   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1370    { (exit 1); exit 1; }; }
   1371 fi
   1372 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1373 ac_abs_confdir=`(
   1374 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1375    { (exit 1); exit 1; }; }
   1376 	pwd)`
   1377 # When building in place, set srcdir=.
   1378 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1379   srcdir=.
   1380 fi
   1381 # Remove unnecessary trailing slashes from srcdir.
   1382 # Double slashes in file names in object file debugging info
   1383 # mess up M-x gdb in Emacs.
   1384 case $srcdir in
   1385 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1386 esac
   1387 for ac_var in $ac_precious_vars; do
   1388   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1389   eval ac_env_${ac_var}_value=\$${ac_var}
   1390   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1391   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1392 done
   1393 
   1394 #
   1395 # Report the --help message.
   1396 #
   1397 if test "$ac_init_help" = "long"; then
   1398   # Omit some internal or obsolete options to make the list less imposing.
   1399   # This message is too long to be a string in the A/UX 3.1 sh.
   1400   cat <<_ACEOF
   1401 \`configure' configures libxkbfile 1.0.5 to adapt to many kinds of systems.
   1402 
   1403 Usage: $0 [OPTION]... [VAR=VALUE]...
   1404 
   1405 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1406 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1407 
   1408 Defaults for the options are specified in brackets.
   1409 
   1410 Configuration:
   1411   -h, --help              display this help and exit
   1412       --help=short        display options specific to this package
   1413       --help=recursive    display the short help of all the included packages
   1414   -V, --version           display version information and exit
   1415   -q, --quiet, --silent   do not print \`checking...' messages
   1416       --cache-file=FILE   cache test results in FILE [disabled]
   1417   -C, --config-cache      alias for \`--cache-file=config.cache'
   1418   -n, --no-create         do not create output files
   1419       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1420 
   1421 Installation directories:
   1422   --prefix=PREFIX         install architecture-independent files in PREFIX
   1423 			  [$ac_default_prefix]
   1424   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1425 			  [PREFIX]
   1426 
   1427 By default, \`make install' will install all the files in
   1428 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1429 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1430 for instance \`--prefix=\$HOME'.
   1431 
   1432 For better control, use the options below.
   1433 
   1434 Fine tuning of the installation directories:
   1435   --bindir=DIR           user executables [EPREFIX/bin]
   1436   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1437   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1438   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1439   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1440   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1441   --libdir=DIR           object code libraries [EPREFIX/lib]
   1442   --includedir=DIR       C header files [PREFIX/include]
   1443   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1444   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1445   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1446   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1447   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1448   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1449   --docdir=DIR           documentation root [DATAROOTDIR/doc/libxkbfile]
   1450   --htmldir=DIR          html documentation [DOCDIR]
   1451   --dvidir=DIR           dvi documentation [DOCDIR]
   1452   --pdfdir=DIR           pdf documentation [DOCDIR]
   1453   --psdir=DIR            ps documentation [DOCDIR]
   1454 _ACEOF
   1455 
   1456   cat <<\_ACEOF
   1457 
   1458 Program names:
   1459   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1460   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1461   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1462 
   1463 System types:
   1464   --build=BUILD     configure for building on BUILD [guessed]
   1465   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1466 _ACEOF
   1467 fi
   1468 
   1469 if test -n "$ac_init_help"; then
   1470   case $ac_init_help in
   1471      short | recursive ) echo "Configuration of libxkbfile 1.0.5:";;
   1472    esac
   1473   cat <<\_ACEOF
   1474 
   1475 Optional Features:
   1476   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1477   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1478   --enable-maintainer-mode  enable make rules and dependencies not useful
   1479 			  (and sometimes confusing) to the casual installer
   1480   --disable-dependency-tracking  speeds up one-time build
   1481   --enable-dependency-tracking   do not reject slow dependency extractors
   1482   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1483   --enable-static[=PKGS]  build static libraries [default=yes]
   1484   --enable-fast-install[=PKGS]
   1485                           optimize for fast installation [default=yes]
   1486   --disable-libtool-lock  avoid locking (might break parallel builds)
   1487 
   1488 Optional Packages:
   1489   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1490   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1491   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1492   --with-pic              try to use only PIC/non-PIC objects [default=use
   1493                           both]
   1494   --with-tags[=TAGS]      include additional configurations [automatic]
   1495   --with-release-version=STRING
   1496                           Use release version string in package name
   1497 
   1498 Some influential environment variables:
   1499   CC          C compiler command
   1500   CFLAGS      C compiler flags
   1501   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1502               nonstandard directory <lib dir>
   1503   LIBS        libraries to pass to the linker, e.g. -l<library>
   1504   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1505               you have headers in a nonstandard directory <include dir>
   1506   CPP         C preprocessor
   1507   CXX         C++ compiler command
   1508   CXXFLAGS    C++ compiler flags
   1509   CXXCPP      C++ preprocessor
   1510   F77         Fortran 77 compiler command
   1511   FFLAGS      Fortran 77 compiler flags
   1512   PKG_CONFIG  path to pkg-config utility
   1513   XKBFILE_CFLAGS
   1514               C compiler flags for XKBFILE, overriding pkg-config
   1515   XKBFILE_LIBS
   1516               linker flags for XKBFILE, overriding pkg-config
   1517 
   1518 Use these variables to override the choices made by `configure' or to help
   1519 it to find libraries and programs with nonstandard names/locations.
   1520 
   1521 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1522 _ACEOF
   1523 ac_status=$?
   1524 fi
   1525 
   1526 if test "$ac_init_help" = "recursive"; then
   1527   # If there are subdirs, report their specific --help.
   1528   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1529     test -d "$ac_dir" || continue
   1530     ac_builddir=.
   1531 
   1532 case "$ac_dir" in
   1533 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1534 *)
   1535   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1536   # A ".." for each directory in $ac_dir_suffix.
   1537   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1538   case $ac_top_builddir_sub in
   1539   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1540   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1541   esac ;;
   1542 esac
   1543 ac_abs_top_builddir=$ac_pwd
   1544 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1545 # for backward compatibility:
   1546 ac_top_builddir=$ac_top_build_prefix
   1547 
   1548 case $srcdir in
   1549   .)  # We are building in place.
   1550     ac_srcdir=.
   1551     ac_top_srcdir=$ac_top_builddir_sub
   1552     ac_abs_top_srcdir=$ac_pwd ;;
   1553   [\\/]* | ?:[\\/]* )  # Absolute name.
   1554     ac_srcdir=$srcdir$ac_dir_suffix;
   1555     ac_top_srcdir=$srcdir
   1556     ac_abs_top_srcdir=$srcdir ;;
   1557   *) # Relative name.
   1558     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1559     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1560     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1561 esac
   1562 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1563 
   1564     cd "$ac_dir" || { ac_status=$?; continue; }
   1565     # Check for guested configure.
   1566     if test -f "$ac_srcdir/configure.gnu"; then
   1567       echo &&
   1568       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1569     elif test -f "$ac_srcdir/configure"; then
   1570       echo &&
   1571       $SHELL "$ac_srcdir/configure" --help=recursive
   1572     else
   1573       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1574     fi || ac_status=$?
   1575     cd "$ac_pwd" || { ac_status=$?; break; }
   1576   done
   1577 fi
   1578 
   1579 test -n "$ac_init_help" && exit $ac_status
   1580 if $ac_init_version; then
   1581   cat <<\_ACEOF
   1582 libxkbfile configure 1.0.5
   1583 generated by GNU Autoconf 2.61
   1584 
   1585 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1586 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1587 This configure script is free software; the Free Software Foundation
   1588 gives unlimited permission to copy, distribute and modify it.
   1589 _ACEOF
   1590   exit
   1591 fi
   1592 cat >config.log <<_ACEOF
   1593 This file contains any messages produced by compilers while
   1594 running configure, to aid debugging if configure makes a mistake.
   1595 
   1596 It was created by libxkbfile $as_me 1.0.5, which was
   1597 generated by GNU Autoconf 2.61.  Invocation command line was
   1598 
   1599   $ $0 $@
   1600 
   1601 _ACEOF
   1602 exec 5>>config.log
   1603 {
   1604 cat <<_ASUNAME
   1605 ## --------- ##
   1606 ## Platform. ##
   1607 ## --------- ##
   1608 
   1609 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1610 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1611 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1612 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1613 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1614 
   1615 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1616 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1617 
   1618 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1619 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1620 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1621 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1622 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1623 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1624 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1625 
   1626 _ASUNAME
   1627 
   1628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1629 for as_dir in $PATH
   1630 do
   1631   IFS=$as_save_IFS
   1632   test -z "$as_dir" && as_dir=.
   1633   echo "PATH: $as_dir"
   1634 done
   1635 IFS=$as_save_IFS
   1636 
   1637 } >&5
   1638 
   1639 cat >&5 <<_ACEOF
   1640 
   1641 
   1642 ## ----------- ##
   1643 ## Core tests. ##
   1644 ## ----------- ##
   1645 
   1646 _ACEOF
   1647 
   1648 
   1649 # Keep a trace of the command line.
   1650 # Strip out --no-create and --no-recursion so they do not pile up.
   1651 # Strip out --silent because we don't want to record it for future runs.
   1652 # Also quote any args containing shell meta-characters.
   1653 # Make two passes to allow for proper duplicate-argument suppression.
   1654 ac_configure_args=
   1655 ac_configure_args0=
   1656 ac_configure_args1=
   1657 ac_must_keep_next=false
   1658 for ac_pass in 1 2
   1659 do
   1660   for ac_arg
   1661   do
   1662     case $ac_arg in
   1663     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1664     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1665     | -silent | --silent | --silen | --sile | --sil)
   1666       continue ;;
   1667     *\'*)
   1668       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1669     esac
   1670     case $ac_pass in
   1671     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1672     2)
   1673       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1674       if test $ac_must_keep_next = true; then
   1675 	ac_must_keep_next=false # Got value, back to normal.
   1676       else
   1677 	case $ac_arg in
   1678 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1679 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1680 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1681 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1682 	    case "$ac_configure_args0 " in
   1683 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1684 	    esac
   1685 	    ;;
   1686 	  -* ) ac_must_keep_next=true ;;
   1687 	esac
   1688       fi
   1689       ac_configure_args="$ac_configure_args '$ac_arg'"
   1690       ;;
   1691     esac
   1692   done
   1693 done
   1694 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1695 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1696 
   1697 # When interrupted or exit'd, cleanup temporary files, and complete
   1698 # config.log.  We remove comments because anyway the quotes in there
   1699 # would cause problems or look ugly.
   1700 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1701 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1702 trap 'exit_status=$?
   1703   # Save into config.log some information that might help in debugging.
   1704   {
   1705     echo
   1706 
   1707     cat <<\_ASBOX
   1708 ## ---------------- ##
   1709 ## Cache variables. ##
   1710 ## ---------------- ##
   1711 _ASBOX
   1712     echo
   1713     # The following way of writing the cache mishandles newlines in values,
   1714 (
   1715   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1716     eval ac_val=\$$ac_var
   1717     case $ac_val in #(
   1718     *${as_nl}*)
   1719       case $ac_var in #(
   1720       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1721 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1722       esac
   1723       case $ac_var in #(
   1724       _ | IFS | as_nl) ;; #(
   1725       *) $as_unset $ac_var ;;
   1726       esac ;;
   1727     esac
   1728   done
   1729   (set) 2>&1 |
   1730     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1731     *${as_nl}ac_space=\ *)
   1732       sed -n \
   1733 	"s/'\''/'\''\\\\'\'''\''/g;
   1734 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1735       ;; #(
   1736     *)
   1737       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1738       ;;
   1739     esac |
   1740     sort
   1741 )
   1742     echo
   1743 
   1744     cat <<\_ASBOX
   1745 ## ----------------- ##
   1746 ## Output variables. ##
   1747 ## ----------------- ##
   1748 _ASBOX
   1749     echo
   1750     for ac_var in $ac_subst_vars
   1751     do
   1752       eval ac_val=\$$ac_var
   1753       case $ac_val in
   1754       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1755       esac
   1756       echo "$ac_var='\''$ac_val'\''"
   1757     done | sort
   1758     echo
   1759 
   1760     if test -n "$ac_subst_files"; then
   1761       cat <<\_ASBOX
   1762 ## ------------------- ##
   1763 ## File substitutions. ##
   1764 ## ------------------- ##
   1765 _ASBOX
   1766       echo
   1767       for ac_var in $ac_subst_files
   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     fi
   1777 
   1778     if test -s confdefs.h; then
   1779       cat <<\_ASBOX
   1780 ## ----------- ##
   1781 ## confdefs.h. ##
   1782 ## ----------- ##
   1783 _ASBOX
   1784       echo
   1785       cat confdefs.h
   1786       echo
   1787     fi
   1788     test "$ac_signal" != 0 &&
   1789       echo "$as_me: caught signal $ac_signal"
   1790     echo "$as_me: exit $exit_status"
   1791   } >&5
   1792   rm -f core *.core core.conftest.* &&
   1793     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1794     exit $exit_status
   1795 ' 0
   1796 for ac_signal in 1 2 13 15; do
   1797   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1798 done
   1799 ac_signal=0
   1800 
   1801 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1802 rm -f -r conftest* confdefs.h
   1803 
   1804 # Predefined preprocessor variables.
   1805 
   1806 cat >>confdefs.h <<_ACEOF
   1807 #define PACKAGE_NAME "$PACKAGE_NAME"
   1808 _ACEOF
   1809 
   1810 
   1811 cat >>confdefs.h <<_ACEOF
   1812 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1813 _ACEOF
   1814 
   1815 
   1816 cat >>confdefs.h <<_ACEOF
   1817 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1818 _ACEOF
   1819 
   1820 
   1821 cat >>confdefs.h <<_ACEOF
   1822 #define PACKAGE_STRING "$PACKAGE_STRING"
   1823 _ACEOF
   1824 
   1825 
   1826 cat >>confdefs.h <<_ACEOF
   1827 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1828 _ACEOF
   1829 
   1830 
   1831 # Let the site file select an alternate cache file if it wants to.
   1832 # Prefer explicitly selected file to automatically selected ones.
   1833 if test -n "$CONFIG_SITE"; then
   1834   set x "$CONFIG_SITE"
   1835 elif test "x$prefix" != xNONE; then
   1836   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1837 else
   1838   set x "$ac_default_prefix/share/config.site" \
   1839 	"$ac_default_prefix/etc/config.site"
   1840 fi
   1841 shift
   1842 for ac_site_file
   1843 do
   1844   if test -r "$ac_site_file"; then
   1845     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1846 echo "$as_me: loading site script $ac_site_file" >&6;}
   1847     sed 's/^/| /' "$ac_site_file" >&5
   1848     . "$ac_site_file"
   1849   fi
   1850 done
   1851 
   1852 if test -r "$cache_file"; then
   1853   # Some versions of bash will fail to source /dev/null (special
   1854   # files actually), so we avoid doing that.
   1855   if test -f "$cache_file"; then
   1856     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1857 echo "$as_me: loading cache $cache_file" >&6;}
   1858     case $cache_file in
   1859       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1860       *)                      . "./$cache_file";;
   1861     esac
   1862   fi
   1863 else
   1864   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1865 echo "$as_me: creating cache $cache_file" >&6;}
   1866   >$cache_file
   1867 fi
   1868 
   1869 # Check that the precious variables saved in the cache have kept the same
   1870 # value.
   1871 ac_cache_corrupted=false
   1872 for ac_var in $ac_precious_vars; do
   1873   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1874   eval ac_new_set=\$ac_env_${ac_var}_set
   1875   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1876   eval ac_new_val=\$ac_env_${ac_var}_value
   1877   case $ac_old_set,$ac_new_set in
   1878     set,)
   1879       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1880 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1881       ac_cache_corrupted=: ;;
   1882     ,set)
   1883       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1884 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1885       ac_cache_corrupted=: ;;
   1886     ,);;
   1887     *)
   1888       if test "x$ac_old_val" != "x$ac_new_val"; then
   1889 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1890 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1891 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1892 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1893 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1894 echo "$as_me:   current value: $ac_new_val" >&2;}
   1895 	ac_cache_corrupted=:
   1896       fi;;
   1897   esac
   1898   # Pass precious variables to config.status.
   1899   if test "$ac_new_set" = set; then
   1900     case $ac_new_val in
   1901     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1902     *) ac_arg=$ac_var=$ac_new_val ;;
   1903     esac
   1904     case " $ac_configure_args " in
   1905       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1906       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1907     esac
   1908   fi
   1909 done
   1910 if $ac_cache_corrupted; then
   1911   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1912 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1913   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1914 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1915    { (exit 1); exit 1; }; }
   1916 fi
   1917 
   1918 
   1919 
   1920 
   1921 
   1922 
   1923 
   1924 
   1925 
   1926 
   1927 
   1928 
   1929 
   1930 
   1931 
   1932 
   1933 
   1934 
   1935 
   1936 
   1937 
   1938 
   1939 
   1940 
   1941 
   1942 ac_ext=c
   1943 ac_cpp='$CPP $CPPFLAGS'
   1944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1947 
   1948 
   1949 am__api_version='1.10'
   1950 
   1951 ac_aux_dir=
   1952 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   1953   if test -f "$ac_dir/install-sh"; then
   1954     ac_aux_dir=$ac_dir
   1955     ac_install_sh="$ac_aux_dir/install-sh -c"
   1956     break
   1957   elif test -f "$ac_dir/install.sh"; then
   1958     ac_aux_dir=$ac_dir
   1959     ac_install_sh="$ac_aux_dir/install.sh -c"
   1960     break
   1961   elif test -f "$ac_dir/shtool"; then
   1962     ac_aux_dir=$ac_dir
   1963     ac_install_sh="$ac_aux_dir/shtool install -c"
   1964     break
   1965   fi
   1966 done
   1967 if test -z "$ac_aux_dir"; then
   1968   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   1969 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   1970    { (exit 1); exit 1; }; }
   1971 fi
   1972 
   1973 # These three variables are undocumented and unsupported,
   1974 # and are intended to be withdrawn in a future Autoconf release.
   1975 # They can cause serious problems if a builder's source tree is in a directory
   1976 # whose full name contains unusual characters.
   1977 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   1978 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   1979 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   1980 
   1981 
   1982 # Find a good install program.  We prefer a C program (faster),
   1983 # so one script is as good as another.  But avoid the broken or
   1984 # incompatible versions:
   1985 # SysV /etc/install, /usr/sbin/install
   1986 # SunOS /usr/etc/install
   1987 # IRIX /sbin/install
   1988 # AIX /bin/install
   1989 # AmigaOS /C/install, which installs bootblocks on floppy discs
   1990 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   1991 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   1992 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   1993 # OS/2's system install, which has a completely different semantic
   1994 # ./install, which can be erroneously created by make from ./install.sh.
   1995 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   1996 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   1997 if test -z "$INSTALL"; then
   1998 if test "${ac_cv_path_install+set}" = set; then
   1999   echo $ECHO_N "(cached) $ECHO_C" >&6
   2000 else
   2001   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2002 for as_dir in $PATH
   2003 do
   2004   IFS=$as_save_IFS
   2005   test -z "$as_dir" && as_dir=.
   2006   # Account for people who put trailing slashes in PATH elements.
   2007 case $as_dir/ in
   2008   ./ | .// | /cC/* | \
   2009   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2010   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2011   /usr/ucb/* ) ;;
   2012   *)
   2013     # OSF1 and SCO ODT 3.0 have their own names for install.
   2014     # Don't use installbsd from OSF since it installs stuff as root
   2015     # by default.
   2016     for ac_prog in ginstall scoinst install; do
   2017       for ac_exec_ext in '' $ac_executable_extensions; do
   2018 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2019 	  if test $ac_prog = install &&
   2020 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2021 	    # AIX install.  It has an incompatible calling convention.
   2022 	    :
   2023 	  elif test $ac_prog = install &&
   2024 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2025 	    # program-specific install script used by HP pwplus--don't use.
   2026 	    :
   2027 	  else
   2028 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2029 	    break 3
   2030 	  fi
   2031 	fi
   2032       done
   2033     done
   2034     ;;
   2035 esac
   2036 done
   2037 IFS=$as_save_IFS
   2038 
   2039 
   2040 fi
   2041   if test "${ac_cv_path_install+set}" = set; then
   2042     INSTALL=$ac_cv_path_install
   2043   else
   2044     # As a last resort, use the slow shell script.  Don't cache a
   2045     # value for INSTALL within a source directory, because that will
   2046     # break other packages using the cache if that directory is
   2047     # removed, or if the value is a relative name.
   2048     INSTALL=$ac_install_sh
   2049   fi
   2050 fi
   2051 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2052 echo "${ECHO_T}$INSTALL" >&6; }
   2053 
   2054 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2055 # It thinks the first close brace ends the variable substitution.
   2056 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2057 
   2058 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2059 
   2060 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2061 
   2062 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2063 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2064 # Just in case
   2065 sleep 1
   2066 echo timestamp > conftest.file
   2067 # Do `set' in a subshell so we don't clobber the current shell's
   2068 # arguments.  Must try -L first in case configure is actually a
   2069 # symlink; some systems play weird games with the mod time of symlinks
   2070 # (eg FreeBSD returns the mod time of the symlink's containing
   2071 # directory).
   2072 if (
   2073    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2074    if test "$*" = "X"; then
   2075       # -L didn't work.
   2076       set X `ls -t $srcdir/configure conftest.file`
   2077    fi
   2078    rm -f conftest.file
   2079    if test "$*" != "X $srcdir/configure conftest.file" \
   2080       && test "$*" != "X conftest.file $srcdir/configure"; then
   2081 
   2082       # If neither matched, then we have a broken ls.  This can happen
   2083       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2084       # broken ls alias from the environment.  This has actually
   2085       # happened.  Such a system could not be considered "sane".
   2086       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2087 alias in your environment" >&5
   2088 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2089 alias in your environment" >&2;}
   2090    { (exit 1); exit 1; }; }
   2091    fi
   2092 
   2093    test "$2" = conftest.file
   2094    )
   2095 then
   2096    # Ok.
   2097    :
   2098 else
   2099    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2100 Check your system clock" >&5
   2101 echo "$as_me: error: newly created file is older than distributed files!
   2102 Check your system clock" >&2;}
   2103    { (exit 1); exit 1; }; }
   2104 fi
   2105 { echo "$as_me:$LINENO: result: yes" >&5
   2106 echo "${ECHO_T}yes" >&6; }
   2107 test "$program_prefix" != NONE &&
   2108   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2109 # Use a double $ so make ignores it.
   2110 test "$program_suffix" != NONE &&
   2111   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2112 # Double any \ or $.  echo might interpret backslashes.
   2113 # By default was `s,x,x', remove it if useless.
   2114 cat <<\_ACEOF >conftest.sed
   2115 s/[\\$]/&&/g;s/;s,x,x,$//
   2116 _ACEOF
   2117 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2118 rm -f conftest.sed
   2119 
   2120 # expand $ac_aux_dir to an absolute path
   2121 am_aux_dir=`cd $ac_aux_dir && pwd`
   2122 
   2123 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2124 # Use eval to expand $SHELL
   2125 if eval "$MISSING --run true"; then
   2126   am_missing_run="$MISSING --run "
   2127 else
   2128   am_missing_run=
   2129   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2130 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2131 fi
   2132 
   2133 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2134 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2135 if test -z "$MKDIR_P"; then
   2136   if test "${ac_cv_path_mkdir+set}" = set; then
   2137   echo $ECHO_N "(cached) $ECHO_C" >&6
   2138 else
   2139   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2140 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2141 do
   2142   IFS=$as_save_IFS
   2143   test -z "$as_dir" && as_dir=.
   2144   for ac_prog in mkdir gmkdir; do
   2145 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2146 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2147 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2148 	     'mkdir (GNU coreutils) '* | \
   2149 	     'mkdir (coreutils) '* | \
   2150 	     'mkdir (fileutils) '4.1*)
   2151 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2152 	       break 3;;
   2153 	   esac
   2154 	 done
   2155        done
   2156 done
   2157 IFS=$as_save_IFS
   2158 
   2159 fi
   2160 
   2161   if test "${ac_cv_path_mkdir+set}" = set; then
   2162     MKDIR_P="$ac_cv_path_mkdir -p"
   2163   else
   2164     # As a last resort, use the slow shell script.  Don't cache a
   2165     # value for MKDIR_P within a source directory, because that will
   2166     # break other packages using the cache if that directory is
   2167     # removed, or if the value is a relative name.
   2168     test -d ./--version && rmdir ./--version
   2169     MKDIR_P="$ac_install_sh -d"
   2170   fi
   2171 fi
   2172 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2173 echo "${ECHO_T}$MKDIR_P" >&6; }
   2174 
   2175 mkdir_p="$MKDIR_P"
   2176 case $mkdir_p in
   2177   [\\/$]* | ?:[\\/]*) ;;
   2178   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2179 esac
   2180 
   2181 for ac_prog in gawk mawk nawk awk
   2182 do
   2183   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2184 set dummy $ac_prog; ac_word=$2
   2185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2187 if test "${ac_cv_prog_AWK+set}" = set; then
   2188   echo $ECHO_N "(cached) $ECHO_C" >&6
   2189 else
   2190   if test -n "$AWK"; then
   2191   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2192 else
   2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2194 for as_dir in $PATH
   2195 do
   2196   IFS=$as_save_IFS
   2197   test -z "$as_dir" && as_dir=.
   2198   for ac_exec_ext in '' $ac_executable_extensions; do
   2199   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2200     ac_cv_prog_AWK="$ac_prog"
   2201     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2202     break 2
   2203   fi
   2204 done
   2205 done
   2206 IFS=$as_save_IFS
   2207 
   2208 fi
   2209 fi
   2210 AWK=$ac_cv_prog_AWK
   2211 if test -n "$AWK"; then
   2212   { echo "$as_me:$LINENO: result: $AWK" >&5
   2213 echo "${ECHO_T}$AWK" >&6; }
   2214 else
   2215   { echo "$as_me:$LINENO: result: no" >&5
   2216 echo "${ECHO_T}no" >&6; }
   2217 fi
   2218 
   2219 
   2220   test -n "$AWK" && break
   2221 done
   2222 
   2223 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2224 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2225 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2226 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2227   echo $ECHO_N "(cached) $ECHO_C" >&6
   2228 else
   2229   cat >conftest.make <<\_ACEOF
   2230 SHELL = /bin/sh
   2231 all:
   2232 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2233 _ACEOF
   2234 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2235 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2236   *@@@%%%=?*=@@@%%%*)
   2237     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2238   *)
   2239     eval ac_cv_prog_make_${ac_make}_set=no;;
   2240 esac
   2241 rm -f conftest.make
   2242 fi
   2243 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2244   { echo "$as_me:$LINENO: result: yes" >&5
   2245 echo "${ECHO_T}yes" >&6; }
   2246   SET_MAKE=
   2247 else
   2248   { echo "$as_me:$LINENO: result: no" >&5
   2249 echo "${ECHO_T}no" >&6; }
   2250   SET_MAKE="MAKE=${MAKE-make}"
   2251 fi
   2252 
   2253 rm -rf .tst 2>/dev/null
   2254 mkdir .tst 2>/dev/null
   2255 if test -d .tst; then
   2256   am__leading_dot=.
   2257 else
   2258   am__leading_dot=_
   2259 fi
   2260 rmdir .tst 2>/dev/null
   2261 
   2262 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2263   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2264   # is not polluted with repeated "-I."
   2265   am__isrc=' -I$(srcdir)'
   2266   # test to see if srcdir already configured
   2267   if test -f $srcdir/config.status; then
   2268     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2269 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2270    { (exit 1); exit 1; }; }
   2271   fi
   2272 fi
   2273 
   2274 # test whether we have cygpath
   2275 if test -z "$CYGPATH_W"; then
   2276   if (cygpath --version) >/dev/null 2>/dev/null; then
   2277     CYGPATH_W='cygpath -w'
   2278   else
   2279     CYGPATH_W=echo
   2280   fi
   2281 fi
   2282 
   2283 
   2284 # Define the identity of the package.
   2285  PACKAGE='libxkbfile'
   2286  VERSION='1.0.5'
   2287 
   2288 
   2289 cat >>confdefs.h <<_ACEOF
   2290 #define PACKAGE "$PACKAGE"
   2291 _ACEOF
   2292 
   2293 
   2294 cat >>confdefs.h <<_ACEOF
   2295 #define VERSION "$VERSION"
   2296 _ACEOF
   2297 
   2298 # Some tools Automake needs.
   2299 
   2300 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2301 
   2302 
   2303 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2304 
   2305 
   2306 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2307 
   2308 
   2309 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2310 
   2311 
   2312 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2313 
   2314 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2315 
   2316 # Installed binaries are usually stripped using `strip' when the user
   2317 # run `make install-strip'.  However `strip' might not be the right
   2318 # tool to use in cross-compilation environments, therefore Automake
   2319 # will honor the `STRIP' environment variable to overrule this program.
   2320 if test "$cross_compiling" != no; then
   2321   if test -n "$ac_tool_prefix"; then
   2322   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2323 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2326 if test "${ac_cv_prog_STRIP+set}" = set; then
   2327   echo $ECHO_N "(cached) $ECHO_C" >&6
   2328 else
   2329   if test -n "$STRIP"; then
   2330   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2331 else
   2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2333 for as_dir in $PATH
   2334 do
   2335   IFS=$as_save_IFS
   2336   test -z "$as_dir" && as_dir=.
   2337   for ac_exec_ext in '' $ac_executable_extensions; do
   2338   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2339     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2340     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2341     break 2
   2342   fi
   2343 done
   2344 done
   2345 IFS=$as_save_IFS
   2346 
   2347 fi
   2348 fi
   2349 STRIP=$ac_cv_prog_STRIP
   2350 if test -n "$STRIP"; then
   2351   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2352 echo "${ECHO_T}$STRIP" >&6; }
   2353 else
   2354   { echo "$as_me:$LINENO: result: no" >&5
   2355 echo "${ECHO_T}no" >&6; }
   2356 fi
   2357 
   2358 
   2359 fi
   2360 if test -z "$ac_cv_prog_STRIP"; then
   2361   ac_ct_STRIP=$STRIP
   2362   # Extract the first word of "strip", so it can be a program name with args.
   2363 set dummy strip; ac_word=$2
   2364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2366 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2367   echo $ECHO_N "(cached) $ECHO_C" >&6
   2368 else
   2369   if test -n "$ac_ct_STRIP"; then
   2370   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2371 else
   2372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2373 for as_dir in $PATH
   2374 do
   2375   IFS=$as_save_IFS
   2376   test -z "$as_dir" && as_dir=.
   2377   for ac_exec_ext in '' $ac_executable_extensions; do
   2378   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2379     ac_cv_prog_ac_ct_STRIP="strip"
   2380     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2381     break 2
   2382   fi
   2383 done
   2384 done
   2385 IFS=$as_save_IFS
   2386 
   2387 fi
   2388 fi
   2389 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2390 if test -n "$ac_ct_STRIP"; then
   2391   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2392 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2393 else
   2394   { echo "$as_me:$LINENO: result: no" >&5
   2395 echo "${ECHO_T}no" >&6; }
   2396 fi
   2397 
   2398   if test "x$ac_ct_STRIP" = x; then
   2399     STRIP=":"
   2400   else
   2401     case $cross_compiling:$ac_tool_warned in
   2402 yes:)
   2403 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2404 whose name does not start with the host triplet.  If you think this
   2405 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2406 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2407 whose name does not start with the host triplet.  If you think this
   2408 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2409 ac_tool_warned=yes ;;
   2410 esac
   2411     STRIP=$ac_ct_STRIP
   2412   fi
   2413 else
   2414   STRIP="$ac_cv_prog_STRIP"
   2415 fi
   2416 
   2417 fi
   2418 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2419 
   2420 # We need awk for the "check" target.  The system "awk" is bad on
   2421 # some platforms.
   2422 # Always define AMTAR for backward compatibility.
   2423 
   2424 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2425 
   2426 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2427 
   2428 
   2429 
   2430 
   2431 
   2432 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2433 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
   2434     # Check whether --enable-maintainer-mode was given.
   2435 if test "${enable_maintainer_mode+set}" = set; then
   2436   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2437 else
   2438   USE_MAINTAINER_MODE=no
   2439 fi
   2440 
   2441   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2442 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
   2443    if test $USE_MAINTAINER_MODE = yes; then
   2444   MAINTAINER_MODE_TRUE=
   2445   MAINTAINER_MODE_FALSE='#'
   2446 else
   2447   MAINTAINER_MODE_TRUE='#'
   2448   MAINTAINER_MODE_FALSE=
   2449 fi
   2450 
   2451   MAINT=$MAINTAINER_MODE_TRUE
   2452 
   2453 
   2454 
   2455 ac_config_headers="$ac_config_headers config.h"
   2456 
   2457 
   2458 # Check for progs
   2459 ac_ext=c
   2460 ac_cpp='$CPP $CPPFLAGS'
   2461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2464 if test -n "$ac_tool_prefix"; then
   2465   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2466 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2469 if test "${ac_cv_prog_CC+set}" = set; then
   2470   echo $ECHO_N "(cached) $ECHO_C" >&6
   2471 else
   2472   if test -n "$CC"; then
   2473   ac_cv_prog_CC="$CC" # Let the user override the test.
   2474 else
   2475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2476 for as_dir in $PATH
   2477 do
   2478   IFS=$as_save_IFS
   2479   test -z "$as_dir" && as_dir=.
   2480   for ac_exec_ext in '' $ac_executable_extensions; do
   2481   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2482     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2483     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2484     break 2
   2485   fi
   2486 done
   2487 done
   2488 IFS=$as_save_IFS
   2489 
   2490 fi
   2491 fi
   2492 CC=$ac_cv_prog_CC
   2493 if test -n "$CC"; then
   2494   { echo "$as_me:$LINENO: result: $CC" >&5
   2495 echo "${ECHO_T}$CC" >&6; }
   2496 else
   2497   { echo "$as_me:$LINENO: result: no" >&5
   2498 echo "${ECHO_T}no" >&6; }
   2499 fi
   2500 
   2501 
   2502 fi
   2503 if test -z "$ac_cv_prog_CC"; then
   2504   ac_ct_CC=$CC
   2505   # Extract the first word of "gcc", so it can be a program name with args.
   2506 set dummy gcc; ac_word=$2
   2507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2509 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2510   echo $ECHO_N "(cached) $ECHO_C" >&6
   2511 else
   2512   if test -n "$ac_ct_CC"; then
   2513   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2514 else
   2515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2516 for as_dir in $PATH
   2517 do
   2518   IFS=$as_save_IFS
   2519   test -z "$as_dir" && as_dir=.
   2520   for ac_exec_ext in '' $ac_executable_extensions; do
   2521   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2522     ac_cv_prog_ac_ct_CC="gcc"
   2523     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2524     break 2
   2525   fi
   2526 done
   2527 done
   2528 IFS=$as_save_IFS
   2529 
   2530 fi
   2531 fi
   2532 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2533 if test -n "$ac_ct_CC"; then
   2534   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2535 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2536 else
   2537   { echo "$as_me:$LINENO: result: no" >&5
   2538 echo "${ECHO_T}no" >&6; }
   2539 fi
   2540 
   2541   if test "x$ac_ct_CC" = x; then
   2542     CC=""
   2543   else
   2544     case $cross_compiling:$ac_tool_warned in
   2545 yes:)
   2546 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2547 whose name does not start with the host triplet.  If you think this
   2548 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2549 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2550 whose name does not start with the host triplet.  If you think this
   2551 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2552 ac_tool_warned=yes ;;
   2553 esac
   2554     CC=$ac_ct_CC
   2555   fi
   2556 else
   2557   CC="$ac_cv_prog_CC"
   2558 fi
   2559 
   2560 if test -z "$CC"; then
   2561           if test -n "$ac_tool_prefix"; then
   2562     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2563 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2566 if test "${ac_cv_prog_CC+set}" = set; then
   2567   echo $ECHO_N "(cached) $ECHO_C" >&6
   2568 else
   2569   if test -n "$CC"; then
   2570   ac_cv_prog_CC="$CC" # Let the user override the test.
   2571 else
   2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2573 for as_dir in $PATH
   2574 do
   2575   IFS=$as_save_IFS
   2576   test -z "$as_dir" && as_dir=.
   2577   for ac_exec_ext in '' $ac_executable_extensions; do
   2578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2579     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2580     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2581     break 2
   2582   fi
   2583 done
   2584 done
   2585 IFS=$as_save_IFS
   2586 
   2587 fi
   2588 fi
   2589 CC=$ac_cv_prog_CC
   2590 if test -n "$CC"; then
   2591   { echo "$as_me:$LINENO: result: $CC" >&5
   2592 echo "${ECHO_T}$CC" >&6; }
   2593 else
   2594   { echo "$as_me:$LINENO: result: no" >&5
   2595 echo "${ECHO_T}no" >&6; }
   2596 fi
   2597 
   2598 
   2599   fi
   2600 fi
   2601 if test -z "$CC"; then
   2602   # Extract the first word of "cc", so it can be a program name with args.
   2603 set dummy cc; ac_word=$2
   2604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2606 if test "${ac_cv_prog_CC+set}" = set; then
   2607   echo $ECHO_N "(cached) $ECHO_C" >&6
   2608 else
   2609   if test -n "$CC"; then
   2610   ac_cv_prog_CC="$CC" # Let the user override the test.
   2611 else
   2612   ac_prog_rejected=no
   2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2614 for as_dir in $PATH
   2615 do
   2616   IFS=$as_save_IFS
   2617   test -z "$as_dir" && as_dir=.
   2618   for ac_exec_ext in '' $ac_executable_extensions; do
   2619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2620     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2621        ac_prog_rejected=yes
   2622        continue
   2623      fi
   2624     ac_cv_prog_CC="cc"
   2625     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2626     break 2
   2627   fi
   2628 done
   2629 done
   2630 IFS=$as_save_IFS
   2631 
   2632 if test $ac_prog_rejected = yes; then
   2633   # We found a bogon in the path, so make sure we never use it.
   2634   set dummy $ac_cv_prog_CC
   2635   shift
   2636   if test $# != 0; then
   2637     # We chose a different compiler from the bogus one.
   2638     # However, it has the same basename, so the bogon will be chosen
   2639     # first if we set CC to just the basename; use the full file name.
   2640     shift
   2641     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2642   fi
   2643 fi
   2644 fi
   2645 fi
   2646 CC=$ac_cv_prog_CC
   2647 if test -n "$CC"; then
   2648   { echo "$as_me:$LINENO: result: $CC" >&5
   2649 echo "${ECHO_T}$CC" >&6; }
   2650 else
   2651   { echo "$as_me:$LINENO: result: no" >&5
   2652 echo "${ECHO_T}no" >&6; }
   2653 fi
   2654 
   2655 
   2656 fi
   2657 if test -z "$CC"; then
   2658   if test -n "$ac_tool_prefix"; then
   2659   for ac_prog in cl.exe
   2660   do
   2661     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2662 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2665 if test "${ac_cv_prog_CC+set}" = set; then
   2666   echo $ECHO_N "(cached) $ECHO_C" >&6
   2667 else
   2668   if test -n "$CC"; then
   2669   ac_cv_prog_CC="$CC" # Let the user override the test.
   2670 else
   2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2672 for as_dir in $PATH
   2673 do
   2674   IFS=$as_save_IFS
   2675   test -z "$as_dir" && as_dir=.
   2676   for ac_exec_ext in '' $ac_executable_extensions; do
   2677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2678     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2679     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2680     break 2
   2681   fi
   2682 done
   2683 done
   2684 IFS=$as_save_IFS
   2685 
   2686 fi
   2687 fi
   2688 CC=$ac_cv_prog_CC
   2689 if test -n "$CC"; then
   2690   { echo "$as_me:$LINENO: result: $CC" >&5
   2691 echo "${ECHO_T}$CC" >&6; }
   2692 else
   2693   { echo "$as_me:$LINENO: result: no" >&5
   2694 echo "${ECHO_T}no" >&6; }
   2695 fi
   2696 
   2697 
   2698     test -n "$CC" && break
   2699   done
   2700 fi
   2701 if test -z "$CC"; then
   2702   ac_ct_CC=$CC
   2703   for ac_prog in cl.exe
   2704 do
   2705   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2706 set dummy $ac_prog; ac_word=$2
   2707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2709 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2710   echo $ECHO_N "(cached) $ECHO_C" >&6
   2711 else
   2712   if test -n "$ac_ct_CC"; then
   2713   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2714 else
   2715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2716 for as_dir in $PATH
   2717 do
   2718   IFS=$as_save_IFS
   2719   test -z "$as_dir" && as_dir=.
   2720   for ac_exec_ext in '' $ac_executable_extensions; do
   2721   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2722     ac_cv_prog_ac_ct_CC="$ac_prog"
   2723     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2724     break 2
   2725   fi
   2726 done
   2727 done
   2728 IFS=$as_save_IFS
   2729 
   2730 fi
   2731 fi
   2732 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2733 if test -n "$ac_ct_CC"; then
   2734   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2735 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2736 else
   2737   { echo "$as_me:$LINENO: result: no" >&5
   2738 echo "${ECHO_T}no" >&6; }
   2739 fi
   2740 
   2741 
   2742   test -n "$ac_ct_CC" && break
   2743 done
   2744 
   2745   if test "x$ac_ct_CC" = x; then
   2746     CC=""
   2747   else
   2748     case $cross_compiling:$ac_tool_warned in
   2749 yes:)
   2750 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2751 whose name does not start with the host triplet.  If you think this
   2752 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2753 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2754 whose name does not start with the host triplet.  If you think this
   2755 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2756 ac_tool_warned=yes ;;
   2757 esac
   2758     CC=$ac_ct_CC
   2759   fi
   2760 fi
   2761 
   2762 fi
   2763 
   2764 
   2765 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2766 See \`config.log' for more details." >&5
   2767 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2768 See \`config.log' for more details." >&2;}
   2769    { (exit 1); exit 1; }; }
   2770 
   2771 # Provide some information about the compiler.
   2772 echo "$as_me:$LINENO: checking for C compiler version" >&5
   2773 ac_compiler=`set X $ac_compile; echo $2`
   2774 { (ac_try="$ac_compiler --version >&5"
   2775 case "(($ac_try" in
   2776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2777   *) ac_try_echo=$ac_try;;
   2778 esac
   2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2780   (eval "$ac_compiler --version >&5") 2>&5
   2781   ac_status=$?
   2782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2783   (exit $ac_status); }
   2784 { (ac_try="$ac_compiler -v >&5"
   2785 case "(($ac_try" in
   2786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2787   *) ac_try_echo=$ac_try;;
   2788 esac
   2789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2790   (eval "$ac_compiler -v >&5") 2>&5
   2791   ac_status=$?
   2792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2793   (exit $ac_status); }
   2794 { (ac_try="$ac_compiler -V >&5"
   2795 case "(($ac_try" in
   2796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2797   *) ac_try_echo=$ac_try;;
   2798 esac
   2799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2800   (eval "$ac_compiler -V >&5") 2>&5
   2801   ac_status=$?
   2802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2803   (exit $ac_status); }
   2804 
   2805 cat >conftest.$ac_ext <<_ACEOF
   2806 /* confdefs.h.  */
   2807 _ACEOF
   2808 cat confdefs.h >>conftest.$ac_ext
   2809 cat >>conftest.$ac_ext <<_ACEOF
   2810 /* end confdefs.h.  */
   2811 
   2812 int
   2813 main ()
   2814 {
   2815 
   2816   ;
   2817   return 0;
   2818 }
   2819 _ACEOF
   2820 ac_clean_files_save=$ac_clean_files
   2821 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2822 # Try to create an executable without -o first, disregard a.out.
   2823 # It will help us diagnose broken compilers, and finding out an intuition
   2824 # of exeext.
   2825 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2826 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   2827 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2828 #
   2829 # List of possible output files, starting from the most likely.
   2830 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   2831 # only as a last resort.  b.out is created by i960 compilers.
   2832 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   2833 #
   2834 # The IRIX 6 linker writes into existing files which may not be
   2835 # executable, retaining their permissions.  Remove them first so a
   2836 # subsequent execution test works.
   2837 ac_rmfiles=
   2838 for ac_file in $ac_files
   2839 do
   2840   case $ac_file in
   2841     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2842     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2843   esac
   2844 done
   2845 rm -f $ac_rmfiles
   2846 
   2847 if { (ac_try="$ac_link_default"
   2848 case "(($ac_try" in
   2849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2850   *) ac_try_echo=$ac_try;;
   2851 esac
   2852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2853   (eval "$ac_link_default") 2>&5
   2854   ac_status=$?
   2855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2856   (exit $ac_status); }; then
   2857   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2858 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2859 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2860 # so that the user can short-circuit this test for compilers unknown to
   2861 # Autoconf.
   2862 for ac_file in $ac_files ''
   2863 do
   2864   test -f "$ac_file" || continue
   2865   case $ac_file in
   2866     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   2867 	;;
   2868     [ab].out )
   2869 	# We found the default executable, but exeext='' is most
   2870 	# certainly right.
   2871 	break;;
   2872     *.* )
   2873         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2874 	then :; else
   2875 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2876 	fi
   2877 	# We set ac_cv_exeext here because the later test for it is not
   2878 	# safe: cross compilers may not add the suffix if given an `-o'
   2879 	# argument, so we may need to know it at that point already.
   2880 	# Even if this section looks crufty: it has the advantage of
   2881 	# actually working.
   2882 	break;;
   2883     * )
   2884 	break;;
   2885   esac
   2886 done
   2887 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2888 
   2889 else
   2890   ac_file=''
   2891 fi
   2892 
   2893 { echo "$as_me:$LINENO: result: $ac_file" >&5
   2894 echo "${ECHO_T}$ac_file" >&6; }
   2895 if test -z "$ac_file"; then
   2896   echo "$as_me: failed program was:" >&5
   2897 sed 's/^/| /' conftest.$ac_ext >&5
   2898 
   2899 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2900 See \`config.log' for more details." >&5
   2901 echo "$as_me: error: C compiler cannot create executables
   2902 See \`config.log' for more details." >&2;}
   2903    { (exit 77); exit 77; }; }
   2904 fi
   2905 
   2906 ac_exeext=$ac_cv_exeext
   2907 
   2908 # Check that the compiler produces executables we can run.  If not, either
   2909 # the compiler is broken, or we cross compile.
   2910 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2911 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   2912 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2913 # If not cross compiling, check that we can run a simple program.
   2914 if test "$cross_compiling" != yes; then
   2915   if { ac_try='./$ac_file'
   2916   { (case "(($ac_try" in
   2917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2918   *) ac_try_echo=$ac_try;;
   2919 esac
   2920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2921   (eval "$ac_try") 2>&5
   2922   ac_status=$?
   2923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2924   (exit $ac_status); }; }; then
   2925     cross_compiling=no
   2926   else
   2927     if test "$cross_compiling" = maybe; then
   2928 	cross_compiling=yes
   2929     else
   2930 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2931 If you meant to cross compile, use \`--host'.
   2932 See \`config.log' for more details." >&5
   2933 echo "$as_me: error: cannot run C compiled programs.
   2934 If you meant to cross compile, use \`--host'.
   2935 See \`config.log' for more details." >&2;}
   2936    { (exit 1); exit 1; }; }
   2937     fi
   2938   fi
   2939 fi
   2940 { echo "$as_me:$LINENO: result: yes" >&5
   2941 echo "${ECHO_T}yes" >&6; }
   2942 
   2943 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2944 ac_clean_files=$ac_clean_files_save
   2945 # Check that the compiler produces executables we can run.  If not, either
   2946 # the compiler is broken, or we cross compile.
   2947 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2948 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   2949 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2950 echo "${ECHO_T}$cross_compiling" >&6; }
   2951 
   2952 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2953 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   2954 if { (ac_try="$ac_link"
   2955 case "(($ac_try" in
   2956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2957   *) ac_try_echo=$ac_try;;
   2958 esac
   2959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2960   (eval "$ac_link") 2>&5
   2961   ac_status=$?
   2962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2963   (exit $ac_status); }; then
   2964   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2965 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2966 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2967 # `rm'.
   2968 for ac_file in conftest.exe conftest conftest.*; do
   2969   test -f "$ac_file" || continue
   2970   case $ac_file in
   2971     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2972     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2973 	  break;;
   2974     * ) break;;
   2975   esac
   2976 done
   2977 else
   2978   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2979 See \`config.log' for more details." >&5
   2980 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2981 See \`config.log' for more details." >&2;}
   2982    { (exit 1); exit 1; }; }
   2983 fi
   2984 
   2985 rm -f conftest$ac_cv_exeext
   2986 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2987 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   2988 
   2989 rm -f conftest.$ac_ext
   2990 EXEEXT=$ac_cv_exeext
   2991 ac_exeext=$EXEEXT
   2992 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2993 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   2994 if test "${ac_cv_objext+set}" = set; then
   2995   echo $ECHO_N "(cached) $ECHO_C" >&6
   2996 else
   2997   cat >conftest.$ac_ext <<_ACEOF
   2998 /* confdefs.h.  */
   2999 _ACEOF
   3000 cat confdefs.h >>conftest.$ac_ext
   3001 cat >>conftest.$ac_ext <<_ACEOF
   3002 /* end confdefs.h.  */
   3003 
   3004 int
   3005 main ()
   3006 {
   3007 
   3008   ;
   3009   return 0;
   3010 }
   3011 _ACEOF
   3012 rm -f conftest.o conftest.obj
   3013 if { (ac_try="$ac_compile"
   3014 case "(($ac_try" in
   3015   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3016   *) ac_try_echo=$ac_try;;
   3017 esac
   3018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3019   (eval "$ac_compile") 2>&5
   3020   ac_status=$?
   3021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3022   (exit $ac_status); }; then
   3023   for ac_file in conftest.o conftest.obj conftest.*; do
   3024   test -f "$ac_file" || continue;
   3025   case $ac_file in
   3026     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3027     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3028        break;;
   3029   esac
   3030 done
   3031 else
   3032   echo "$as_me: failed program was:" >&5
   3033 sed 's/^/| /' conftest.$ac_ext >&5
   3034 
   3035 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3036 See \`config.log' for more details." >&5
   3037 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3038 See \`config.log' for more details." >&2;}
   3039    { (exit 1); exit 1; }; }
   3040 fi
   3041 
   3042 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3043 fi
   3044 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3045 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3046 OBJEXT=$ac_cv_objext
   3047 ac_objext=$OBJEXT
   3048 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3049 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3050 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3051   echo $ECHO_N "(cached) $ECHO_C" >&6
   3052 else
   3053   cat >conftest.$ac_ext <<_ACEOF
   3054 /* confdefs.h.  */
   3055 _ACEOF
   3056 cat confdefs.h >>conftest.$ac_ext
   3057 cat >>conftest.$ac_ext <<_ACEOF
   3058 /* end confdefs.h.  */
   3059 
   3060 int
   3061 main ()
   3062 {
   3063 #ifndef __GNUC__
   3064        choke me
   3065 #endif
   3066 
   3067   ;
   3068   return 0;
   3069 }
   3070 _ACEOF
   3071 rm -f conftest.$ac_objext
   3072 if { (ac_try="$ac_compile"
   3073 case "(($ac_try" in
   3074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3075   *) ac_try_echo=$ac_try;;
   3076 esac
   3077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3078   (eval "$ac_compile") 2>conftest.er1
   3079   ac_status=$?
   3080   grep -v '^ *+' conftest.er1 >conftest.err
   3081   rm -f conftest.er1
   3082   cat conftest.err >&5
   3083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3084   (exit $ac_status); } && {
   3085 	 test -z "$ac_c_werror_flag" ||
   3086 	 test ! -s conftest.err
   3087        } && test -s conftest.$ac_objext; then
   3088   ac_compiler_gnu=yes
   3089 else
   3090   echo "$as_me: failed program was:" >&5
   3091 sed 's/^/| /' conftest.$ac_ext >&5
   3092 
   3093 	ac_compiler_gnu=no
   3094 fi
   3095 
   3096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3097 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3098 
   3099 fi
   3100 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3101 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3102 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3103 ac_test_CFLAGS=${CFLAGS+set}
   3104 ac_save_CFLAGS=$CFLAGS
   3105 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3106 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3107 if test "${ac_cv_prog_cc_g+set}" = set; then
   3108   echo $ECHO_N "(cached) $ECHO_C" >&6
   3109 else
   3110   ac_save_c_werror_flag=$ac_c_werror_flag
   3111    ac_c_werror_flag=yes
   3112    ac_cv_prog_cc_g=no
   3113    CFLAGS="-g"
   3114    cat >conftest.$ac_ext <<_ACEOF
   3115 /* confdefs.h.  */
   3116 _ACEOF
   3117 cat confdefs.h >>conftest.$ac_ext
   3118 cat >>conftest.$ac_ext <<_ACEOF
   3119 /* end confdefs.h.  */
   3120 
   3121 int
   3122 main ()
   3123 {
   3124 
   3125   ;
   3126   return 0;
   3127 }
   3128 _ACEOF
   3129 rm -f conftest.$ac_objext
   3130 if { (ac_try="$ac_compile"
   3131 case "(($ac_try" in
   3132   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3133   *) ac_try_echo=$ac_try;;
   3134 esac
   3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3136   (eval "$ac_compile") 2>conftest.er1
   3137   ac_status=$?
   3138   grep -v '^ *+' conftest.er1 >conftest.err
   3139   rm -f conftest.er1
   3140   cat conftest.err >&5
   3141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3142   (exit $ac_status); } && {
   3143 	 test -z "$ac_c_werror_flag" ||
   3144 	 test ! -s conftest.err
   3145        } && test -s conftest.$ac_objext; then
   3146   ac_cv_prog_cc_g=yes
   3147 else
   3148   echo "$as_me: failed program was:" >&5
   3149 sed 's/^/| /' conftest.$ac_ext >&5
   3150 
   3151 	CFLAGS=""
   3152       cat >conftest.$ac_ext <<_ACEOF
   3153 /* confdefs.h.  */
   3154 _ACEOF
   3155 cat confdefs.h >>conftest.$ac_ext
   3156 cat >>conftest.$ac_ext <<_ACEOF
   3157 /* end confdefs.h.  */
   3158 
   3159 int
   3160 main ()
   3161 {
   3162 
   3163   ;
   3164   return 0;
   3165 }
   3166 _ACEOF
   3167 rm -f conftest.$ac_objext
   3168 if { (ac_try="$ac_compile"
   3169 case "(($ac_try" in
   3170   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3171   *) ac_try_echo=$ac_try;;
   3172 esac
   3173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3174   (eval "$ac_compile") 2>conftest.er1
   3175   ac_status=$?
   3176   grep -v '^ *+' conftest.er1 >conftest.err
   3177   rm -f conftest.er1
   3178   cat conftest.err >&5
   3179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3180   (exit $ac_status); } && {
   3181 	 test -z "$ac_c_werror_flag" ||
   3182 	 test ! -s conftest.err
   3183        } && test -s conftest.$ac_objext; then
   3184   :
   3185 else
   3186   echo "$as_me: failed program was:" >&5
   3187 sed 's/^/| /' conftest.$ac_ext >&5
   3188 
   3189 	ac_c_werror_flag=$ac_save_c_werror_flag
   3190 	 CFLAGS="-g"
   3191 	 cat >conftest.$ac_ext <<_ACEOF
   3192 /* confdefs.h.  */
   3193 _ACEOF
   3194 cat confdefs.h >>conftest.$ac_ext
   3195 cat >>conftest.$ac_ext <<_ACEOF
   3196 /* end confdefs.h.  */
   3197 
   3198 int
   3199 main ()
   3200 {
   3201 
   3202   ;
   3203   return 0;
   3204 }
   3205 _ACEOF
   3206 rm -f conftest.$ac_objext
   3207 if { (ac_try="$ac_compile"
   3208 case "(($ac_try" in
   3209   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3210   *) ac_try_echo=$ac_try;;
   3211 esac
   3212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3213   (eval "$ac_compile") 2>conftest.er1
   3214   ac_status=$?
   3215   grep -v '^ *+' conftest.er1 >conftest.err
   3216   rm -f conftest.er1
   3217   cat conftest.err >&5
   3218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3219   (exit $ac_status); } && {
   3220 	 test -z "$ac_c_werror_flag" ||
   3221 	 test ! -s conftest.err
   3222        } && test -s conftest.$ac_objext; then
   3223   ac_cv_prog_cc_g=yes
   3224 else
   3225   echo "$as_me: failed program was:" >&5
   3226 sed 's/^/| /' conftest.$ac_ext >&5
   3227 
   3228 
   3229 fi
   3230 
   3231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3232 fi
   3233 
   3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3235 fi
   3236 
   3237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3238    ac_c_werror_flag=$ac_save_c_werror_flag
   3239 fi
   3240 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3241 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3242 if test "$ac_test_CFLAGS" = set; then
   3243   CFLAGS=$ac_save_CFLAGS
   3244 elif test $ac_cv_prog_cc_g = yes; then
   3245   if test "$GCC" = yes; then
   3246     CFLAGS="-g -O2"
   3247   else
   3248     CFLAGS="-g"
   3249   fi
   3250 else
   3251   if test "$GCC" = yes; then
   3252     CFLAGS="-O2"
   3253   else
   3254     CFLAGS=
   3255   fi
   3256 fi
   3257 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3258 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3259 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3260   echo $ECHO_N "(cached) $ECHO_C" >&6
   3261 else
   3262   ac_cv_prog_cc_c89=no
   3263 ac_save_CC=$CC
   3264 cat >conftest.$ac_ext <<_ACEOF
   3265 /* confdefs.h.  */
   3266 _ACEOF
   3267 cat confdefs.h >>conftest.$ac_ext
   3268 cat >>conftest.$ac_ext <<_ACEOF
   3269 /* end confdefs.h.  */
   3270 #include <stdarg.h>
   3271 #include <stdio.h>
   3272 #include <sys/types.h>
   3273 #include <sys/stat.h>
   3274 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3275 struct buf { int x; };
   3276 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3277 static char *e (p, i)
   3278      char **p;
   3279      int i;
   3280 {
   3281   return p[i];
   3282 }
   3283 static char *f (char * (*g) (char **, int), char **p, ...)
   3284 {
   3285   char *s;
   3286   va_list v;
   3287   va_start (v,p);
   3288   s = g (p, va_arg (v,int));
   3289   va_end (v);
   3290   return s;
   3291 }
   3292 
   3293 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3294    function prototypes and stuff, but not '\xHH' hex character constants.
   3295    These don't provoke an error unfortunately, instead are silently treated
   3296    as 'x'.  The following induces an error, until -std is added to get
   3297    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3298    array size at least.  It's necessary to write '\x00'==0 to get something
   3299    that's true only with -std.  */
   3300 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3301 
   3302 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3303    inside strings and character constants.  */
   3304 #define FOO(x) 'x'
   3305 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3306 
   3307 int test (int i, double x);
   3308 struct s1 {int (*f) (int a);};
   3309 struct s2 {int (*f) (double a);};
   3310 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3311 int argc;
   3312 char **argv;
   3313 int
   3314 main ()
   3315 {
   3316 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3317   ;
   3318   return 0;
   3319 }
   3320 _ACEOF
   3321 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3322 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3323 do
   3324   CC="$ac_save_CC $ac_arg"
   3325   rm -f conftest.$ac_objext
   3326 if { (ac_try="$ac_compile"
   3327 case "(($ac_try" in
   3328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3329   *) ac_try_echo=$ac_try;;
   3330 esac
   3331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3332   (eval "$ac_compile") 2>conftest.er1
   3333   ac_status=$?
   3334   grep -v '^ *+' conftest.er1 >conftest.err
   3335   rm -f conftest.er1
   3336   cat conftest.err >&5
   3337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3338   (exit $ac_status); } && {
   3339 	 test -z "$ac_c_werror_flag" ||
   3340 	 test ! -s conftest.err
   3341        } && test -s conftest.$ac_objext; then
   3342   ac_cv_prog_cc_c89=$ac_arg
   3343 else
   3344   echo "$as_me: failed program was:" >&5
   3345 sed 's/^/| /' conftest.$ac_ext >&5
   3346 
   3347 
   3348 fi
   3349 
   3350 rm -f core conftest.err conftest.$ac_objext
   3351   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3352 done
   3353 rm -f conftest.$ac_ext
   3354 CC=$ac_save_CC
   3355 
   3356 fi
   3357 # AC_CACHE_VAL
   3358 case "x$ac_cv_prog_cc_c89" in
   3359   x)
   3360     { echo "$as_me:$LINENO: result: none needed" >&5
   3361 echo "${ECHO_T}none needed" >&6; } ;;
   3362   xno)
   3363     { echo "$as_me:$LINENO: result: unsupported" >&5
   3364 echo "${ECHO_T}unsupported" >&6; } ;;
   3365   *)
   3366     CC="$CC $ac_cv_prog_cc_c89"
   3367     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3368 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3369 esac
   3370 
   3371 
   3372 ac_ext=c
   3373 ac_cpp='$CPP $CPPFLAGS'
   3374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3377 DEPDIR="${am__leading_dot}deps"
   3378 
   3379 ac_config_commands="$ac_config_commands depfiles"
   3380 
   3381 
   3382 am_make=${MAKE-make}
   3383 cat > confinc << 'END'
   3384 am__doit:
   3385 	@echo done
   3386 .PHONY: am__doit
   3387 END
   3388 # If we don't find an include directive, just comment out the code.
   3389 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3390 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   3391 am__include="#"
   3392 am__quote=
   3393 _am_result=none
   3394 # First try GNU make style include.
   3395 echo "include confinc" > confmf
   3396 # We grep out `Entering directory' and `Leaving directory'
   3397 # messages which can occur if `w' ends up in MAKEFLAGS.
   3398 # In particular we don't look at `^make:' because GNU make might
   3399 # be invoked under some other name (usually "gmake"), in which
   3400 # case it prints its new name instead of `make'.
   3401 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3402    am__include=include
   3403    am__quote=
   3404    _am_result=GNU
   3405 fi
   3406 # Now try BSD make style include.
   3407 if test "$am__include" = "#"; then
   3408    echo '.include "confinc"' > confmf
   3409    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3410       am__include=.include
   3411       am__quote="\""
   3412       _am_result=BSD
   3413    fi
   3414 fi
   3415 
   3416 
   3417 { echo "$as_me:$LINENO: result: $_am_result" >&5
   3418 echo "${ECHO_T}$_am_result" >&6; }
   3419 rm -f confinc confmf
   3420 
   3421 # Check whether --enable-dependency-tracking was given.
   3422 if test "${enable_dependency_tracking+set}" = set; then
   3423   enableval=$enable_dependency_tracking;
   3424 fi
   3425 
   3426 if test "x$enable_dependency_tracking" != xno; then
   3427   am_depcomp="$ac_aux_dir/depcomp"
   3428   AMDEPBACKSLASH='\'
   3429 fi
   3430  if test "x$enable_dependency_tracking" != xno; then
   3431   AMDEP_TRUE=
   3432   AMDEP_FALSE='#'
   3433 else
   3434   AMDEP_TRUE='#'
   3435   AMDEP_FALSE=
   3436 fi
   3437 
   3438 
   3439 
   3440 depcc="$CC"   am_compiler_list=
   3441 
   3442 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3443 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3444 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3445   echo $ECHO_N "(cached) $ECHO_C" >&6
   3446 else
   3447   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3448   # We make a subdir and do the tests there.  Otherwise we can end up
   3449   # making bogus files that we don't know about and never remove.  For
   3450   # instance it was reported that on HP-UX the gcc test will end up
   3451   # making a dummy file named `D' -- because `-MD' means `put the output
   3452   # in D'.
   3453   mkdir conftest.dir
   3454   # Copy depcomp to subdir because otherwise we won't find it if we're
   3455   # using a relative directory.
   3456   cp "$am_depcomp" conftest.dir
   3457   cd conftest.dir
   3458   # We will build objects and dependencies in a subdirectory because
   3459   # it helps to detect inapplicable dependency modes.  For instance
   3460   # both Tru64's cc and ICC support -MD to output dependencies as a
   3461   # side effect of compilation, but ICC will put the dependencies in
   3462   # the current directory while Tru64 will put them in the object
   3463   # directory.
   3464   mkdir sub
   3465 
   3466   am_cv_CC_dependencies_compiler_type=none
   3467   if test "$am_compiler_list" = ""; then
   3468      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3469   fi
   3470   for depmode in $am_compiler_list; do
   3471     # Setup a source with many dependencies, because some compilers
   3472     # like to wrap large dependency lists on column 80 (with \), and
   3473     # we should not choose a depcomp mode which is confused by this.
   3474     #
   3475     # We need to recreate these files for each test, as the compiler may
   3476     # overwrite some of them when testing with obscure command lines.
   3477     # This happens at least with the AIX C compiler.
   3478     : > sub/conftest.c
   3479     for i in 1 2 3 4 5 6; do
   3480       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3481       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3482       # Solaris 8's {/usr,}/bin/sh.
   3483       touch sub/conftst$i.h
   3484     done
   3485     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3486 
   3487     case $depmode in
   3488     nosideeffect)
   3489       # after this tag, mechanisms are not by side-effect, so they'll
   3490       # only be used when explicitly requested
   3491       if test "x$enable_dependency_tracking" = xyes; then
   3492 	continue
   3493       else
   3494 	break
   3495       fi
   3496       ;;
   3497     none) break ;;
   3498     esac
   3499     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3500     # mode.  It turns out that the SunPro C++ compiler does not properly
   3501     # handle `-M -o', and we need to detect this.
   3502     if depmode=$depmode \
   3503        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3504        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3505        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3506          >/dev/null 2>conftest.err &&
   3507        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3508        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3509        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3510        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3511       # icc doesn't choke on unknown options, it will just issue warnings
   3512       # or remarks (even with -Werror).  So we grep stderr for any message
   3513       # that says an option was ignored or not supported.
   3514       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3515       #   icc: Command line warning: ignoring option '-M'; no argument required
   3516       # The diagnosis changed in icc 8.0:
   3517       #   icc: Command line remark: option '-MP' not supported
   3518       if (grep 'ignoring option' conftest.err ||
   3519           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3520         am_cv_CC_dependencies_compiler_type=$depmode
   3521         break
   3522       fi
   3523     fi
   3524   done
   3525 
   3526   cd ..
   3527   rm -rf conftest.dir
   3528 else
   3529   am_cv_CC_dependencies_compiler_type=none
   3530 fi
   3531 
   3532 fi
   3533 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3534 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3535 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3536 
   3537  if
   3538   test "x$enable_dependency_tracking" != xno \
   3539   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3540   am__fastdepCC_TRUE=
   3541   am__fastdepCC_FALSE='#'
   3542 else
   3543   am__fastdepCC_TRUE='#'
   3544   am__fastdepCC_FALSE=
   3545 fi
   3546 
   3547 
   3548 # Check whether --enable-shared was given.
   3549 if test "${enable_shared+set}" = set; then
   3550   enableval=$enable_shared; p=${PACKAGE-default}
   3551     case $enableval in
   3552     yes) enable_shared=yes ;;
   3553     no) enable_shared=no ;;
   3554     *)
   3555       enable_shared=no
   3556       # Look at the argument we got.  We use all the common list separators.
   3557       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3558       for pkg in $enableval; do
   3559 	IFS="$lt_save_ifs"
   3560 	if test "X$pkg" = "X$p"; then
   3561 	  enable_shared=yes
   3562 	fi
   3563       done
   3564       IFS="$lt_save_ifs"
   3565       ;;
   3566     esac
   3567 else
   3568   enable_shared=yes
   3569 fi
   3570 
   3571 
   3572 # Check whether --enable-static was given.
   3573 if test "${enable_static+set}" = set; then
   3574   enableval=$enable_static; p=${PACKAGE-default}
   3575     case $enableval in
   3576     yes) enable_static=yes ;;
   3577     no) enable_static=no ;;
   3578     *)
   3579      enable_static=no
   3580       # Look at the argument we got.  We use all the common list separators.
   3581       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3582       for pkg in $enableval; do
   3583 	IFS="$lt_save_ifs"
   3584 	if test "X$pkg" = "X$p"; then
   3585 	  enable_static=yes
   3586 	fi
   3587       done
   3588       IFS="$lt_save_ifs"
   3589       ;;
   3590     esac
   3591 else
   3592   enable_static=yes
   3593 fi
   3594 
   3595 
   3596 # Check whether --enable-fast-install was given.
   3597 if test "${enable_fast_install+set}" = set; then
   3598   enableval=$enable_fast_install; p=${PACKAGE-default}
   3599     case $enableval in
   3600     yes) enable_fast_install=yes ;;
   3601     no) enable_fast_install=no ;;
   3602     *)
   3603       enable_fast_install=no
   3604       # Look at the argument we got.  We use all the common list separators.
   3605       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3606       for pkg in $enableval; do
   3607 	IFS="$lt_save_ifs"
   3608 	if test "X$pkg" = "X$p"; then
   3609 	  enable_fast_install=yes
   3610 	fi
   3611       done
   3612       IFS="$lt_save_ifs"
   3613       ;;
   3614     esac
   3615 else
   3616   enable_fast_install=yes
   3617 fi
   3618 
   3619 
   3620 # Make sure we can run config.sub.
   3621 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3622   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3623 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3624    { (exit 1); exit 1; }; }
   3625 
   3626 { echo "$as_me:$LINENO: checking build system type" >&5
   3627 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   3628 if test "${ac_cv_build+set}" = set; then
   3629   echo $ECHO_N "(cached) $ECHO_C" >&6
   3630 else
   3631   ac_build_alias=$build_alias
   3632 test "x$ac_build_alias" = x &&
   3633   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3634 test "x$ac_build_alias" = x &&
   3635   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3636 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3637    { (exit 1); exit 1; }; }
   3638 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3639   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3640 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3641    { (exit 1); exit 1; }; }
   3642 
   3643 fi
   3644 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3645 echo "${ECHO_T}$ac_cv_build" >&6; }
   3646 case $ac_cv_build in
   3647 *-*-*) ;;
   3648 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3649 echo "$as_me: error: invalid value of canonical build" >&2;}
   3650    { (exit 1); exit 1; }; };;
   3651 esac
   3652 build=$ac_cv_build
   3653 ac_save_IFS=$IFS; IFS='-'
   3654 set x $ac_cv_build
   3655 shift
   3656 build_cpu=$1
   3657 build_vendor=$2
   3658 shift; shift
   3659 # Remember, the first character of IFS is used to create $*,
   3660 # except with old shells:
   3661 build_os=$*
   3662 IFS=$ac_save_IFS
   3663 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3664 
   3665 
   3666 { echo "$as_me:$LINENO: checking host system type" >&5
   3667 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   3668 if test "${ac_cv_host+set}" = set; then
   3669   echo $ECHO_N "(cached) $ECHO_C" >&6
   3670 else
   3671   if test "x$host_alias" = x; then
   3672   ac_cv_host=$ac_cv_build
   3673 else
   3674   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3675     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3676 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3677    { (exit 1); exit 1; }; }
   3678 fi
   3679 
   3680 fi
   3681 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3682 echo "${ECHO_T}$ac_cv_host" >&6; }
   3683 case $ac_cv_host in
   3684 *-*-*) ;;
   3685 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3686 echo "$as_me: error: invalid value of canonical host" >&2;}
   3687    { (exit 1); exit 1; }; };;
   3688 esac
   3689 host=$ac_cv_host
   3690 ac_save_IFS=$IFS; IFS='-'
   3691 set x $ac_cv_host
   3692 shift
   3693 host_cpu=$1
   3694 host_vendor=$2
   3695 shift; shift
   3696 # Remember, the first character of IFS is used to create $*,
   3697 # except with old shells:
   3698 host_os=$*
   3699 IFS=$ac_save_IFS
   3700 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3701 
   3702 
   3703 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3704 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3705 if test "${lt_cv_path_SED+set}" = set; then
   3706   echo $ECHO_N "(cached) $ECHO_C" >&6
   3707 else
   3708   # Loop through the user's path and test for sed and gsed.
   3709 # Then use that list of sed's as ones to test for truncation.
   3710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3711 for as_dir in $PATH
   3712 do
   3713   IFS=$as_save_IFS
   3714   test -z "$as_dir" && as_dir=.
   3715   for lt_ac_prog in sed gsed; do
   3716     for ac_exec_ext in '' $ac_executable_extensions; do
   3717       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   3718         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3719       fi
   3720     done
   3721   done
   3722 done
   3723 lt_ac_max=0
   3724 lt_ac_count=0
   3725 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3726 # along with /bin/sed that truncates output.
   3727 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3728   test ! -f $lt_ac_sed && continue
   3729   cat /dev/null > conftest.in
   3730   lt_ac_count=0
   3731   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3732   # Check for GNU sed and select it if it is found.
   3733   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3734     lt_cv_path_SED=$lt_ac_sed
   3735     break
   3736   fi
   3737   while true; do
   3738     cat conftest.in conftest.in >conftest.tmp
   3739     mv conftest.tmp conftest.in
   3740     cp conftest.in conftest.nl
   3741     echo >>conftest.nl
   3742     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3743     cmp -s conftest.out conftest.nl || break
   3744     # 10000 chars as input seems more than enough
   3745     test $lt_ac_count -gt 10 && break
   3746     lt_ac_count=`expr $lt_ac_count + 1`
   3747     if test $lt_ac_count -gt $lt_ac_max; then
   3748       lt_ac_max=$lt_ac_count
   3749       lt_cv_path_SED=$lt_ac_sed
   3750     fi
   3751   done
   3752 done
   3753 
   3754 fi
   3755 
   3756 SED=$lt_cv_path_SED
   3757 { echo "$as_me:$LINENO: result: $SED" >&5
   3758 echo "${ECHO_T}$SED" >&6; }
   3759 
   3760 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3761 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3762 if test "${ac_cv_path_GREP+set}" = set; then
   3763   echo $ECHO_N "(cached) $ECHO_C" >&6
   3764 else
   3765   # Extract the first word of "grep ggrep" to use in msg output
   3766 if test -z "$GREP"; then
   3767 set dummy grep ggrep; ac_prog_name=$2
   3768 if test "${ac_cv_path_GREP+set}" = set; then
   3769   echo $ECHO_N "(cached) $ECHO_C" >&6
   3770 else
   3771   ac_path_GREP_found=false
   3772 # Loop through the user's path and test for each of PROGNAME-LIST
   3773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3774 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3775 do
   3776   IFS=$as_save_IFS
   3777   test -z "$as_dir" && as_dir=.
   3778   for ac_prog in grep ggrep; do
   3779   for ac_exec_ext in '' $ac_executable_extensions; do
   3780     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3781     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3782     # Check for GNU ac_path_GREP and select it if it is found.
   3783   # Check for GNU $ac_path_GREP
   3784 case `"$ac_path_GREP" --version 2>&1` in
   3785 *GNU*)
   3786   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3787 *)
   3788   ac_count=0
   3789   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3790   while :
   3791   do
   3792     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3793     mv "conftest.tmp" "conftest.in"
   3794     cp "conftest.in" "conftest.nl"
   3795     echo 'GREP' >> "conftest.nl"
   3796     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3797     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3798     ac_count=`expr $ac_count + 1`
   3799     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3800       # Best one so far, save it but keep looking for a better one
   3801       ac_cv_path_GREP="$ac_path_GREP"
   3802       ac_path_GREP_max=$ac_count
   3803     fi
   3804     # 10*(2^10) chars as input seems more than enough
   3805     test $ac_count -gt 10 && break
   3806   done
   3807   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3808 esac
   3809 
   3810 
   3811     $ac_path_GREP_found && break 3
   3812   done
   3813 done
   3814 
   3815 done
   3816 IFS=$as_save_IFS
   3817 
   3818 
   3819 fi
   3820 
   3821 GREP="$ac_cv_path_GREP"
   3822 if test -z "$GREP"; then
   3823   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3824 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3825    { (exit 1); exit 1; }; }
   3826 fi
   3827 
   3828 else
   3829   ac_cv_path_GREP=$GREP
   3830 fi
   3831 
   3832 
   3833 fi
   3834 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3835 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3836  GREP="$ac_cv_path_GREP"
   3837 
   3838 
   3839 { echo "$as_me:$LINENO: checking for egrep" >&5
   3840 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3841 if test "${ac_cv_path_EGREP+set}" = set; then
   3842   echo $ECHO_N "(cached) $ECHO_C" >&6
   3843 else
   3844   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3845    then ac_cv_path_EGREP="$GREP -E"
   3846    else
   3847      # Extract the first word of "egrep" to use in msg output
   3848 if test -z "$EGREP"; then
   3849 set dummy egrep; ac_prog_name=$2
   3850 if test "${ac_cv_path_EGREP+set}" = set; then
   3851   echo $ECHO_N "(cached) $ECHO_C" >&6
   3852 else
   3853   ac_path_EGREP_found=false
   3854 # Loop through the user's path and test for each of PROGNAME-LIST
   3855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3856 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3857 do
   3858   IFS=$as_save_IFS
   3859   test -z "$as_dir" && as_dir=.
   3860   for ac_prog in egrep; do
   3861   for ac_exec_ext in '' $ac_executable_extensions; do
   3862     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3863     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3864     # Check for GNU ac_path_EGREP and select it if it is found.
   3865   # Check for GNU $ac_path_EGREP
   3866 case `"$ac_path_EGREP" --version 2>&1` in
   3867 *GNU*)
   3868   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3869 *)
   3870   ac_count=0
   3871   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3872   while :
   3873   do
   3874     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3875     mv "conftest.tmp" "conftest.in"
   3876     cp "conftest.in" "conftest.nl"
   3877     echo 'EGREP' >> "conftest.nl"
   3878     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3879     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3880     ac_count=`expr $ac_count + 1`
   3881     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3882       # Best one so far, save it but keep looking for a better one
   3883       ac_cv_path_EGREP="$ac_path_EGREP"
   3884       ac_path_EGREP_max=$ac_count
   3885     fi
   3886     # 10*(2^10) chars as input seems more than enough
   3887     test $ac_count -gt 10 && break
   3888   done
   3889   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3890 esac
   3891 
   3892 
   3893     $ac_path_EGREP_found && break 3
   3894   done
   3895 done
   3896 
   3897 done
   3898 IFS=$as_save_IFS
   3899 
   3900 
   3901 fi
   3902 
   3903 EGREP="$ac_cv_path_EGREP"
   3904 if test -z "$EGREP"; then
   3905   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3906 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3907    { (exit 1); exit 1; }; }
   3908 fi
   3909 
   3910 else
   3911   ac_cv_path_EGREP=$EGREP
   3912 fi
   3913 
   3914 
   3915    fi
   3916 fi
   3917 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3918 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3919  EGREP="$ac_cv_path_EGREP"
   3920 
   3921 
   3922 
   3923 # Check whether --with-gnu-ld was given.
   3924 if test "${with_gnu_ld+set}" = set; then
   3925   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   3926 else
   3927   with_gnu_ld=no
   3928 fi
   3929 
   3930 ac_prog=ld
   3931 if test "$GCC" = yes; then
   3932   # Check if gcc -print-prog-name=ld gives a path.
   3933   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   3934 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   3935   case $host in
   3936   *-*-mingw*)
   3937     # gcc leaves a trailing carriage return which upsets mingw
   3938     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   3939   *)
   3940     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   3941   esac
   3942   case $ac_prog in
   3943     # Accept absolute paths.
   3944     [\\/]* | ?:[\\/]*)
   3945       re_direlt='/[^/][^/]*/\.\./'
   3946       # Canonicalize the pathname of ld
   3947       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   3948       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   3949 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   3950       done
   3951       test -z "$LD" && LD="$ac_prog"
   3952       ;;
   3953   "")
   3954     # If it fails, then pretend we aren't using GCC.
   3955     ac_prog=ld
   3956     ;;
   3957   *)
   3958     # If it is relative, then search for the first ld in PATH.
   3959     with_gnu_ld=unknown
   3960     ;;
   3961   esac
   3962 elif test "$with_gnu_ld" = yes; then
   3963   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   3964 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   3965 else
   3966   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   3967 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   3968 fi
   3969 if test "${lt_cv_path_LD+set}" = set; then
   3970   echo $ECHO_N "(cached) $ECHO_C" >&6
   3971 else
   3972   if test -z "$LD"; then
   3973   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   3974   for ac_dir in $PATH; do
   3975     IFS="$lt_save_ifs"
   3976     test -z "$ac_dir" && ac_dir=.
   3977     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   3978       lt_cv_path_LD="$ac_dir/$ac_prog"
   3979       # Check to see if the program is GNU ld.  I'd rather use --version,
   3980       # but apparently some variants of GNU ld only accept -v.
   3981       # Break only if it was the GNU/non-GNU ld that we prefer.
   3982       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   3983       *GNU* | *'with BFD'*)
   3984 	test "$with_gnu_ld" != no && break
   3985 	;;
   3986       *)
   3987 	test "$with_gnu_ld" != yes && break
   3988 	;;
   3989       esac
   3990     fi
   3991   done
   3992   IFS="$lt_save_ifs"
   3993 else
   3994   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   3995 fi
   3996 fi
   3997 
   3998 LD="$lt_cv_path_LD"
   3999 if test -n "$LD"; then
   4000   { echo "$as_me:$LINENO: result: $LD" >&5
   4001 echo "${ECHO_T}$LD" >&6; }
   4002 else
   4003   { echo "$as_me:$LINENO: result: no" >&5
   4004 echo "${ECHO_T}no" >&6; }
   4005 fi
   4006 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4007 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4008    { (exit 1); exit 1; }; }
   4009 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4010 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4011 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4012   echo $ECHO_N "(cached) $ECHO_C" >&6
   4013 else
   4014   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4015 case `$LD -v 2>&1 </dev/null` in
   4016 *GNU* | *'with BFD'*)
   4017   lt_cv_prog_gnu_ld=yes
   4018   ;;
   4019 *)
   4020   lt_cv_prog_gnu_ld=no
   4021   ;;
   4022 esac
   4023 fi
   4024 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4025 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4026 with_gnu_ld=$lt_cv_prog_gnu_ld
   4027 
   4028 
   4029 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4030 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4031 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4032   echo $ECHO_N "(cached) $ECHO_C" >&6
   4033 else
   4034   lt_cv_ld_reload_flag='-r'
   4035 fi
   4036 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4037 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4038 reload_flag=$lt_cv_ld_reload_flag
   4039 case $reload_flag in
   4040 "" | " "*) ;;
   4041 *) reload_flag=" $reload_flag" ;;
   4042 esac
   4043 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4044 case $host_os in
   4045   darwin*)
   4046     if test "$GCC" = yes; then
   4047       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4048     else
   4049       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4050     fi
   4051     ;;
   4052 esac
   4053 
   4054 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4055 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4056 if test "${lt_cv_path_NM+set}" = set; then
   4057   echo $ECHO_N "(cached) $ECHO_C" >&6
   4058 else
   4059   if test -n "$NM"; then
   4060   # Let the user override the test.
   4061   lt_cv_path_NM="$NM"
   4062 else
   4063   lt_nm_to_check="${ac_tool_prefix}nm"
   4064   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4065     lt_nm_to_check="$lt_nm_to_check nm"
   4066   fi
   4067   for lt_tmp_nm in $lt_nm_to_check; do
   4068     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4069     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4070       IFS="$lt_save_ifs"
   4071       test -z "$ac_dir" && ac_dir=.
   4072       tmp_nm="$ac_dir/$lt_tmp_nm"
   4073       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4074 	# Check to see if the nm accepts a BSD-compat flag.
   4075 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4076 	#   nm: unknown option "B" ignored
   4077 	# Tru64's nm complains that /dev/null is an invalid object file
   4078 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4079 	*/dev/null* | *'Invalid file or object type'*)
   4080 	  lt_cv_path_NM="$tmp_nm -B"
   4081 	  break
   4082 	  ;;
   4083 	*)
   4084 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4085 	  */dev/null*)
   4086 	    lt_cv_path_NM="$tmp_nm -p"
   4087 	    break
   4088 	    ;;
   4089 	  *)
   4090 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4091 	    continue # so that we can try to find one that supports BSD flags
   4092 	    ;;
   4093 	  esac
   4094 	  ;;
   4095 	esac
   4096       fi
   4097     done
   4098     IFS="$lt_save_ifs"
   4099   done
   4100   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4101 fi
   4102 fi
   4103 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4104 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4105 NM="$lt_cv_path_NM"
   4106 
   4107 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4108 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4109 LN_S=$as_ln_s
   4110 if test "$LN_S" = "ln -s"; then
   4111   { echo "$as_me:$LINENO: result: yes" >&5
   4112 echo "${ECHO_T}yes" >&6; }
   4113 else
   4114   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4115 echo "${ECHO_T}no, using $LN_S" >&6; }
   4116 fi
   4117 
   4118 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
   4119 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
   4120 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4121   echo $ECHO_N "(cached) $ECHO_C" >&6
   4122 else
   4123   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4124 lt_cv_file_magic_test_file=
   4125 lt_cv_deplibs_check_method='unknown'
   4126 # Need to set the preceding variable on all platforms that support
   4127 # interlibrary dependencies.
   4128 # 'none' -- dependencies not supported.
   4129 # `unknown' -- same as none, but documents that we really don't know.
   4130 # 'pass_all' -- all dependencies passed with no checks.
   4131 # 'test_compile' -- check by making test program.
   4132 # 'file_magic [[regex]]' -- check by looking for files in library path
   4133 # which responds to the $file_magic_cmd with a given extended regex.
   4134 # If you have `file' or equivalent on your system and you're not sure
   4135 # whether `pass_all' will *always* work, you probably want this one.
   4136 
   4137 case $host_os in
   4138 aix4* | aix5*)
   4139   lt_cv_deplibs_check_method=pass_all
   4140   ;;
   4141 
   4142 beos*)
   4143   lt_cv_deplibs_check_method=pass_all
   4144   ;;
   4145 
   4146 bsdi[45]*)
   4147   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4148   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4149   lt_cv_file_magic_test_file=/shlib/libc.so
   4150   ;;
   4151 
   4152 cygwin*)
   4153   # func_win32_libid is a shell function defined in ltmain.sh
   4154   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4155   lt_cv_file_magic_cmd='func_win32_libid'
   4156   ;;
   4157 
   4158 mingw* | pw32*)
   4159   # Base MSYS/MinGW do not provide the 'file' command needed by
   4160   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
   4161   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4162   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4163   ;;
   4164 
   4165 darwin* | rhapsody*)
   4166   lt_cv_deplibs_check_method=pass_all
   4167   ;;
   4168 
   4169 freebsd* | kfreebsd*-gnu | dragonfly*)
   4170   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4171     case $host_cpu in
   4172     i*86 )
   4173       # Not sure whether the presence of OpenBSD here was a mistake.
   4174       # Let's accept both of them until this is cleared up.
   4175       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4176       lt_cv_file_magic_cmd=/usr/bin/file
   4177       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4178       ;;
   4179     esac
   4180   else
   4181     lt_cv_deplibs_check_method=pass_all
   4182   fi
   4183   ;;
   4184 
   4185 gnu*)
   4186   lt_cv_deplibs_check_method=pass_all
   4187   ;;
   4188 
   4189 hpux10.20* | hpux11*)
   4190   lt_cv_file_magic_cmd=/usr/bin/file
   4191   case $host_cpu in
   4192   ia64*)
   4193     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4194     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4195     ;;
   4196   hppa*64*)
   4197     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]'
   4198     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4199     ;;
   4200   *)
   4201     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4202     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4203     ;;
   4204   esac
   4205   ;;
   4206 
   4207 interix3*)
   4208   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4209   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4210   ;;
   4211 
   4212 irix5* | irix6* | nonstopux*)
   4213   case $LD in
   4214   *-32|*"-32 ") libmagic=32-bit;;
   4215   *-n32|*"-n32 ") libmagic=N32;;
   4216   *-64|*"-64 ") libmagic=64-bit;;
   4217   *) libmagic=never-match;;
   4218   esac
   4219   lt_cv_deplibs_check_method=pass_all
   4220   ;;
   4221 
   4222 # This must be Linux ELF.
   4223 linux*)
   4224   lt_cv_deplibs_check_method=pass_all
   4225   ;;
   4226 
   4227 netbsd*)
   4228   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4229     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4230   else
   4231     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4232   fi
   4233   ;;
   4234 
   4235 newos6*)
   4236   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4237   lt_cv_file_magic_cmd=/usr/bin/file
   4238   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4239   ;;
   4240 
   4241 nto-qnx*)
   4242   lt_cv_deplibs_check_method=unknown
   4243   ;;
   4244 
   4245 openbsd*)
   4246   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4247     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4248   else
   4249     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4250   fi
   4251   ;;
   4252 
   4253 osf3* | osf4* | osf5*)
   4254   lt_cv_deplibs_check_method=pass_all
   4255   ;;
   4256 
   4257 solaris*)
   4258   lt_cv_deplibs_check_method=pass_all
   4259   ;;
   4260 
   4261 sysv4 | sysv4.3*)
   4262   case $host_vendor in
   4263   motorola)
   4264     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]'
   4265     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4266     ;;
   4267   ncr)
   4268     lt_cv_deplibs_check_method=pass_all
   4269     ;;
   4270   sequent)
   4271     lt_cv_file_magic_cmd='/bin/file'
   4272     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4273     ;;
   4274   sni)
   4275     lt_cv_file_magic_cmd='/bin/file'
   4276     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4277     lt_cv_file_magic_test_file=/lib/libc.so
   4278     ;;
   4279   siemens)
   4280     lt_cv_deplibs_check_method=pass_all
   4281     ;;
   4282   pc)
   4283     lt_cv_deplibs_check_method=pass_all
   4284     ;;
   4285   esac
   4286   ;;
   4287 
   4288 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4289   lt_cv_deplibs_check_method=pass_all
   4290   ;;
   4291 esac
   4292 
   4293 fi
   4294 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4295 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4296 file_magic_cmd=$lt_cv_file_magic_cmd
   4297 deplibs_check_method=$lt_cv_deplibs_check_method
   4298 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4299 
   4300 
   4301 
   4302 
   4303 # If no C compiler was specified, use CC.
   4304 LTCC=${LTCC-"$CC"}
   4305 
   4306 # If no C compiler flags were specified, use CFLAGS.
   4307 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4308 
   4309 # Allow CC to be a program name with arguments.
   4310 compiler=$CC
   4311 
   4312 
   4313 # Check whether --enable-libtool-lock was given.
   4314 if test "${enable_libtool_lock+set}" = set; then
   4315   enableval=$enable_libtool_lock;
   4316 fi
   4317 
   4318 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4319 
   4320 # Some flags need to be propagated to the compiler or linker for good
   4321 # libtool support.
   4322 case $host in
   4323 ia64-*-hpux*)
   4324   # Find out which ABI we are using.
   4325   echo 'int i;' > conftest.$ac_ext
   4326   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4327   (eval $ac_compile) 2>&5
   4328   ac_status=$?
   4329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4330   (exit $ac_status); }; then
   4331     case `/usr/bin/file conftest.$ac_objext` in
   4332     *ELF-32*)
   4333       HPUX_IA64_MODE="32"
   4334       ;;
   4335     *ELF-64*)
   4336       HPUX_IA64_MODE="64"
   4337       ;;
   4338     esac
   4339   fi
   4340   rm -rf conftest*
   4341   ;;
   4342 *-*-irix6*)
   4343   # Find out which ABI we are using.
   4344   echo '#line 4344 "configure"' > conftest.$ac_ext
   4345   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4346   (eval $ac_compile) 2>&5
   4347   ac_status=$?
   4348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4349   (exit $ac_status); }; then
   4350    if test "$lt_cv_prog_gnu_ld" = yes; then
   4351     case `/usr/bin/file conftest.$ac_objext` in
   4352     *32-bit*)
   4353       LD="${LD-ld} -melf32bsmip"
   4354       ;;
   4355     *N32*)
   4356       LD="${LD-ld} -melf32bmipn32"
   4357       ;;
   4358     *64-bit*)
   4359       LD="${LD-ld} -melf64bmip"
   4360       ;;
   4361     esac
   4362    else
   4363     case `/usr/bin/file conftest.$ac_objext` in
   4364     *32-bit*)
   4365       LD="${LD-ld} -32"
   4366       ;;
   4367     *N32*)
   4368       LD="${LD-ld} -n32"
   4369       ;;
   4370     *64-bit*)
   4371       LD="${LD-ld} -64"
   4372       ;;
   4373     esac
   4374    fi
   4375   fi
   4376   rm -rf conftest*
   4377   ;;
   4378 
   4379 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
   4380   # Find out which ABI we are using.
   4381   echo 'int i;' > conftest.$ac_ext
   4382   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4383   (eval $ac_compile) 2>&5
   4384   ac_status=$?
   4385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4386   (exit $ac_status); }; then
   4387     case `/usr/bin/file conftest.o` in
   4388     *32-bit*)
   4389       case $host in
   4390         x86_64-*linux*)
   4391           LD="${LD-ld} -m elf_i386"
   4392           ;;
   4393         ppc64-*linux*|powerpc64-*linux*)
   4394           LD="${LD-ld} -m elf32ppclinux"
   4395           ;;
   4396         s390x-*linux*)
   4397           LD="${LD-ld} -m elf_s390"
   4398           ;;
   4399         sparc64-*linux*)
   4400           LD="${LD-ld} -m elf32_sparc"
   4401           ;;
   4402       esac
   4403       ;;
   4404     *64-bit*)
   4405       case $host in
   4406         x86_64-*linux*)
   4407           LD="${LD-ld} -m elf_x86_64"
   4408           ;;
   4409         ppc*-*linux*|powerpc*-*linux*)
   4410           LD="${LD-ld} -m elf64ppc"
   4411           ;;
   4412         s390*-*linux*)
   4413           LD="${LD-ld} -m elf64_s390"
   4414           ;;
   4415         sparc*-*linux*)
   4416           LD="${LD-ld} -m elf64_sparc"
   4417           ;;
   4418       esac
   4419       ;;
   4420     esac
   4421   fi
   4422   rm -rf conftest*
   4423   ;;
   4424 
   4425 *-*-sco3.2v5*)
   4426   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4427   SAVE_CFLAGS="$CFLAGS"
   4428   CFLAGS="$CFLAGS -belf"
   4429   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4430 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4431 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4432   echo $ECHO_N "(cached) $ECHO_C" >&6
   4433 else
   4434   ac_ext=c
   4435 ac_cpp='$CPP $CPPFLAGS'
   4436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4439 
   4440      cat >conftest.$ac_ext <<_ACEOF
   4441 /* confdefs.h.  */
   4442 _ACEOF
   4443 cat confdefs.h >>conftest.$ac_ext
   4444 cat >>conftest.$ac_ext <<_ACEOF
   4445 /* end confdefs.h.  */
   4446 
   4447 int
   4448 main ()
   4449 {
   4450 
   4451   ;
   4452   return 0;
   4453 }
   4454 _ACEOF
   4455 rm -f conftest.$ac_objext conftest$ac_exeext
   4456 if { (ac_try="$ac_link"
   4457 case "(($ac_try" in
   4458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4459   *) ac_try_echo=$ac_try;;
   4460 esac
   4461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4462   (eval "$ac_link") 2>conftest.er1
   4463   ac_status=$?
   4464   grep -v '^ *+' conftest.er1 >conftest.err
   4465   rm -f conftest.er1
   4466   cat conftest.err >&5
   4467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4468   (exit $ac_status); } && {
   4469 	 test -z "$ac_c_werror_flag" ||
   4470 	 test ! -s conftest.err
   4471        } && test -s conftest$ac_exeext &&
   4472        $as_test_x conftest$ac_exeext; then
   4473   lt_cv_cc_needs_belf=yes
   4474 else
   4475   echo "$as_me: failed program was:" >&5
   4476 sed 's/^/| /' conftest.$ac_ext >&5
   4477 
   4478 	lt_cv_cc_needs_belf=no
   4479 fi
   4480 
   4481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4482       conftest$ac_exeext conftest.$ac_ext
   4483      ac_ext=c
   4484 ac_cpp='$CPP $CPPFLAGS'
   4485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4488 
   4489 fi
   4490 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4491 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4492   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4493     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4494     CFLAGS="$SAVE_CFLAGS"
   4495   fi
   4496   ;;
   4497 sparc*-*solaris*)
   4498   # Find out which ABI we are using.
   4499   echo 'int i;' > conftest.$ac_ext
   4500   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4501   (eval $ac_compile) 2>&5
   4502   ac_status=$?
   4503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4504   (exit $ac_status); }; then
   4505     case `/usr/bin/file conftest.o` in
   4506     *64-bit*)
   4507       case $lt_cv_prog_gnu_ld in
   4508       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4509       *)    LD="${LD-ld} -64" ;;
   4510       esac
   4511       ;;
   4512     esac
   4513   fi
   4514   rm -rf conftest*
   4515   ;;
   4516 
   4517 
   4518 esac
   4519 
   4520 need_locks="$enable_libtool_lock"
   4521 
   4522 
   4523 ac_ext=c
   4524 ac_cpp='$CPP $CPPFLAGS'
   4525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4528 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4529 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4530 # On Suns, sometimes $CPP names a directory.
   4531 if test -n "$CPP" && test -d "$CPP"; then
   4532   CPP=
   4533 fi
   4534 if test -z "$CPP"; then
   4535   if test "${ac_cv_prog_CPP+set}" = set; then
   4536   echo $ECHO_N "(cached) $ECHO_C" >&6
   4537 else
   4538       # Double quotes because CPP needs to be expanded
   4539     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4540     do
   4541       ac_preproc_ok=false
   4542 for ac_c_preproc_warn_flag in '' yes
   4543 do
   4544   # Use a header file that comes with gcc, so configuring glibc
   4545   # with a fresh cross-compiler works.
   4546   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4547   # <limits.h> exists even on freestanding compilers.
   4548   # On the NeXT, cc -E runs the code through the compiler's parser,
   4549   # not just through cpp. "Syntax error" is here to catch this case.
   4550   cat >conftest.$ac_ext <<_ACEOF
   4551 /* confdefs.h.  */
   4552 _ACEOF
   4553 cat confdefs.h >>conftest.$ac_ext
   4554 cat >>conftest.$ac_ext <<_ACEOF
   4555 /* end confdefs.h.  */
   4556 #ifdef __STDC__
   4557 # include <limits.h>
   4558 #else
   4559 # include <assert.h>
   4560 #endif
   4561 		     Syntax error
   4562 _ACEOF
   4563 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4564 case "(($ac_try" in
   4565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4566   *) ac_try_echo=$ac_try;;
   4567 esac
   4568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4569   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4570   ac_status=$?
   4571   grep -v '^ *+' conftest.er1 >conftest.err
   4572   rm -f conftest.er1
   4573   cat conftest.err >&5
   4574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4575   (exit $ac_status); } >/dev/null && {
   4576 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4577 	 test ! -s conftest.err
   4578        }; then
   4579   :
   4580 else
   4581   echo "$as_me: failed program was:" >&5
   4582 sed 's/^/| /' conftest.$ac_ext >&5
   4583 
   4584   # Broken: fails on valid input.
   4585 continue
   4586 fi
   4587 
   4588 rm -f conftest.err conftest.$ac_ext
   4589 
   4590   # OK, works on sane cases.  Now check whether nonexistent headers
   4591   # can be detected and how.
   4592   cat >conftest.$ac_ext <<_ACEOF
   4593 /* confdefs.h.  */
   4594 _ACEOF
   4595 cat confdefs.h >>conftest.$ac_ext
   4596 cat >>conftest.$ac_ext <<_ACEOF
   4597 /* end confdefs.h.  */
   4598 #include <ac_nonexistent.h>
   4599 _ACEOF
   4600 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4601 case "(($ac_try" in
   4602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4603   *) ac_try_echo=$ac_try;;
   4604 esac
   4605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4606   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4607   ac_status=$?
   4608   grep -v '^ *+' conftest.er1 >conftest.err
   4609   rm -f conftest.er1
   4610   cat conftest.err >&5
   4611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4612   (exit $ac_status); } >/dev/null && {
   4613 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4614 	 test ! -s conftest.err
   4615        }; then
   4616   # Broken: success on invalid input.
   4617 continue
   4618 else
   4619   echo "$as_me: failed program was:" >&5
   4620 sed 's/^/| /' conftest.$ac_ext >&5
   4621 
   4622   # Passes both tests.
   4623 ac_preproc_ok=:
   4624 break
   4625 fi
   4626 
   4627 rm -f conftest.err conftest.$ac_ext
   4628 
   4629 done
   4630 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4631 rm -f conftest.err conftest.$ac_ext
   4632 if $ac_preproc_ok; then
   4633   break
   4634 fi
   4635 
   4636     done
   4637     ac_cv_prog_CPP=$CPP
   4638 
   4639 fi
   4640   CPP=$ac_cv_prog_CPP
   4641 else
   4642   ac_cv_prog_CPP=$CPP
   4643 fi
   4644 { echo "$as_me:$LINENO: result: $CPP" >&5
   4645 echo "${ECHO_T}$CPP" >&6; }
   4646 ac_preproc_ok=false
   4647 for ac_c_preproc_warn_flag in '' yes
   4648 do
   4649   # Use a header file that comes with gcc, so configuring glibc
   4650   # with a fresh cross-compiler works.
   4651   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4652   # <limits.h> exists even on freestanding compilers.
   4653   # On the NeXT, cc -E runs the code through the compiler's parser,
   4654   # not just through cpp. "Syntax error" is here to catch this case.
   4655   cat >conftest.$ac_ext <<_ACEOF
   4656 /* confdefs.h.  */
   4657 _ACEOF
   4658 cat confdefs.h >>conftest.$ac_ext
   4659 cat >>conftest.$ac_ext <<_ACEOF
   4660 /* end confdefs.h.  */
   4661 #ifdef __STDC__
   4662 # include <limits.h>
   4663 #else
   4664 # include <assert.h>
   4665 #endif
   4666 		     Syntax error
   4667 _ACEOF
   4668 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4669 case "(($ac_try" in
   4670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4671   *) ac_try_echo=$ac_try;;
   4672 esac
   4673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4674   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4675   ac_status=$?
   4676   grep -v '^ *+' conftest.er1 >conftest.err
   4677   rm -f conftest.er1
   4678   cat conftest.err >&5
   4679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4680   (exit $ac_status); } >/dev/null && {
   4681 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4682 	 test ! -s conftest.err
   4683        }; then
   4684   :
   4685 else
   4686   echo "$as_me: failed program was:" >&5
   4687 sed 's/^/| /' conftest.$ac_ext >&5
   4688 
   4689   # Broken: fails on valid input.
   4690 continue
   4691 fi
   4692 
   4693 rm -f conftest.err conftest.$ac_ext
   4694 
   4695   # OK, works on sane cases.  Now check whether nonexistent headers
   4696   # can be detected and how.
   4697   cat >conftest.$ac_ext <<_ACEOF
   4698 /* confdefs.h.  */
   4699 _ACEOF
   4700 cat confdefs.h >>conftest.$ac_ext
   4701 cat >>conftest.$ac_ext <<_ACEOF
   4702 /* end confdefs.h.  */
   4703 #include <ac_nonexistent.h>
   4704 _ACEOF
   4705 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4706 case "(($ac_try" in
   4707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4708   *) ac_try_echo=$ac_try;;
   4709 esac
   4710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4711   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4712   ac_status=$?
   4713   grep -v '^ *+' conftest.er1 >conftest.err
   4714   rm -f conftest.er1
   4715   cat conftest.err >&5
   4716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4717   (exit $ac_status); } >/dev/null && {
   4718 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4719 	 test ! -s conftest.err
   4720        }; then
   4721   # Broken: success on invalid input.
   4722 continue
   4723 else
   4724   echo "$as_me: failed program was:" >&5
   4725 sed 's/^/| /' conftest.$ac_ext >&5
   4726 
   4727   # Passes both tests.
   4728 ac_preproc_ok=:
   4729 break
   4730 fi
   4731 
   4732 rm -f conftest.err conftest.$ac_ext
   4733 
   4734 done
   4735 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4736 rm -f conftest.err conftest.$ac_ext
   4737 if $ac_preproc_ok; then
   4738   :
   4739 else
   4740   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4741 See \`config.log' for more details." >&5
   4742 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4743 See \`config.log' for more details." >&2;}
   4744    { (exit 1); exit 1; }; }
   4745 fi
   4746 
   4747 ac_ext=c
   4748 ac_cpp='$CPP $CPPFLAGS'
   4749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4752 
   4753 
   4754 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4755 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4756 if test "${ac_cv_header_stdc+set}" = set; then
   4757   echo $ECHO_N "(cached) $ECHO_C" >&6
   4758 else
   4759   cat >conftest.$ac_ext <<_ACEOF
   4760 /* confdefs.h.  */
   4761 _ACEOF
   4762 cat confdefs.h >>conftest.$ac_ext
   4763 cat >>conftest.$ac_ext <<_ACEOF
   4764 /* end confdefs.h.  */
   4765 #include <stdlib.h>
   4766 #include <stdarg.h>
   4767 #include <string.h>
   4768 #include <float.h>
   4769 
   4770 int
   4771 main ()
   4772 {
   4773 
   4774   ;
   4775   return 0;
   4776 }
   4777 _ACEOF
   4778 rm -f conftest.$ac_objext
   4779 if { (ac_try="$ac_compile"
   4780 case "(($ac_try" in
   4781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4782   *) ac_try_echo=$ac_try;;
   4783 esac
   4784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4785   (eval "$ac_compile") 2>conftest.er1
   4786   ac_status=$?
   4787   grep -v '^ *+' conftest.er1 >conftest.err
   4788   rm -f conftest.er1
   4789   cat conftest.err >&5
   4790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4791   (exit $ac_status); } && {
   4792 	 test -z "$ac_c_werror_flag" ||
   4793 	 test ! -s conftest.err
   4794        } && test -s conftest.$ac_objext; then
   4795   ac_cv_header_stdc=yes
   4796 else
   4797   echo "$as_me: failed program was:" >&5
   4798 sed 's/^/| /' conftest.$ac_ext >&5
   4799 
   4800 	ac_cv_header_stdc=no
   4801 fi
   4802 
   4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4804 
   4805 if test $ac_cv_header_stdc = yes; then
   4806   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4807   cat >conftest.$ac_ext <<_ACEOF
   4808 /* confdefs.h.  */
   4809 _ACEOF
   4810 cat confdefs.h >>conftest.$ac_ext
   4811 cat >>conftest.$ac_ext <<_ACEOF
   4812 /* end confdefs.h.  */
   4813 #include <string.h>
   4814 
   4815 _ACEOF
   4816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4817   $EGREP "memchr" >/dev/null 2>&1; then
   4818   :
   4819 else
   4820   ac_cv_header_stdc=no
   4821 fi
   4822 rm -f conftest*
   4823 
   4824 fi
   4825 
   4826 if test $ac_cv_header_stdc = yes; then
   4827   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4828   cat >conftest.$ac_ext <<_ACEOF
   4829 /* confdefs.h.  */
   4830 _ACEOF
   4831 cat confdefs.h >>conftest.$ac_ext
   4832 cat >>conftest.$ac_ext <<_ACEOF
   4833 /* end confdefs.h.  */
   4834 #include <stdlib.h>
   4835 
   4836 _ACEOF
   4837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4838   $EGREP "free" >/dev/null 2>&1; then
   4839   :
   4840 else
   4841   ac_cv_header_stdc=no
   4842 fi
   4843 rm -f conftest*
   4844 
   4845 fi
   4846 
   4847 if test $ac_cv_header_stdc = yes; then
   4848   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4849   if test "$cross_compiling" = yes; then
   4850   :
   4851 else
   4852   cat >conftest.$ac_ext <<_ACEOF
   4853 /* confdefs.h.  */
   4854 _ACEOF
   4855 cat confdefs.h >>conftest.$ac_ext
   4856 cat >>conftest.$ac_ext <<_ACEOF
   4857 /* end confdefs.h.  */
   4858 #include <ctype.h>
   4859 #include <stdlib.h>
   4860 #if ((' ' & 0x0FF) == 0x020)
   4861 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4862 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4863 #else
   4864 # define ISLOWER(c) \
   4865 		   (('a' <= (c) && (c) <= 'i') \
   4866 		     || ('j' <= (c) && (c) <= 'r') \
   4867 		     || ('s' <= (c) && (c) <= 'z'))
   4868 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4869 #endif
   4870 
   4871 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4872 int
   4873 main ()
   4874 {
   4875   int i;
   4876   for (i = 0; i < 256; i++)
   4877     if (XOR (islower (i), ISLOWER (i))
   4878 	|| toupper (i) != TOUPPER (i))
   4879       return 2;
   4880   return 0;
   4881 }
   4882 _ACEOF
   4883 rm -f conftest$ac_exeext
   4884 if { (ac_try="$ac_link"
   4885 case "(($ac_try" in
   4886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4887   *) ac_try_echo=$ac_try;;
   4888 esac
   4889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4890   (eval "$ac_link") 2>&5
   4891   ac_status=$?
   4892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4893   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4894   { (case "(($ac_try" in
   4895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4896   *) ac_try_echo=$ac_try;;
   4897 esac
   4898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4899   (eval "$ac_try") 2>&5
   4900   ac_status=$?
   4901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4902   (exit $ac_status); }; }; then
   4903   :
   4904 else
   4905   echo "$as_me: program exited with status $ac_status" >&5
   4906 echo "$as_me: failed program was:" >&5
   4907 sed 's/^/| /' conftest.$ac_ext >&5
   4908 
   4909 ( exit $ac_status )
   4910 ac_cv_header_stdc=no
   4911 fi
   4912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4913 fi
   4914 
   4915 
   4916 fi
   4917 fi
   4918 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4919 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   4920 if test $ac_cv_header_stdc = yes; then
   4921 
   4922 cat >>confdefs.h <<\_ACEOF
   4923 #define STDC_HEADERS 1
   4924 _ACEOF
   4925 
   4926 fi
   4927 
   4928 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4929 
   4930 
   4931 
   4932 
   4933 
   4934 
   4935 
   4936 
   4937 
   4938 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4939 		  inttypes.h stdint.h unistd.h
   4940 do
   4941 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4942 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   4943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   4944 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   4945   echo $ECHO_N "(cached) $ECHO_C" >&6
   4946 else
   4947   cat >conftest.$ac_ext <<_ACEOF
   4948 /* confdefs.h.  */
   4949 _ACEOF
   4950 cat confdefs.h >>conftest.$ac_ext
   4951 cat >>conftest.$ac_ext <<_ACEOF
   4952 /* end confdefs.h.  */
   4953 $ac_includes_default
   4954 
   4955 #include <$ac_header>
   4956 _ACEOF
   4957 rm -f conftest.$ac_objext
   4958 if { (ac_try="$ac_compile"
   4959 case "(($ac_try" in
   4960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4961   *) ac_try_echo=$ac_try;;
   4962 esac
   4963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4964   (eval "$ac_compile") 2>conftest.er1
   4965   ac_status=$?
   4966   grep -v '^ *+' conftest.er1 >conftest.err
   4967   rm -f conftest.er1
   4968   cat conftest.err >&5
   4969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4970   (exit $ac_status); } && {
   4971 	 test -z "$ac_c_werror_flag" ||
   4972 	 test ! -s conftest.err
   4973        } && test -s conftest.$ac_objext; then
   4974   eval "$as_ac_Header=yes"
   4975 else
   4976   echo "$as_me: failed program was:" >&5
   4977 sed 's/^/| /' conftest.$ac_ext >&5
   4978 
   4979 	eval "$as_ac_Header=no"
   4980 fi
   4981 
   4982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4983 fi
   4984 ac_res=`eval echo '${'$as_ac_Header'}'`
   4985 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   4986 echo "${ECHO_T}$ac_res" >&6; }
   4987 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4988   cat >>confdefs.h <<_ACEOF
   4989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4990 _ACEOF
   4991 
   4992 fi
   4993 
   4994 done
   4995 
   4996 
   4997 
   4998 for ac_header in dlfcn.h
   4999 do
   5000 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5001 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5002   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5004 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5005   echo $ECHO_N "(cached) $ECHO_C" >&6
   5006 fi
   5007 ac_res=`eval echo '${'$as_ac_Header'}'`
   5008 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5009 echo "${ECHO_T}$ac_res" >&6; }
   5010 else
   5011   # Is the header compilable?
   5012 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5013 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5014 cat >conftest.$ac_ext <<_ACEOF
   5015 /* confdefs.h.  */
   5016 _ACEOF
   5017 cat confdefs.h >>conftest.$ac_ext
   5018 cat >>conftest.$ac_ext <<_ACEOF
   5019 /* end confdefs.h.  */
   5020 $ac_includes_default
   5021 #include <$ac_header>
   5022 _ACEOF
   5023 rm -f conftest.$ac_objext
   5024 if { (ac_try="$ac_compile"
   5025 case "(($ac_try" in
   5026   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5027   *) ac_try_echo=$ac_try;;
   5028 esac
   5029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5030   (eval "$ac_compile") 2>conftest.er1
   5031   ac_status=$?
   5032   grep -v '^ *+' conftest.er1 >conftest.err
   5033   rm -f conftest.er1
   5034   cat conftest.err >&5
   5035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5036   (exit $ac_status); } && {
   5037 	 test -z "$ac_c_werror_flag" ||
   5038 	 test ! -s conftest.err
   5039        } && test -s conftest.$ac_objext; then
   5040   ac_header_compiler=yes
   5041 else
   5042   echo "$as_me: failed program was:" >&5
   5043 sed 's/^/| /' conftest.$ac_ext >&5
   5044 
   5045 	ac_header_compiler=no
   5046 fi
   5047 
   5048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5049 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5050 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5051 
   5052 # Is the header present?
   5053 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5054 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5055 cat >conftest.$ac_ext <<_ACEOF
   5056 /* confdefs.h.  */
   5057 _ACEOF
   5058 cat confdefs.h >>conftest.$ac_ext
   5059 cat >>conftest.$ac_ext <<_ACEOF
   5060 /* end confdefs.h.  */
   5061 #include <$ac_header>
   5062 _ACEOF
   5063 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5064 case "(($ac_try" in
   5065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5066   *) ac_try_echo=$ac_try;;
   5067 esac
   5068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5069   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5070   ac_status=$?
   5071   grep -v '^ *+' conftest.er1 >conftest.err
   5072   rm -f conftest.er1
   5073   cat conftest.err >&5
   5074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5075   (exit $ac_status); } >/dev/null && {
   5076 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5077 	 test ! -s conftest.err
   5078        }; then
   5079   ac_header_preproc=yes
   5080 else
   5081   echo "$as_me: failed program was:" >&5
   5082 sed 's/^/| /' conftest.$ac_ext >&5
   5083 
   5084   ac_header_preproc=no
   5085 fi
   5086 
   5087 rm -f conftest.err conftest.$ac_ext
   5088 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5089 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5090 
   5091 # So?  What about this header?
   5092 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5093   yes:no: )
   5094     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5095 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5096     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5097 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5098     ac_header_preproc=yes
   5099     ;;
   5100   no:yes:* )
   5101     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5102 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5103     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5104 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5105     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5106 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5107     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5108 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5109     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5110 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5111     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5112 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5113     ( cat <<\_ASBOX
   5114 ## ---------------------------------------------------------------------- ##
   5115 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5116 ## ---------------------------------------------------------------------- ##
   5117 _ASBOX
   5118      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5119     ;;
   5120 esac
   5121 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5123 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5124   echo $ECHO_N "(cached) $ECHO_C" >&6
   5125 else
   5126   eval "$as_ac_Header=\$ac_header_preproc"
   5127 fi
   5128 ac_res=`eval echo '${'$as_ac_Header'}'`
   5129 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5130 echo "${ECHO_T}$ac_res" >&6; }
   5131 
   5132 fi
   5133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5134   cat >>confdefs.h <<_ACEOF
   5135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5136 _ACEOF
   5137 
   5138 fi
   5139 
   5140 done
   5141 
   5142 ac_ext=cpp
   5143 ac_cpp='$CXXCPP $CPPFLAGS'
   5144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5147 if test -z "$CXX"; then
   5148   if test -n "$CCC"; then
   5149     CXX=$CCC
   5150   else
   5151     if test -n "$ac_tool_prefix"; then
   5152   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5153   do
   5154     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5155 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5158 if test "${ac_cv_prog_CXX+set}" = set; then
   5159   echo $ECHO_N "(cached) $ECHO_C" >&6
   5160 else
   5161   if test -n "$CXX"; then
   5162   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5163 else
   5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5165 for as_dir in $PATH
   5166 do
   5167   IFS=$as_save_IFS
   5168   test -z "$as_dir" && as_dir=.
   5169   for ac_exec_ext in '' $ac_executable_extensions; do
   5170   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5171     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5172     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5173     break 2
   5174   fi
   5175 done
   5176 done
   5177 IFS=$as_save_IFS
   5178 
   5179 fi
   5180 fi
   5181 CXX=$ac_cv_prog_CXX
   5182 if test -n "$CXX"; then
   5183   { echo "$as_me:$LINENO: result: $CXX" >&5
   5184 echo "${ECHO_T}$CXX" >&6; }
   5185 else
   5186   { echo "$as_me:$LINENO: result: no" >&5
   5187 echo "${ECHO_T}no" >&6; }
   5188 fi
   5189 
   5190 
   5191     test -n "$CXX" && break
   5192   done
   5193 fi
   5194 if test -z "$CXX"; then
   5195   ac_ct_CXX=$CXX
   5196   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5197 do
   5198   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5199 set dummy $ac_prog; ac_word=$2
   5200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5202 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5203   echo $ECHO_N "(cached) $ECHO_C" >&6
   5204 else
   5205   if test -n "$ac_ct_CXX"; then
   5206   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5207 else
   5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5209 for as_dir in $PATH
   5210 do
   5211   IFS=$as_save_IFS
   5212   test -z "$as_dir" && as_dir=.
   5213   for ac_exec_ext in '' $ac_executable_extensions; do
   5214   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5215     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5216     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5217     break 2
   5218   fi
   5219 done
   5220 done
   5221 IFS=$as_save_IFS
   5222 
   5223 fi
   5224 fi
   5225 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5226 if test -n "$ac_ct_CXX"; then
   5227   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5228 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5229 else
   5230   { echo "$as_me:$LINENO: result: no" >&5
   5231 echo "${ECHO_T}no" >&6; }
   5232 fi
   5233 
   5234 
   5235   test -n "$ac_ct_CXX" && break
   5236 done
   5237 
   5238   if test "x$ac_ct_CXX" = x; then
   5239     CXX="g++"
   5240   else
   5241     case $cross_compiling:$ac_tool_warned in
   5242 yes:)
   5243 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5244 whose name does not start with the host triplet.  If you think this
   5245 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5246 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5247 whose name does not start with the host triplet.  If you think this
   5248 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5249 ac_tool_warned=yes ;;
   5250 esac
   5251     CXX=$ac_ct_CXX
   5252   fi
   5253 fi
   5254 
   5255   fi
   5256 fi
   5257 # Provide some information about the compiler.
   5258 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5259 ac_compiler=`set X $ac_compile; echo $2`
   5260 { (ac_try="$ac_compiler --version >&5"
   5261 case "(($ac_try" in
   5262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5263   *) ac_try_echo=$ac_try;;
   5264 esac
   5265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5266   (eval "$ac_compiler --version >&5") 2>&5
   5267   ac_status=$?
   5268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5269   (exit $ac_status); }
   5270 { (ac_try="$ac_compiler -v >&5"
   5271 case "(($ac_try" in
   5272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5273   *) ac_try_echo=$ac_try;;
   5274 esac
   5275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5276   (eval "$ac_compiler -v >&5") 2>&5
   5277   ac_status=$?
   5278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5279   (exit $ac_status); }
   5280 { (ac_try="$ac_compiler -V >&5"
   5281 case "(($ac_try" in
   5282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5283   *) ac_try_echo=$ac_try;;
   5284 esac
   5285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5286   (eval "$ac_compiler -V >&5") 2>&5
   5287   ac_status=$?
   5288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5289   (exit $ac_status); }
   5290 
   5291 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5292 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5293 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5294   echo $ECHO_N "(cached) $ECHO_C" >&6
   5295 else
   5296   cat >conftest.$ac_ext <<_ACEOF
   5297 /* confdefs.h.  */
   5298 _ACEOF
   5299 cat confdefs.h >>conftest.$ac_ext
   5300 cat >>conftest.$ac_ext <<_ACEOF
   5301 /* end confdefs.h.  */
   5302 
   5303 int
   5304 main ()
   5305 {
   5306 #ifndef __GNUC__
   5307        choke me
   5308 #endif
   5309 
   5310   ;
   5311   return 0;
   5312 }
   5313 _ACEOF
   5314 rm -f conftest.$ac_objext
   5315 if { (ac_try="$ac_compile"
   5316 case "(($ac_try" in
   5317   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5318   *) ac_try_echo=$ac_try;;
   5319 esac
   5320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5321   (eval "$ac_compile") 2>conftest.er1
   5322   ac_status=$?
   5323   grep -v '^ *+' conftest.er1 >conftest.err
   5324   rm -f conftest.er1
   5325   cat conftest.err >&5
   5326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5327   (exit $ac_status); } && {
   5328 	 test -z "$ac_cxx_werror_flag" ||
   5329 	 test ! -s conftest.err
   5330        } && test -s conftest.$ac_objext; then
   5331   ac_compiler_gnu=yes
   5332 else
   5333   echo "$as_me: failed program was:" >&5
   5334 sed 's/^/| /' conftest.$ac_ext >&5
   5335 
   5336 	ac_compiler_gnu=no
   5337 fi
   5338 
   5339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5340 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5341 
   5342 fi
   5343 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5344 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5345 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5346 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5347 ac_save_CXXFLAGS=$CXXFLAGS
   5348 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5349 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5350 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5351   echo $ECHO_N "(cached) $ECHO_C" >&6
   5352 else
   5353   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5354    ac_cxx_werror_flag=yes
   5355    ac_cv_prog_cxx_g=no
   5356    CXXFLAGS="-g"
   5357    cat >conftest.$ac_ext <<_ACEOF
   5358 /* confdefs.h.  */
   5359 _ACEOF
   5360 cat confdefs.h >>conftest.$ac_ext
   5361 cat >>conftest.$ac_ext <<_ACEOF
   5362 /* end confdefs.h.  */
   5363 
   5364 int
   5365 main ()
   5366 {
   5367 
   5368   ;
   5369   return 0;
   5370 }
   5371 _ACEOF
   5372 rm -f conftest.$ac_objext
   5373 if { (ac_try="$ac_compile"
   5374 case "(($ac_try" in
   5375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5376   *) ac_try_echo=$ac_try;;
   5377 esac
   5378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5379   (eval "$ac_compile") 2>conftest.er1
   5380   ac_status=$?
   5381   grep -v '^ *+' conftest.er1 >conftest.err
   5382   rm -f conftest.er1
   5383   cat conftest.err >&5
   5384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5385   (exit $ac_status); } && {
   5386 	 test -z "$ac_cxx_werror_flag" ||
   5387 	 test ! -s conftest.err
   5388        } && test -s conftest.$ac_objext; then
   5389   ac_cv_prog_cxx_g=yes
   5390 else
   5391   echo "$as_me: failed program was:" >&5
   5392 sed 's/^/| /' conftest.$ac_ext >&5
   5393 
   5394 	CXXFLAGS=""
   5395       cat >conftest.$ac_ext <<_ACEOF
   5396 /* confdefs.h.  */
   5397 _ACEOF
   5398 cat confdefs.h >>conftest.$ac_ext
   5399 cat >>conftest.$ac_ext <<_ACEOF
   5400 /* end confdefs.h.  */
   5401 
   5402 int
   5403 main ()
   5404 {
   5405 
   5406   ;
   5407   return 0;
   5408 }
   5409 _ACEOF
   5410 rm -f conftest.$ac_objext
   5411 if { (ac_try="$ac_compile"
   5412 case "(($ac_try" in
   5413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5414   *) ac_try_echo=$ac_try;;
   5415 esac
   5416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5417   (eval "$ac_compile") 2>conftest.er1
   5418   ac_status=$?
   5419   grep -v '^ *+' conftest.er1 >conftest.err
   5420   rm -f conftest.er1
   5421   cat conftest.err >&5
   5422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5423   (exit $ac_status); } && {
   5424 	 test -z "$ac_cxx_werror_flag" ||
   5425 	 test ! -s conftest.err
   5426        } && test -s conftest.$ac_objext; then
   5427   :
   5428 else
   5429   echo "$as_me: failed program was:" >&5
   5430 sed 's/^/| /' conftest.$ac_ext >&5
   5431 
   5432 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5433 	 CXXFLAGS="-g"
   5434 	 cat >conftest.$ac_ext <<_ACEOF
   5435 /* confdefs.h.  */
   5436 _ACEOF
   5437 cat confdefs.h >>conftest.$ac_ext
   5438 cat >>conftest.$ac_ext <<_ACEOF
   5439 /* end confdefs.h.  */
   5440 
   5441 int
   5442 main ()
   5443 {
   5444 
   5445   ;
   5446   return 0;
   5447 }
   5448 _ACEOF
   5449 rm -f conftest.$ac_objext
   5450 if { (ac_try="$ac_compile"
   5451 case "(($ac_try" in
   5452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5453   *) ac_try_echo=$ac_try;;
   5454 esac
   5455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5456   (eval "$ac_compile") 2>conftest.er1
   5457   ac_status=$?
   5458   grep -v '^ *+' conftest.er1 >conftest.err
   5459   rm -f conftest.er1
   5460   cat conftest.err >&5
   5461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5462   (exit $ac_status); } && {
   5463 	 test -z "$ac_cxx_werror_flag" ||
   5464 	 test ! -s conftest.err
   5465        } && test -s conftest.$ac_objext; then
   5466   ac_cv_prog_cxx_g=yes
   5467 else
   5468   echo "$as_me: failed program was:" >&5
   5469 sed 's/^/| /' conftest.$ac_ext >&5
   5470 
   5471 
   5472 fi
   5473 
   5474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5475 fi
   5476 
   5477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5478 fi
   5479 
   5480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5481    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5482 fi
   5483 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5484 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5485 if test "$ac_test_CXXFLAGS" = set; then
   5486   CXXFLAGS=$ac_save_CXXFLAGS
   5487 elif test $ac_cv_prog_cxx_g = yes; then
   5488   if test "$GXX" = yes; then
   5489     CXXFLAGS="-g -O2"
   5490   else
   5491     CXXFLAGS="-g"
   5492   fi
   5493 else
   5494   if test "$GXX" = yes; then
   5495     CXXFLAGS="-O2"
   5496   else
   5497     CXXFLAGS=
   5498   fi
   5499 fi
   5500 ac_ext=cpp
   5501 ac_cpp='$CXXCPP $CPPFLAGS'
   5502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5505 
   5506 depcc="$CXX"  am_compiler_list=
   5507 
   5508 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5509 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5510 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5511   echo $ECHO_N "(cached) $ECHO_C" >&6
   5512 else
   5513   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5514   # We make a subdir and do the tests there.  Otherwise we can end up
   5515   # making bogus files that we don't know about and never remove.  For
   5516   # instance it was reported that on HP-UX the gcc test will end up
   5517   # making a dummy file named `D' -- because `-MD' means `put the output
   5518   # in D'.
   5519   mkdir conftest.dir
   5520   # Copy depcomp to subdir because otherwise we won't find it if we're
   5521   # using a relative directory.
   5522   cp "$am_depcomp" conftest.dir
   5523   cd conftest.dir
   5524   # We will build objects and dependencies in a subdirectory because
   5525   # it helps to detect inapplicable dependency modes.  For instance
   5526   # both Tru64's cc and ICC support -MD to output dependencies as a
   5527   # side effect of compilation, but ICC will put the dependencies in
   5528   # the current directory while Tru64 will put them in the object
   5529   # directory.
   5530   mkdir sub
   5531 
   5532   am_cv_CXX_dependencies_compiler_type=none
   5533   if test "$am_compiler_list" = ""; then
   5534      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5535   fi
   5536   for depmode in $am_compiler_list; do
   5537     # Setup a source with many dependencies, because some compilers
   5538     # like to wrap large dependency lists on column 80 (with \), and
   5539     # we should not choose a depcomp mode which is confused by this.
   5540     #
   5541     # We need to recreate these files for each test, as the compiler may
   5542     # overwrite some of them when testing with obscure command lines.
   5543     # This happens at least with the AIX C compiler.
   5544     : > sub/conftest.c
   5545     for i in 1 2 3 4 5 6; do
   5546       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5547       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5548       # Solaris 8's {/usr,}/bin/sh.
   5549       touch sub/conftst$i.h
   5550     done
   5551     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5552 
   5553     case $depmode in
   5554     nosideeffect)
   5555       # after this tag, mechanisms are not by side-effect, so they'll
   5556       # only be used when explicitly requested
   5557       if test "x$enable_dependency_tracking" = xyes; then
   5558 	continue
   5559       else
   5560 	break
   5561       fi
   5562       ;;
   5563     none) break ;;
   5564     esac
   5565     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5566     # mode.  It turns out that the SunPro C++ compiler does not properly
   5567     # handle `-M -o', and we need to detect this.
   5568     if depmode=$depmode \
   5569        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5570        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5571        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5572          >/dev/null 2>conftest.err &&
   5573        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5574        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5575        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5576        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5577       # icc doesn't choke on unknown options, it will just issue warnings
   5578       # or remarks (even with -Werror).  So we grep stderr for any message
   5579       # that says an option was ignored or not supported.
   5580       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5581       #   icc: Command line warning: ignoring option '-M'; no argument required
   5582       # The diagnosis changed in icc 8.0:
   5583       #   icc: Command line remark: option '-MP' not supported
   5584       if (grep 'ignoring option' conftest.err ||
   5585           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5586         am_cv_CXX_dependencies_compiler_type=$depmode
   5587         break
   5588       fi
   5589     fi
   5590   done
   5591 
   5592   cd ..
   5593   rm -rf conftest.dir
   5594 else
   5595   am_cv_CXX_dependencies_compiler_type=none
   5596 fi
   5597 
   5598 fi
   5599 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5600 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5601 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5602 
   5603  if
   5604   test "x$enable_dependency_tracking" != xno \
   5605   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5606   am__fastdepCXX_TRUE=
   5607   am__fastdepCXX_FALSE='#'
   5608 else
   5609   am__fastdepCXX_TRUE='#'
   5610   am__fastdepCXX_FALSE=
   5611 fi
   5612 
   5613 
   5614 
   5615 
   5616 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5617     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5618     (test "X$CXX" != "Xg++"))) ; then
   5619   ac_ext=cpp
   5620 ac_cpp='$CXXCPP $CPPFLAGS'
   5621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5624 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5625 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5626 if test -z "$CXXCPP"; then
   5627   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5628   echo $ECHO_N "(cached) $ECHO_C" >&6
   5629 else
   5630       # Double quotes because CXXCPP needs to be expanded
   5631     for CXXCPP in "$CXX -E" "/lib/cpp"
   5632     do
   5633       ac_preproc_ok=false
   5634 for ac_cxx_preproc_warn_flag in '' yes
   5635 do
   5636   # Use a header file that comes with gcc, so configuring glibc
   5637   # with a fresh cross-compiler works.
   5638   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5639   # <limits.h> exists even on freestanding compilers.
   5640   # On the NeXT, cc -E runs the code through the compiler's parser,
   5641   # not just through cpp. "Syntax error" is here to catch this case.
   5642   cat >conftest.$ac_ext <<_ACEOF
   5643 /* confdefs.h.  */
   5644 _ACEOF
   5645 cat confdefs.h >>conftest.$ac_ext
   5646 cat >>conftest.$ac_ext <<_ACEOF
   5647 /* end confdefs.h.  */
   5648 #ifdef __STDC__
   5649 # include <limits.h>
   5650 #else
   5651 # include <assert.h>
   5652 #endif
   5653 		     Syntax error
   5654 _ACEOF
   5655 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5656 case "(($ac_try" in
   5657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5658   *) ac_try_echo=$ac_try;;
   5659 esac
   5660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5661   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5662   ac_status=$?
   5663   grep -v '^ *+' conftest.er1 >conftest.err
   5664   rm -f conftest.er1
   5665   cat conftest.err >&5
   5666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5667   (exit $ac_status); } >/dev/null && {
   5668 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5669 	 test ! -s conftest.err
   5670        }; then
   5671   :
   5672 else
   5673   echo "$as_me: failed program was:" >&5
   5674 sed 's/^/| /' conftest.$ac_ext >&5
   5675 
   5676   # Broken: fails on valid input.
   5677 continue
   5678 fi
   5679 
   5680 rm -f conftest.err conftest.$ac_ext
   5681 
   5682   # OK, works on sane cases.  Now check whether nonexistent headers
   5683   # can be detected and how.
   5684   cat >conftest.$ac_ext <<_ACEOF
   5685 /* confdefs.h.  */
   5686 _ACEOF
   5687 cat confdefs.h >>conftest.$ac_ext
   5688 cat >>conftest.$ac_ext <<_ACEOF
   5689 /* end confdefs.h.  */
   5690 #include <ac_nonexistent.h>
   5691 _ACEOF
   5692 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5693 case "(($ac_try" in
   5694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5695   *) ac_try_echo=$ac_try;;
   5696 esac
   5697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5698   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5699   ac_status=$?
   5700   grep -v '^ *+' conftest.er1 >conftest.err
   5701   rm -f conftest.er1
   5702   cat conftest.err >&5
   5703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5704   (exit $ac_status); } >/dev/null && {
   5705 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5706 	 test ! -s conftest.err
   5707        }; then
   5708   # Broken: success on invalid input.
   5709 continue
   5710 else
   5711   echo "$as_me: failed program was:" >&5
   5712 sed 's/^/| /' conftest.$ac_ext >&5
   5713 
   5714   # Passes both tests.
   5715 ac_preproc_ok=:
   5716 break
   5717 fi
   5718 
   5719 rm -f conftest.err conftest.$ac_ext
   5720 
   5721 done
   5722 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5723 rm -f conftest.err conftest.$ac_ext
   5724 if $ac_preproc_ok; then
   5725   break
   5726 fi
   5727 
   5728     done
   5729     ac_cv_prog_CXXCPP=$CXXCPP
   5730 
   5731 fi
   5732   CXXCPP=$ac_cv_prog_CXXCPP
   5733 else
   5734   ac_cv_prog_CXXCPP=$CXXCPP
   5735 fi
   5736 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5737 echo "${ECHO_T}$CXXCPP" >&6; }
   5738 ac_preproc_ok=false
   5739 for ac_cxx_preproc_warn_flag in '' yes
   5740 do
   5741   # Use a header file that comes with gcc, so configuring glibc
   5742   # with a fresh cross-compiler works.
   5743   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5744   # <limits.h> exists even on freestanding compilers.
   5745   # On the NeXT, cc -E runs the code through the compiler's parser,
   5746   # not just through cpp. "Syntax error" is here to catch this case.
   5747   cat >conftest.$ac_ext <<_ACEOF
   5748 /* confdefs.h.  */
   5749 _ACEOF
   5750 cat confdefs.h >>conftest.$ac_ext
   5751 cat >>conftest.$ac_ext <<_ACEOF
   5752 /* end confdefs.h.  */
   5753 #ifdef __STDC__
   5754 # include <limits.h>
   5755 #else
   5756 # include <assert.h>
   5757 #endif
   5758 		     Syntax error
   5759 _ACEOF
   5760 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5761 case "(($ac_try" in
   5762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5763   *) ac_try_echo=$ac_try;;
   5764 esac
   5765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5766   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5767   ac_status=$?
   5768   grep -v '^ *+' conftest.er1 >conftest.err
   5769   rm -f conftest.er1
   5770   cat conftest.err >&5
   5771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5772   (exit $ac_status); } >/dev/null && {
   5773 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5774 	 test ! -s conftest.err
   5775        }; then
   5776   :
   5777 else
   5778   echo "$as_me: failed program was:" >&5
   5779 sed 's/^/| /' conftest.$ac_ext >&5
   5780 
   5781   # Broken: fails on valid input.
   5782 continue
   5783 fi
   5784 
   5785 rm -f conftest.err conftest.$ac_ext
   5786 
   5787   # OK, works on sane cases.  Now check whether nonexistent headers
   5788   # can be detected and how.
   5789   cat >conftest.$ac_ext <<_ACEOF
   5790 /* confdefs.h.  */
   5791 _ACEOF
   5792 cat confdefs.h >>conftest.$ac_ext
   5793 cat >>conftest.$ac_ext <<_ACEOF
   5794 /* end confdefs.h.  */
   5795 #include <ac_nonexistent.h>
   5796 _ACEOF
   5797 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5798 case "(($ac_try" in
   5799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5800   *) ac_try_echo=$ac_try;;
   5801 esac
   5802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5803   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5804   ac_status=$?
   5805   grep -v '^ *+' conftest.er1 >conftest.err
   5806   rm -f conftest.er1
   5807   cat conftest.err >&5
   5808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5809   (exit $ac_status); } >/dev/null && {
   5810 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5811 	 test ! -s conftest.err
   5812        }; then
   5813   # Broken: success on invalid input.
   5814 continue
   5815 else
   5816   echo "$as_me: failed program was:" >&5
   5817 sed 's/^/| /' conftest.$ac_ext >&5
   5818 
   5819   # Passes both tests.
   5820 ac_preproc_ok=:
   5821 break
   5822 fi
   5823 
   5824 rm -f conftest.err conftest.$ac_ext
   5825 
   5826 done
   5827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5828 rm -f conftest.err conftest.$ac_ext
   5829 if $ac_preproc_ok; then
   5830   :
   5831 else
   5832   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5833 See \`config.log' for more details." >&5
   5834 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5835 See \`config.log' for more details." >&2;}
   5836    { (exit 1); exit 1; }; }
   5837 fi
   5838 
   5839 ac_ext=cpp
   5840 ac_cpp='$CXXCPP $CPPFLAGS'
   5841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5844 
   5845 fi
   5846 
   5847 
   5848 ac_ext=f
   5849 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   5850 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5851 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   5852 if test -n "$ac_tool_prefix"; then
   5853   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
   5854   do
   5855     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5856 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5859 if test "${ac_cv_prog_F77+set}" = set; then
   5860   echo $ECHO_N "(cached) $ECHO_C" >&6
   5861 else
   5862   if test -n "$F77"; then
   5863   ac_cv_prog_F77="$F77" # Let the user override the test.
   5864 else
   5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5866 for as_dir in $PATH
   5867 do
   5868   IFS=$as_save_IFS
   5869   test -z "$as_dir" && as_dir=.
   5870   for ac_exec_ext in '' $ac_executable_extensions; do
   5871   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5872     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   5873     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5874     break 2
   5875   fi
   5876 done
   5877 done
   5878 IFS=$as_save_IFS
   5879 
   5880 fi
   5881 fi
   5882 F77=$ac_cv_prog_F77
   5883 if test -n "$F77"; then
   5884   { echo "$as_me:$LINENO: result: $F77" >&5
   5885 echo "${ECHO_T}$F77" >&6; }
   5886 else
   5887   { echo "$as_me:$LINENO: result: no" >&5
   5888 echo "${ECHO_T}no" >&6; }
   5889 fi
   5890 
   5891 
   5892     test -n "$F77" && break
   5893   done
   5894 fi
   5895 if test -z "$F77"; then
   5896   ac_ct_F77=$F77
   5897   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
   5898 do
   5899   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5900 set dummy $ac_prog; ac_word=$2
   5901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5903 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   5904   echo $ECHO_N "(cached) $ECHO_C" >&6
   5905 else
   5906   if test -n "$ac_ct_F77"; then
   5907   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   5908 else
   5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5910 for as_dir in $PATH
   5911 do
   5912   IFS=$as_save_IFS
   5913   test -z "$as_dir" && as_dir=.
   5914   for ac_exec_ext in '' $ac_executable_extensions; do
   5915   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5916     ac_cv_prog_ac_ct_F77="$ac_prog"
   5917     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5918     break 2
   5919   fi
   5920 done
   5921 done
   5922 IFS=$as_save_IFS
   5923 
   5924 fi
   5925 fi
   5926 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   5927 if test -n "$ac_ct_F77"; then
   5928   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   5929 echo "${ECHO_T}$ac_ct_F77" >&6; }
   5930 else
   5931   { echo "$as_me:$LINENO: result: no" >&5
   5932 echo "${ECHO_T}no" >&6; }
   5933 fi
   5934 
   5935 
   5936   test -n "$ac_ct_F77" && break
   5937 done
   5938 
   5939   if test "x$ac_ct_F77" = x; then
   5940     F77=""
   5941   else
   5942     case $cross_compiling:$ac_tool_warned in
   5943 yes:)
   5944 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5945 whose name does not start with the host triplet.  If you think this
   5946 configuration is useful to you, please write to autoconf@gnu.org." >&5
   5947 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5948 whose name does not start with the host triplet.  If you think this
   5949 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   5950 ac_tool_warned=yes ;;
   5951 esac
   5952     F77=$ac_ct_F77
   5953   fi
   5954 fi
   5955 
   5956 
   5957 # Provide some information about the compiler.
   5958 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   5959 ac_compiler=`set X $ac_compile; echo $2`
   5960 { (ac_try="$ac_compiler --version >&5"
   5961 case "(($ac_try" in
   5962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5963   *) ac_try_echo=$ac_try;;
   5964 esac
   5965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5966   (eval "$ac_compiler --version >&5") 2>&5
   5967   ac_status=$?
   5968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5969   (exit $ac_status); }
   5970 { (ac_try="$ac_compiler -v >&5"
   5971 case "(($ac_try" in
   5972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5973   *) ac_try_echo=$ac_try;;
   5974 esac
   5975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5976   (eval "$ac_compiler -v >&5") 2>&5
   5977   ac_status=$?
   5978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5979   (exit $ac_status); }
   5980 { (ac_try="$ac_compiler -V >&5"
   5981 case "(($ac_try" in
   5982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5983   *) ac_try_echo=$ac_try;;
   5984 esac
   5985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5986   (eval "$ac_compiler -V >&5") 2>&5
   5987   ac_status=$?
   5988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5989   (exit $ac_status); }
   5990 rm -f a.out
   5991 
   5992 # If we don't use `.F' as extension, the preprocessor is not run on the
   5993 # input file.  (Note that this only needs to work for GNU compilers.)
   5994 ac_save_ext=$ac_ext
   5995 ac_ext=F
   5996 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   5997 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   5998 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   5999   echo $ECHO_N "(cached) $ECHO_C" >&6
   6000 else
   6001   cat >conftest.$ac_ext <<_ACEOF
   6002       program main
   6003 #ifndef __GNUC__
   6004        choke me
   6005 #endif
   6006 
   6007       end
   6008 _ACEOF
   6009 rm -f conftest.$ac_objext
   6010 if { (ac_try="$ac_compile"
   6011 case "(($ac_try" in
   6012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6013   *) ac_try_echo=$ac_try;;
   6014 esac
   6015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6016   (eval "$ac_compile") 2>conftest.er1
   6017   ac_status=$?
   6018   grep -v '^ *+' conftest.er1 >conftest.err
   6019   rm -f conftest.er1
   6020   cat conftest.err >&5
   6021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6022   (exit $ac_status); } && {
   6023 	 test -z "$ac_f77_werror_flag" ||
   6024 	 test ! -s conftest.err
   6025        } && test -s conftest.$ac_objext; then
   6026   ac_compiler_gnu=yes
   6027 else
   6028   echo "$as_me: failed program was:" >&5
   6029 sed 's/^/| /' conftest.$ac_ext >&5
   6030 
   6031 	ac_compiler_gnu=no
   6032 fi
   6033 
   6034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6035 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6036 
   6037 fi
   6038 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6039 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6040 ac_ext=$ac_save_ext
   6041 ac_test_FFLAGS=${FFLAGS+set}
   6042 ac_save_FFLAGS=$FFLAGS
   6043 FFLAGS=
   6044 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6045 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6046 if test "${ac_cv_prog_f77_g+set}" = set; then
   6047   echo $ECHO_N "(cached) $ECHO_C" >&6
   6048 else
   6049   FFLAGS=-g
   6050 cat >conftest.$ac_ext <<_ACEOF
   6051       program main
   6052 
   6053       end
   6054 _ACEOF
   6055 rm -f conftest.$ac_objext
   6056 if { (ac_try="$ac_compile"
   6057 case "(($ac_try" in
   6058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6059   *) ac_try_echo=$ac_try;;
   6060 esac
   6061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6062   (eval "$ac_compile") 2>conftest.er1
   6063   ac_status=$?
   6064   grep -v '^ *+' conftest.er1 >conftest.err
   6065   rm -f conftest.er1
   6066   cat conftest.err >&5
   6067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6068   (exit $ac_status); } && {
   6069 	 test -z "$ac_f77_werror_flag" ||
   6070 	 test ! -s conftest.err
   6071        } && test -s conftest.$ac_objext; then
   6072   ac_cv_prog_f77_g=yes
   6073 else
   6074   echo "$as_me: failed program was:" >&5
   6075 sed 's/^/| /' conftest.$ac_ext >&5
   6076 
   6077 	ac_cv_prog_f77_g=no
   6078 fi
   6079 
   6080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6081 
   6082 fi
   6083 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6084 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6085 if test "$ac_test_FFLAGS" = set; then
   6086   FFLAGS=$ac_save_FFLAGS
   6087 elif test $ac_cv_prog_f77_g = yes; then
   6088   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6089     FFLAGS="-g -O2"
   6090   else
   6091     FFLAGS="-g"
   6092   fi
   6093 else
   6094   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6095     FFLAGS="-O2"
   6096   else
   6097     FFLAGS=
   6098   fi
   6099 fi
   6100 
   6101 G77=`test $ac_compiler_gnu = yes && echo yes`
   6102 ac_ext=c
   6103 ac_cpp='$CPP $CPPFLAGS'
   6104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6107 
   6108 
   6109 
   6110 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6111 
   6112 # find the maximum length of command line arguments
   6113 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6114 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6115 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6116   echo $ECHO_N "(cached) $ECHO_C" >&6
   6117 else
   6118     i=0
   6119   teststring="ABCD"
   6120 
   6121   case $build_os in
   6122   msdosdjgpp*)
   6123     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6124     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6125     # during glob expansion).  Even if it were fixed, the result of this
   6126     # check would be larger than it should be.
   6127     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6128     ;;
   6129 
   6130   gnu*)
   6131     # Under GNU Hurd, this test is not required because there is
   6132     # no limit to the length of command line arguments.
   6133     # Libtool will interpret -1 as no limit whatsoever
   6134     lt_cv_sys_max_cmd_len=-1;
   6135     ;;
   6136 
   6137   cygwin* | mingw*)
   6138     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6139     # about 5 minutes as the teststring grows exponentially.
   6140     # Worse, since 9x/ME are not pre-emptively multitasking,
   6141     # you end up with a "frozen" computer, even though with patience
   6142     # the test eventually succeeds (with a max line length of 256k).
   6143     # Instead, let's just punt: use the minimum linelength reported by
   6144     # all of the supported platforms: 8192 (on NT/2K/XP).
   6145     lt_cv_sys_max_cmd_len=8192;
   6146     ;;
   6147 
   6148   amigaos*)
   6149     # On AmigaOS with pdksh, this test takes hours, literally.
   6150     # So we just punt and use a minimum line length of 8192.
   6151     lt_cv_sys_max_cmd_len=8192;
   6152     ;;
   6153 
   6154   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6155     # This has been around since 386BSD, at least.  Likely further.
   6156     if test -x /sbin/sysctl; then
   6157       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6158     elif test -x /usr/sbin/sysctl; then
   6159       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6160     else
   6161       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6162     fi
   6163     # And add a safety zone
   6164     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6165     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6166     ;;
   6167 
   6168   interix*)
   6169     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6170     lt_cv_sys_max_cmd_len=196608
   6171     ;;
   6172 
   6173   osf*)
   6174     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6175     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6176     # nice to cause kernel panics so lets avoid the loop below.
   6177     # First set a reasonable default.
   6178     lt_cv_sys_max_cmd_len=16384
   6179     #
   6180     if test -x /sbin/sysconfig; then
   6181       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6182         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6183       esac
   6184     fi
   6185     ;;
   6186   sco3.2v5*)
   6187     lt_cv_sys_max_cmd_len=102400
   6188     ;;
   6189   sysv5* | sco5v6* | sysv4.2uw2*)
   6190     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6191     if test -n "$kargmax"; then
   6192       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6193     else
   6194       lt_cv_sys_max_cmd_len=32768
   6195     fi
   6196     ;;
   6197   *)
   6198     # If test is not a shell built-in, we'll probably end up computing a
   6199     # maximum length that is only half of the actual maximum length, but
   6200     # we can't tell.
   6201     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6202     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6203 	       = "XX$teststring") >/dev/null 2>&1 &&
   6204 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6205 	    lt_cv_sys_max_cmd_len=$new_result &&
   6206 	    test $i != 17 # 1/2 MB should be enough
   6207     do
   6208       i=`expr $i + 1`
   6209       teststring=$teststring$teststring
   6210     done
   6211     teststring=
   6212     # Add a significant safety factor because C++ compilers can tack on massive
   6213     # amounts of additional arguments before passing them to the linker.
   6214     # It appears as though 1/2 is a usable value.
   6215     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6216     ;;
   6217   esac
   6218 
   6219 fi
   6220 
   6221 if test -n $lt_cv_sys_max_cmd_len ; then
   6222   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6223 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6224 else
   6225   { echo "$as_me:$LINENO: result: none" >&5
   6226 echo "${ECHO_T}none" >&6; }
   6227 fi
   6228 
   6229 
   6230 
   6231 
   6232 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6233 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6234 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6235 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6236   echo $ECHO_N "(cached) $ECHO_C" >&6
   6237 else
   6238 
   6239 # These are sane defaults that work on at least a few old systems.
   6240 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6241 
   6242 # Character class describing NM global symbol codes.
   6243 symcode='[BCDEGRST]'
   6244 
   6245 # Regexp to match symbols that can be accessed directly from C.
   6246 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6247 
   6248 # Transform an extracted symbol line into a proper C declaration
   6249 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6250 
   6251 # Transform an extracted symbol line into symbol name and symbol address
   6252 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'"
   6253 
   6254 # Define system-specific variables.
   6255 case $host_os in
   6256 aix*)
   6257   symcode='[BCDT]'
   6258   ;;
   6259 cygwin* | mingw* | pw32*)
   6260   symcode='[ABCDGISTW]'
   6261   ;;
   6262 hpux*) # Its linker distinguishes data from code symbols
   6263   if test "$host_cpu" = ia64; then
   6264     symcode='[ABCDEGRST]'
   6265   fi
   6266   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6267   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'"
   6268   ;;
   6269 linux*)
   6270   if test "$host_cpu" = ia64; then
   6271     symcode='[ABCDGIRSTW]'
   6272     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6273     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'"
   6274   fi
   6275   ;;
   6276 irix* | nonstopux*)
   6277   symcode='[BCDEGRST]'
   6278   ;;
   6279 osf*)
   6280   symcode='[BCDEGQRST]'
   6281   ;;
   6282 solaris*)
   6283   symcode='[BDRT]'
   6284   ;;
   6285 sco3.2v5*)
   6286   symcode='[DT]'
   6287   ;;
   6288 sysv4.2uw2*)
   6289   symcode='[DT]'
   6290   ;;
   6291 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6292   symcode='[ABDT]'
   6293   ;;
   6294 sysv4)
   6295   symcode='[DFNSTU]'
   6296   ;;
   6297 esac
   6298 
   6299 # Handle CRLF in mingw tool chain
   6300 opt_cr=
   6301 case $build_os in
   6302 mingw*)
   6303   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6304   ;;
   6305 esac
   6306 
   6307 # If we're using GNU nm, then use its standard symbol codes.
   6308 case `$NM -V 2>&1` in
   6309 *GNU* | *'with BFD'*)
   6310   symcode='[ABCDGIRSTW]' ;;
   6311 esac
   6312 
   6313 # Try without a prefix undercore, then with it.
   6314 for ac_symprfx in "" "_"; do
   6315 
   6316   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6317   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6318 
   6319   # Write the raw and C identifiers.
   6320   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6321 
   6322   # Check to see that the pipe works correctly.
   6323   pipe_works=no
   6324 
   6325   rm -f conftest*
   6326   cat > conftest.$ac_ext <<EOF
   6327 #ifdef __cplusplus
   6328 extern "C" {
   6329 #endif
   6330 char nm_test_var;
   6331 void nm_test_func(){}
   6332 #ifdef __cplusplus
   6333 }
   6334 #endif
   6335 int main(){nm_test_var='a';nm_test_func();return(0);}
   6336 EOF
   6337 
   6338   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6339   (eval $ac_compile) 2>&5
   6340   ac_status=$?
   6341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6342   (exit $ac_status); }; then
   6343     # Now try to grab the symbols.
   6344     nlist=conftest.nm
   6345     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6346   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6347   ac_status=$?
   6348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6349   (exit $ac_status); } && test -s "$nlist"; then
   6350       # Try sorting and uniquifying the output.
   6351       if sort "$nlist" | uniq > "$nlist"T; then
   6352 	mv -f "$nlist"T "$nlist"
   6353       else
   6354 	rm -f "$nlist"T
   6355       fi
   6356 
   6357       # Make sure that we snagged all the symbols we need.
   6358       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6359 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6360 	  cat <<EOF > conftest.$ac_ext
   6361 #ifdef __cplusplus
   6362 extern "C" {
   6363 #endif
   6364 
   6365 EOF
   6366 	  # Now generate the symbol file.
   6367 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6368 
   6369 	  cat <<EOF >> conftest.$ac_ext
   6370 #if defined (__STDC__) && __STDC__
   6371 # define lt_ptr_t void *
   6372 #else
   6373 # define lt_ptr_t char *
   6374 # define const
   6375 #endif
   6376 
   6377 /* The mapping between symbol names and symbols. */
   6378 const struct {
   6379   const char *name;
   6380   lt_ptr_t address;
   6381 }
   6382 lt_preloaded_symbols[] =
   6383 {
   6384 EOF
   6385 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6386 	  cat <<\EOF >> conftest.$ac_ext
   6387   {0, (lt_ptr_t) 0}
   6388 };
   6389 
   6390 #ifdef __cplusplus
   6391 }
   6392 #endif
   6393 EOF
   6394 	  # Now try linking the two files.
   6395 	  mv conftest.$ac_objext conftstm.$ac_objext
   6396 	  lt_save_LIBS="$LIBS"
   6397 	  lt_save_CFLAGS="$CFLAGS"
   6398 	  LIBS="conftstm.$ac_objext"
   6399 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6400 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6401   (eval $ac_link) 2>&5
   6402   ac_status=$?
   6403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6404   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6405 	    pipe_works=yes
   6406 	  fi
   6407 	  LIBS="$lt_save_LIBS"
   6408 	  CFLAGS="$lt_save_CFLAGS"
   6409 	else
   6410 	  echo "cannot find nm_test_func in $nlist" >&5
   6411 	fi
   6412       else
   6413 	echo "cannot find nm_test_var in $nlist" >&5
   6414       fi
   6415     else
   6416       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6417     fi
   6418   else
   6419     echo "$progname: failed program was:" >&5
   6420     cat conftest.$ac_ext >&5
   6421   fi
   6422   rm -f conftest* conftst*
   6423 
   6424   # Do not use the global_symbol_pipe unless it works.
   6425   if test "$pipe_works" = yes; then
   6426     break
   6427   else
   6428     lt_cv_sys_global_symbol_pipe=
   6429   fi
   6430 done
   6431 
   6432 fi
   6433 
   6434 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6435   lt_cv_sys_global_symbol_to_cdecl=
   6436 fi
   6437 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6438   { echo "$as_me:$LINENO: result: failed" >&5
   6439 echo "${ECHO_T}failed" >&6; }
   6440 else
   6441   { echo "$as_me:$LINENO: result: ok" >&5
   6442 echo "${ECHO_T}ok" >&6; }
   6443 fi
   6444 
   6445 { echo "$as_me:$LINENO: checking for objdir" >&5
   6446 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6447 if test "${lt_cv_objdir+set}" = set; then
   6448   echo $ECHO_N "(cached) $ECHO_C" >&6
   6449 else
   6450   rm -f .libs 2>/dev/null
   6451 mkdir .libs 2>/dev/null
   6452 if test -d .libs; then
   6453   lt_cv_objdir=.libs
   6454 else
   6455   # MS-DOS does not allow filenames that begin with a dot.
   6456   lt_cv_objdir=_libs
   6457 fi
   6458 rmdir .libs 2>/dev/null
   6459 fi
   6460 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6461 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6462 objdir=$lt_cv_objdir
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 case $host_os in
   6469 aix3*)
   6470   # AIX sometimes has problems with the GCC collect2 program.  For some
   6471   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6472   # vanish in a puff of smoke.
   6473   if test "X${COLLECT_NAMES+set}" != Xset; then
   6474     COLLECT_NAMES=
   6475     export COLLECT_NAMES
   6476   fi
   6477   ;;
   6478 esac
   6479 
   6480 # Sed substitution that helps us do robust quoting.  It backslashifies
   6481 # metacharacters that are still active within double-quoted strings.
   6482 Xsed='sed -e 1s/^X//'
   6483 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6484 
   6485 # Same as above, but do not quote variable references.
   6486 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6487 
   6488 # Sed substitution to delay expansion of an escaped shell variable in a
   6489 # double_quote_subst'ed string.
   6490 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6491 
   6492 # Sed substitution to avoid accidental globbing in evaled expressions
   6493 no_glob_subst='s/\*/\\\*/g'
   6494 
   6495 # Constants:
   6496 rm="rm -f"
   6497 
   6498 # Global variables:
   6499 default_ofile=libtool
   6500 can_build_shared=yes
   6501 
   6502 # All known linkers require a `.a' archive for static linking (except MSVC,
   6503 # which needs '.lib').
   6504 libext=a
   6505 ltmain="$ac_aux_dir/ltmain.sh"
   6506 ofile="$default_ofile"
   6507 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6508 
   6509 if test -n "$ac_tool_prefix"; then
   6510   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6511 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6514 if test "${ac_cv_prog_AR+set}" = set; then
   6515   echo $ECHO_N "(cached) $ECHO_C" >&6
   6516 else
   6517   if test -n "$AR"; then
   6518   ac_cv_prog_AR="$AR" # Let the user override the test.
   6519 else
   6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6521 for as_dir in $PATH
   6522 do
   6523   IFS=$as_save_IFS
   6524   test -z "$as_dir" && as_dir=.
   6525   for ac_exec_ext in '' $ac_executable_extensions; do
   6526   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6527     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6528     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6529     break 2
   6530   fi
   6531 done
   6532 done
   6533 IFS=$as_save_IFS
   6534 
   6535 fi
   6536 fi
   6537 AR=$ac_cv_prog_AR
   6538 if test -n "$AR"; then
   6539   { echo "$as_me:$LINENO: result: $AR" >&5
   6540 echo "${ECHO_T}$AR" >&6; }
   6541 else
   6542   { echo "$as_me:$LINENO: result: no" >&5
   6543 echo "${ECHO_T}no" >&6; }
   6544 fi
   6545 
   6546 
   6547 fi
   6548 if test -z "$ac_cv_prog_AR"; then
   6549   ac_ct_AR=$AR
   6550   # Extract the first word of "ar", so it can be a program name with args.
   6551 set dummy ar; ac_word=$2
   6552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6554 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6555   echo $ECHO_N "(cached) $ECHO_C" >&6
   6556 else
   6557   if test -n "$ac_ct_AR"; then
   6558   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6559 else
   6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6561 for as_dir in $PATH
   6562 do
   6563   IFS=$as_save_IFS
   6564   test -z "$as_dir" && as_dir=.
   6565   for ac_exec_ext in '' $ac_executable_extensions; do
   6566   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6567     ac_cv_prog_ac_ct_AR="ar"
   6568     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6569     break 2
   6570   fi
   6571 done
   6572 done
   6573 IFS=$as_save_IFS
   6574 
   6575 fi
   6576 fi
   6577 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6578 if test -n "$ac_ct_AR"; then
   6579   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6580 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6581 else
   6582   { echo "$as_me:$LINENO: result: no" >&5
   6583 echo "${ECHO_T}no" >&6; }
   6584 fi
   6585 
   6586   if test "x$ac_ct_AR" = x; then
   6587     AR="false"
   6588   else
   6589     case $cross_compiling:$ac_tool_warned in
   6590 yes:)
   6591 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6592 whose name does not start with the host triplet.  If you think this
   6593 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6594 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6595 whose name does not start with the host triplet.  If you think this
   6596 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6597 ac_tool_warned=yes ;;
   6598 esac
   6599     AR=$ac_ct_AR
   6600   fi
   6601 else
   6602   AR="$ac_cv_prog_AR"
   6603 fi
   6604 
   6605 if test -n "$ac_tool_prefix"; then
   6606   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6607 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6610 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6611   echo $ECHO_N "(cached) $ECHO_C" >&6
   6612 else
   6613   if test -n "$RANLIB"; then
   6614   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6615 else
   6616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6617 for as_dir in $PATH
   6618 do
   6619   IFS=$as_save_IFS
   6620   test -z "$as_dir" && as_dir=.
   6621   for ac_exec_ext in '' $ac_executable_extensions; do
   6622   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6623     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6624     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6625     break 2
   6626   fi
   6627 done
   6628 done
   6629 IFS=$as_save_IFS
   6630 
   6631 fi
   6632 fi
   6633 RANLIB=$ac_cv_prog_RANLIB
   6634 if test -n "$RANLIB"; then
   6635   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6636 echo "${ECHO_T}$RANLIB" >&6; }
   6637 else
   6638   { echo "$as_me:$LINENO: result: no" >&5
   6639 echo "${ECHO_T}no" >&6; }
   6640 fi
   6641 
   6642 
   6643 fi
   6644 if test -z "$ac_cv_prog_RANLIB"; then
   6645   ac_ct_RANLIB=$RANLIB
   6646   # Extract the first word of "ranlib", so it can be a program name with args.
   6647 set dummy ranlib; ac_word=$2
   6648 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6650 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6651   echo $ECHO_N "(cached) $ECHO_C" >&6
   6652 else
   6653   if test -n "$ac_ct_RANLIB"; then
   6654   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6655 else
   6656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6657 for as_dir in $PATH
   6658 do
   6659   IFS=$as_save_IFS
   6660   test -z "$as_dir" && as_dir=.
   6661   for ac_exec_ext in '' $ac_executable_extensions; do
   6662   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6663     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6664     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6665     break 2
   6666   fi
   6667 done
   6668 done
   6669 IFS=$as_save_IFS
   6670 
   6671 fi
   6672 fi
   6673 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6674 if test -n "$ac_ct_RANLIB"; then
   6675   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6676 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6677 else
   6678   { echo "$as_me:$LINENO: result: no" >&5
   6679 echo "${ECHO_T}no" >&6; }
   6680 fi
   6681 
   6682   if test "x$ac_ct_RANLIB" = x; then
   6683     RANLIB=":"
   6684   else
   6685     case $cross_compiling:$ac_tool_warned in
   6686 yes:)
   6687 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6688 whose name does not start with the host triplet.  If you think this
   6689 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6690 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6691 whose name does not start with the host triplet.  If you think this
   6692 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6693 ac_tool_warned=yes ;;
   6694 esac
   6695     RANLIB=$ac_ct_RANLIB
   6696   fi
   6697 else
   6698   RANLIB="$ac_cv_prog_RANLIB"
   6699 fi
   6700 
   6701 if test -n "$ac_tool_prefix"; then
   6702   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6703 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6706 if test "${ac_cv_prog_STRIP+set}" = set; then
   6707   echo $ECHO_N "(cached) $ECHO_C" >&6
   6708 else
   6709   if test -n "$STRIP"; then
   6710   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6711 else
   6712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6713 for as_dir in $PATH
   6714 do
   6715   IFS=$as_save_IFS
   6716   test -z "$as_dir" && as_dir=.
   6717   for ac_exec_ext in '' $ac_executable_extensions; do
   6718   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6719     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6720     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6721     break 2
   6722   fi
   6723 done
   6724 done
   6725 IFS=$as_save_IFS
   6726 
   6727 fi
   6728 fi
   6729 STRIP=$ac_cv_prog_STRIP
   6730 if test -n "$STRIP"; then
   6731   { echo "$as_me:$LINENO: result: $STRIP" >&5
   6732 echo "${ECHO_T}$STRIP" >&6; }
   6733 else
   6734   { echo "$as_me:$LINENO: result: no" >&5
   6735 echo "${ECHO_T}no" >&6; }
   6736 fi
   6737 
   6738 
   6739 fi
   6740 if test -z "$ac_cv_prog_STRIP"; then
   6741   ac_ct_STRIP=$STRIP
   6742   # Extract the first word of "strip", so it can be a program name with args.
   6743 set dummy strip; ac_word=$2
   6744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6746 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6747   echo $ECHO_N "(cached) $ECHO_C" >&6
   6748 else
   6749   if test -n "$ac_ct_STRIP"; then
   6750   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6751 else
   6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6753 for as_dir in $PATH
   6754 do
   6755   IFS=$as_save_IFS
   6756   test -z "$as_dir" && as_dir=.
   6757   for ac_exec_ext in '' $ac_executable_extensions; do
   6758   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6759     ac_cv_prog_ac_ct_STRIP="strip"
   6760     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6761     break 2
   6762   fi
   6763 done
   6764 done
   6765 IFS=$as_save_IFS
   6766 
   6767 fi
   6768 fi
   6769 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6770 if test -n "$ac_ct_STRIP"; then
   6771   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6772 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   6773 else
   6774   { echo "$as_me:$LINENO: result: no" >&5
   6775 echo "${ECHO_T}no" >&6; }
   6776 fi
   6777 
   6778   if test "x$ac_ct_STRIP" = x; then
   6779     STRIP=":"
   6780   else
   6781     case $cross_compiling:$ac_tool_warned in
   6782 yes:)
   6783 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6784 whose name does not start with the host triplet.  If you think this
   6785 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6786 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6787 whose name does not start with the host triplet.  If you think this
   6788 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6789 ac_tool_warned=yes ;;
   6790 esac
   6791     STRIP=$ac_ct_STRIP
   6792   fi
   6793 else
   6794   STRIP="$ac_cv_prog_STRIP"
   6795 fi
   6796 
   6797 
   6798 old_CC="$CC"
   6799 old_CFLAGS="$CFLAGS"
   6800 
   6801 # Set sane defaults for various variables
   6802 test -z "$AR" && AR=ar
   6803 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6804 test -z "$AS" && AS=as
   6805 test -z "$CC" && CC=cc
   6806 test -z "$LTCC" && LTCC=$CC
   6807 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6808 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6809 test -z "$LD" && LD=ld
   6810 test -z "$LN_S" && LN_S="ln -s"
   6811 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6812 test -z "$NM" && NM=nm
   6813 test -z "$SED" && SED=sed
   6814 test -z "$OBJDUMP" && OBJDUMP=objdump
   6815 test -z "$RANLIB" && RANLIB=:
   6816 test -z "$STRIP" && STRIP=:
   6817 test -z "$ac_objext" && ac_objext=o
   6818 
   6819 # Determine commands to create old-style static archives.
   6820 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   6821 old_postinstall_cmds='chmod 644 $oldlib'
   6822 old_postuninstall_cmds=
   6823 
   6824 if test -n "$RANLIB"; then
   6825   case $host_os in
   6826   openbsd*)
   6827     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6828     ;;
   6829   *)
   6830     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6831     ;;
   6832   esac
   6833   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6834 fi
   6835 
   6836 for cc_temp in $compiler""; do
   6837   case $cc_temp in
   6838     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6839     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6840     \-*) ;;
   6841     *) break;;
   6842   esac
   6843 done
   6844 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   6845 
   6846 
   6847 # Only perform the check for file, if the check method requires it
   6848 case $deplibs_check_method in
   6849 file_magic*)
   6850   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   6851     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   6852 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   6853 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6854   echo $ECHO_N "(cached) $ECHO_C" >&6
   6855 else
   6856   case $MAGIC_CMD in
   6857 [\\/*] |  ?:[\\/]*)
   6858   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6859   ;;
   6860 *)
   6861   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6862   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6863   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6864   for ac_dir in $ac_dummy; do
   6865     IFS="$lt_save_ifs"
   6866     test -z "$ac_dir" && ac_dir=.
   6867     if test -f $ac_dir/${ac_tool_prefix}file; then
   6868       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   6869       if test -n "$file_magic_test_file"; then
   6870 	case $deplibs_check_method in
   6871 	"file_magic "*)
   6872 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6873 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6874 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6875 	    $EGREP "$file_magic_regex" > /dev/null; then
   6876 	    :
   6877 	  else
   6878 	    cat <<EOF 1>&2
   6879 
   6880 *** Warning: the command libtool uses to detect shared libraries,
   6881 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6882 *** The result is that libtool may fail to recognize shared libraries
   6883 *** as such.  This will affect the creation of libtool libraries that
   6884 *** depend on shared libraries, but programs linked with such libtool
   6885 *** libraries will work regardless of this problem.  Nevertheless, you
   6886 *** may want to report the problem to your system manager and/or to
   6887 *** bug-libtool@gnu.org
   6888 
   6889 EOF
   6890 	  fi ;;
   6891 	esac
   6892       fi
   6893       break
   6894     fi
   6895   done
   6896   IFS="$lt_save_ifs"
   6897   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6898   ;;
   6899 esac
   6900 fi
   6901 
   6902 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6903 if test -n "$MAGIC_CMD"; then
   6904   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6905 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6906 else
   6907   { echo "$as_me:$LINENO: result: no" >&5
   6908 echo "${ECHO_T}no" >&6; }
   6909 fi
   6910 
   6911 if test -z "$lt_cv_path_MAGIC_CMD"; then
   6912   if test -n "$ac_tool_prefix"; then
   6913     { echo "$as_me:$LINENO: checking for file" >&5
   6914 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   6915 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   6916   echo $ECHO_N "(cached) $ECHO_C" >&6
   6917 else
   6918   case $MAGIC_CMD in
   6919 [\\/*] |  ?:[\\/]*)
   6920   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   6921   ;;
   6922 *)
   6923   lt_save_MAGIC_CMD="$MAGIC_CMD"
   6924   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6925   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   6926   for ac_dir in $ac_dummy; do
   6927     IFS="$lt_save_ifs"
   6928     test -z "$ac_dir" && ac_dir=.
   6929     if test -f $ac_dir/file; then
   6930       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   6931       if test -n "$file_magic_test_file"; then
   6932 	case $deplibs_check_method in
   6933 	"file_magic "*)
   6934 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   6935 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6936 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   6937 	    $EGREP "$file_magic_regex" > /dev/null; then
   6938 	    :
   6939 	  else
   6940 	    cat <<EOF 1>&2
   6941 
   6942 *** Warning: the command libtool uses to detect shared libraries,
   6943 *** $file_magic_cmd, produces output that libtool cannot recognize.
   6944 *** The result is that libtool may fail to recognize shared libraries
   6945 *** as such.  This will affect the creation of libtool libraries that
   6946 *** depend on shared libraries, but programs linked with such libtool
   6947 *** libraries will work regardless of this problem.  Nevertheless, you
   6948 *** may want to report the problem to your system manager and/or to
   6949 *** bug-libtool@gnu.org
   6950 
   6951 EOF
   6952 	  fi ;;
   6953 	esac
   6954       fi
   6955       break
   6956     fi
   6957   done
   6958   IFS="$lt_save_ifs"
   6959   MAGIC_CMD="$lt_save_MAGIC_CMD"
   6960   ;;
   6961 esac
   6962 fi
   6963 
   6964 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   6965 if test -n "$MAGIC_CMD"; then
   6966   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   6967 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   6968 else
   6969   { echo "$as_me:$LINENO: result: no" >&5
   6970 echo "${ECHO_T}no" >&6; }
   6971 fi
   6972 
   6973   else
   6974     MAGIC_CMD=:
   6975   fi
   6976 fi
   6977 
   6978   fi
   6979   ;;
   6980 esac
   6981 
   6982 enable_dlopen=no
   6983 enable_win32_dll=no
   6984 
   6985 # Check whether --enable-libtool-lock was given.
   6986 if test "${enable_libtool_lock+set}" = set; then
   6987   enableval=$enable_libtool_lock;
   6988 fi
   6989 
   6990 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6991 
   6992 
   6993 # Check whether --with-pic was given.
   6994 if test "${with_pic+set}" = set; then
   6995   withval=$with_pic; pic_mode="$withval"
   6996 else
   6997   pic_mode=default
   6998 fi
   6999 
   7000 test -z "$pic_mode" && pic_mode=default
   7001 
   7002 # Use C for the default configuration in the libtool script
   7003 tagname=
   7004 lt_save_CC="$CC"
   7005 ac_ext=c
   7006 ac_cpp='$CPP $CPPFLAGS'
   7007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7010 
   7011 
   7012 # Source file extension for C test sources.
   7013 ac_ext=c
   7014 
   7015 # Object file extension for compiled C test sources.
   7016 objext=o
   7017 objext=$objext
   7018 
   7019 # Code to be used in simple compile tests
   7020 lt_simple_compile_test_code="int some_variable = 0;\n"
   7021 
   7022 # Code to be used in simple link tests
   7023 lt_simple_link_test_code='int main(){return(0);}\n'
   7024 
   7025 
   7026 # If no C compiler was specified, use CC.
   7027 LTCC=${LTCC-"$CC"}
   7028 
   7029 # If no C compiler flags were specified, use CFLAGS.
   7030 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7031 
   7032 # Allow CC to be a program name with arguments.
   7033 compiler=$CC
   7034 
   7035 
   7036 # save warnings/boilerplate of simple test code
   7037 ac_outfile=conftest.$ac_objext
   7038 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   7039 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7040 _lt_compiler_boilerplate=`cat conftest.err`
   7041 $rm conftest*
   7042 
   7043 ac_outfile=conftest.$ac_objext
   7044 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   7045 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7046 _lt_linker_boilerplate=`cat conftest.err`
   7047 $rm conftest*
   7048 
   7049 
   7050 
   7051 lt_prog_compiler_no_builtin_flag=
   7052 
   7053 if test "$GCC" = yes; then
   7054   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7055 
   7056 
   7057 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7058 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7059 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7060   echo $ECHO_N "(cached) $ECHO_C" >&6
   7061 else
   7062   lt_cv_prog_compiler_rtti_exceptions=no
   7063   ac_outfile=conftest.$ac_objext
   7064    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7065    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7066    # Insert the option either (1) after the last *FLAGS variable, or
   7067    # (2) before a word containing "conftest.", or (3) at the end.
   7068    # Note that $ac_compile itself does not contain backslashes and begins
   7069    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7070    # The option is referenced via a variable to avoid confusing sed.
   7071    lt_compile=`echo "$ac_compile" | $SED \
   7072    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7073    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7074    -e 's:$: $lt_compiler_flag:'`
   7075    (eval echo "\"\$as_me:7075: $lt_compile\"" >&5)
   7076    (eval "$lt_compile" 2>conftest.err)
   7077    ac_status=$?
   7078    cat conftest.err >&5
   7079    echo "$as_me:7079: \$? = $ac_status" >&5
   7080    if (exit $ac_status) && test -s "$ac_outfile"; then
   7081      # The compiler can only warn and ignore the option if not recognized
   7082      # So say no if there are warnings other than the usual output.
   7083      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7084      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7085      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7086        lt_cv_prog_compiler_rtti_exceptions=yes
   7087      fi
   7088    fi
   7089    $rm conftest*
   7090 
   7091 fi
   7092 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7093 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7094 
   7095 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7096     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7097 else
   7098     :
   7099 fi
   7100 
   7101 fi
   7102 
   7103 lt_prog_compiler_wl=
   7104 lt_prog_compiler_pic=
   7105 lt_prog_compiler_static=
   7106 
   7107 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7108 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7109 
   7110   if test "$GCC" = yes; then
   7111     lt_prog_compiler_wl='-Wl,'
   7112     lt_prog_compiler_static='-static'
   7113 
   7114     case $host_os in
   7115       aix*)
   7116       # All AIX code is PIC.
   7117       if test "$host_cpu" = ia64; then
   7118 	# AIX 5 now supports IA64 processor
   7119 	lt_prog_compiler_static='-Bstatic'
   7120       fi
   7121       ;;
   7122 
   7123     amigaos*)
   7124       # FIXME: we need at least 68020 code to build shared libraries, but
   7125       # adding the `-m68020' flag to GCC prevents building anything better,
   7126       # like `-m68040'.
   7127       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7128       ;;
   7129 
   7130     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7131       # PIC is the default for these OSes.
   7132       ;;
   7133 
   7134     mingw* | pw32* | os2*)
   7135       # This hack is so that the source file can tell whether it is being
   7136       # built for inclusion in a dll (and should export symbols for example).
   7137       lt_prog_compiler_pic='-DDLL_EXPORT'
   7138       ;;
   7139 
   7140     darwin* | rhapsody*)
   7141       # PIC is the default on this platform
   7142       # Common symbols not allowed in MH_DYLIB files
   7143       lt_prog_compiler_pic='-fno-common'
   7144       ;;
   7145 
   7146     interix3*)
   7147       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7148       # Instead, we relocate shared libraries at runtime.
   7149       ;;
   7150 
   7151     msdosdjgpp*)
   7152       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7153       # on systems that don't support them.
   7154       lt_prog_compiler_can_build_shared=no
   7155       enable_shared=no
   7156       ;;
   7157 
   7158     sysv4*MP*)
   7159       if test -d /usr/nec; then
   7160 	lt_prog_compiler_pic=-Kconform_pic
   7161       fi
   7162       ;;
   7163 
   7164     hpux*)
   7165       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7166       # not for PA HP-UX.
   7167       case $host_cpu in
   7168       hppa*64*|ia64*)
   7169 	# +Z the default
   7170 	;;
   7171       *)
   7172 	lt_prog_compiler_pic='-fPIC'
   7173 	;;
   7174       esac
   7175       ;;
   7176 
   7177     *)
   7178       lt_prog_compiler_pic='-fPIC'
   7179       ;;
   7180     esac
   7181   else
   7182     # PORTME Check for flag to pass linker flags through the system compiler.
   7183     case $host_os in
   7184     aix*)
   7185       lt_prog_compiler_wl='-Wl,'
   7186       if test "$host_cpu" = ia64; then
   7187 	# AIX 5 now supports IA64 processor
   7188 	lt_prog_compiler_static='-Bstatic'
   7189       else
   7190 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7191       fi
   7192       ;;
   7193       darwin*)
   7194         # PIC is the default on this platform
   7195         # Common symbols not allowed in MH_DYLIB files
   7196        case $cc_basename in
   7197          xlc*)
   7198          lt_prog_compiler_pic='-qnocommon'
   7199          lt_prog_compiler_wl='-Wl,'
   7200          ;;
   7201        esac
   7202        ;;
   7203 
   7204     mingw* | pw32* | os2*)
   7205       # This hack is so that the source file can tell whether it is being
   7206       # built for inclusion in a dll (and should export symbols for example).
   7207       lt_prog_compiler_pic='-DDLL_EXPORT'
   7208       ;;
   7209 
   7210     hpux9* | hpux10* | hpux11*)
   7211       lt_prog_compiler_wl='-Wl,'
   7212       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7213       # not for PA HP-UX.
   7214       case $host_cpu in
   7215       hppa*64*|ia64*)
   7216 	# +Z the default
   7217 	;;
   7218       *)
   7219 	lt_prog_compiler_pic='+Z'
   7220 	;;
   7221       esac
   7222       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7223       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7224       ;;
   7225 
   7226     irix5* | irix6* | nonstopux*)
   7227       lt_prog_compiler_wl='-Wl,'
   7228       # PIC (with -KPIC) is the default.
   7229       lt_prog_compiler_static='-non_shared'
   7230       ;;
   7231 
   7232     newsos6)
   7233       lt_prog_compiler_pic='-KPIC'
   7234       lt_prog_compiler_static='-Bstatic'
   7235       ;;
   7236 
   7237     linux*)
   7238       case $cc_basename in
   7239       icc* | ecc*)
   7240 	lt_prog_compiler_wl='-Wl,'
   7241 	lt_prog_compiler_pic='-KPIC'
   7242 	lt_prog_compiler_static='-static'
   7243         ;;
   7244       pgcc* | pgf77* | pgf90* | pgf95*)
   7245         # Portland Group compilers (*not* the Pentium gcc compiler,
   7246 	# which looks to be a dead project)
   7247 	lt_prog_compiler_wl='-Wl,'
   7248 	lt_prog_compiler_pic='-fpic'
   7249 	lt_prog_compiler_static='-Bstatic'
   7250         ;;
   7251       ccc*)
   7252         lt_prog_compiler_wl='-Wl,'
   7253         # All Alpha code is PIC.
   7254         lt_prog_compiler_static='-non_shared'
   7255         ;;
   7256       esac
   7257       ;;
   7258 
   7259     osf3* | osf4* | osf5*)
   7260       lt_prog_compiler_wl='-Wl,'
   7261       # All OSF/1 code is PIC.
   7262       lt_prog_compiler_static='-non_shared'
   7263       ;;
   7264 
   7265     solaris*)
   7266       lt_prog_compiler_pic='-KPIC'
   7267       lt_prog_compiler_static='-Bstatic'
   7268       case $cc_basename in
   7269       f77* | f90* | f95*)
   7270 	lt_prog_compiler_wl='-Qoption ld ';;
   7271       *)
   7272 	lt_prog_compiler_wl='-Wl,';;
   7273       esac
   7274       ;;
   7275 
   7276     sunos4*)
   7277       lt_prog_compiler_wl='-Qoption ld '
   7278       lt_prog_compiler_pic='-PIC'
   7279       lt_prog_compiler_static='-Bstatic'
   7280       ;;
   7281 
   7282     sysv4 | sysv4.2uw2* | sysv4.3*)
   7283       lt_prog_compiler_wl='-Wl,'
   7284       lt_prog_compiler_pic='-KPIC'
   7285       lt_prog_compiler_static='-Bstatic'
   7286       ;;
   7287 
   7288     sysv4*MP*)
   7289       if test -d /usr/nec ;then
   7290 	lt_prog_compiler_pic='-Kconform_pic'
   7291 	lt_prog_compiler_static='-Bstatic'
   7292       fi
   7293       ;;
   7294 
   7295     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7296       lt_prog_compiler_wl='-Wl,'
   7297       lt_prog_compiler_pic='-KPIC'
   7298       lt_prog_compiler_static='-Bstatic'
   7299       ;;
   7300 
   7301     unicos*)
   7302       lt_prog_compiler_wl='-Wl,'
   7303       lt_prog_compiler_can_build_shared=no
   7304       ;;
   7305 
   7306     uts4*)
   7307       lt_prog_compiler_pic='-pic'
   7308       lt_prog_compiler_static='-Bstatic'
   7309       ;;
   7310 
   7311     *)
   7312       lt_prog_compiler_can_build_shared=no
   7313       ;;
   7314     esac
   7315   fi
   7316 
   7317 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7318 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7319 
   7320 #
   7321 # Check to make sure the PIC flag actually works.
   7322 #
   7323 if test -n "$lt_prog_compiler_pic"; then
   7324 
   7325 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7326 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7327 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7328   echo $ECHO_N "(cached) $ECHO_C" >&6
   7329 else
   7330   lt_prog_compiler_pic_works=no
   7331   ac_outfile=conftest.$ac_objext
   7332    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7333    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7334    # Insert the option either (1) after the last *FLAGS variable, or
   7335    # (2) before a word containing "conftest.", or (3) at the end.
   7336    # Note that $ac_compile itself does not contain backslashes and begins
   7337    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7338    # The option is referenced via a variable to avoid confusing sed.
   7339    lt_compile=`echo "$ac_compile" | $SED \
   7340    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7341    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7342    -e 's:$: $lt_compiler_flag:'`
   7343    (eval echo "\"\$as_me:7343: $lt_compile\"" >&5)
   7344    (eval "$lt_compile" 2>conftest.err)
   7345    ac_status=$?
   7346    cat conftest.err >&5
   7347    echo "$as_me:7347: \$? = $ac_status" >&5
   7348    if (exit $ac_status) && test -s "$ac_outfile"; then
   7349      # The compiler can only warn and ignore the option if not recognized
   7350      # So say no if there are warnings other than the usual output.
   7351      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7352      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7353      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7354        lt_prog_compiler_pic_works=yes
   7355      fi
   7356    fi
   7357    $rm conftest*
   7358 
   7359 fi
   7360 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7361 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7362 
   7363 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7364     case $lt_prog_compiler_pic in
   7365      "" | " "*) ;;
   7366      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7367      esac
   7368 else
   7369     lt_prog_compiler_pic=
   7370      lt_prog_compiler_can_build_shared=no
   7371 fi
   7372 
   7373 fi
   7374 case $host_os in
   7375   # For platforms which do not support PIC, -DPIC is meaningless:
   7376   *djgpp*)
   7377     lt_prog_compiler_pic=
   7378     ;;
   7379   *)
   7380     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7381     ;;
   7382 esac
   7383 
   7384 #
   7385 # Check to make sure the static flag actually works.
   7386 #
   7387 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7388 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7389 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7390 if test "${lt_prog_compiler_static_works+set}" = set; then
   7391   echo $ECHO_N "(cached) $ECHO_C" >&6
   7392 else
   7393   lt_prog_compiler_static_works=no
   7394    save_LDFLAGS="$LDFLAGS"
   7395    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7396    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   7397    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7398      # The linker can only warn and ignore the option if not recognized
   7399      # So say no if there are warnings
   7400      if test -s conftest.err; then
   7401        # Append any errors to the config.log.
   7402        cat conftest.err 1>&5
   7403        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7404        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7405        if diff conftest.exp conftest.er2 >/dev/null; then
   7406          lt_prog_compiler_static_works=yes
   7407        fi
   7408      else
   7409        lt_prog_compiler_static_works=yes
   7410      fi
   7411    fi
   7412    $rm conftest*
   7413    LDFLAGS="$save_LDFLAGS"
   7414 
   7415 fi
   7416 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7417 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7418 
   7419 if test x"$lt_prog_compiler_static_works" = xyes; then
   7420     :
   7421 else
   7422     lt_prog_compiler_static=
   7423 fi
   7424 
   7425 
   7426 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7427 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7428 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7429   echo $ECHO_N "(cached) $ECHO_C" >&6
   7430 else
   7431   lt_cv_prog_compiler_c_o=no
   7432    $rm -r conftest 2>/dev/null
   7433    mkdir conftest
   7434    cd conftest
   7435    mkdir out
   7436    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   7437 
   7438    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7439    # Insert the option either (1) after the last *FLAGS variable, or
   7440    # (2) before a word containing "conftest.", or (3) at the end.
   7441    # Note that $ac_compile itself does not contain backslashes and begins
   7442    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7443    lt_compile=`echo "$ac_compile" | $SED \
   7444    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7445    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7446    -e 's:$: $lt_compiler_flag:'`
   7447    (eval echo "\"\$as_me:7447: $lt_compile\"" >&5)
   7448    (eval "$lt_compile" 2>out/conftest.err)
   7449    ac_status=$?
   7450    cat out/conftest.err >&5
   7451    echo "$as_me:7451: \$? = $ac_status" >&5
   7452    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7453    then
   7454      # The compiler can only warn and ignore the option if not recognized
   7455      # So say no if there are warnings
   7456      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7457      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7458      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7459        lt_cv_prog_compiler_c_o=yes
   7460      fi
   7461    fi
   7462    chmod u+w . 2>&5
   7463    $rm conftest*
   7464    # SGI C++ compiler will create directory out/ii_files/ for
   7465    # template instantiation
   7466    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7467    $rm out/* && rmdir out
   7468    cd ..
   7469    rmdir conftest
   7470    $rm conftest*
   7471 
   7472 fi
   7473 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7474 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7475 
   7476 
   7477 hard_links="nottested"
   7478 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7479   # do not overwrite the value of need_locks provided by the user
   7480   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7481 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7482   hard_links=yes
   7483   $rm conftest*
   7484   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7485   touch conftest.a
   7486   ln conftest.a conftest.b 2>&5 || hard_links=no
   7487   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7488   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7489 echo "${ECHO_T}$hard_links" >&6; }
   7490   if test "$hard_links" = no; then
   7491     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7492 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7493     need_locks=warn
   7494   fi
   7495 else
   7496   need_locks=no
   7497 fi
   7498 
   7499 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7500 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7501 
   7502   runpath_var=
   7503   allow_undefined_flag=
   7504   enable_shared_with_static_runtimes=no
   7505   archive_cmds=
   7506   archive_expsym_cmds=
   7507   old_archive_From_new_cmds=
   7508   old_archive_from_expsyms_cmds=
   7509   export_dynamic_flag_spec=
   7510   whole_archive_flag_spec=
   7511   thread_safe_flag_spec=
   7512   hardcode_libdir_flag_spec=
   7513   hardcode_libdir_flag_spec_ld=
   7514   hardcode_libdir_separator=
   7515   hardcode_direct=no
   7516   hardcode_minus_L=no
   7517   hardcode_shlibpath_var=unsupported
   7518   link_all_deplibs=unknown
   7519   hardcode_automatic=no
   7520   module_cmds=
   7521   module_expsym_cmds=
   7522   always_export_symbols=no
   7523   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7524   # include_expsyms should be a list of space-separated symbols to be *always*
   7525   # included in the symbol list
   7526   include_expsyms=
   7527   # exclude_expsyms can be an extended regexp of symbols to exclude
   7528   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7529   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7530   # as well as any symbol that contains `d'.
   7531   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7532   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7533   # platforms (ab)use it in PIC code, but their linkers get confused if
   7534   # the symbol is explicitly referenced.  Since portable code cannot
   7535   # rely on this symbol name, it's probably fine to never include it in
   7536   # preloaded symbol tables.
   7537   extract_expsyms_cmds=
   7538   # Just being paranoid about ensuring that cc_basename is set.
   7539   for cc_temp in $compiler""; do
   7540   case $cc_temp in
   7541     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7542     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7543     \-*) ;;
   7544     *) break;;
   7545   esac
   7546 done
   7547 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7548 
   7549   case $host_os in
   7550   cygwin* | mingw* | pw32*)
   7551     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7552     # When not using gcc, we currently assume that we are using
   7553     # Microsoft Visual C++.
   7554     if test "$GCC" != yes; then
   7555       with_gnu_ld=no
   7556     fi
   7557     ;;
   7558   interix*)
   7559     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7560     with_gnu_ld=yes
   7561     ;;
   7562   openbsd*)
   7563     with_gnu_ld=no
   7564     ;;
   7565   esac
   7566 
   7567   ld_shlibs=yes
   7568   if test "$with_gnu_ld" = yes; then
   7569     # If archive_cmds runs LD, not CC, wlarc should be empty
   7570     wlarc='${wl}'
   7571 
   7572     # Set some defaults for GNU ld with shared library support. These
   7573     # are reset later if shared libraries are not supported. Putting them
   7574     # here allows them to be overridden if necessary.
   7575     runpath_var=LD_RUN_PATH
   7576     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7577     export_dynamic_flag_spec='${wl}--export-dynamic'
   7578     # ancient GNU ld didn't support --whole-archive et. al.
   7579     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7580 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7581       else
   7582   	whole_archive_flag_spec=
   7583     fi
   7584     supports_anon_versioning=no
   7585     case `$LD -v 2>/dev/null` in
   7586       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7587       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7588       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7589       *\ 2.11.*) ;; # other 2.11 versions
   7590       *) supports_anon_versioning=yes ;;
   7591     esac
   7592 
   7593     # See if GNU ld supports shared libraries.
   7594     case $host_os in
   7595     aix3* | aix4* | aix5*)
   7596       # On AIX/PPC, the GNU linker is very broken
   7597       if test "$host_cpu" != ia64; then
   7598 	ld_shlibs=no
   7599 	cat <<EOF 1>&2
   7600 
   7601 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7602 *** to be unable to reliably create shared libraries on AIX.
   7603 *** Therefore, libtool is disabling shared libraries support.  If you
   7604 *** really care for shared libraries, you may want to modify your PATH
   7605 *** so that a non-GNU linker is found, and then restart.
   7606 
   7607 EOF
   7608       fi
   7609       ;;
   7610 
   7611     amigaos*)
   7612       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)'
   7613       hardcode_libdir_flag_spec='-L$libdir'
   7614       hardcode_minus_L=yes
   7615 
   7616       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7617       # that the semantics of dynamic libraries on AmigaOS, at least up
   7618       # to version 4, is to share data among multiple programs linked
   7619       # with the same dynamic library.  Since this doesn't match the
   7620       # behavior of shared libraries on other platforms, we can't use
   7621       # them.
   7622       ld_shlibs=no
   7623       ;;
   7624 
   7625     beos*)
   7626       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7627 	allow_undefined_flag=unsupported
   7628 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7629 	# support --undefined.  This deserves some investigation.  FIXME
   7630 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7631       else
   7632 	ld_shlibs=no
   7633       fi
   7634       ;;
   7635 
   7636     cygwin* | mingw* | pw32*)
   7637       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7638       # as there is no search path for DLLs.
   7639       hardcode_libdir_flag_spec='-L$libdir'
   7640       allow_undefined_flag=unsupported
   7641       always_export_symbols=no
   7642       enable_shared_with_static_runtimes=yes
   7643       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   7644 
   7645       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   7646         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7647 	# If the export-symbols file already is a .def file (1st line
   7648 	# is EXPORTS), use it as is; otherwise, prepend...
   7649 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7650 	  cp $export_symbols $output_objdir/$soname.def;
   7651 	else
   7652 	  echo EXPORTS > $output_objdir/$soname.def;
   7653 	  cat $export_symbols >> $output_objdir/$soname.def;
   7654 	fi~
   7655 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7656       else
   7657 	ld_shlibs=no
   7658       fi
   7659       ;;
   7660 
   7661     interix3*)
   7662       hardcode_direct=no
   7663       hardcode_shlibpath_var=no
   7664       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7665       export_dynamic_flag_spec='${wl}-E'
   7666       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7667       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7668       # default) and relocated if they conflict, which is a slow very memory
   7669       # consuming and fragmenting process.  To avoid this, we pick a random,
   7670       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7671       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7672       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7673       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'
   7674       ;;
   7675 
   7676     linux*)
   7677       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7678 	tmp_addflag=
   7679 	case $cc_basename,$host_cpu in
   7680 	pgcc*)				# Portland Group C compiler
   7681 	  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'
   7682 	  tmp_addflag=' $pic_flag'
   7683 	  ;;
   7684 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7685 	  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'
   7686 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7687 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   7688 	  tmp_addflag=' -i_dynamic' ;;
   7689 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7690 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7691 	ifc* | ifort*)			# Intel Fortran compiler
   7692 	  tmp_addflag=' -nofor_main' ;;
   7693 	esac
   7694 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7695 
   7696 	if test $supports_anon_versioning = yes; then
   7697 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   7698   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7699   $echo "local: *; };" >> $output_objdir/$libname.ver~
   7700 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7701 	fi
   7702       else
   7703 	ld_shlibs=no
   7704       fi
   7705       ;;
   7706 
   7707     netbsd*)
   7708       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   7709 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7710 	wlarc=
   7711       else
   7712 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7713 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7714       fi
   7715       ;;
   7716 
   7717     solaris*)
   7718       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   7719 	ld_shlibs=no
   7720 	cat <<EOF 1>&2
   7721 
   7722 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   7723 *** create shared libraries on Solaris systems.  Therefore, libtool
   7724 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7725 *** binutils to release 2.9.1 or newer.  Another option is to modify
   7726 *** your PATH or compiler configuration so that the native linker is
   7727 *** used, and then restart.
   7728 
   7729 EOF
   7730       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7731 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7732 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7733       else
   7734 	ld_shlibs=no
   7735       fi
   7736       ;;
   7737 
   7738     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   7739       case `$LD -v 2>&1` in
   7740         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   7741 	ld_shlibs=no
   7742 	cat <<_LT_EOF 1>&2
   7743 
   7744 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   7745 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   7746 *** is disabling shared libraries support.  We urge you to upgrade GNU
   7747 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   7748 *** your PATH or compiler configuration so that the native linker is
   7749 *** used, and then restart.
   7750 
   7751 _LT_EOF
   7752 	;;
   7753 	*)
   7754 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7755 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   7756 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   7757 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   7758 	  else
   7759 	    ld_shlibs=no
   7760 	  fi
   7761 	;;
   7762       esac
   7763       ;;
   7764 
   7765     sunos4*)
   7766       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   7767       wlarc=
   7768       hardcode_direct=yes
   7769       hardcode_shlibpath_var=no
   7770       ;;
   7771 
   7772     *)
   7773       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   7774 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7775 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   7776       else
   7777 	ld_shlibs=no
   7778       fi
   7779       ;;
   7780     esac
   7781 
   7782     if test "$ld_shlibs" = no; then
   7783       runpath_var=
   7784       hardcode_libdir_flag_spec=
   7785       export_dynamic_flag_spec=
   7786       whole_archive_flag_spec=
   7787     fi
   7788   else
   7789     # PORTME fill in a description of your system's linker (not GNU ld)
   7790     case $host_os in
   7791     aix3*)
   7792       allow_undefined_flag=unsupported
   7793       always_export_symbols=yes
   7794       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'
   7795       # Note: this linker hardcodes the directories in LIBPATH if there
   7796       # are no directories specified by -L.
   7797       hardcode_minus_L=yes
   7798       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   7799 	# Neither direct hardcoding nor static linking is supported with a
   7800 	# broken collect2.
   7801 	hardcode_direct=unsupported
   7802       fi
   7803       ;;
   7804 
   7805     aix4* | aix5*)
   7806       if test "$host_cpu" = ia64; then
   7807 	# On IA64, the linker does run time linking by default, so we don't
   7808 	# have to do anything special.
   7809 	aix_use_runtimelinking=no
   7810 	exp_sym_flag='-Bexport'
   7811 	no_entry_flag=""
   7812       else
   7813 	# If we're using GNU nm, then we don't want the "-C" option.
   7814 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   7815 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   7816 	  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'
   7817 	else
   7818 	  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'
   7819 	fi
   7820 	aix_use_runtimelinking=no
   7821 
   7822 	# Test if we are trying to use run time linking or normal
   7823 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   7824 	# need to do runtime linking.
   7825 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   7826 	  for ld_flag in $LDFLAGS; do
   7827   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   7828   	    aix_use_runtimelinking=yes
   7829   	    break
   7830   	  fi
   7831 	  done
   7832 	  ;;
   7833 	esac
   7834 
   7835 	exp_sym_flag='-bexport'
   7836 	no_entry_flag='-bnoentry'
   7837       fi
   7838 
   7839       # When large executables or shared objects are built, AIX ld can
   7840       # have problems creating the table of contents.  If linking a library
   7841       # or program results in "error TOC overflow" add -mminimal-toc to
   7842       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   7843       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   7844 
   7845       archive_cmds=''
   7846       hardcode_direct=yes
   7847       hardcode_libdir_separator=':'
   7848       link_all_deplibs=yes
   7849 
   7850       if test "$GCC" = yes; then
   7851 	case $host_os in aix4.[012]|aix4.[012].*)
   7852 	# We only want to do this on AIX 4.2 and lower, the check
   7853 	# below for broken collect2 doesn't work under 4.3+
   7854 	  collect2name=`${CC} -print-prog-name=collect2`
   7855 	  if test -f "$collect2name" && \
   7856   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   7857 	  then
   7858   	  # We have reworked collect2
   7859   	  hardcode_direct=yes
   7860 	  else
   7861   	  # We have old collect2
   7862   	  hardcode_direct=unsupported
   7863   	  # It fails to find uninstalled libraries when the uninstalled
   7864   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   7865   	  # to unsupported forces relinking
   7866   	  hardcode_minus_L=yes
   7867   	  hardcode_libdir_flag_spec='-L$libdir'
   7868   	  hardcode_libdir_separator=
   7869 	  fi
   7870 	  ;;
   7871 	esac
   7872 	shared_flag='-shared'
   7873 	if test "$aix_use_runtimelinking" = yes; then
   7874 	  shared_flag="$shared_flag "'${wl}-G'
   7875 	fi
   7876       else
   7877 	# not using gcc
   7878 	if test "$host_cpu" = ia64; then
   7879   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   7880   	# chokes on -Wl,-G. The following line is correct:
   7881 	  shared_flag='-G'
   7882 	else
   7883 	  if test "$aix_use_runtimelinking" = yes; then
   7884 	    shared_flag='${wl}-G'
   7885 	  else
   7886 	    shared_flag='${wl}-bM:SRE'
   7887 	  fi
   7888 	fi
   7889       fi
   7890 
   7891       # It seems that -bexpall does not export symbols beginning with
   7892       # underscore (_), so it is better to generate a list of symbols to export.
   7893       always_export_symbols=yes
   7894       if test "$aix_use_runtimelinking" = yes; then
   7895 	# Warning - without using the other runtime loading flags (-brtl),
   7896 	# -berok will link without error, but may produce a broken library.
   7897 	allow_undefined_flag='-berok'
   7898        # Determine the default libpath from the value encoded in an empty executable.
   7899        cat >conftest.$ac_ext <<_ACEOF
   7900 /* confdefs.h.  */
   7901 _ACEOF
   7902 cat confdefs.h >>conftest.$ac_ext
   7903 cat >>conftest.$ac_ext <<_ACEOF
   7904 /* end confdefs.h.  */
   7905 
   7906 int
   7907 main ()
   7908 {
   7909 
   7910   ;
   7911   return 0;
   7912 }
   7913 _ACEOF
   7914 rm -f conftest.$ac_objext conftest$ac_exeext
   7915 if { (ac_try="$ac_link"
   7916 case "(($ac_try" in
   7917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7918   *) ac_try_echo=$ac_try;;
   7919 esac
   7920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7921   (eval "$ac_link") 2>conftest.er1
   7922   ac_status=$?
   7923   grep -v '^ *+' conftest.er1 >conftest.err
   7924   rm -f conftest.er1
   7925   cat conftest.err >&5
   7926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7927   (exit $ac_status); } && {
   7928 	 test -z "$ac_c_werror_flag" ||
   7929 	 test ! -s conftest.err
   7930        } && test -s conftest$ac_exeext &&
   7931        $as_test_x conftest$ac_exeext; then
   7932 
   7933 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7934 }'`
   7935 # Check for a 64-bit object if we didn't find anything.
   7936 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; }
   7937 }'`; fi
   7938 else
   7939   echo "$as_me: failed program was:" >&5
   7940 sed 's/^/| /' conftest.$ac_ext >&5
   7941 
   7942 
   7943 fi
   7944 
   7945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7946       conftest$ac_exeext conftest.$ac_ext
   7947 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   7948 
   7949        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   7950 	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"
   7951        else
   7952 	if test "$host_cpu" = ia64; then
   7953 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   7954 	  allow_undefined_flag="-z nodefs"
   7955 	  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"
   7956 	else
   7957 	 # Determine the default libpath from the value encoded in an empty executable.
   7958 	 cat >conftest.$ac_ext <<_ACEOF
   7959 /* confdefs.h.  */
   7960 _ACEOF
   7961 cat confdefs.h >>conftest.$ac_ext
   7962 cat >>conftest.$ac_ext <<_ACEOF
   7963 /* end confdefs.h.  */
   7964 
   7965 int
   7966 main ()
   7967 {
   7968 
   7969   ;
   7970   return 0;
   7971 }
   7972 _ACEOF
   7973 rm -f conftest.$ac_objext conftest$ac_exeext
   7974 if { (ac_try="$ac_link"
   7975 case "(($ac_try" in
   7976   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7977   *) ac_try_echo=$ac_try;;
   7978 esac
   7979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7980   (eval "$ac_link") 2>conftest.er1
   7981   ac_status=$?
   7982   grep -v '^ *+' conftest.er1 >conftest.err
   7983   rm -f conftest.er1
   7984   cat conftest.err >&5
   7985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7986   (exit $ac_status); } && {
   7987 	 test -z "$ac_c_werror_flag" ||
   7988 	 test ! -s conftest.err
   7989        } && test -s conftest$ac_exeext &&
   7990        $as_test_x conftest$ac_exeext; then
   7991 
   7992 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   7993 }'`
   7994 # Check for a 64-bit object if we didn't find anything.
   7995 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; }
   7996 }'`; fi
   7997 else
   7998   echo "$as_me: failed program was:" >&5
   7999 sed 's/^/| /' conftest.$ac_ext >&5
   8000 
   8001 
   8002 fi
   8003 
   8004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8005       conftest$ac_exeext conftest.$ac_ext
   8006 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8007 
   8008 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8009 	  # Warning - without using the other run time loading flags,
   8010 	  # -berok will link without error, but may produce a broken library.
   8011 	  no_undefined_flag=' ${wl}-bernotok'
   8012 	  allow_undefined_flag=' ${wl}-berok'
   8013 	  # Exported symbols can be pulled into shared objects from archives
   8014 	  whole_archive_flag_spec='$convenience'
   8015 	  archive_cmds_need_lc=yes
   8016 	  # This is similar to how AIX traditionally builds its shared libraries.
   8017 	  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'
   8018 	fi
   8019       fi
   8020       ;;
   8021 
   8022     amigaos*)
   8023       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)'
   8024       hardcode_libdir_flag_spec='-L$libdir'
   8025       hardcode_minus_L=yes
   8026       # see comment about different semantics on the GNU ld section
   8027       ld_shlibs=no
   8028       ;;
   8029 
   8030     bsdi[45]*)
   8031       export_dynamic_flag_spec=-rdynamic
   8032       ;;
   8033 
   8034     cygwin* | mingw* | pw32*)
   8035       # When not using gcc, we currently assume that we are using
   8036       # Microsoft Visual C++.
   8037       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8038       # no search path for DLLs.
   8039       hardcode_libdir_flag_spec=' '
   8040       allow_undefined_flag=unsupported
   8041       # Tell ltmain to make .lib files, not .a files.
   8042       libext=lib
   8043       # Tell ltmain to make .dll files, not .so files.
   8044       shrext_cmds=".dll"
   8045       # FIXME: Setting linknames here is a bad hack.
   8046       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8047       # The linker will automatically build a .lib file if we build a DLL.
   8048       old_archive_From_new_cmds='true'
   8049       # FIXME: Should let the user specify the lib program.
   8050       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
   8051       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8052       enable_shared_with_static_runtimes=yes
   8053       ;;
   8054 
   8055     darwin* | rhapsody*)
   8056       case $host_os in
   8057         rhapsody* | darwin1.[012])
   8058          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8059          ;;
   8060        *) # Darwin 1.3 on
   8061          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8062            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8063          else
   8064            case ${MACOSX_DEPLOYMENT_TARGET} in
   8065              10.[012])
   8066                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8067                ;;
   8068              10.*)
   8069                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8070                ;;
   8071            esac
   8072          fi
   8073          ;;
   8074       esac
   8075       archive_cmds_need_lc=no
   8076       hardcode_direct=no
   8077       hardcode_automatic=yes
   8078       hardcode_shlibpath_var=unsupported
   8079       whole_archive_flag_spec=''
   8080       link_all_deplibs=yes
   8081     if test "$GCC" = yes ; then
   8082     	output_verbose_link_cmd='echo'
   8083         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8084       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8085       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8086       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}'
   8087       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}'
   8088     else
   8089       case $cc_basename in
   8090         xlc*)
   8091          output_verbose_link_cmd='echo'
   8092          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   8093          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8094           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8095          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}'
   8096           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}'
   8097           ;;
   8098        *)
   8099          ld_shlibs=no
   8100           ;;
   8101       esac
   8102     fi
   8103       ;;
   8104 
   8105     dgux*)
   8106       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8107       hardcode_libdir_flag_spec='-L$libdir'
   8108       hardcode_shlibpath_var=no
   8109       ;;
   8110 
   8111     freebsd1*)
   8112       ld_shlibs=no
   8113       ;;
   8114 
   8115     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8116     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8117     # does not break anything, and helps significantly (at the cost of a little
   8118     # extra space).
   8119     freebsd2.2*)
   8120       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8121       hardcode_libdir_flag_spec='-R$libdir'
   8122       hardcode_direct=yes
   8123       hardcode_shlibpath_var=no
   8124       ;;
   8125 
   8126     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8127     freebsd2*)
   8128       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8129       hardcode_direct=yes
   8130       hardcode_minus_L=yes
   8131       hardcode_shlibpath_var=no
   8132       ;;
   8133 
   8134     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8135     freebsd* | kfreebsd*-gnu | dragonfly*)
   8136       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8137       hardcode_libdir_flag_spec='-R$libdir'
   8138       hardcode_direct=yes
   8139       hardcode_shlibpath_var=no
   8140       ;;
   8141 
   8142     hpux9*)
   8143       if test "$GCC" = yes; then
   8144 	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'
   8145       else
   8146 	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'
   8147       fi
   8148       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8149       hardcode_libdir_separator=:
   8150       hardcode_direct=yes
   8151 
   8152       # hardcode_minus_L: Not really in the search PATH,
   8153       # but as the default location of the library.
   8154       hardcode_minus_L=yes
   8155       export_dynamic_flag_spec='${wl}-E'
   8156       ;;
   8157 
   8158     hpux10*)
   8159       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8160 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8161       else
   8162 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8163       fi
   8164       if test "$with_gnu_ld" = no; then
   8165 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8166 	hardcode_libdir_separator=:
   8167 
   8168 	hardcode_direct=yes
   8169 	export_dynamic_flag_spec='${wl}-E'
   8170 
   8171 	# hardcode_minus_L: Not really in the search PATH,
   8172 	# but as the default location of the library.
   8173 	hardcode_minus_L=yes
   8174       fi
   8175       ;;
   8176 
   8177     hpux11*)
   8178       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8179 	case $host_cpu in
   8180 	hppa*64*)
   8181 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8182 	  ;;
   8183 	ia64*)
   8184 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8185 	  ;;
   8186 	*)
   8187 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8188 	  ;;
   8189 	esac
   8190       else
   8191 	case $host_cpu in
   8192 	hppa*64*)
   8193 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8194 	  ;;
   8195 	ia64*)
   8196 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8197 	  ;;
   8198 	*)
   8199 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8200 	  ;;
   8201 	esac
   8202       fi
   8203       if test "$with_gnu_ld" = no; then
   8204 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8205 	hardcode_libdir_separator=:
   8206 
   8207 	case $host_cpu in
   8208 	hppa*64*|ia64*)
   8209 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8210 	  hardcode_direct=no
   8211 	  hardcode_shlibpath_var=no
   8212 	  ;;
   8213 	*)
   8214 	  hardcode_direct=yes
   8215 	  export_dynamic_flag_spec='${wl}-E'
   8216 
   8217 	  # hardcode_minus_L: Not really in the search PATH,
   8218 	  # but as the default location of the library.
   8219 	  hardcode_minus_L=yes
   8220 	  ;;
   8221 	esac
   8222       fi
   8223       ;;
   8224 
   8225     irix5* | irix6* | nonstopux*)
   8226       if test "$GCC" = yes; then
   8227 	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'
   8228       else
   8229 	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'
   8230 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8231       fi
   8232       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8233       hardcode_libdir_separator=:
   8234       link_all_deplibs=yes
   8235       ;;
   8236 
   8237     netbsd*)
   8238       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8239 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8240       else
   8241 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8242       fi
   8243       hardcode_libdir_flag_spec='-R$libdir'
   8244       hardcode_direct=yes
   8245       hardcode_shlibpath_var=no
   8246       ;;
   8247 
   8248     newsos6)
   8249       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8250       hardcode_direct=yes
   8251       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8252       hardcode_libdir_separator=:
   8253       hardcode_shlibpath_var=no
   8254       ;;
   8255 
   8256     openbsd*)
   8257       hardcode_direct=yes
   8258       hardcode_shlibpath_var=no
   8259       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8260 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8261 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8262 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8263 	export_dynamic_flag_spec='${wl}-E'
   8264       else
   8265        case $host_os in
   8266 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8267 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8268 	   hardcode_libdir_flag_spec='-R$libdir'
   8269 	   ;;
   8270 	 *)
   8271 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8272 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8273 	   ;;
   8274        esac
   8275       fi
   8276       ;;
   8277 
   8278     os2*)
   8279       hardcode_libdir_flag_spec='-L$libdir'
   8280       hardcode_minus_L=yes
   8281       allow_undefined_flag=unsupported
   8282       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'
   8283       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8284       ;;
   8285 
   8286     osf3*)
   8287       if test "$GCC" = yes; then
   8288 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8289 	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'
   8290       else
   8291 	allow_undefined_flag=' -expect_unresolved \*'
   8292 	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'
   8293       fi
   8294       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8295       hardcode_libdir_separator=:
   8296       ;;
   8297 
   8298     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8299       if test "$GCC" = yes; then
   8300 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8301 	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'
   8302 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8303       else
   8304 	allow_undefined_flag=' -expect_unresolved \*'
   8305 	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'
   8306 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8307 	$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'
   8308 
   8309 	# Both c and cxx compiler support -rpath directly
   8310 	hardcode_libdir_flag_spec='-rpath $libdir'
   8311       fi
   8312       hardcode_libdir_separator=:
   8313       ;;
   8314 
   8315     solaris*)
   8316       no_undefined_flag=' -z text'
   8317       if test "$GCC" = yes; then
   8318 	wlarc='${wl}'
   8319 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8320 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8321 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8322       else
   8323 	wlarc=''
   8324 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8325 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8326   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8327       fi
   8328       hardcode_libdir_flag_spec='-R$libdir'
   8329       hardcode_shlibpath_var=no
   8330       case $host_os in
   8331       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8332       *)
   8333  	# The compiler driver will combine linker options so we
   8334  	# cannot just pass the convience library names through
   8335  	# without $wl, iff we do not link with $LD.
   8336  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   8337  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8338  	case $wlarc in
   8339  	'')
   8340  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
   8341  	*)
   8342  	  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' ;;
   8343  	esac ;;
   8344       esac
   8345       link_all_deplibs=yes
   8346       ;;
   8347 
   8348     sunos4*)
   8349       if test "x$host_vendor" = xsequent; then
   8350 	# Use $CC to link under sequent, because it throws in some extra .o
   8351 	# files that make .init and .fini sections work.
   8352 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8353       else
   8354 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8355       fi
   8356       hardcode_libdir_flag_spec='-L$libdir'
   8357       hardcode_direct=yes
   8358       hardcode_minus_L=yes
   8359       hardcode_shlibpath_var=no
   8360       ;;
   8361 
   8362     sysv4)
   8363       case $host_vendor in
   8364 	sni)
   8365 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8366 	  hardcode_direct=yes # is this really true???
   8367 	;;
   8368 	siemens)
   8369 	  ## LD is ld it makes a PLAMLIB
   8370 	  ## CC just makes a GrossModule.
   8371 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8372 	  reload_cmds='$CC -r -o $output$reload_objs'
   8373 	  hardcode_direct=no
   8374         ;;
   8375 	motorola)
   8376 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8377 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8378 	;;
   8379       esac
   8380       runpath_var='LD_RUN_PATH'
   8381       hardcode_shlibpath_var=no
   8382       ;;
   8383 
   8384     sysv4.3*)
   8385       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8386       hardcode_shlibpath_var=no
   8387       export_dynamic_flag_spec='-Bexport'
   8388       ;;
   8389 
   8390     sysv4*MP*)
   8391       if test -d /usr/nec; then
   8392 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8393 	hardcode_shlibpath_var=no
   8394 	runpath_var=LD_RUN_PATH
   8395 	hardcode_runpath_var=yes
   8396 	ld_shlibs=yes
   8397       fi
   8398       ;;
   8399 
   8400     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   8401       no_undefined_flag='${wl}-z,text'
   8402       archive_cmds_need_lc=no
   8403       hardcode_shlibpath_var=no
   8404       runpath_var='LD_RUN_PATH'
   8405 
   8406       if test "$GCC" = yes; then
   8407 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8408 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8409       else
   8410 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8411 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8412       fi
   8413       ;;
   8414 
   8415     sysv5* | sco3.2v5* | sco5v6*)
   8416       # Note: We can NOT use -z defs as we might desire, because we do not
   8417       # link with -lc, and that would cause any symbols used from libc to
   8418       # always be unresolved, which means just about no library would
   8419       # ever link correctly.  If we're not using GNU ld we use -z text
   8420       # though, which does catch some bad symbols but isn't as heavy-handed
   8421       # as -z defs.
   8422       no_undefined_flag='${wl}-z,text'
   8423       allow_undefined_flag='${wl}-z,nodefs'
   8424       archive_cmds_need_lc=no
   8425       hardcode_shlibpath_var=no
   8426       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8427       hardcode_libdir_separator=':'
   8428       link_all_deplibs=yes
   8429       export_dynamic_flag_spec='${wl}-Bexport'
   8430       runpath_var='LD_RUN_PATH'
   8431 
   8432       if test "$GCC" = yes; then
   8433 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8434 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8435       else
   8436 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8437 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8438       fi
   8439       ;;
   8440 
   8441     uts4*)
   8442       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8443       hardcode_libdir_flag_spec='-L$libdir'
   8444       hardcode_shlibpath_var=no
   8445       ;;
   8446 
   8447     *)
   8448       ld_shlibs=no
   8449       ;;
   8450     esac
   8451   fi
   8452 
   8453 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8454 echo "${ECHO_T}$ld_shlibs" >&6; }
   8455 test "$ld_shlibs" = no && can_build_shared=no
   8456 
   8457 #
   8458 # Do we need to explicitly link libc?
   8459 #
   8460 case "x$archive_cmds_need_lc" in
   8461 x|xyes)
   8462   # Assume -lc should be added
   8463   archive_cmds_need_lc=yes
   8464 
   8465   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8466     case $archive_cmds in
   8467     *'~'*)
   8468       # FIXME: we may have to deal with multi-command sequences.
   8469       ;;
   8470     '$CC '*)
   8471       # Test whether the compiler implicitly links with -lc since on some
   8472       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8473       # to ld, don't add -lc before -lgcc.
   8474       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8475 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   8476       $rm conftest*
   8477       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   8478 
   8479       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8480   (eval $ac_compile) 2>&5
   8481   ac_status=$?
   8482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8483   (exit $ac_status); } 2>conftest.err; then
   8484         soname=conftest
   8485         lib=conftest
   8486         libobjs=conftest.$ac_objext
   8487         deplibs=
   8488         wl=$lt_prog_compiler_wl
   8489 	pic_flag=$lt_prog_compiler_pic
   8490         compiler_flags=-v
   8491         linker_flags=-v
   8492         verstring=
   8493         output_objdir=.
   8494         libname=conftest
   8495         lt_save_allow_undefined_flag=$allow_undefined_flag
   8496         allow_undefined_flag=
   8497         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8498   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8499   ac_status=$?
   8500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8501   (exit $ac_status); }
   8502         then
   8503 	  archive_cmds_need_lc=no
   8504         else
   8505 	  archive_cmds_need_lc=yes
   8506         fi
   8507         allow_undefined_flag=$lt_save_allow_undefined_flag
   8508       else
   8509         cat conftest.err 1>&5
   8510       fi
   8511       $rm conftest*
   8512       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8513 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
   8514       ;;
   8515     esac
   8516   fi
   8517   ;;
   8518 esac
   8519 
   8520 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8521 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8522 library_names_spec=
   8523 libname_spec='lib$name'
   8524 soname_spec=
   8525 shrext_cmds=".so"
   8526 postinstall_cmds=
   8527 postuninstall_cmds=
   8528 finish_cmds=
   8529 finish_eval=
   8530 shlibpath_var=
   8531 shlibpath_overrides_runpath=unknown
   8532 version_type=none
   8533 dynamic_linker="$host_os ld.so"
   8534 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8535 if test "$GCC" = yes; then
   8536   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8537   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   8538     # if the path contains ";" then we assume it to be the separator
   8539     # otherwise default to the standard path separator (i.e. ":") - it is
   8540     # assumed that no part of a normal pathname contains ";" but that should
   8541     # okay in the real world where ";" in dirpaths is itself problematic.
   8542     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8543   else
   8544     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8545   fi
   8546 else
   8547   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8548 fi
   8549 need_lib_prefix=unknown
   8550 hardcode_into_libs=no
   8551 
   8552 # when you set need_version to no, make sure it does not cause -set_version
   8553 # flags to be left without arguments
   8554 need_version=unknown
   8555 
   8556 case $host_os in
   8557 aix3*)
   8558   version_type=linux
   8559   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8560   shlibpath_var=LIBPATH
   8561 
   8562   # AIX 3 has no versioning support, so we append a major version to the name.
   8563   soname_spec='${libname}${release}${shared_ext}$major'
   8564   ;;
   8565 
   8566 aix4* | aix5*)
   8567   version_type=linux
   8568   need_lib_prefix=no
   8569   need_version=no
   8570   hardcode_into_libs=yes
   8571   if test "$host_cpu" = ia64; then
   8572     # AIX 5 supports IA64
   8573     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8574     shlibpath_var=LD_LIBRARY_PATH
   8575   else
   8576     # With GCC up to 2.95.x, collect2 would create an import file
   8577     # for dependence libraries.  The import file would start with
   8578     # the line `#! .'.  This would cause the generated library to
   8579     # depend on `.', always an invalid library.  This was fixed in
   8580     # development snapshots of GCC prior to 3.0.
   8581     case $host_os in
   8582       aix4 | aix4.[01] | aix4.[01].*)
   8583       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8584 	   echo ' yes '
   8585 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8586 	:
   8587       else
   8588 	can_build_shared=no
   8589       fi
   8590       ;;
   8591     esac
   8592     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8593     # soname into executable. Probably we can add versioning support to
   8594     # collect2, so additional links can be useful in future.
   8595     if test "$aix_use_runtimelinking" = yes; then
   8596       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8597       # instead of lib<name>.a to let people know that these are not
   8598       # typical AIX shared libraries.
   8599       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8600     else
   8601       # We preserve .a as extension for shared libraries through AIX4.2
   8602       # and later when we are not doing run time linking.
   8603       library_names_spec='${libname}${release}.a $libname.a'
   8604       soname_spec='${libname}${release}${shared_ext}$major'
   8605     fi
   8606     shlibpath_var=LIBPATH
   8607   fi
   8608   ;;
   8609 
   8610 amigaos*)
   8611   library_names_spec='$libname.ixlibrary $libname.a'
   8612   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   8613   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'
   8614   ;;
   8615 
   8616 beos*)
   8617   library_names_spec='${libname}${shared_ext}'
   8618   dynamic_linker="$host_os ld.so"
   8619   shlibpath_var=LIBRARY_PATH
   8620   ;;
   8621 
   8622 bsdi[45]*)
   8623   version_type=linux
   8624   need_version=no
   8625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8626   soname_spec='${libname}${release}${shared_ext}$major'
   8627   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   8628   shlibpath_var=LD_LIBRARY_PATH
   8629   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   8630   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   8631   # the default ld.so.conf also contains /usr/contrib/lib and
   8632   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   8633   # libtool to hard-code these into programs
   8634   ;;
   8635 
   8636 cygwin* | mingw* | pw32*)
   8637   version_type=windows
   8638   shrext_cmds=".dll"
   8639   need_version=no
   8640   need_lib_prefix=no
   8641 
   8642   case $GCC,$host_os in
   8643   yes,cygwin* | yes,mingw* | yes,pw32*)
   8644     library_names_spec='$libname.dll.a'
   8645     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   8646     postinstall_cmds='base_file=`basename \${file}`~
   8647       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   8648       dldir=$destdir/`dirname \$dlpath`~
   8649       test -d \$dldir || mkdir -p \$dldir~
   8650       $install_prog $dir/$dlname \$dldir/$dlname~
   8651       chmod a+x \$dldir/$dlname'
   8652     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   8653       dlpath=$dir/\$dldll~
   8654        $rm \$dlpath'
   8655     shlibpath_overrides_runpath=yes
   8656 
   8657     case $host_os in
   8658     cygwin*)
   8659       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   8660       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8661       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   8662       ;;
   8663     mingw*)
   8664       # MinGW DLLs use traditional 'lib' prefix
   8665       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8666       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8667       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   8668         # It is most probably a Windows format PATH printed by
   8669         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   8670         # path with ; separators, and with drive letters. We can handle the
   8671         # drive letters (cygwin fileutils understands them), so leave them,
   8672         # especially as we might pass files found there to a mingw objdump,
   8673         # which wouldn't understand a cygwinified path. Ahh.
   8674         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8675       else
   8676         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8677       fi
   8678       ;;
   8679     pw32*)
   8680       # pw32 DLLs use 'pw' prefix rather than 'lib'
   8681       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8682       ;;
   8683     esac
   8684     ;;
   8685 
   8686   *)
   8687     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8688     ;;
   8689   esac
   8690   dynamic_linker='Win32 ld.exe'
   8691   # FIXME: first we should search . and the directory the executable is in
   8692   shlibpath_var=PATH
   8693   ;;
   8694 
   8695 darwin* | rhapsody*)
   8696   dynamic_linker="$host_os dyld"
   8697   version_type=darwin
   8698   need_lib_prefix=no
   8699   need_version=no
   8700   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8701   soname_spec='${libname}${release}${major}$shared_ext'
   8702   shlibpath_overrides_runpath=yes
   8703   shlibpath_var=DYLD_LIBRARY_PATH
   8704   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   8705   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   8706   if test "$GCC" = yes; then
   8707     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"`
   8708   else
   8709     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   8710   fi
   8711   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8712   ;;
   8713 
   8714 dgux*)
   8715   version_type=linux
   8716   need_lib_prefix=no
   8717   need_version=no
   8718   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8719   soname_spec='${libname}${release}${shared_ext}$major'
   8720   shlibpath_var=LD_LIBRARY_PATH
   8721   ;;
   8722 
   8723 freebsd1*)
   8724   dynamic_linker=no
   8725   ;;
   8726 
   8727 kfreebsd*-gnu)
   8728   version_type=linux
   8729   need_lib_prefix=no
   8730   need_version=no
   8731   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8732   soname_spec='${libname}${release}${shared_ext}$major'
   8733   shlibpath_var=LD_LIBRARY_PATH
   8734   shlibpath_overrides_runpath=no
   8735   hardcode_into_libs=yes
   8736   dynamic_linker='GNU ld.so'
   8737   ;;
   8738 
   8739 freebsd* | dragonfly*)
   8740   # DragonFly does not have aout.  When/if they implement a new
   8741   # versioning mechanism, adjust this.
   8742   if test -x /usr/bin/objformat; then
   8743     objformat=`/usr/bin/objformat`
   8744   else
   8745     case $host_os in
   8746     freebsd[123]*) objformat=aout ;;
   8747     *) objformat=elf ;;
   8748     esac
   8749   fi
   8750   version_type=freebsd-$objformat
   8751   case $version_type in
   8752     freebsd-elf*)
   8753       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8754       need_version=no
   8755       need_lib_prefix=no
   8756       ;;
   8757     freebsd-*)
   8758       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8759       need_version=yes
   8760       ;;
   8761   esac
   8762   shlibpath_var=LD_LIBRARY_PATH
   8763   case $host_os in
   8764   freebsd2*)
   8765     shlibpath_overrides_runpath=yes
   8766     ;;
   8767   freebsd3.[01]* | freebsdelf3.[01]*)
   8768     shlibpath_overrides_runpath=yes
   8769     hardcode_into_libs=yes
   8770     ;;
   8771   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8772   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8773     shlibpath_overrides_runpath=no
   8774     hardcode_into_libs=yes
   8775     ;;
   8776   freebsd*) # from 4.6 on
   8777     shlibpath_overrides_runpath=yes
   8778     hardcode_into_libs=yes
   8779     ;;
   8780   esac
   8781   ;;
   8782 
   8783 gnu*)
   8784   version_type=linux
   8785   need_lib_prefix=no
   8786   need_version=no
   8787   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8788   soname_spec='${libname}${release}${shared_ext}$major'
   8789   shlibpath_var=LD_LIBRARY_PATH
   8790   hardcode_into_libs=yes
   8791   ;;
   8792 
   8793 hpux9* | hpux10* | hpux11*)
   8794   # Give a soname corresponding to the major version so that dld.sl refuses to
   8795   # link against other versions.
   8796   version_type=sunos
   8797   need_lib_prefix=no
   8798   need_version=no
   8799   case $host_cpu in
   8800   ia64*)
   8801     shrext_cmds='.so'
   8802     hardcode_into_libs=yes
   8803     dynamic_linker="$host_os dld.so"
   8804     shlibpath_var=LD_LIBRARY_PATH
   8805     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8806     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8807     soname_spec='${libname}${release}${shared_ext}$major'
   8808     if test "X$HPUX_IA64_MODE" = X32; then
   8809       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8810     else
   8811       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8812     fi
   8813     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8814     ;;
   8815    hppa*64*)
   8816      shrext_cmds='.sl'
   8817      hardcode_into_libs=yes
   8818      dynamic_linker="$host_os dld.sl"
   8819      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8820      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8821      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8822      soname_spec='${libname}${release}${shared_ext}$major'
   8823      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   8824      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8825      ;;
   8826    *)
   8827     shrext_cmds='.sl'
   8828     dynamic_linker="$host_os dld.sl"
   8829     shlibpath_var=SHLIB_PATH
   8830     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   8831     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8832     soname_spec='${libname}${release}${shared_ext}$major'
   8833     ;;
   8834   esac
   8835   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   8836   postinstall_cmds='chmod 555 $lib'
   8837   ;;
   8838 
   8839 interix3*)
   8840   version_type=linux
   8841   need_lib_prefix=no
   8842   need_version=no
   8843   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8844   soname_spec='${libname}${release}${shared_ext}$major'
   8845   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   8846   shlibpath_var=LD_LIBRARY_PATH
   8847   shlibpath_overrides_runpath=no
   8848   hardcode_into_libs=yes
   8849   ;;
   8850 
   8851 irix5* | irix6* | nonstopux*)
   8852   case $host_os in
   8853     nonstopux*) version_type=nonstopux ;;
   8854     *)
   8855 	if test "$lt_cv_prog_gnu_ld" = yes; then
   8856 		version_type=linux
   8857 	else
   8858 		version_type=irix
   8859 	fi ;;
   8860   esac
   8861   need_lib_prefix=no
   8862   need_version=no
   8863   soname_spec='${libname}${release}${shared_ext}$major'
   8864   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   8865   case $host_os in
   8866   irix5* | nonstopux*)
   8867     libsuff= shlibsuff=
   8868     ;;
   8869   *)
   8870     case $LD in # libtool.m4 will add one of these switches to LD
   8871     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   8872       libsuff= shlibsuff= libmagic=32-bit;;
   8873     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   8874       libsuff=32 shlibsuff=N32 libmagic=N32;;
   8875     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   8876       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   8877     *) libsuff= shlibsuff= libmagic=never-match;;
   8878     esac
   8879     ;;
   8880   esac
   8881   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   8882   shlibpath_overrides_runpath=no
   8883   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   8884   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   8885   hardcode_into_libs=yes
   8886   ;;
   8887 
   8888 # No shared lib support for Linux oldld, aout, or coff.
   8889 linux*oldld* | linux*aout* | linux*coff*)
   8890   dynamic_linker=no
   8891   ;;
   8892 
   8893 # This must be Linux ELF.
   8894 linux*)
   8895   version_type=linux
   8896   need_lib_prefix=no
   8897   need_version=no
   8898   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8899   soname_spec='${libname}${release}${shared_ext}$major'
   8900   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   8901   shlibpath_var=LD_LIBRARY_PATH
   8902   shlibpath_overrides_runpath=no
   8903   # This implies no fast_install, which is unacceptable.
   8904   # Some rework will be needed to allow for fast_install
   8905   # before this can be enabled.
   8906   hardcode_into_libs=yes
   8907 
   8908   # Append ld.so.conf contents to the search path
   8909   if test -f /etc/ld.so.conf; then
   8910     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' ' '`
   8911     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   8912   fi
   8913 
   8914   # We used to test for /lib/ld.so.1 and disable shared libraries on
   8915   # powerpc, because MkLinux only supported shared libraries with the
   8916   # GNU dynamic linker.  Since this was broken with cross compilers,
   8917   # most powerpc-linux boxes support dynamic linking these days and
   8918   # people can always --disable-shared, the test was removed, and we
   8919   # assume the GNU/Linux dynamic linker is in use.
   8920   dynamic_linker='GNU/Linux ld.so'
   8921   ;;
   8922 
   8923 knetbsd*-gnu)
   8924   version_type=linux
   8925   need_lib_prefix=no
   8926   need_version=no
   8927   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8928   soname_spec='${libname}${release}${shared_ext}$major'
   8929   shlibpath_var=LD_LIBRARY_PATH
   8930   shlibpath_overrides_runpath=no
   8931   hardcode_into_libs=yes
   8932   dynamic_linker='GNU ld.so'
   8933   ;;
   8934 
   8935 netbsd*)
   8936   version_type=sunos
   8937   need_lib_prefix=no
   8938   need_version=no
   8939   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8940     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8941     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   8942     dynamic_linker='NetBSD (a.out) ld.so'
   8943   else
   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     dynamic_linker='NetBSD ld.elf_so'
   8947   fi
   8948   shlibpath_var=LD_LIBRARY_PATH
   8949   shlibpath_overrides_runpath=yes
   8950   hardcode_into_libs=yes
   8951   ;;
   8952 
   8953 newsos6)
   8954   version_type=linux
   8955   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8956   shlibpath_var=LD_LIBRARY_PATH
   8957   shlibpath_overrides_runpath=yes
   8958   ;;
   8959 
   8960 nto-qnx*)
   8961   version_type=linux
   8962   need_lib_prefix=no
   8963   need_version=no
   8964   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8965   soname_spec='${libname}${release}${shared_ext}$major'
   8966   shlibpath_var=LD_LIBRARY_PATH
   8967   shlibpath_overrides_runpath=yes
   8968   ;;
   8969 
   8970 openbsd*)
   8971   version_type=sunos
   8972   sys_lib_dlsearch_path_spec="/usr/lib"
   8973   need_lib_prefix=no
   8974   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   8975   case $host_os in
   8976     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   8977     *)                         need_version=no  ;;
   8978   esac
   8979   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   8980   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   8981   shlibpath_var=LD_LIBRARY_PATH
   8982   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8983     case $host_os in
   8984       openbsd2.[89] | openbsd2.[89].*)
   8985 	shlibpath_overrides_runpath=no
   8986 	;;
   8987       *)
   8988 	shlibpath_overrides_runpath=yes
   8989 	;;
   8990       esac
   8991   else
   8992     shlibpath_overrides_runpath=yes
   8993   fi
   8994   ;;
   8995 
   8996 os2*)
   8997   libname_spec='$name'
   8998   shrext_cmds=".dll"
   8999   need_lib_prefix=no
   9000   library_names_spec='$libname${shared_ext} $libname.a'
   9001   dynamic_linker='OS/2 ld.exe'
   9002   shlibpath_var=LIBPATH
   9003   ;;
   9004 
   9005 osf3* | osf4* | osf5*)
   9006   version_type=osf
   9007   need_lib_prefix=no
   9008   need_version=no
   9009   soname_spec='${libname}${release}${shared_ext}$major'
   9010   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9011   shlibpath_var=LD_LIBRARY_PATH
   9012   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9013   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9014   ;;
   9015 
   9016 solaris*)
   9017   version_type=linux
   9018   need_lib_prefix=no
   9019   need_version=no
   9020   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9021   soname_spec='${libname}${release}${shared_ext}$major'
   9022   shlibpath_var=LD_LIBRARY_PATH
   9023   shlibpath_overrides_runpath=yes
   9024   hardcode_into_libs=yes
   9025   # ldd complains unless libraries are executable
   9026   postinstall_cmds='chmod +x $lib'
   9027   ;;
   9028 
   9029 sunos4*)
   9030   version_type=sunos
   9031   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9032   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9033   shlibpath_var=LD_LIBRARY_PATH
   9034   shlibpath_overrides_runpath=yes
   9035   if test "$with_gnu_ld" = yes; then
   9036     need_lib_prefix=no
   9037   fi
   9038   need_version=yes
   9039   ;;
   9040 
   9041 sysv4 | sysv4.3*)
   9042   version_type=linux
   9043   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9044   soname_spec='${libname}${release}${shared_ext}$major'
   9045   shlibpath_var=LD_LIBRARY_PATH
   9046   case $host_vendor in
   9047     sni)
   9048       shlibpath_overrides_runpath=no
   9049       need_lib_prefix=no
   9050       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9051       runpath_var=LD_RUN_PATH
   9052       ;;
   9053     siemens)
   9054       need_lib_prefix=no
   9055       ;;
   9056     motorola)
   9057       need_lib_prefix=no
   9058       need_version=no
   9059       shlibpath_overrides_runpath=no
   9060       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9061       ;;
   9062   esac
   9063   ;;
   9064 
   9065 sysv4*MP*)
   9066   if test -d /usr/nec ;then
   9067     version_type=linux
   9068     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9069     soname_spec='$libname${shared_ext}.$major'
   9070     shlibpath_var=LD_LIBRARY_PATH
   9071   fi
   9072   ;;
   9073 
   9074 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9075   version_type=freebsd-elf
   9076   need_lib_prefix=no
   9077   need_version=no
   9078   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9079   soname_spec='${libname}${release}${shared_ext}$major'
   9080   shlibpath_var=LD_LIBRARY_PATH
   9081   hardcode_into_libs=yes
   9082   if test "$with_gnu_ld" = yes; then
   9083     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9084     shlibpath_overrides_runpath=no
   9085   else
   9086     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9087     shlibpath_overrides_runpath=yes
   9088     case $host_os in
   9089       sco3.2v5*)
   9090         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9091 	;;
   9092     esac
   9093   fi
   9094   sys_lib_dlsearch_path_spec='/usr/lib'
   9095   ;;
   9096 
   9097 uts4*)
   9098   version_type=linux
   9099   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9100   soname_spec='${libname}${release}${shared_ext}$major'
   9101   shlibpath_var=LD_LIBRARY_PATH
   9102   ;;
   9103 
   9104 *)
   9105   dynamic_linker=no
   9106   ;;
   9107 esac
   9108 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9109 echo "${ECHO_T}$dynamic_linker" >&6; }
   9110 test "$dynamic_linker" = no && can_build_shared=no
   9111 
   9112 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9113 if test "$GCC" = yes; then
   9114   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9115 fi
   9116 
   9117 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9118 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   9119 hardcode_action=
   9120 if test -n "$hardcode_libdir_flag_spec" || \
   9121    test -n "$runpath_var" || \
   9122    test "X$hardcode_automatic" = "Xyes" ; then
   9123 
   9124   # We can hardcode non-existant directories.
   9125   if test "$hardcode_direct" != no &&
   9126      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9127      # have to relink, otherwise we might link with an installed library
   9128      # when we should be linking with a yet-to-be-installed one
   9129      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9130      test "$hardcode_minus_L" != no; then
   9131     # Linking always hardcodes the temporary library directory.
   9132     hardcode_action=relink
   9133   else
   9134     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9135     hardcode_action=immediate
   9136   fi
   9137 else
   9138   # We cannot hardcode anything, or else we can only hardcode existing
   9139   # directories.
   9140   hardcode_action=unsupported
   9141 fi
   9142 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9143 echo "${ECHO_T}$hardcode_action" >&6; }
   9144 
   9145 if test "$hardcode_action" = relink; then
   9146   # Fast installation is not supported
   9147   enable_fast_install=no
   9148 elif test "$shlibpath_overrides_runpath" = yes ||
   9149      test "$enable_shared" = no; then
   9150   # Fast installation is not necessary
   9151   enable_fast_install=needless
   9152 fi
   9153 
   9154 striplib=
   9155 old_striplib=
   9156 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9157 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
   9158 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9159   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9160   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9161   { echo "$as_me:$LINENO: result: yes" >&5
   9162 echo "${ECHO_T}yes" >&6; }
   9163 else
   9164 # FIXME - insert some real tests, host_os isn't really good enough
   9165   case $host_os in
   9166    darwin*)
   9167        if test -n "$STRIP" ; then
   9168          striplib="$STRIP -x"
   9169          { echo "$as_me:$LINENO: result: yes" >&5
   9170 echo "${ECHO_T}yes" >&6; }
   9171        else
   9172   { echo "$as_me:$LINENO: result: no" >&5
   9173 echo "${ECHO_T}no" >&6; }
   9174 fi
   9175        ;;
   9176    *)
   9177   { echo "$as_me:$LINENO: result: no" >&5
   9178 echo "${ECHO_T}no" >&6; }
   9179     ;;
   9180   esac
   9181 fi
   9182 
   9183 if test "x$enable_dlopen" != xyes; then
   9184   enable_dlopen=unknown
   9185   enable_dlopen_self=unknown
   9186   enable_dlopen_self_static=unknown
   9187 else
   9188   lt_cv_dlopen=no
   9189   lt_cv_dlopen_libs=
   9190 
   9191   case $host_os in
   9192   beos*)
   9193     lt_cv_dlopen="load_add_on"
   9194     lt_cv_dlopen_libs=
   9195     lt_cv_dlopen_self=yes
   9196     ;;
   9197 
   9198   mingw* | pw32*)
   9199     lt_cv_dlopen="LoadLibrary"
   9200     lt_cv_dlopen_libs=
   9201    ;;
   9202 
   9203   cygwin*)
   9204     lt_cv_dlopen="dlopen"
   9205     lt_cv_dlopen_libs=
   9206    ;;
   9207 
   9208   darwin*)
   9209   # if libdl is installed we need to link against it
   9210     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9211 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9212 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9213   echo $ECHO_N "(cached) $ECHO_C" >&6
   9214 else
   9215   ac_check_lib_save_LIBS=$LIBS
   9216 LIBS="-ldl  $LIBS"
   9217 cat >conftest.$ac_ext <<_ACEOF
   9218 /* confdefs.h.  */
   9219 _ACEOF
   9220 cat confdefs.h >>conftest.$ac_ext
   9221 cat >>conftest.$ac_ext <<_ACEOF
   9222 /* end confdefs.h.  */
   9223 
   9224 /* Override any GCC internal prototype to avoid an error.
   9225    Use char because int might match the return type of a GCC
   9226    builtin and then its argument prototype would still apply.  */
   9227 #ifdef __cplusplus
   9228 extern "C"
   9229 #endif
   9230 char dlopen ();
   9231 int
   9232 main ()
   9233 {
   9234 return dlopen ();
   9235   ;
   9236   return 0;
   9237 }
   9238 _ACEOF
   9239 rm -f conftest.$ac_objext conftest$ac_exeext
   9240 if { (ac_try="$ac_link"
   9241 case "(($ac_try" in
   9242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9243   *) ac_try_echo=$ac_try;;
   9244 esac
   9245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9246   (eval "$ac_link") 2>conftest.er1
   9247   ac_status=$?
   9248   grep -v '^ *+' conftest.er1 >conftest.err
   9249   rm -f conftest.er1
   9250   cat conftest.err >&5
   9251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9252   (exit $ac_status); } && {
   9253 	 test -z "$ac_c_werror_flag" ||
   9254 	 test ! -s conftest.err
   9255        } && test -s conftest$ac_exeext &&
   9256        $as_test_x conftest$ac_exeext; then
   9257   ac_cv_lib_dl_dlopen=yes
   9258 else
   9259   echo "$as_me: failed program was:" >&5
   9260 sed 's/^/| /' conftest.$ac_ext >&5
   9261 
   9262 	ac_cv_lib_dl_dlopen=no
   9263 fi
   9264 
   9265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9266       conftest$ac_exeext conftest.$ac_ext
   9267 LIBS=$ac_check_lib_save_LIBS
   9268 fi
   9269 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9270 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9271 if test $ac_cv_lib_dl_dlopen = yes; then
   9272   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9273 else
   9274 
   9275     lt_cv_dlopen="dyld"
   9276     lt_cv_dlopen_libs=
   9277     lt_cv_dlopen_self=yes
   9278 
   9279 fi
   9280 
   9281    ;;
   9282 
   9283   *)
   9284     { echo "$as_me:$LINENO: checking for shl_load" >&5
   9285 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9286 if test "${ac_cv_func_shl_load+set}" = set; then
   9287   echo $ECHO_N "(cached) $ECHO_C" >&6
   9288 else
   9289   cat >conftest.$ac_ext <<_ACEOF
   9290 /* confdefs.h.  */
   9291 _ACEOF
   9292 cat confdefs.h >>conftest.$ac_ext
   9293 cat >>conftest.$ac_ext <<_ACEOF
   9294 /* end confdefs.h.  */
   9295 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9296    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9297 #define shl_load innocuous_shl_load
   9298 
   9299 /* System header to define __stub macros and hopefully few prototypes,
   9300     which can conflict with char shl_load (); below.
   9301     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9302     <limits.h> exists even on freestanding compilers.  */
   9303 
   9304 #ifdef __STDC__
   9305 # include <limits.h>
   9306 #else
   9307 # include <assert.h>
   9308 #endif
   9309 
   9310 #undef shl_load
   9311 
   9312 /* Override any GCC internal prototype to avoid an error.
   9313    Use char because int might match the return type of a GCC
   9314    builtin and then its argument prototype would still apply.  */
   9315 #ifdef __cplusplus
   9316 extern "C"
   9317 #endif
   9318 char shl_load ();
   9319 /* The GNU C library defines this for functions which it implements
   9320     to always fail with ENOSYS.  Some functions are actually named
   9321     something starting with __ and the normal name is an alias.  */
   9322 #if defined __stub_shl_load || defined __stub___shl_load
   9323 choke me
   9324 #endif
   9325 
   9326 int
   9327 main ()
   9328 {
   9329 return shl_load ();
   9330   ;
   9331   return 0;
   9332 }
   9333 _ACEOF
   9334 rm -f conftest.$ac_objext conftest$ac_exeext
   9335 if { (ac_try="$ac_link"
   9336 case "(($ac_try" in
   9337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9338   *) ac_try_echo=$ac_try;;
   9339 esac
   9340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9341   (eval "$ac_link") 2>conftest.er1
   9342   ac_status=$?
   9343   grep -v '^ *+' conftest.er1 >conftest.err
   9344   rm -f conftest.er1
   9345   cat conftest.err >&5
   9346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9347   (exit $ac_status); } && {
   9348 	 test -z "$ac_c_werror_flag" ||
   9349 	 test ! -s conftest.err
   9350        } && test -s conftest$ac_exeext &&
   9351        $as_test_x conftest$ac_exeext; then
   9352   ac_cv_func_shl_load=yes
   9353 else
   9354   echo "$as_me: failed program was:" >&5
   9355 sed 's/^/| /' conftest.$ac_ext >&5
   9356 
   9357 	ac_cv_func_shl_load=no
   9358 fi
   9359 
   9360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9361       conftest$ac_exeext conftest.$ac_ext
   9362 fi
   9363 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9364 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9365 if test $ac_cv_func_shl_load = yes; then
   9366   lt_cv_dlopen="shl_load"
   9367 else
   9368   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9369 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9370 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9371   echo $ECHO_N "(cached) $ECHO_C" >&6
   9372 else
   9373   ac_check_lib_save_LIBS=$LIBS
   9374 LIBS="-ldld  $LIBS"
   9375 cat >conftest.$ac_ext <<_ACEOF
   9376 /* confdefs.h.  */
   9377 _ACEOF
   9378 cat confdefs.h >>conftest.$ac_ext
   9379 cat >>conftest.$ac_ext <<_ACEOF
   9380 /* end confdefs.h.  */
   9381 
   9382 /* Override any GCC internal prototype to avoid an error.
   9383    Use char because int might match the return type of a GCC
   9384    builtin and then its argument prototype would still apply.  */
   9385 #ifdef __cplusplus
   9386 extern "C"
   9387 #endif
   9388 char shl_load ();
   9389 int
   9390 main ()
   9391 {
   9392 return shl_load ();
   9393   ;
   9394   return 0;
   9395 }
   9396 _ACEOF
   9397 rm -f conftest.$ac_objext conftest$ac_exeext
   9398 if { (ac_try="$ac_link"
   9399 case "(($ac_try" in
   9400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9401   *) ac_try_echo=$ac_try;;
   9402 esac
   9403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9404   (eval "$ac_link") 2>conftest.er1
   9405   ac_status=$?
   9406   grep -v '^ *+' conftest.er1 >conftest.err
   9407   rm -f conftest.er1
   9408   cat conftest.err >&5
   9409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9410   (exit $ac_status); } && {
   9411 	 test -z "$ac_c_werror_flag" ||
   9412 	 test ! -s conftest.err
   9413        } && test -s conftest$ac_exeext &&
   9414        $as_test_x conftest$ac_exeext; then
   9415   ac_cv_lib_dld_shl_load=yes
   9416 else
   9417   echo "$as_me: failed program was:" >&5
   9418 sed 's/^/| /' conftest.$ac_ext >&5
   9419 
   9420 	ac_cv_lib_dld_shl_load=no
   9421 fi
   9422 
   9423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9424       conftest$ac_exeext conftest.$ac_ext
   9425 LIBS=$ac_check_lib_save_LIBS
   9426 fi
   9427 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9428 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9429 if test $ac_cv_lib_dld_shl_load = yes; then
   9430   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   9431 else
   9432   { echo "$as_me:$LINENO: checking for dlopen" >&5
   9433 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
   9434 if test "${ac_cv_func_dlopen+set}" = set; then
   9435   echo $ECHO_N "(cached) $ECHO_C" >&6
   9436 else
   9437   cat >conftest.$ac_ext <<_ACEOF
   9438 /* confdefs.h.  */
   9439 _ACEOF
   9440 cat confdefs.h >>conftest.$ac_ext
   9441 cat >>conftest.$ac_ext <<_ACEOF
   9442 /* end confdefs.h.  */
   9443 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   9444    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9445 #define dlopen innocuous_dlopen
   9446 
   9447 /* System header to define __stub macros and hopefully few prototypes,
   9448     which can conflict with char dlopen (); below.
   9449     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9450     <limits.h> exists even on freestanding compilers.  */
   9451 
   9452 #ifdef __STDC__
   9453 # include <limits.h>
   9454 #else
   9455 # include <assert.h>
   9456 #endif
   9457 
   9458 #undef dlopen
   9459 
   9460 /* Override any GCC internal prototype to avoid an error.
   9461    Use char because int might match the return type of a GCC
   9462    builtin and then its argument prototype would still apply.  */
   9463 #ifdef __cplusplus
   9464 extern "C"
   9465 #endif
   9466 char dlopen ();
   9467 /* The GNU C library defines this for functions which it implements
   9468     to always fail with ENOSYS.  Some functions are actually named
   9469     something starting with __ and the normal name is an alias.  */
   9470 #if defined __stub_dlopen || defined __stub___dlopen
   9471 choke me
   9472 #endif
   9473 
   9474 int
   9475 main ()
   9476 {
   9477 return dlopen ();
   9478   ;
   9479   return 0;
   9480 }
   9481 _ACEOF
   9482 rm -f conftest.$ac_objext conftest$ac_exeext
   9483 if { (ac_try="$ac_link"
   9484 case "(($ac_try" in
   9485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9486   *) ac_try_echo=$ac_try;;
   9487 esac
   9488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9489   (eval "$ac_link") 2>conftest.er1
   9490   ac_status=$?
   9491   grep -v '^ *+' conftest.er1 >conftest.err
   9492   rm -f conftest.er1
   9493   cat conftest.err >&5
   9494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9495   (exit $ac_status); } && {
   9496 	 test -z "$ac_c_werror_flag" ||
   9497 	 test ! -s conftest.err
   9498        } && test -s conftest$ac_exeext &&
   9499        $as_test_x conftest$ac_exeext; then
   9500   ac_cv_func_dlopen=yes
   9501 else
   9502   echo "$as_me: failed program was:" >&5
   9503 sed 's/^/| /' conftest.$ac_ext >&5
   9504 
   9505 	ac_cv_func_dlopen=no
   9506 fi
   9507 
   9508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9509       conftest$ac_exeext conftest.$ac_ext
   9510 fi
   9511 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   9512 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
   9513 if test $ac_cv_func_dlopen = yes; then
   9514   lt_cv_dlopen="dlopen"
   9515 else
   9516   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9517 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9518 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9519   echo $ECHO_N "(cached) $ECHO_C" >&6
   9520 else
   9521   ac_check_lib_save_LIBS=$LIBS
   9522 LIBS="-ldl  $LIBS"
   9523 cat >conftest.$ac_ext <<_ACEOF
   9524 /* confdefs.h.  */
   9525 _ACEOF
   9526 cat confdefs.h >>conftest.$ac_ext
   9527 cat >>conftest.$ac_ext <<_ACEOF
   9528 /* end confdefs.h.  */
   9529 
   9530 /* Override any GCC internal prototype to avoid an error.
   9531    Use char because int might match the return type of a GCC
   9532    builtin and then its argument prototype would still apply.  */
   9533 #ifdef __cplusplus
   9534 extern "C"
   9535 #endif
   9536 char dlopen ();
   9537 int
   9538 main ()
   9539 {
   9540 return dlopen ();
   9541   ;
   9542   return 0;
   9543 }
   9544 _ACEOF
   9545 rm -f conftest.$ac_objext conftest$ac_exeext
   9546 if { (ac_try="$ac_link"
   9547 case "(($ac_try" in
   9548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9549   *) ac_try_echo=$ac_try;;
   9550 esac
   9551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9552   (eval "$ac_link") 2>conftest.er1
   9553   ac_status=$?
   9554   grep -v '^ *+' conftest.er1 >conftest.err
   9555   rm -f conftest.er1
   9556   cat conftest.err >&5
   9557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9558   (exit $ac_status); } && {
   9559 	 test -z "$ac_c_werror_flag" ||
   9560 	 test ! -s conftest.err
   9561        } && test -s conftest$ac_exeext &&
   9562        $as_test_x conftest$ac_exeext; then
   9563   ac_cv_lib_dl_dlopen=yes
   9564 else
   9565   echo "$as_me: failed program was:" >&5
   9566 sed 's/^/| /' conftest.$ac_ext >&5
   9567 
   9568 	ac_cv_lib_dl_dlopen=no
   9569 fi
   9570 
   9571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9572       conftest$ac_exeext conftest.$ac_ext
   9573 LIBS=$ac_check_lib_save_LIBS
   9574 fi
   9575 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9576 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9577 if test $ac_cv_lib_dl_dlopen = yes; then
   9578   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9579 else
   9580   { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   9581 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   9582 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   9583   echo $ECHO_N "(cached) $ECHO_C" >&6
   9584 else
   9585   ac_check_lib_save_LIBS=$LIBS
   9586 LIBS="-lsvld  $LIBS"
   9587 cat >conftest.$ac_ext <<_ACEOF
   9588 /* confdefs.h.  */
   9589 _ACEOF
   9590 cat confdefs.h >>conftest.$ac_ext
   9591 cat >>conftest.$ac_ext <<_ACEOF
   9592 /* end confdefs.h.  */
   9593 
   9594 /* Override any GCC internal prototype to avoid an error.
   9595    Use char because int might match the return type of a GCC
   9596    builtin and then its argument prototype would still apply.  */
   9597 #ifdef __cplusplus
   9598 extern "C"
   9599 #endif
   9600 char dlopen ();
   9601 int
   9602 main ()
   9603 {
   9604 return dlopen ();
   9605   ;
   9606   return 0;
   9607 }
   9608 _ACEOF
   9609 rm -f conftest.$ac_objext conftest$ac_exeext
   9610 if { (ac_try="$ac_link"
   9611 case "(($ac_try" in
   9612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9613   *) ac_try_echo=$ac_try;;
   9614 esac
   9615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9616   (eval "$ac_link") 2>conftest.er1
   9617   ac_status=$?
   9618   grep -v '^ *+' conftest.er1 >conftest.err
   9619   rm -f conftest.er1
   9620   cat conftest.err >&5
   9621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9622   (exit $ac_status); } && {
   9623 	 test -z "$ac_c_werror_flag" ||
   9624 	 test ! -s conftest.err
   9625        } && test -s conftest$ac_exeext &&
   9626        $as_test_x conftest$ac_exeext; then
   9627   ac_cv_lib_svld_dlopen=yes
   9628 else
   9629   echo "$as_me: failed program was:" >&5
   9630 sed 's/^/| /' conftest.$ac_ext >&5
   9631 
   9632 	ac_cv_lib_svld_dlopen=no
   9633 fi
   9634 
   9635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9636       conftest$ac_exeext conftest.$ac_ext
   9637 LIBS=$ac_check_lib_save_LIBS
   9638 fi
   9639 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   9640 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   9641 if test $ac_cv_lib_svld_dlopen = yes; then
   9642   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   9643 else
   9644   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   9645 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   9646 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   9647   echo $ECHO_N "(cached) $ECHO_C" >&6
   9648 else
   9649   ac_check_lib_save_LIBS=$LIBS
   9650 LIBS="-ldld  $LIBS"
   9651 cat >conftest.$ac_ext <<_ACEOF
   9652 /* confdefs.h.  */
   9653 _ACEOF
   9654 cat confdefs.h >>conftest.$ac_ext
   9655 cat >>conftest.$ac_ext <<_ACEOF
   9656 /* end confdefs.h.  */
   9657 
   9658 /* Override any GCC internal prototype to avoid an error.
   9659    Use char because int might match the return type of a GCC
   9660    builtin and then its argument prototype would still apply.  */
   9661 #ifdef __cplusplus
   9662 extern "C"
   9663 #endif
   9664 char dld_link ();
   9665 int
   9666 main ()
   9667 {
   9668 return dld_link ();
   9669   ;
   9670   return 0;
   9671 }
   9672 _ACEOF
   9673 rm -f conftest.$ac_objext conftest$ac_exeext
   9674 if { (ac_try="$ac_link"
   9675 case "(($ac_try" in
   9676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9677   *) ac_try_echo=$ac_try;;
   9678 esac
   9679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9680   (eval "$ac_link") 2>conftest.er1
   9681   ac_status=$?
   9682   grep -v '^ *+' conftest.er1 >conftest.err
   9683   rm -f conftest.er1
   9684   cat conftest.err >&5
   9685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9686   (exit $ac_status); } && {
   9687 	 test -z "$ac_c_werror_flag" ||
   9688 	 test ! -s conftest.err
   9689        } && test -s conftest$ac_exeext &&
   9690        $as_test_x conftest$ac_exeext; then
   9691   ac_cv_lib_dld_dld_link=yes
   9692 else
   9693   echo "$as_me: failed program was:" >&5
   9694 sed 's/^/| /' conftest.$ac_ext >&5
   9695 
   9696 	ac_cv_lib_dld_dld_link=no
   9697 fi
   9698 
   9699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9700       conftest$ac_exeext conftest.$ac_ext
   9701 LIBS=$ac_check_lib_save_LIBS
   9702 fi
   9703 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   9704 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   9705 if test $ac_cv_lib_dld_dld_link = yes; then
   9706   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   9707 fi
   9708 
   9709 
   9710 fi
   9711 
   9712 
   9713 fi
   9714 
   9715 
   9716 fi
   9717 
   9718 
   9719 fi
   9720 
   9721 
   9722 fi
   9723 
   9724     ;;
   9725   esac
   9726 
   9727   if test "x$lt_cv_dlopen" != xno; then
   9728     enable_dlopen=yes
   9729   else
   9730     enable_dlopen=no
   9731   fi
   9732 
   9733   case $lt_cv_dlopen in
   9734   dlopen)
   9735     save_CPPFLAGS="$CPPFLAGS"
   9736     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   9737 
   9738     save_LDFLAGS="$LDFLAGS"
   9739     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   9740 
   9741     save_LIBS="$LIBS"
   9742     LIBS="$lt_cv_dlopen_libs $LIBS"
   9743 
   9744     { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   9745 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
   9746 if test "${lt_cv_dlopen_self+set}" = set; then
   9747   echo $ECHO_N "(cached) $ECHO_C" >&6
   9748 else
   9749   	  if test "$cross_compiling" = yes; then :
   9750   lt_cv_dlopen_self=cross
   9751 else
   9752   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9753   lt_status=$lt_dlunknown
   9754   cat > conftest.$ac_ext <<EOF
   9755 #line 9755 "configure"
   9756 #include "confdefs.h"
   9757 
   9758 #if HAVE_DLFCN_H
   9759 #include <dlfcn.h>
   9760 #endif
   9761 
   9762 #include <stdio.h>
   9763 
   9764 #ifdef RTLD_GLOBAL
   9765 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9766 #else
   9767 #  ifdef DL_GLOBAL
   9768 #    define LT_DLGLOBAL		DL_GLOBAL
   9769 #  else
   9770 #    define LT_DLGLOBAL		0
   9771 #  endif
   9772 #endif
   9773 
   9774 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9775    find out it does not work in some platform. */
   9776 #ifndef LT_DLLAZY_OR_NOW
   9777 #  ifdef RTLD_LAZY
   9778 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9779 #  else
   9780 #    ifdef DL_LAZY
   9781 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9782 #    else
   9783 #      ifdef RTLD_NOW
   9784 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9785 #      else
   9786 #        ifdef DL_NOW
   9787 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9788 #        else
   9789 #          define LT_DLLAZY_OR_NOW	0
   9790 #        endif
   9791 #      endif
   9792 #    endif
   9793 #  endif
   9794 #endif
   9795 
   9796 #ifdef __cplusplus
   9797 extern "C" void exit (int);
   9798 #endif
   9799 
   9800 void fnord() { int i=42;}
   9801 int main ()
   9802 {
   9803   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9804   int status = $lt_dlunknown;
   9805 
   9806   if (self)
   9807     {
   9808       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9809       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9810       /* dlclose (self); */
   9811     }
   9812   else
   9813     puts (dlerror ());
   9814 
   9815     exit (status);
   9816 }
   9817 EOF
   9818   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9819   (eval $ac_link) 2>&5
   9820   ac_status=$?
   9821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9822   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9823     (./conftest; exit; ) >&5 2>/dev/null
   9824     lt_status=$?
   9825     case x$lt_status in
   9826       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   9827       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   9828       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   9829     esac
   9830   else :
   9831     # compilation failed
   9832     lt_cv_dlopen_self=no
   9833   fi
   9834 fi
   9835 rm -fr conftest*
   9836 
   9837 
   9838 fi
   9839 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   9840 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
   9841 
   9842     if test "x$lt_cv_dlopen_self" = xyes; then
   9843       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   9844       { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   9845 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
   9846 if test "${lt_cv_dlopen_self_static+set}" = set; then
   9847   echo $ECHO_N "(cached) $ECHO_C" >&6
   9848 else
   9849   	  if test "$cross_compiling" = yes; then :
   9850   lt_cv_dlopen_self_static=cross
   9851 else
   9852   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   9853   lt_status=$lt_dlunknown
   9854   cat > conftest.$ac_ext <<EOF
   9855 #line 9855 "configure"
   9856 #include "confdefs.h"
   9857 
   9858 #if HAVE_DLFCN_H
   9859 #include <dlfcn.h>
   9860 #endif
   9861 
   9862 #include <stdio.h>
   9863 
   9864 #ifdef RTLD_GLOBAL
   9865 #  define LT_DLGLOBAL		RTLD_GLOBAL
   9866 #else
   9867 #  ifdef DL_GLOBAL
   9868 #    define LT_DLGLOBAL		DL_GLOBAL
   9869 #  else
   9870 #    define LT_DLGLOBAL		0
   9871 #  endif
   9872 #endif
   9873 
   9874 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   9875    find out it does not work in some platform. */
   9876 #ifndef LT_DLLAZY_OR_NOW
   9877 #  ifdef RTLD_LAZY
   9878 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   9879 #  else
   9880 #    ifdef DL_LAZY
   9881 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   9882 #    else
   9883 #      ifdef RTLD_NOW
   9884 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   9885 #      else
   9886 #        ifdef DL_NOW
   9887 #          define LT_DLLAZY_OR_NOW	DL_NOW
   9888 #        else
   9889 #          define LT_DLLAZY_OR_NOW	0
   9890 #        endif
   9891 #      endif
   9892 #    endif
   9893 #  endif
   9894 #endif
   9895 
   9896 #ifdef __cplusplus
   9897 extern "C" void exit (int);
   9898 #endif
   9899 
   9900 void fnord() { int i=42;}
   9901 int main ()
   9902 {
   9903   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   9904   int status = $lt_dlunknown;
   9905 
   9906   if (self)
   9907     {
   9908       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   9909       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   9910       /* dlclose (self); */
   9911     }
   9912   else
   9913     puts (dlerror ());
   9914 
   9915     exit (status);
   9916 }
   9917 EOF
   9918   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9919   (eval $ac_link) 2>&5
   9920   ac_status=$?
   9921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9922   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   9923     (./conftest; exit; ) >&5 2>/dev/null
   9924     lt_status=$?
   9925     case x$lt_status in
   9926       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   9927       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   9928       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   9929     esac
   9930   else :
   9931     # compilation failed
   9932     lt_cv_dlopen_self_static=no
   9933   fi
   9934 fi
   9935 rm -fr conftest*
   9936 
   9937 
   9938 fi
   9939 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   9940 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
   9941     fi
   9942 
   9943     CPPFLAGS="$save_CPPFLAGS"
   9944     LDFLAGS="$save_LDFLAGS"
   9945     LIBS="$save_LIBS"
   9946     ;;
   9947   esac
   9948 
   9949   case $lt_cv_dlopen_self in
   9950   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   9951   *) enable_dlopen_self=unknown ;;
   9952   esac
   9953 
   9954   case $lt_cv_dlopen_self_static in
   9955   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   9956   *) enable_dlopen_self_static=unknown ;;
   9957   esac
   9958 fi
   9959 
   9960 
   9961 # Report which library types will actually be built
   9962 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   9963 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   9964 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   9965 echo "${ECHO_T}$can_build_shared" >&6; }
   9966 
   9967 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   9968 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   9969 test "$can_build_shared" = "no" && enable_shared=no
   9970 
   9971 # On AIX, shared libraries and static libraries use the same namespace, and
   9972 # are all built from PIC.
   9973 case $host_os in
   9974 aix3*)
   9975   test "$enable_shared" = yes && enable_static=no
   9976   if test -n "$RANLIB"; then
   9977     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   9978     postinstall_cmds='$RANLIB $lib'
   9979   fi
   9980   ;;
   9981 
   9982 aix4* | aix5*)
   9983   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   9984     test "$enable_shared" = yes && enable_static=no
   9985   fi
   9986     ;;
   9987 esac
   9988 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   9989 echo "${ECHO_T}$enable_shared" >&6; }
   9990 
   9991 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   9992 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   9993 # Make sure either enable_shared or enable_static is yes.
   9994 test "$enable_shared" = yes || enable_static=yes
   9995 { echo "$as_me:$LINENO: result: $enable_static" >&5
   9996 echo "${ECHO_T}$enable_static" >&6; }
   9997 
   9998 # The else clause should only fire when bootstrapping the
   9999 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10000 # with your package, and you will get complaints that there are
   10001 # no rules to generate ltmain.sh.
   10002 if test -f "$ltmain"; then
   10003   # See if we are running on zsh, and set the options which allow our commands through
   10004   # without removal of \ escapes.
   10005   if test -n "${ZSH_VERSION+set}" ; then
   10006     setopt NO_GLOB_SUBST
   10007   fi
   10008   # Now quote all the things that may contain metacharacters while being
   10009   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10010   # variables and quote the copies for generation of the libtool script.
   10011   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10012     SED SHELL STRIP \
   10013     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10014     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10015     deplibs_check_method reload_flag reload_cmds need_locks \
   10016     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10017     lt_cv_sys_global_symbol_to_c_name_address \
   10018     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10019     old_postinstall_cmds old_postuninstall_cmds \
   10020     compiler \
   10021     CC \
   10022     LD \
   10023     lt_prog_compiler_wl \
   10024     lt_prog_compiler_pic \
   10025     lt_prog_compiler_static \
   10026     lt_prog_compiler_no_builtin_flag \
   10027     export_dynamic_flag_spec \
   10028     thread_safe_flag_spec \
   10029     whole_archive_flag_spec \
   10030     enable_shared_with_static_runtimes \
   10031     old_archive_cmds \
   10032     old_archive_from_new_cmds \
   10033     predep_objects \
   10034     postdep_objects \
   10035     predeps \
   10036     postdeps \
   10037     compiler_lib_search_path \
   10038     archive_cmds \
   10039     archive_expsym_cmds \
   10040     postinstall_cmds \
   10041     postuninstall_cmds \
   10042     old_archive_from_expsyms_cmds \
   10043     allow_undefined_flag \
   10044     no_undefined_flag \
   10045     export_symbols_cmds \
   10046     hardcode_libdir_flag_spec \
   10047     hardcode_libdir_flag_spec_ld \
   10048     hardcode_libdir_separator \
   10049     hardcode_automatic \
   10050     module_cmds \
   10051     module_expsym_cmds \
   10052     lt_cv_prog_compiler_c_o \
   10053     exclude_expsyms \
   10054     include_expsyms; do
   10055 
   10056     case $var in
   10057     old_archive_cmds | \
   10058     old_archive_from_new_cmds | \
   10059     archive_cmds | \
   10060     archive_expsym_cmds | \
   10061     module_cmds | \
   10062     module_expsym_cmds | \
   10063     old_archive_from_expsyms_cmds | \
   10064     export_symbols_cmds | \
   10065     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10066     postinstall_cmds | postuninstall_cmds | \
   10067     old_postinstall_cmds | old_postuninstall_cmds | \
   10068     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10069       # Double-quote double-evaled strings.
   10070       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10071       ;;
   10072     *)
   10073       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10074       ;;
   10075     esac
   10076   done
   10077 
   10078   case $lt_echo in
   10079   *'\$0 --fallback-echo"')
   10080     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10081     ;;
   10082   esac
   10083 
   10084 cfgfile="${ofile}T"
   10085   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10086   $rm -f "$cfgfile"
   10087   { echo "$as_me:$LINENO: creating $ofile" >&5
   10088 echo "$as_me: creating $ofile" >&6;}
   10089 
   10090   cat <<__EOF__ >> "$cfgfile"
   10091 #! $SHELL
   10092 
   10093 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10094 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10095 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10096 #
   10097 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   10098 # Free Software Foundation, Inc.
   10099 #
   10100 # This file is part of GNU Libtool:
   10101 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10102 #
   10103 # This program is free software; you can redistribute it and/or modify
   10104 # it under the terms of the GNU General Public License as published by
   10105 # the Free Software Foundation; either version 2 of the License, or
   10106 # (at your option) any later version.
   10107 #
   10108 # This program is distributed in the hope that it will be useful, but
   10109 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10110 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10111 # General Public License for more details.
   10112 #
   10113 # You should have received a copy of the GNU General Public License
   10114 # along with this program; if not, write to the Free Software
   10115 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10116 #
   10117 # As a special exception to the GNU General Public License, if you
   10118 # distribute this file as part of a program that contains a
   10119 # configuration script generated by Autoconf, you may include it under
   10120 # the same distribution terms that you use for the rest of that program.
   10121 
   10122 # A sed program that does not truncate output.
   10123 SED=$lt_SED
   10124 
   10125 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10126 Xsed="$SED -e 1s/^X//"
   10127 
   10128 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10129 # if CDPATH is set.
   10130 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10131 
   10132 # The names of the tagged configurations supported by this script.
   10133 available_tags=
   10134 
   10135 # ### BEGIN LIBTOOL CONFIG
   10136 
   10137 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10138 
   10139 # Shell to use when invoking shell scripts.
   10140 SHELL=$lt_SHELL
   10141 
   10142 # Whether or not to build shared libraries.
   10143 build_libtool_libs=$enable_shared
   10144 
   10145 # Whether or not to build static libraries.
   10146 build_old_libs=$enable_static
   10147 
   10148 # Whether or not to add -lc for building shared libraries.
   10149 build_libtool_need_lc=$archive_cmds_need_lc
   10150 
   10151 # Whether or not to disallow shared libs when runtime libs are static
   10152 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10153 
   10154 # Whether or not to optimize for fast installation.
   10155 fast_install=$enable_fast_install
   10156 
   10157 # The host system.
   10158 host_alias=$host_alias
   10159 host=$host
   10160 host_os=$host_os
   10161 
   10162 # The build system.
   10163 build_alias=$build_alias
   10164 build=$build
   10165 build_os=$build_os
   10166 
   10167 # An echo program that does not interpret backslashes.
   10168 echo=$lt_echo
   10169 
   10170 # The archiver.
   10171 AR=$lt_AR
   10172 AR_FLAGS=$lt_AR_FLAGS
   10173 
   10174 # A C compiler.
   10175 LTCC=$lt_LTCC
   10176 
   10177 # LTCC compiler flags.
   10178 LTCFLAGS=$lt_LTCFLAGS
   10179 
   10180 # A language-specific compiler.
   10181 CC=$lt_compiler
   10182 
   10183 # Is the compiler the GNU C compiler?
   10184 with_gcc=$GCC
   10185 
   10186 # An ERE matcher.
   10187 EGREP=$lt_EGREP
   10188 
   10189 # The linker used to build libraries.
   10190 LD=$lt_LD
   10191 
   10192 # Whether we need hard or soft links.
   10193 LN_S=$lt_LN_S
   10194 
   10195 # A BSD-compatible nm program.
   10196 NM=$lt_NM
   10197 
   10198 # A symbol stripping program
   10199 STRIP=$lt_STRIP
   10200 
   10201 # Used to examine libraries when file_magic_cmd begins "file"
   10202 MAGIC_CMD=$MAGIC_CMD
   10203 
   10204 # Used on cygwin: DLL creation program.
   10205 DLLTOOL="$DLLTOOL"
   10206 
   10207 # Used on cygwin: object dumper.
   10208 OBJDUMP="$OBJDUMP"
   10209 
   10210 # Used on cygwin: assembler.
   10211 AS="$AS"
   10212 
   10213 # The name of the directory that contains temporary libtool files.
   10214 objdir=$objdir
   10215 
   10216 # How to create reloadable object files.
   10217 reload_flag=$lt_reload_flag
   10218 reload_cmds=$lt_reload_cmds
   10219 
   10220 # How to pass a linker flag through the compiler.
   10221 wl=$lt_lt_prog_compiler_wl
   10222 
   10223 # Object file suffix (normally "o").
   10224 objext="$ac_objext"
   10225 
   10226 # Old archive suffix (normally "a").
   10227 libext="$libext"
   10228 
   10229 # Shared library suffix (normally ".so").
   10230 shrext_cmds='$shrext_cmds'
   10231 
   10232 # Executable file suffix (normally "").
   10233 exeext="$exeext"
   10234 
   10235 # Additional compiler flags for building library objects.
   10236 pic_flag=$lt_lt_prog_compiler_pic
   10237 pic_mode=$pic_mode
   10238 
   10239 # What is the maximum length of a command?
   10240 max_cmd_len=$lt_cv_sys_max_cmd_len
   10241 
   10242 # Does compiler simultaneously support -c and -o options?
   10243 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10244 
   10245 # Must we lock files when doing compilation?
   10246 need_locks=$lt_need_locks
   10247 
   10248 # Do we need the lib prefix for modules?
   10249 need_lib_prefix=$need_lib_prefix
   10250 
   10251 # Do we need a version for libraries?
   10252 need_version=$need_version
   10253 
   10254 # Whether dlopen is supported.
   10255 dlopen_support=$enable_dlopen
   10256 
   10257 # Whether dlopen of programs is supported.
   10258 dlopen_self=$enable_dlopen_self
   10259 
   10260 # Whether dlopen of statically linked programs is supported.
   10261 dlopen_self_static=$enable_dlopen_self_static
   10262 
   10263 # Compiler flag to prevent dynamic linking.
   10264 link_static_flag=$lt_lt_prog_compiler_static
   10265 
   10266 # Compiler flag to turn off builtin functions.
   10267 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10268 
   10269 # Compiler flag to allow reflexive dlopens.
   10270 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10271 
   10272 # Compiler flag to generate shared objects directly from archives.
   10273 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10274 
   10275 # Compiler flag to generate thread-safe objects.
   10276 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10277 
   10278 # Library versioning type.
   10279 version_type=$version_type
   10280 
   10281 # Format of library name prefix.
   10282 libname_spec=$lt_libname_spec
   10283 
   10284 # List of archive names.  First name is the real one, the rest are links.
   10285 # The last name is the one that the linker finds with -lNAME.
   10286 library_names_spec=$lt_library_names_spec
   10287 
   10288 # The coded name of the library, if different from the real name.
   10289 soname_spec=$lt_soname_spec
   10290 
   10291 # Commands used to build and install an old-style archive.
   10292 RANLIB=$lt_RANLIB
   10293 old_archive_cmds=$lt_old_archive_cmds
   10294 old_postinstall_cmds=$lt_old_postinstall_cmds
   10295 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10296 
   10297 # Create an old-style archive from a shared archive.
   10298 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10299 
   10300 # Create a temporary old-style archive to link instead of a shared archive.
   10301 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10302 
   10303 # Commands used to build and install a shared archive.
   10304 archive_cmds=$lt_archive_cmds
   10305 archive_expsym_cmds=$lt_archive_expsym_cmds
   10306 postinstall_cmds=$lt_postinstall_cmds
   10307 postuninstall_cmds=$lt_postuninstall_cmds
   10308 
   10309 # Commands used to build a loadable module (assumed same as above if empty)
   10310 module_cmds=$lt_module_cmds
   10311 module_expsym_cmds=$lt_module_expsym_cmds
   10312 
   10313 # Commands to strip libraries.
   10314 old_striplib=$lt_old_striplib
   10315 striplib=$lt_striplib
   10316 
   10317 # Dependencies to place before the objects being linked to create a
   10318 # shared library.
   10319 predep_objects=$lt_predep_objects
   10320 
   10321 # Dependencies to place after the objects being linked to create a
   10322 # shared library.
   10323 postdep_objects=$lt_postdep_objects
   10324 
   10325 # Dependencies to place before the objects being linked to create a
   10326 # shared library.
   10327 predeps=$lt_predeps
   10328 
   10329 # Dependencies to place after the objects being linked to create a
   10330 # shared library.
   10331 postdeps=$lt_postdeps
   10332 
   10333 # The library search path used internally by the compiler when linking
   10334 # a shared library.
   10335 compiler_lib_search_path=$lt_compiler_lib_search_path
   10336 
   10337 # Method to check whether dependent libraries are shared objects.
   10338 deplibs_check_method=$lt_deplibs_check_method
   10339 
   10340 # Command to use when deplibs_check_method == file_magic.
   10341 file_magic_cmd=$lt_file_magic_cmd
   10342 
   10343 # Flag that allows shared libraries with undefined symbols to be built.
   10344 allow_undefined_flag=$lt_allow_undefined_flag
   10345 
   10346 # Flag that forces no undefined symbols.
   10347 no_undefined_flag=$lt_no_undefined_flag
   10348 
   10349 # Commands used to finish a libtool library installation in a directory.
   10350 finish_cmds=$lt_finish_cmds
   10351 
   10352 # Same as above, but a single script fragment to be evaled but not shown.
   10353 finish_eval=$lt_finish_eval
   10354 
   10355 # Take the output of nm and produce a listing of raw symbols and C names.
   10356 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10357 
   10358 # Transform the output of nm in a proper C declaration
   10359 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10360 
   10361 # Transform the output of nm in a C name address pair
   10362 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10363 
   10364 # This is the shared library runtime path variable.
   10365 runpath_var=$runpath_var
   10366 
   10367 # This is the shared library path variable.
   10368 shlibpath_var=$shlibpath_var
   10369 
   10370 # Is shlibpath searched before the hard-coded library search path?
   10371 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10372 
   10373 # How to hardcode a shared library path into an executable.
   10374 hardcode_action=$hardcode_action
   10375 
   10376 # Whether we should hardcode library paths into libraries.
   10377 hardcode_into_libs=$hardcode_into_libs
   10378 
   10379 # Flag to hardcode \$libdir into a binary during linking.
   10380 # This must work even if \$libdir does not exist.
   10381 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10382 
   10383 # If ld is used when linking, flag to hardcode \$libdir into
   10384 # a binary during linking. This must work even if \$libdir does
   10385 # not exist.
   10386 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10387 
   10388 # Whether we need a single -rpath flag with a separated argument.
   10389 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10390 
   10391 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   10392 # resulting binary.
   10393 hardcode_direct=$hardcode_direct
   10394 
   10395 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   10396 # resulting binary.
   10397 hardcode_minus_L=$hardcode_minus_L
   10398 
   10399 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   10400 # the resulting binary.
   10401 hardcode_shlibpath_var=$hardcode_shlibpath_var
   10402 
   10403 # Set to yes if building a shared library automatically hardcodes DIR into the library
   10404 # and all subsequent libraries and executables linked against it.
   10405 hardcode_automatic=$hardcode_automatic
   10406 
   10407 # Variables whose values should be saved in libtool wrapper scripts and
   10408 # restored at relink time.
   10409 variables_saved_for_relink="$variables_saved_for_relink"
   10410 
   10411 # Whether libtool must link a program against all its dependency libraries.
   10412 link_all_deplibs=$link_all_deplibs
   10413 
   10414 # Compile-time system search path for libraries
   10415 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   10416 
   10417 # Run-time system search path for libraries
   10418 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   10419 
   10420 # Fix the shell variable \$srcfile for the compiler.
   10421 fix_srcfile_path="$fix_srcfile_path"
   10422 
   10423 # Set to yes if exported symbols are required.
   10424 always_export_symbols=$always_export_symbols
   10425 
   10426 # The commands to list exported symbols.
   10427 export_symbols_cmds=$lt_export_symbols_cmds
   10428 
   10429 # The commands to extract the exported symbol list from a shared archive.
   10430 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   10431 
   10432 # Symbols that should not be listed in the preloaded symbols.
   10433 exclude_expsyms=$lt_exclude_expsyms
   10434 
   10435 # Symbols that must always be exported.
   10436 include_expsyms=$lt_include_expsyms
   10437 
   10438 # ### END LIBTOOL CONFIG
   10439 
   10440 __EOF__
   10441 
   10442 
   10443   case $host_os in
   10444   aix3*)
   10445     cat <<\EOF >> "$cfgfile"
   10446 
   10447 # AIX sometimes has problems with the GCC collect2 program.  For some
   10448 # reason, if we set the COLLECT_NAMES environment variable, the problems
   10449 # vanish in a puff of smoke.
   10450 if test "X${COLLECT_NAMES+set}" != Xset; then
   10451   COLLECT_NAMES=
   10452   export COLLECT_NAMES
   10453 fi
   10454 EOF
   10455     ;;
   10456   esac
   10457 
   10458   # We use sed instead of cat because bash on DJGPP gets confused if
   10459   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   10460   # text mode, it properly converts lines to CR/LF.  This bash problem
   10461   # is reportedly fixed, but why not run on old versions too?
   10462   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   10463 
   10464   mv -f "$cfgfile" "$ofile" || \
   10465     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   10466   chmod +x "$ofile"
   10467 
   10468 else
   10469   # If there is no Makefile yet, we rely on a make rule to execute
   10470   # `config.status --recheck' to rerun these tests and create the
   10471   # libtool script then.
   10472   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   10473   if test -f "$ltmain_in"; then
   10474     test -f Makefile && make "$ltmain"
   10475   fi
   10476 fi
   10477 
   10478 
   10479 ac_ext=c
   10480 ac_cpp='$CPP $CPPFLAGS'
   10481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10484 
   10485 CC="$lt_save_CC"
   10486 
   10487 
   10488 # Check whether --with-tags was given.
   10489 if test "${with_tags+set}" = set; then
   10490   withval=$with_tags; tagnames="$withval"
   10491 fi
   10492 
   10493 
   10494 if test -f "$ltmain" && test -n "$tagnames"; then
   10495   if test ! -f "${ofile}"; then
   10496     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   10497 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   10498   fi
   10499 
   10500   if test -z "$LTCC"; then
   10501     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   10502     if test -z "$LTCC"; then
   10503       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   10504 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   10505     else
   10506       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   10507 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   10508     fi
   10509   fi
   10510   if test -z "$LTCFLAGS"; then
   10511     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   10512   fi
   10513 
   10514   # Extract list of available tagged configurations in $ofile.
   10515   # Note that this assumes the entire list is on one line.
   10516   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   10517 
   10518   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10519   for tagname in $tagnames; do
   10520     IFS="$lt_save_ifs"
   10521     # Check whether tagname contains only valid characters
   10522     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   10523     "") ;;
   10524     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   10525 echo "$as_me: error: invalid tag name: $tagname" >&2;}
   10526    { (exit 1); exit 1; }; }
   10527 	;;
   10528     esac
   10529 
   10530     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   10531     then
   10532       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   10533 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   10534    { (exit 1); exit 1; }; }
   10535     fi
   10536 
   10537     # Update the list of available tags.
   10538     if test -n "$tagname"; then
   10539       echo appending configuration tag \"$tagname\" to $ofile
   10540 
   10541       case $tagname in
   10542       CXX)
   10543 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   10544 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   10545 	    (test "X$CXX" != "Xg++"))) ; then
   10546 	  ac_ext=cpp
   10547 ac_cpp='$CXXCPP $CPPFLAGS'
   10548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   10551 
   10552 
   10553 
   10554 
   10555 archive_cmds_need_lc_CXX=no
   10556 allow_undefined_flag_CXX=
   10557 always_export_symbols_CXX=no
   10558 archive_expsym_cmds_CXX=
   10559 export_dynamic_flag_spec_CXX=
   10560 hardcode_direct_CXX=no
   10561 hardcode_libdir_flag_spec_CXX=
   10562 hardcode_libdir_flag_spec_ld_CXX=
   10563 hardcode_libdir_separator_CXX=
   10564 hardcode_minus_L_CXX=no
   10565 hardcode_shlibpath_var_CXX=unsupported
   10566 hardcode_automatic_CXX=no
   10567 module_cmds_CXX=
   10568 module_expsym_cmds_CXX=
   10569 link_all_deplibs_CXX=unknown
   10570 old_archive_cmds_CXX=$old_archive_cmds
   10571 no_undefined_flag_CXX=
   10572 whole_archive_flag_spec_CXX=
   10573 enable_shared_with_static_runtimes_CXX=no
   10574 
   10575 # Dependencies to place before and after the object being linked:
   10576 predep_objects_CXX=
   10577 postdep_objects_CXX=
   10578 predeps_CXX=
   10579 postdeps_CXX=
   10580 compiler_lib_search_path_CXX=
   10581 
   10582 # Source file extension for C++ test sources.
   10583 ac_ext=cpp
   10584 
   10585 # Object file extension for compiled C++ test sources.
   10586 objext=o
   10587 objext_CXX=$objext
   10588 
   10589 # Code to be used in simple compile tests
   10590 lt_simple_compile_test_code="int some_variable = 0;\n"
   10591 
   10592 # Code to be used in simple link tests
   10593 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   10594 
   10595 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   10596 
   10597 # If no C compiler was specified, use CC.
   10598 LTCC=${LTCC-"$CC"}
   10599 
   10600 # If no C compiler flags were specified, use CFLAGS.
   10601 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10602 
   10603 # Allow CC to be a program name with arguments.
   10604 compiler=$CC
   10605 
   10606 
   10607 # save warnings/boilerplate of simple test code
   10608 ac_outfile=conftest.$ac_objext
   10609 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   10610 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10611 _lt_compiler_boilerplate=`cat conftest.err`
   10612 $rm conftest*
   10613 
   10614 ac_outfile=conftest.$ac_objext
   10615 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   10616 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10617 _lt_linker_boilerplate=`cat conftest.err`
   10618 $rm conftest*
   10619 
   10620 
   10621 # Allow CC to be a program name with arguments.
   10622 lt_save_CC=$CC
   10623 lt_save_LD=$LD
   10624 lt_save_GCC=$GCC
   10625 GCC=$GXX
   10626 lt_save_with_gnu_ld=$with_gnu_ld
   10627 lt_save_path_LD=$lt_cv_path_LD
   10628 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   10629   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   10630 else
   10631   $as_unset lt_cv_prog_gnu_ld
   10632 fi
   10633 if test -n "${lt_cv_path_LDCXX+set}"; then
   10634   lt_cv_path_LD=$lt_cv_path_LDCXX
   10635 else
   10636   $as_unset lt_cv_path_LD
   10637 fi
   10638 test -z "${LDCXX+set}" || LD=$LDCXX
   10639 CC=${CXX-"c++"}
   10640 compiler=$CC
   10641 compiler_CXX=$CC
   10642 for cc_temp in $compiler""; do
   10643   case $cc_temp in
   10644     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10645     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10646     \-*) ;;
   10647     *) break;;
   10648   esac
   10649 done
   10650 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10651 
   10652 
   10653 # We don't want -fno-exception wen compiling C++ code, so set the
   10654 # no_builtin_flag separately
   10655 if test "$GXX" = yes; then
   10656   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   10657 else
   10658   lt_prog_compiler_no_builtin_flag_CXX=
   10659 fi
   10660 
   10661 if test "$GXX" = yes; then
   10662   # Set up default GNU C++ configuration
   10663 
   10664 
   10665 # Check whether --with-gnu-ld was given.
   10666 if test "${with_gnu_ld+set}" = set; then
   10667   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10668 else
   10669   with_gnu_ld=no
   10670 fi
   10671 
   10672 ac_prog=ld
   10673 if test "$GCC" = yes; then
   10674   # Check if gcc -print-prog-name=ld gives a path.
   10675   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   10676 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   10677   case $host in
   10678   *-*-mingw*)
   10679     # gcc leaves a trailing carriage return which upsets mingw
   10680     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10681   *)
   10682     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10683   esac
   10684   case $ac_prog in
   10685     # Accept absolute paths.
   10686     [\\/]* | ?:[\\/]*)
   10687       re_direlt='/[^/][^/]*/\.\./'
   10688       # Canonicalize the pathname of ld
   10689       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   10690       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10691 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   10692       done
   10693       test -z "$LD" && LD="$ac_prog"
   10694       ;;
   10695   "")
   10696     # If it fails, then pretend we aren't using GCC.
   10697     ac_prog=ld
   10698     ;;
   10699   *)
   10700     # If it is relative, then search for the first ld in PATH.
   10701     with_gnu_ld=unknown
   10702     ;;
   10703   esac
   10704 elif test "$with_gnu_ld" = yes; then
   10705   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   10706 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   10707 else
   10708   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10709 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   10710 fi
   10711 if test "${lt_cv_path_LD+set}" = set; then
   10712   echo $ECHO_N "(cached) $ECHO_C" >&6
   10713 else
   10714   if test -z "$LD"; then
   10715   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10716   for ac_dir in $PATH; do
   10717     IFS="$lt_save_ifs"
   10718     test -z "$ac_dir" && ac_dir=.
   10719     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10720       lt_cv_path_LD="$ac_dir/$ac_prog"
   10721       # Check to see if the program is GNU ld.  I'd rather use --version,
   10722       # but apparently some variants of GNU ld only accept -v.
   10723       # Break only if it was the GNU/non-GNU ld that we prefer.
   10724       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10725       *GNU* | *'with BFD'*)
   10726 	test "$with_gnu_ld" != no && break
   10727 	;;
   10728       *)
   10729 	test "$with_gnu_ld" != yes && break
   10730 	;;
   10731       esac
   10732     fi
   10733   done
   10734   IFS="$lt_save_ifs"
   10735 else
   10736   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10737 fi
   10738 fi
   10739 
   10740 LD="$lt_cv_path_LD"
   10741 if test -n "$LD"; then
   10742   { echo "$as_me:$LINENO: result: $LD" >&5
   10743 echo "${ECHO_T}$LD" >&6; }
   10744 else
   10745   { echo "$as_me:$LINENO: result: no" >&5
   10746 echo "${ECHO_T}no" >&6; }
   10747 fi
   10748 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10749 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10750    { (exit 1); exit 1; }; }
   10751 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10752 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   10753 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   10754   echo $ECHO_N "(cached) $ECHO_C" >&6
   10755 else
   10756   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10757 case `$LD -v 2>&1 </dev/null` in
   10758 *GNU* | *'with BFD'*)
   10759   lt_cv_prog_gnu_ld=yes
   10760   ;;
   10761 *)
   10762   lt_cv_prog_gnu_ld=no
   10763   ;;
   10764 esac
   10765 fi
   10766 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   10767 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   10768 with_gnu_ld=$lt_cv_prog_gnu_ld
   10769 
   10770 
   10771 
   10772   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   10773   # archiving commands below assume that GNU ld is being used.
   10774   if test "$with_gnu_ld" = yes; then
   10775     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10776     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'
   10777 
   10778     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   10779     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   10780 
   10781     # If archive_cmds runs LD, not CC, wlarc should be empty
   10782     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   10783     #     investigate it a little bit more. (MM)
   10784     wlarc='${wl}'
   10785 
   10786     # ancient GNU ld didn't support --whole-archive et. al.
   10787     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   10788 	grep 'no-whole-archive' > /dev/null; then
   10789       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10790     else
   10791       whole_archive_flag_spec_CXX=
   10792     fi
   10793   else
   10794     with_gnu_ld=no
   10795     wlarc=
   10796 
   10797     # A generic and very simple default shared library creation
   10798     # command for GNU C++ for the case where it uses the native
   10799     # linker, instead of GNU ld.  If possible, this setting should
   10800     # overridden to take advantage of the native linker features on
   10801     # the platform it is being used on.
   10802     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   10803   fi
   10804 
   10805   # Commands to make compiler produce verbose output that lists
   10806   # what "hidden" libraries, object files and flags are used when
   10807   # linking a shared library.
   10808   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   10809 
   10810 else
   10811   GXX=no
   10812   with_gnu_ld=no
   10813   wlarc=
   10814 fi
   10815 
   10816 # PORTME: fill in a description of your system's C++ link characteristics
   10817 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10818 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   10819 ld_shlibs_CXX=yes
   10820 case $host_os in
   10821   aix3*)
   10822     # FIXME: insert proper C++ library support
   10823     ld_shlibs_CXX=no
   10824     ;;
   10825   aix4* | aix5*)
   10826     if test "$host_cpu" = ia64; then
   10827       # On IA64, the linker does run time linking by default, so we don't
   10828       # have to do anything special.
   10829       aix_use_runtimelinking=no
   10830       exp_sym_flag='-Bexport'
   10831       no_entry_flag=""
   10832     else
   10833       aix_use_runtimelinking=no
   10834 
   10835       # Test if we are trying to use run time linking or normal
   10836       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10837       # need to do runtime linking.
   10838       case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   10839 	for ld_flag in $LDFLAGS; do
   10840 	  case $ld_flag in
   10841 	  *-brtl*)
   10842 	    aix_use_runtimelinking=yes
   10843 	    break
   10844 	    ;;
   10845 	  esac
   10846 	done
   10847 	;;
   10848       esac
   10849 
   10850       exp_sym_flag='-bexport'
   10851       no_entry_flag='-bnoentry'
   10852     fi
   10853 
   10854     # When large executables or shared objects are built, AIX ld can
   10855     # have problems creating the table of contents.  If linking a library
   10856     # or program results in "error TOC overflow" add -mminimal-toc to
   10857     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10858     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10859 
   10860     archive_cmds_CXX=''
   10861     hardcode_direct_CXX=yes
   10862     hardcode_libdir_separator_CXX=':'
   10863     link_all_deplibs_CXX=yes
   10864 
   10865     if test "$GXX" = yes; then
   10866       case $host_os in aix4.[012]|aix4.[012].*)
   10867       # We only want to do this on AIX 4.2 and lower, the check
   10868       # below for broken collect2 doesn't work under 4.3+
   10869 	collect2name=`${CC} -print-prog-name=collect2`
   10870 	if test -f "$collect2name" && \
   10871 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   10872 	then
   10873 	  # We have reworked collect2
   10874 	  hardcode_direct_CXX=yes
   10875 	else
   10876 	  # We have old collect2
   10877 	  hardcode_direct_CXX=unsupported
   10878 	  # It fails to find uninstalled libraries when the uninstalled
   10879 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10880 	  # to unsupported forces relinking
   10881 	  hardcode_minus_L_CXX=yes
   10882 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   10883 	  hardcode_libdir_separator_CXX=
   10884 	fi
   10885 	;;
   10886       esac
   10887       shared_flag='-shared'
   10888       if test "$aix_use_runtimelinking" = yes; then
   10889 	shared_flag="$shared_flag "'${wl}-G'
   10890       fi
   10891     else
   10892       # not using gcc
   10893       if test "$host_cpu" = ia64; then
   10894 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10895 	# chokes on -Wl,-G. The following line is correct:
   10896 	shared_flag='-G'
   10897       else
   10898 	if test "$aix_use_runtimelinking" = yes; then
   10899 	  shared_flag='${wl}-G'
   10900 	else
   10901 	  shared_flag='${wl}-bM:SRE'
   10902 	fi
   10903       fi
   10904     fi
   10905 
   10906     # It seems that -bexpall does not export symbols beginning with
   10907     # underscore (_), so it is better to generate a list of symbols to export.
   10908     always_export_symbols_CXX=yes
   10909     if test "$aix_use_runtimelinking" = yes; then
   10910       # Warning - without using the other runtime loading flags (-brtl),
   10911       # -berok will link without error, but may produce a broken library.
   10912       allow_undefined_flag_CXX='-berok'
   10913       # Determine the default libpath from the value encoded in an empty executable.
   10914       cat >conftest.$ac_ext <<_ACEOF
   10915 /* confdefs.h.  */
   10916 _ACEOF
   10917 cat confdefs.h >>conftest.$ac_ext
   10918 cat >>conftest.$ac_ext <<_ACEOF
   10919 /* end confdefs.h.  */
   10920 
   10921 int
   10922 main ()
   10923 {
   10924 
   10925   ;
   10926   return 0;
   10927 }
   10928 _ACEOF
   10929 rm -f conftest.$ac_objext conftest$ac_exeext
   10930 if { (ac_try="$ac_link"
   10931 case "(($ac_try" in
   10932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10933   *) ac_try_echo=$ac_try;;
   10934 esac
   10935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10936   (eval "$ac_link") 2>conftest.er1
   10937   ac_status=$?
   10938   grep -v '^ *+' conftest.er1 >conftest.err
   10939   rm -f conftest.er1
   10940   cat conftest.err >&5
   10941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10942   (exit $ac_status); } && {
   10943 	 test -z "$ac_cxx_werror_flag" ||
   10944 	 test ! -s conftest.err
   10945        } && test -s conftest$ac_exeext &&
   10946        $as_test_x conftest$ac_exeext; then
   10947 
   10948 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   10949 }'`
   10950 # Check for a 64-bit object if we didn't find anything.
   10951 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; }
   10952 }'`; fi
   10953 else
   10954   echo "$as_me: failed program was:" >&5
   10955 sed 's/^/| /' conftest.$ac_ext >&5
   10956 
   10957 
   10958 fi
   10959 
   10960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10961       conftest$ac_exeext conftest.$ac_ext
   10962 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10963 
   10964       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   10965 
   10966       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"
   10967      else
   10968       if test "$host_cpu" = ia64; then
   10969 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   10970 	allow_undefined_flag_CXX="-z nodefs"
   10971 	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"
   10972       else
   10973 	# Determine the default libpath from the value encoded in an empty executable.
   10974 	cat >conftest.$ac_ext <<_ACEOF
   10975 /* confdefs.h.  */
   10976 _ACEOF
   10977 cat confdefs.h >>conftest.$ac_ext
   10978 cat >>conftest.$ac_ext <<_ACEOF
   10979 /* end confdefs.h.  */
   10980 
   10981 int
   10982 main ()
   10983 {
   10984 
   10985   ;
   10986   return 0;
   10987 }
   10988 _ACEOF
   10989 rm -f conftest.$ac_objext conftest$ac_exeext
   10990 if { (ac_try="$ac_link"
   10991 case "(($ac_try" in
   10992   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10993   *) ac_try_echo=$ac_try;;
   10994 esac
   10995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10996   (eval "$ac_link") 2>conftest.er1
   10997   ac_status=$?
   10998   grep -v '^ *+' conftest.er1 >conftest.err
   10999   rm -f conftest.er1
   11000   cat conftest.err >&5
   11001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11002   (exit $ac_status); } && {
   11003 	 test -z "$ac_cxx_werror_flag" ||
   11004 	 test ! -s conftest.err
   11005        } && test -s conftest$ac_exeext &&
   11006        $as_test_x conftest$ac_exeext; then
   11007 
   11008 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   11009 }'`
   11010 # Check for a 64-bit object if we didn't find anything.
   11011 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; }
   11012 }'`; fi
   11013 else
   11014   echo "$as_me: failed program was:" >&5
   11015 sed 's/^/| /' conftest.$ac_ext >&5
   11016 
   11017 
   11018 fi
   11019 
   11020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11021       conftest$ac_exeext conftest.$ac_ext
   11022 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11023 
   11024 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11025 	# Warning - without using the other run time loading flags,
   11026 	# -berok will link without error, but may produce a broken library.
   11027 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11028 	allow_undefined_flag_CXX=' ${wl}-berok'
   11029 	# Exported symbols can be pulled into shared objects from archives
   11030 	whole_archive_flag_spec_CXX='$convenience'
   11031 	archive_cmds_need_lc_CXX=yes
   11032 	# This is similar to how AIX traditionally builds its shared libraries.
   11033 	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'
   11034       fi
   11035     fi
   11036     ;;
   11037 
   11038   beos*)
   11039     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11040       allow_undefined_flag_CXX=unsupported
   11041       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11042       # support --undefined.  This deserves some investigation.  FIXME
   11043       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11044     else
   11045       ld_shlibs_CXX=no
   11046     fi
   11047     ;;
   11048 
   11049   chorus*)
   11050     case $cc_basename in
   11051       *)
   11052 	# FIXME: insert proper C++ library support
   11053 	ld_shlibs_CXX=no
   11054 	;;
   11055     esac
   11056     ;;
   11057 
   11058   cygwin* | mingw* | pw32*)
   11059     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11060     # as there is no search path for DLLs.
   11061     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11062     allow_undefined_flag_CXX=unsupported
   11063     always_export_symbols_CXX=no
   11064     enable_shared_with_static_runtimes_CXX=yes
   11065 
   11066     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11067       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'
   11068       # If the export-symbols file already is a .def file (1st line
   11069       # is EXPORTS), use it as is; otherwise, prepend...
   11070       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11071 	cp $export_symbols $output_objdir/$soname.def;
   11072       else
   11073 	echo EXPORTS > $output_objdir/$soname.def;
   11074 	cat $export_symbols >> $output_objdir/$soname.def;
   11075       fi~
   11076       $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'
   11077     else
   11078       ld_shlibs_CXX=no
   11079     fi
   11080   ;;
   11081       darwin* | rhapsody*)
   11082         case $host_os in
   11083         rhapsody* | darwin1.[012])
   11084          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
   11085          ;;
   11086        *) # Darwin 1.3 on
   11087          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   11088            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11089          else
   11090            case ${MACOSX_DEPLOYMENT_TARGET} in
   11091              10.[012])
   11092                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   11093                ;;
   11094              10.*)
   11095                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
   11096                ;;
   11097            esac
   11098          fi
   11099          ;;
   11100         esac
   11101       archive_cmds_need_lc_CXX=no
   11102       hardcode_direct_CXX=no
   11103       hardcode_automatic_CXX=yes
   11104       hardcode_shlibpath_var_CXX=unsupported
   11105       whole_archive_flag_spec_CXX=''
   11106       link_all_deplibs_CXX=yes
   11107 
   11108     if test "$GXX" = yes ; then
   11109       lt_int_apple_cc_single_mod=no
   11110       output_verbose_link_cmd='echo'
   11111       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
   11112        lt_int_apple_cc_single_mod=yes
   11113       fi
   11114       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11115        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   11116       else
   11117           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'
   11118         fi
   11119         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11120         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11121           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
   11122             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}'
   11123           else
   11124             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}'
   11125           fi
   11126             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}'
   11127       else
   11128       case $cc_basename in
   11129         xlc*)
   11130          output_verbose_link_cmd='echo'
   11131           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'
   11132           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11133           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11134           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}'
   11135           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}'
   11136           ;;
   11137        *)
   11138          ld_shlibs_CXX=no
   11139           ;;
   11140       esac
   11141       fi
   11142         ;;
   11143 
   11144   dgux*)
   11145     case $cc_basename in
   11146       ec++*)
   11147 	# FIXME: insert proper C++ library support
   11148 	ld_shlibs_CXX=no
   11149 	;;
   11150       ghcx*)
   11151 	# Green Hills C++ Compiler
   11152 	# FIXME: insert proper C++ library support
   11153 	ld_shlibs_CXX=no
   11154 	;;
   11155       *)
   11156 	# FIXME: insert proper C++ library support
   11157 	ld_shlibs_CXX=no
   11158 	;;
   11159     esac
   11160     ;;
   11161   freebsd[12]*)
   11162     # C++ shared libraries reported to be fairly broken before switch to ELF
   11163     ld_shlibs_CXX=no
   11164     ;;
   11165   freebsd-elf*)
   11166     archive_cmds_need_lc_CXX=no
   11167     ;;
   11168   freebsd* | kfreebsd*-gnu | dragonfly*)
   11169     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11170     # conventions
   11171     ld_shlibs_CXX=yes
   11172     ;;
   11173   gnu*)
   11174     ;;
   11175   hpux9*)
   11176     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11177     hardcode_libdir_separator_CXX=:
   11178     export_dynamic_flag_spec_CXX='${wl}-E'
   11179     hardcode_direct_CXX=yes
   11180     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11181 				# but as the default
   11182 				# location of the library.
   11183 
   11184     case $cc_basename in
   11185     CC*)
   11186       # FIXME: insert proper C++ library support
   11187       ld_shlibs_CXX=no
   11188       ;;
   11189     aCC*)
   11190       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'
   11191       # Commands to make compiler produce verbose output that lists
   11192       # what "hidden" libraries, object files and flags are used when
   11193       # linking a shared library.
   11194       #
   11195       # There doesn't appear to be a way to prevent this compiler from
   11196       # explicitly linking system object files so we need to strip them
   11197       # from the output so that they don't get included in the library
   11198       # dependencies.
   11199       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'
   11200       ;;
   11201     *)
   11202       if test "$GXX" = yes; then
   11203         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'
   11204       else
   11205         # FIXME: insert proper C++ library support
   11206         ld_shlibs_CXX=no
   11207       fi
   11208       ;;
   11209     esac
   11210     ;;
   11211   hpux10*|hpux11*)
   11212     if test $with_gnu_ld = no; then
   11213       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11214       hardcode_libdir_separator_CXX=:
   11215 
   11216       case $host_cpu in
   11217       hppa*64*|ia64*)
   11218 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
   11219         ;;
   11220       *)
   11221 	export_dynamic_flag_spec_CXX='${wl}-E'
   11222         ;;
   11223       esac
   11224     fi
   11225     case $host_cpu in
   11226     hppa*64*|ia64*)
   11227       hardcode_direct_CXX=no
   11228       hardcode_shlibpath_var_CXX=no
   11229       ;;
   11230     *)
   11231       hardcode_direct_CXX=yes
   11232       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11233 					      # but as the default
   11234 					      # location of the library.
   11235       ;;
   11236     esac
   11237 
   11238     case $cc_basename in
   11239       CC*)
   11240 	# FIXME: insert proper C++ library support
   11241 	ld_shlibs_CXX=no
   11242 	;;
   11243       aCC*)
   11244 	case $host_cpu in
   11245 	hppa*64*)
   11246 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11247 	  ;;
   11248 	ia64*)
   11249 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11250 	  ;;
   11251 	*)
   11252 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11253 	  ;;
   11254 	esac
   11255 	# Commands to make compiler produce verbose output that lists
   11256 	# what "hidden" libraries, object files and flags are used when
   11257 	# linking a shared library.
   11258 	#
   11259 	# There doesn't appear to be a way to prevent this compiler from
   11260 	# explicitly linking system object files so we need to strip them
   11261 	# from the output so that they don't get included in the library
   11262 	# dependencies.
   11263 	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'
   11264 	;;
   11265       *)
   11266 	if test "$GXX" = yes; then
   11267 	  if test $with_gnu_ld = no; then
   11268 	    case $host_cpu in
   11269 	    hppa*64*)
   11270 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11271 	      ;;
   11272 	    ia64*)
   11273 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11274 	      ;;
   11275 	    *)
   11276 	      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'
   11277 	      ;;
   11278 	    esac
   11279 	  fi
   11280 	else
   11281 	  # FIXME: insert proper C++ library support
   11282 	  ld_shlibs_CXX=no
   11283 	fi
   11284 	;;
   11285     esac
   11286     ;;
   11287   interix3*)
   11288     hardcode_direct_CXX=no
   11289     hardcode_shlibpath_var_CXX=no
   11290     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11291     export_dynamic_flag_spec_CXX='${wl}-E'
   11292     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11293     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11294     # default) and relocated if they conflict, which is a slow very memory
   11295     # consuming and fragmenting process.  To avoid this, we pick a random,
   11296     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11297     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11298     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'
   11299     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'
   11300     ;;
   11301   irix5* | irix6*)
   11302     case $cc_basename in
   11303       CC*)
   11304 	# SGI C++
   11305 	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'
   11306 
   11307 	# Archives containing C++ object files must be created using
   11308 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11309 	# necessary to make sure instantiated templates are included
   11310 	# in the archive.
   11311 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11312 	;;
   11313       *)
   11314 	if test "$GXX" = yes; then
   11315 	  if test "$with_gnu_ld" = no; then
   11316 	    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'
   11317 	  else
   11318 	    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'
   11319 	  fi
   11320 	fi
   11321 	link_all_deplibs_CXX=yes
   11322 	;;
   11323     esac
   11324     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11325     hardcode_libdir_separator_CXX=:
   11326     ;;
   11327   linux*)
   11328     case $cc_basename in
   11329       KCC*)
   11330 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11331 
   11332 	# KCC will only create a shared library if the output file
   11333 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11334 	# to its proper name (with version) after linking.
   11335 	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'
   11336 	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'
   11337 	# Commands to make compiler produce verbose output that lists
   11338 	# what "hidden" libraries, object files and flags are used when
   11339 	# linking a shared library.
   11340 	#
   11341 	# There doesn't appear to be a way to prevent this compiler from
   11342 	# explicitly linking system object files so we need to strip them
   11343 	# from the output so that they don't get included in the library
   11344 	# dependencies.
   11345 	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'
   11346 
   11347 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11348 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11349 
   11350 	# Archives containing C++ object files must be created using
   11351 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11352 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11353 	;;
   11354       icpc*)
   11355 	# Intel C++
   11356 	with_gnu_ld=yes
   11357 	# version 8.0 and above of icpc choke on multiply defined symbols
   11358 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11359 	# earlier do not add the objects themselves.
   11360 	case `$CC -V 2>&1` in
   11361 	*"Version 7."*)
   11362   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11363   	  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'
   11364 	  ;;
   11365 	*)  # Version 8.0 or newer
   11366 	  tmp_idyn=
   11367 	  case $host_cpu in
   11368 	    ia64*) tmp_idyn=' -i_dynamic';;
   11369 	  esac
   11370   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11371 	  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'
   11372 	  ;;
   11373 	esac
   11374 	archive_cmds_need_lc_CXX=no
   11375 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11376 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11377 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11378 	;;
   11379       pgCC*)
   11380         # Portland Group C++ compiler
   11381 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11382   	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'
   11383 
   11384 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11385 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11386 	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'
   11387         ;;
   11388       cxx*)
   11389 	# Compaq C++
   11390 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11391 	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'
   11392 
   11393 	runpath_var=LD_RUN_PATH
   11394 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11395 	hardcode_libdir_separator_CXX=:
   11396 
   11397 	# Commands to make compiler produce verbose output that lists
   11398 	# what "hidden" libraries, object files and flags are used when
   11399 	# linking a shared library.
   11400 	#
   11401 	# There doesn't appear to be a way to prevent this compiler from
   11402 	# explicitly linking system object files so we need to strip them
   11403 	# from the output so that they don't get included in the library
   11404 	# dependencies.
   11405 	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'
   11406 	;;
   11407     esac
   11408     ;;
   11409   lynxos*)
   11410     # FIXME: insert proper C++ library support
   11411     ld_shlibs_CXX=no
   11412     ;;
   11413   m88k*)
   11414     # FIXME: insert proper C++ library support
   11415     ld_shlibs_CXX=no
   11416     ;;
   11417   mvs*)
   11418     case $cc_basename in
   11419       cxx*)
   11420 	# FIXME: insert proper C++ library support
   11421 	ld_shlibs_CXX=no
   11422 	;;
   11423       *)
   11424 	# FIXME: insert proper C++ library support
   11425 	ld_shlibs_CXX=no
   11426 	;;
   11427     esac
   11428     ;;
   11429   netbsd*)
   11430     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   11431       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   11432       wlarc=
   11433       hardcode_libdir_flag_spec_CXX='-R$libdir'
   11434       hardcode_direct_CXX=yes
   11435       hardcode_shlibpath_var_CXX=no
   11436     fi
   11437     # Workaround some broken pre-1.5 toolchains
   11438     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   11439     ;;
   11440   openbsd2*)
   11441     # C++ shared libraries are fairly broken
   11442     ld_shlibs_CXX=no
   11443     ;;
   11444   openbsd*)
   11445     hardcode_direct_CXX=yes
   11446     hardcode_shlibpath_var_CXX=no
   11447     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11448     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11449     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11450       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   11451       export_dynamic_flag_spec_CXX='${wl}-E'
   11452       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11453     fi
   11454     output_verbose_link_cmd='echo'
   11455     ;;
   11456   osf3*)
   11457     case $cc_basename in
   11458       KCC*)
   11459 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11460 
   11461 	# KCC will only create a shared library if the output file
   11462 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11463 	# to its proper name (with version) after linking.
   11464 	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'
   11465 
   11466 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11467 	hardcode_libdir_separator_CXX=:
   11468 
   11469 	# Archives containing C++ object files must be created using
   11470 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11471 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11472 
   11473 	;;
   11474       RCC*)
   11475 	# Rational C++ 2.4.1
   11476 	# FIXME: insert proper C++ library support
   11477 	ld_shlibs_CXX=no
   11478 	;;
   11479       cxx*)
   11480 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11481 	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'
   11482 
   11483 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11484 	hardcode_libdir_separator_CXX=:
   11485 
   11486 	# Commands to make compiler produce verbose output that lists
   11487 	# what "hidden" libraries, object files and flags are used when
   11488 	# linking a shared library.
   11489 	#
   11490 	# There doesn't appear to be a way to prevent this compiler from
   11491 	# explicitly linking system object files so we need to strip them
   11492 	# from the output so that they don't get included in the library
   11493 	# dependencies.
   11494 	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'
   11495 	;;
   11496       *)
   11497 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11498 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11499 	  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'
   11500 
   11501 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11502 	  hardcode_libdir_separator_CXX=:
   11503 
   11504 	  # Commands to make compiler produce verbose output that lists
   11505 	  # what "hidden" libraries, object files and flags are used when
   11506 	  # linking a shared library.
   11507 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11508 
   11509 	else
   11510 	  # FIXME: insert proper C++ library support
   11511 	  ld_shlibs_CXX=no
   11512 	fi
   11513 	;;
   11514     esac
   11515     ;;
   11516   osf4* | osf5*)
   11517     case $cc_basename in
   11518       KCC*)
   11519 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11520 
   11521 	# KCC will only create a shared library if the output file
   11522 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11523 	# to its proper name (with version) after linking.
   11524 	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'
   11525 
   11526 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11527 	hardcode_libdir_separator_CXX=:
   11528 
   11529 	# Archives containing C++ object files must be created using
   11530 	# the KAI C++ compiler.
   11531 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   11532 	;;
   11533       RCC*)
   11534 	# Rational C++ 2.4.1
   11535 	# FIXME: insert proper C++ library support
   11536 	ld_shlibs_CXX=no
   11537 	;;
   11538       cxx*)
   11539 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   11540 	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'
   11541 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   11542 	  echo "-hidden">> $lib.exp~
   11543 	  $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~
   11544 	  $rm $lib.exp'
   11545 
   11546 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11547 	hardcode_libdir_separator_CXX=:
   11548 
   11549 	# Commands to make compiler produce verbose output that lists
   11550 	# what "hidden" libraries, object files and flags are used when
   11551 	# linking a shared library.
   11552 	#
   11553 	# There doesn't appear to be a way to prevent this compiler from
   11554 	# explicitly linking system object files so we need to strip them
   11555 	# from the output so that they don't get included in the library
   11556 	# dependencies.
   11557 	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'
   11558 	;;
   11559       *)
   11560 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11561 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   11562 	 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'
   11563 
   11564 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11565 	  hardcode_libdir_separator_CXX=:
   11566 
   11567 	  # Commands to make compiler produce verbose output that lists
   11568 	  # what "hidden" libraries, object files and flags are used when
   11569 	  # linking a shared library.
   11570 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11571 
   11572 	else
   11573 	  # FIXME: insert proper C++ library support
   11574 	  ld_shlibs_CXX=no
   11575 	fi
   11576 	;;
   11577     esac
   11578     ;;
   11579   psos*)
   11580     # FIXME: insert proper C++ library support
   11581     ld_shlibs_CXX=no
   11582     ;;
   11583   sunos4*)
   11584     case $cc_basename in
   11585       CC*)
   11586 	# Sun C++ 4.x
   11587 	# FIXME: insert proper C++ library support
   11588 	ld_shlibs_CXX=no
   11589 	;;
   11590       lcc*)
   11591 	# Lucid
   11592 	# FIXME: insert proper C++ library support
   11593 	ld_shlibs_CXX=no
   11594 	;;
   11595       *)
   11596 	# FIXME: insert proper C++ library support
   11597 	ld_shlibs_CXX=no
   11598 	;;
   11599     esac
   11600     ;;
   11601   solaris*)
   11602     case $cc_basename in
   11603       CC*)
   11604 	# Sun C++ 4.2, 5.x and Centerline C++
   11605         archive_cmds_need_lc_CXX=yes
   11606 	no_undefined_flag_CXX=' -zdefs'
   11607 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11608 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11609 	$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'
   11610 
   11611 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   11612 	hardcode_shlibpath_var_CXX=no
   11613 	case $host_os in
   11614 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   11615 	  *)
   11616 	    # The C++ compiler is used as linker so we must use $wl
   11617 	    # flag to pass the commands to the underlying system
   11618 	    # linker. We must also pass each convience library through
   11619 	    # to the system linker between allextract/defaultextract.
   11620 	    # The C++ compiler will combine linker options so we
   11621 	    # cannot just pass the convience library names through
   11622 	    # without $wl.
   11623 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   11624 	    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'
   11625 	    ;;
   11626 	esac
   11627 	link_all_deplibs_CXX=yes
   11628 
   11629 	output_verbose_link_cmd='echo'
   11630 
   11631 	# Archives containing C++ object files must be created using
   11632 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   11633 	# necessary to make sure instantiated templates are included
   11634 	# in the archive.
   11635 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   11636 	;;
   11637       gcx*)
   11638 	# Green Hills C++ Compiler
   11639 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11640 
   11641 	# The C++ compiler must be used to create the archive.
   11642 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   11643 	;;
   11644       *)
   11645 	# GNU C++ compiler with Solaris linker
   11646 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   11647 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   11648 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   11649 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11650 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11651 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11652 
   11653 	    # Commands to make compiler produce verbose output that lists
   11654 	    # what "hidden" libraries, object files and flags are used when
   11655 	    # linking a shared library.
   11656 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11657 	  else
   11658 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   11659 	    # platform.
   11660 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   11661 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   11662 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   11663 
   11664 	    # Commands to make compiler produce verbose output that lists
   11665 	    # what "hidden" libraries, object files and flags are used when
   11666 	    # linking a shared library.
   11667 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   11668 	  fi
   11669 
   11670 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   11671 	fi
   11672 	;;
   11673     esac
   11674     ;;
   11675   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11676     no_undefined_flag_CXX='${wl}-z,text'
   11677     archive_cmds_need_lc_CXX=no
   11678     hardcode_shlibpath_var_CXX=no
   11679     runpath_var='LD_RUN_PATH'
   11680 
   11681     case $cc_basename in
   11682       CC*)
   11683 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11684 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11685 	;;
   11686       *)
   11687 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11688 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11689 	;;
   11690     esac
   11691     ;;
   11692   sysv5* | sco3.2v5* | sco5v6*)
   11693     # Note: We can NOT use -z defs as we might desire, because we do not
   11694     # link with -lc, and that would cause any symbols used from libc to
   11695     # always be unresolved, which means just about no library would
   11696     # ever link correctly.  If we're not using GNU ld we use -z text
   11697     # though, which does catch some bad symbols but isn't as heavy-handed
   11698     # as -z defs.
   11699     # For security reasons, it is highly recommended that you always
   11700     # use absolute paths for naming shared libraries, and exclude the
   11701     # DT_RUNPATH tag from executables and libraries.  But doing so
   11702     # requires that you compile everything twice, which is a pain.
   11703     # So that behaviour is only enabled if SCOABSPATH is set to a
   11704     # non-empty value in the environment.  Most likely only useful for
   11705     # creating official distributions of packages.
   11706     # This is a hack until libtool officially supports absolute path
   11707     # names for shared libraries.
   11708     no_undefined_flag_CXX='${wl}-z,text'
   11709     allow_undefined_flag_CXX='${wl}-z,nodefs'
   11710     archive_cmds_need_lc_CXX=no
   11711     hardcode_shlibpath_var_CXX=no
   11712     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   11713     hardcode_libdir_separator_CXX=':'
   11714     link_all_deplibs_CXX=yes
   11715     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   11716     runpath_var='LD_RUN_PATH'
   11717 
   11718     case $cc_basename in
   11719       CC*)
   11720 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11721 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11722 	;;
   11723       *)
   11724 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11725 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11726 	;;
   11727     esac
   11728     ;;
   11729   tandem*)
   11730     case $cc_basename in
   11731       NCC*)
   11732 	# NonStop-UX NCC 3.20
   11733 	# FIXME: insert proper C++ library support
   11734 	ld_shlibs_CXX=no
   11735 	;;
   11736       *)
   11737 	# FIXME: insert proper C++ library support
   11738 	ld_shlibs_CXX=no
   11739 	;;
   11740     esac
   11741     ;;
   11742   vxworks*)
   11743     # FIXME: insert proper C++ library support
   11744     ld_shlibs_CXX=no
   11745     ;;
   11746   *)
   11747     # FIXME: insert proper C++ library support
   11748     ld_shlibs_CXX=no
   11749     ;;
   11750 esac
   11751 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   11752 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   11753 test "$ld_shlibs_CXX" = no && can_build_shared=no
   11754 
   11755 GCC_CXX="$GXX"
   11756 LD_CXX="$LD"
   11757 
   11758 
   11759 cat > conftest.$ac_ext <<EOF
   11760 class Foo
   11761 {
   11762 public:
   11763   Foo (void) { a = 0; }
   11764 private:
   11765   int a;
   11766 };
   11767 EOF
   11768 
   11769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11770   (eval $ac_compile) 2>&5
   11771   ac_status=$?
   11772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11773   (exit $ac_status); }; then
   11774   # Parse the compiler output and extract the necessary
   11775   # objects, libraries and library flags.
   11776 
   11777   # Sentinel used to keep track of whether or not we are before
   11778   # the conftest object file.
   11779   pre_test_object_deps_done=no
   11780 
   11781   # The `*' in the case matches for architectures that use `case' in
   11782   # $output_verbose_cmd can trigger glob expansion during the loop
   11783   # eval without this substitution.
   11784   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   11785 
   11786   for p in `eval $output_verbose_link_cmd`; do
   11787     case $p in
   11788 
   11789     -L* | -R* | -l*)
   11790        # Some compilers place space between "-{L,R}" and the path.
   11791        # Remove the space.
   11792        if test $p = "-L" \
   11793 	  || test $p = "-R"; then
   11794 	 prev=$p
   11795 	 continue
   11796        else
   11797 	 prev=
   11798        fi
   11799 
   11800        if test "$pre_test_object_deps_done" = no; then
   11801 	 case $p in
   11802 	 -L* | -R*)
   11803 	   # Internal compiler library paths should come after those
   11804 	   # provided the user.  The postdeps already come after the
   11805 	   # user supplied libs so there is no need to process them.
   11806 	   if test -z "$compiler_lib_search_path_CXX"; then
   11807 	     compiler_lib_search_path_CXX="${prev}${p}"
   11808 	   else
   11809 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   11810 	   fi
   11811 	   ;;
   11812 	 # The "-l" case would never come before the object being
   11813 	 # linked, so don't bother handling this case.
   11814 	 esac
   11815        else
   11816 	 if test -z "$postdeps_CXX"; then
   11817 	   postdeps_CXX="${prev}${p}"
   11818 	 else
   11819 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   11820 	 fi
   11821        fi
   11822        ;;
   11823 
   11824     *.$objext)
   11825        # This assumes that the test object file only shows up
   11826        # once in the compiler output.
   11827        if test "$p" = "conftest.$objext"; then
   11828 	 pre_test_object_deps_done=yes
   11829 	 continue
   11830        fi
   11831 
   11832        if test "$pre_test_object_deps_done" = no; then
   11833 	 if test -z "$predep_objects_CXX"; then
   11834 	   predep_objects_CXX="$p"
   11835 	 else
   11836 	   predep_objects_CXX="$predep_objects_CXX $p"
   11837 	 fi
   11838        else
   11839 	 if test -z "$postdep_objects_CXX"; then
   11840 	   postdep_objects_CXX="$p"
   11841 	 else
   11842 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   11843 	 fi
   11844        fi
   11845        ;;
   11846 
   11847     *) ;; # Ignore the rest.
   11848 
   11849     esac
   11850   done
   11851 
   11852   # Clean up.
   11853   rm -f a.out a.exe
   11854 else
   11855   echo "libtool.m4: error: problem compiling CXX test program"
   11856 fi
   11857 
   11858 $rm -f confest.$objext
   11859 
   11860 # PORTME: override above test on systems where it is broken
   11861 case $host_os in
   11862 interix3*)
   11863   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   11864   # hack all around it, let's just trust "g++" to DTRT.
   11865   predep_objects_CXX=
   11866   postdep_objects_CXX=
   11867   postdeps_CXX=
   11868   ;;
   11869 
   11870 solaris*)
   11871   case $cc_basename in
   11872   CC*)
   11873     # Adding this requires a known-good setup of shared libraries for
   11874     # Sun compiler versions before 5.6, else PIC objects from an old
   11875     # archive will be linked into the output, leading to subtle bugs.
   11876     postdeps_CXX='-lCstd -lCrun'
   11877     ;;
   11878   esac
   11879   ;;
   11880 esac
   11881 
   11882 
   11883 case " $postdeps_CXX " in
   11884 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   11885 esac
   11886 
   11887 lt_prog_compiler_wl_CXX=
   11888 lt_prog_compiler_pic_CXX=
   11889 lt_prog_compiler_static_CXX=
   11890 
   11891 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   11892 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   11893 
   11894   # C++ specific cases for pic, static, wl, etc.
   11895   if test "$GXX" = yes; then
   11896     lt_prog_compiler_wl_CXX='-Wl,'
   11897     lt_prog_compiler_static_CXX='-static'
   11898 
   11899     case $host_os in
   11900     aix*)
   11901       # All AIX code is PIC.
   11902       if test "$host_cpu" = ia64; then
   11903 	# AIX 5 now supports IA64 processor
   11904 	lt_prog_compiler_static_CXX='-Bstatic'
   11905       fi
   11906       ;;
   11907     amigaos*)
   11908       # FIXME: we need at least 68020 code to build shared libraries, but
   11909       # adding the `-m68020' flag to GCC prevents building anything better,
   11910       # like `-m68040'.
   11911       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   11912       ;;
   11913     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   11914       # PIC is the default for these OSes.
   11915       ;;
   11916     mingw* | os2* | pw32*)
   11917       # This hack is so that the source file can tell whether it is being
   11918       # built for inclusion in a dll (and should export symbols for example).
   11919       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   11920       ;;
   11921     darwin* | rhapsody*)
   11922       # PIC is the default on this platform
   11923       # Common symbols not allowed in MH_DYLIB files
   11924       lt_prog_compiler_pic_CXX='-fno-common'
   11925       ;;
   11926     *djgpp*)
   11927       # DJGPP does not support shared libraries at all
   11928       lt_prog_compiler_pic_CXX=
   11929       ;;
   11930     interix3*)
   11931       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   11932       # Instead, we relocate shared libraries at runtime.
   11933       ;;
   11934     sysv4*MP*)
   11935       if test -d /usr/nec; then
   11936 	lt_prog_compiler_pic_CXX=-Kconform_pic
   11937       fi
   11938       ;;
   11939     hpux*)
   11940       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   11941       # not for PA HP-UX.
   11942       case $host_cpu in
   11943       hppa*64*|ia64*)
   11944 	;;
   11945       *)
   11946 	lt_prog_compiler_pic_CXX='-fPIC'
   11947 	;;
   11948       esac
   11949       ;;
   11950     *)
   11951       lt_prog_compiler_pic_CXX='-fPIC'
   11952       ;;
   11953     esac
   11954   else
   11955     case $host_os in
   11956       aix4* | aix5*)
   11957 	# All AIX code is PIC.
   11958 	if test "$host_cpu" = ia64; then
   11959 	  # AIX 5 now supports IA64 processor
   11960 	  lt_prog_compiler_static_CXX='-Bstatic'
   11961 	else
   11962 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   11963 	fi
   11964 	;;
   11965       chorus*)
   11966 	case $cc_basename in
   11967 	cxch68*)
   11968 	  # Green Hills C++ Compiler
   11969 	  # _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"
   11970 	  ;;
   11971 	esac
   11972 	;;
   11973        darwin*)
   11974          # PIC is the default on this platform
   11975          # Common symbols not allowed in MH_DYLIB files
   11976          case $cc_basename in
   11977            xlc*)
   11978            lt_prog_compiler_pic_CXX='-qnocommon'
   11979            lt_prog_compiler_wl_CXX='-Wl,'
   11980            ;;
   11981          esac
   11982        ;;
   11983       dgux*)
   11984 	case $cc_basename in
   11985 	  ec++*)
   11986 	    lt_prog_compiler_pic_CXX='-KPIC'
   11987 	    ;;
   11988 	  ghcx*)
   11989 	    # Green Hills C++ Compiler
   11990 	    lt_prog_compiler_pic_CXX='-pic'
   11991 	    ;;
   11992 	  *)
   11993 	    ;;
   11994 	esac
   11995 	;;
   11996       freebsd* | kfreebsd*-gnu | dragonfly*)
   11997 	# FreeBSD uses GNU C++
   11998 	;;
   11999       hpux9* | hpux10* | hpux11*)
   12000 	case $cc_basename in
   12001 	  CC*)
   12002 	    lt_prog_compiler_wl_CXX='-Wl,'
   12003 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12004 	    if test "$host_cpu" != ia64; then
   12005 	      lt_prog_compiler_pic_CXX='+Z'
   12006 	    fi
   12007 	    ;;
   12008 	  aCC*)
   12009 	    lt_prog_compiler_wl_CXX='-Wl,'
   12010 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12011 	    case $host_cpu in
   12012 	    hppa*64*|ia64*)
   12013 	      # +Z the default
   12014 	      ;;
   12015 	    *)
   12016 	      lt_prog_compiler_pic_CXX='+Z'
   12017 	      ;;
   12018 	    esac
   12019 	    ;;
   12020 	  *)
   12021 	    ;;
   12022 	esac
   12023 	;;
   12024       interix*)
   12025 	# This is c89, which is MS Visual C++ (no shared libs)
   12026 	# Anyone wants to do a port?
   12027 	;;
   12028       irix5* | irix6* | nonstopux*)
   12029 	case $cc_basename in
   12030 	  CC*)
   12031 	    lt_prog_compiler_wl_CXX='-Wl,'
   12032 	    lt_prog_compiler_static_CXX='-non_shared'
   12033 	    # CC pic flag -KPIC is the default.
   12034 	    ;;
   12035 	  *)
   12036 	    ;;
   12037 	esac
   12038 	;;
   12039       linux*)
   12040 	case $cc_basename in
   12041 	  KCC*)
   12042 	    # KAI C++ Compiler
   12043 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12044 	    lt_prog_compiler_pic_CXX='-fPIC'
   12045 	    ;;
   12046 	  icpc* | ecpc*)
   12047 	    # Intel C++
   12048 	    lt_prog_compiler_wl_CXX='-Wl,'
   12049 	    lt_prog_compiler_pic_CXX='-KPIC'
   12050 	    lt_prog_compiler_static_CXX='-static'
   12051 	    ;;
   12052 	  pgCC*)
   12053 	    # Portland Group C++ compiler.
   12054 	    lt_prog_compiler_wl_CXX='-Wl,'
   12055 	    lt_prog_compiler_pic_CXX='-fpic'
   12056 	    lt_prog_compiler_static_CXX='-Bstatic'
   12057 	    ;;
   12058 	  cxx*)
   12059 	    # Compaq C++
   12060 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12061 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12062 	    lt_prog_compiler_pic_CXX=
   12063 	    lt_prog_compiler_static_CXX='-non_shared'
   12064 	    ;;
   12065 	  *)
   12066 	    ;;
   12067 	esac
   12068 	;;
   12069       lynxos*)
   12070 	;;
   12071       m88k*)
   12072 	;;
   12073       mvs*)
   12074 	case $cc_basename in
   12075 	  cxx*)
   12076 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12077 	    ;;
   12078 	  *)
   12079 	    ;;
   12080 	esac
   12081 	;;
   12082       netbsd*)
   12083 	;;
   12084       osf3* | osf4* | osf5*)
   12085 	case $cc_basename in
   12086 	  KCC*)
   12087 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12088 	    ;;
   12089 	  RCC*)
   12090 	    # Rational C++ 2.4.1
   12091 	    lt_prog_compiler_pic_CXX='-pic'
   12092 	    ;;
   12093 	  cxx*)
   12094 	    # Digital/Compaq C++
   12095 	    lt_prog_compiler_wl_CXX='-Wl,'
   12096 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12097 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12098 	    lt_prog_compiler_pic_CXX=
   12099 	    lt_prog_compiler_static_CXX='-non_shared'
   12100 	    ;;
   12101 	  *)
   12102 	    ;;
   12103 	esac
   12104 	;;
   12105       psos*)
   12106 	;;
   12107       solaris*)
   12108 	case $cc_basename in
   12109 	  CC*)
   12110 	    # Sun C++ 4.2, 5.x and Centerline C++
   12111 	    lt_prog_compiler_pic_CXX='-KPIC'
   12112 	    lt_prog_compiler_static_CXX='-Bstatic'
   12113 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12114 	    ;;
   12115 	  gcx*)
   12116 	    # Green Hills C++ Compiler
   12117 	    lt_prog_compiler_pic_CXX='-PIC'
   12118 	    ;;
   12119 	  *)
   12120 	    ;;
   12121 	esac
   12122 	;;
   12123       sunos4*)
   12124 	case $cc_basename in
   12125 	  CC*)
   12126 	    # Sun C++ 4.x
   12127 	    lt_prog_compiler_pic_CXX='-pic'
   12128 	    lt_prog_compiler_static_CXX='-Bstatic'
   12129 	    ;;
   12130 	  lcc*)
   12131 	    # Lucid
   12132 	    lt_prog_compiler_pic_CXX='-pic'
   12133 	    ;;
   12134 	  *)
   12135 	    ;;
   12136 	esac
   12137 	;;
   12138       tandem*)
   12139 	case $cc_basename in
   12140 	  NCC*)
   12141 	    # NonStop-UX NCC 3.20
   12142 	    lt_prog_compiler_pic_CXX='-KPIC'
   12143 	    ;;
   12144 	  *)
   12145 	    ;;
   12146 	esac
   12147 	;;
   12148       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12149 	case $cc_basename in
   12150 	  CC*)
   12151 	    lt_prog_compiler_wl_CXX='-Wl,'
   12152 	    lt_prog_compiler_pic_CXX='-KPIC'
   12153 	    lt_prog_compiler_static_CXX='-Bstatic'
   12154 	    ;;
   12155 	esac
   12156 	;;
   12157       vxworks*)
   12158 	;;
   12159       *)
   12160 	lt_prog_compiler_can_build_shared_CXX=no
   12161 	;;
   12162     esac
   12163   fi
   12164 
   12165 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12166 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
   12167 
   12168 #
   12169 # Check to make sure the PIC flag actually works.
   12170 #
   12171 if test -n "$lt_prog_compiler_pic_CXX"; then
   12172 
   12173 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12174 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
   12175 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
   12176   echo $ECHO_N "(cached) $ECHO_C" >&6
   12177 else
   12178   lt_prog_compiler_pic_works_CXX=no
   12179   ac_outfile=conftest.$ac_objext
   12180    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12181    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12182    # Insert the option either (1) after the last *FLAGS variable, or
   12183    # (2) before a word containing "conftest.", or (3) at the end.
   12184    # Note that $ac_compile itself does not contain backslashes and begins
   12185    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12186    # The option is referenced via a variable to avoid confusing sed.
   12187    lt_compile=`echo "$ac_compile" | $SED \
   12188    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12189    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12190    -e 's:$: $lt_compiler_flag:'`
   12191    (eval echo "\"\$as_me:12191: $lt_compile\"" >&5)
   12192    (eval "$lt_compile" 2>conftest.err)
   12193    ac_status=$?
   12194    cat conftest.err >&5
   12195    echo "$as_me:12195: \$? = $ac_status" >&5
   12196    if (exit $ac_status) && test -s "$ac_outfile"; then
   12197      # The compiler can only warn and ignore the option if not recognized
   12198      # So say no if there are warnings other than the usual output.
   12199      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12200      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12201      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12202        lt_prog_compiler_pic_works_CXX=yes
   12203      fi
   12204    fi
   12205    $rm conftest*
   12206 
   12207 fi
   12208 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
   12209 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
   12210 
   12211 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
   12212     case $lt_prog_compiler_pic_CXX in
   12213      "" | " "*) ;;
   12214      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12215      esac
   12216 else
   12217     lt_prog_compiler_pic_CXX=
   12218      lt_prog_compiler_can_build_shared_CXX=no
   12219 fi
   12220 
   12221 fi
   12222 case $host_os in
   12223   # For platforms which do not support PIC, -DPIC is meaningless:
   12224   *djgpp*)
   12225     lt_prog_compiler_pic_CXX=
   12226     ;;
   12227   *)
   12228     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12229     ;;
   12230 esac
   12231 
   12232 #
   12233 # Check to make sure the static flag actually works.
   12234 #
   12235 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12236 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12237 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   12238 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
   12239   echo $ECHO_N "(cached) $ECHO_C" >&6
   12240 else
   12241   lt_prog_compiler_static_works_CXX=no
   12242    save_LDFLAGS="$LDFLAGS"
   12243    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12244    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   12245    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12246      # The linker can only warn and ignore the option if not recognized
   12247      # So say no if there are warnings
   12248      if test -s conftest.err; then
   12249        # Append any errors to the config.log.
   12250        cat conftest.err 1>&5
   12251        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12252        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12253        if diff conftest.exp conftest.er2 >/dev/null; then
   12254          lt_prog_compiler_static_works_CXX=yes
   12255        fi
   12256      else
   12257        lt_prog_compiler_static_works_CXX=yes
   12258      fi
   12259    fi
   12260    $rm conftest*
   12261    LDFLAGS="$save_LDFLAGS"
   12262 
   12263 fi
   12264 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   12265 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
   12266 
   12267 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
   12268     :
   12269 else
   12270     lt_prog_compiler_static_CXX=
   12271 fi
   12272 
   12273 
   12274 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12275 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   12276 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12277   echo $ECHO_N "(cached) $ECHO_C" >&6
   12278 else
   12279   lt_cv_prog_compiler_c_o_CXX=no
   12280    $rm -r conftest 2>/dev/null
   12281    mkdir conftest
   12282    cd conftest
   12283    mkdir out
   12284    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12285 
   12286    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12287    # Insert the option either (1) after the last *FLAGS variable, or
   12288    # (2) before a word containing "conftest.", or (3) at the end.
   12289    # Note that $ac_compile itself does not contain backslashes and begins
   12290    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12291    lt_compile=`echo "$ac_compile" | $SED \
   12292    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12293    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12294    -e 's:$: $lt_compiler_flag:'`
   12295    (eval echo "\"\$as_me:12295: $lt_compile\"" >&5)
   12296    (eval "$lt_compile" 2>out/conftest.err)
   12297    ac_status=$?
   12298    cat out/conftest.err >&5
   12299    echo "$as_me:12299: \$? = $ac_status" >&5
   12300    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12301    then
   12302      # The compiler can only warn and ignore the option if not recognized
   12303      # So say no if there are warnings
   12304      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12305      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12306      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12307        lt_cv_prog_compiler_c_o_CXX=yes
   12308      fi
   12309    fi
   12310    chmod u+w . 2>&5
   12311    $rm conftest*
   12312    # SGI C++ compiler will create directory out/ii_files/ for
   12313    # template instantiation
   12314    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12315    $rm out/* && rmdir out
   12316    cd ..
   12317    rmdir conftest
   12318    $rm conftest*
   12319 
   12320 fi
   12321 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12322 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12323 
   12324 
   12325 hard_links="nottested"
   12326 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   12327   # do not overwrite the value of need_locks provided by the user
   12328   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   12329 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   12330   hard_links=yes
   12331   $rm conftest*
   12332   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12333   touch conftest.a
   12334   ln conftest.a conftest.b 2>&5 || hard_links=no
   12335   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   12336   { echo "$as_me:$LINENO: result: $hard_links" >&5
   12337 echo "${ECHO_T}$hard_links" >&6; }
   12338   if test "$hard_links" = no; then
   12339     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   12340 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   12341     need_locks=warn
   12342   fi
   12343 else
   12344   need_locks=no
   12345 fi
   12346 
   12347 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12348 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   12349 
   12350   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12351   case $host_os in
   12352   aix4* | aix5*)
   12353     # If we're using GNU nm, then we don't want the "-C" option.
   12354     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   12355     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   12356       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'
   12357     else
   12358       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'
   12359     fi
   12360     ;;
   12361   pw32*)
   12362     export_symbols_cmds_CXX="$ltdll_cmds"
   12363   ;;
   12364   cygwin* | mingw*)
   12365     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'
   12366   ;;
   12367   *)
   12368     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   12369   ;;
   12370   esac
   12371 
   12372 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12373 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
   12374 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12375 
   12376 #
   12377 # Do we need to explicitly link libc?
   12378 #
   12379 case "x$archive_cmds_need_lc_CXX" in
   12380 x|xyes)
   12381   # Assume -lc should be added
   12382   archive_cmds_need_lc_CXX=yes
   12383 
   12384   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12385     case $archive_cmds_CXX in
   12386     *'~'*)
   12387       # FIXME: we may have to deal with multi-command sequences.
   12388       ;;
   12389     '$CC '*)
   12390       # Test whether the compiler implicitly links with -lc since on some
   12391       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12392       # to ld, don't add -lc before -lgcc.
   12393       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   12394 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   12395       $rm conftest*
   12396       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   12397 
   12398       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12399   (eval $ac_compile) 2>&5
   12400   ac_status=$?
   12401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12402   (exit $ac_status); } 2>conftest.err; then
   12403         soname=conftest
   12404         lib=conftest
   12405         libobjs=conftest.$ac_objext
   12406         deplibs=
   12407         wl=$lt_prog_compiler_wl_CXX
   12408 	pic_flag=$lt_prog_compiler_pic_CXX
   12409         compiler_flags=-v
   12410         linker_flags=-v
   12411         verstring=
   12412         output_objdir=.
   12413         libname=conftest
   12414         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   12415         allow_undefined_flag_CXX=
   12416         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   12417   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12418   ac_status=$?
   12419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12420   (exit $ac_status); }
   12421         then
   12422 	  archive_cmds_need_lc_CXX=no
   12423         else
   12424 	  archive_cmds_need_lc_CXX=yes
   12425         fi
   12426         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   12427       else
   12428         cat conftest.err 1>&5
   12429       fi
   12430       $rm conftest*
   12431       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   12432 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
   12433       ;;
   12434     esac
   12435   fi
   12436   ;;
   12437 esac
   12438 
   12439 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   12440 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   12441 library_names_spec=
   12442 libname_spec='lib$name'
   12443 soname_spec=
   12444 shrext_cmds=".so"
   12445 postinstall_cmds=
   12446 postuninstall_cmds=
   12447 finish_cmds=
   12448 finish_eval=
   12449 shlibpath_var=
   12450 shlibpath_overrides_runpath=unknown
   12451 version_type=none
   12452 dynamic_linker="$host_os ld.so"
   12453 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12454 if test "$GCC" = yes; then
   12455   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12456   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   12457     # if the path contains ";" then we assume it to be the separator
   12458     # otherwise default to the standard path separator (i.e. ":") - it is
   12459     # assumed that no part of a normal pathname contains ";" but that should
   12460     # okay in the real world where ";" in dirpaths is itself problematic.
   12461     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12462   else
   12463     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12464   fi
   12465 else
   12466   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12467 fi
   12468 need_lib_prefix=unknown
   12469 hardcode_into_libs=no
   12470 
   12471 # when you set need_version to no, make sure it does not cause -set_version
   12472 # flags to be left without arguments
   12473 need_version=unknown
   12474 
   12475 case $host_os in
   12476 aix3*)
   12477   version_type=linux
   12478   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12479   shlibpath_var=LIBPATH
   12480 
   12481   # AIX 3 has no versioning support, so we append a major version to the name.
   12482   soname_spec='${libname}${release}${shared_ext}$major'
   12483   ;;
   12484 
   12485 aix4* | aix5*)
   12486   version_type=linux
   12487   need_lib_prefix=no
   12488   need_version=no
   12489   hardcode_into_libs=yes
   12490   if test "$host_cpu" = ia64; then
   12491     # AIX 5 supports IA64
   12492     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12493     shlibpath_var=LD_LIBRARY_PATH
   12494   else
   12495     # With GCC up to 2.95.x, collect2 would create an import file
   12496     # for dependence libraries.  The import file would start with
   12497     # the line `#! .'.  This would cause the generated library to
   12498     # depend on `.', always an invalid library.  This was fixed in
   12499     # development snapshots of GCC prior to 3.0.
   12500     case $host_os in
   12501       aix4 | aix4.[01] | aix4.[01].*)
   12502       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12503 	   echo ' yes '
   12504 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   12505 	:
   12506       else
   12507 	can_build_shared=no
   12508       fi
   12509       ;;
   12510     esac
   12511     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12512     # soname into executable. Probably we can add versioning support to
   12513     # collect2, so additional links can be useful in future.
   12514     if test "$aix_use_runtimelinking" = yes; then
   12515       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12516       # instead of lib<name>.a to let people know that these are not
   12517       # typical AIX shared libraries.
   12518       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12519     else
   12520       # We preserve .a as extension for shared libraries through AIX4.2
   12521       # and later when we are not doing run time linking.
   12522       library_names_spec='${libname}${release}.a $libname.a'
   12523       soname_spec='${libname}${release}${shared_ext}$major'
   12524     fi
   12525     shlibpath_var=LIBPATH
   12526   fi
   12527   ;;
   12528 
   12529 amigaos*)
   12530   library_names_spec='$libname.ixlibrary $libname.a'
   12531   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12532   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'
   12533   ;;
   12534 
   12535 beos*)
   12536   library_names_spec='${libname}${shared_ext}'
   12537   dynamic_linker="$host_os ld.so"
   12538   shlibpath_var=LIBRARY_PATH
   12539   ;;
   12540 
   12541 bsdi[45]*)
   12542   version_type=linux
   12543   need_version=no
   12544   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12545   soname_spec='${libname}${release}${shared_ext}$major'
   12546   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12547   shlibpath_var=LD_LIBRARY_PATH
   12548   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12549   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12550   # the default ld.so.conf also contains /usr/contrib/lib and
   12551   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12552   # libtool to hard-code these into programs
   12553   ;;
   12554 
   12555 cygwin* | mingw* | pw32*)
   12556   version_type=windows
   12557   shrext_cmds=".dll"
   12558   need_version=no
   12559   need_lib_prefix=no
   12560 
   12561   case $GCC,$host_os in
   12562   yes,cygwin* | yes,mingw* | yes,pw32*)
   12563     library_names_spec='$libname.dll.a'
   12564     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12565     postinstall_cmds='base_file=`basename \${file}`~
   12566       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   12567       dldir=$destdir/`dirname \$dlpath`~
   12568       test -d \$dldir || mkdir -p \$dldir~
   12569       $install_prog $dir/$dlname \$dldir/$dlname~
   12570       chmod a+x \$dldir/$dlname'
   12571     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12572       dlpath=$dir/\$dldll~
   12573        $rm \$dlpath'
   12574     shlibpath_overrides_runpath=yes
   12575 
   12576     case $host_os in
   12577     cygwin*)
   12578       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12579       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12580       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   12581       ;;
   12582     mingw*)
   12583       # MinGW DLLs use traditional 'lib' prefix
   12584       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12585       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12586       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   12587         # It is most probably a Windows format PATH printed by
   12588         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   12589         # path with ; separators, and with drive letters. We can handle the
   12590         # drive letters (cygwin fileutils understands them), so leave them,
   12591         # especially as we might pass files found there to a mingw objdump,
   12592         # which wouldn't understand a cygwinified path. Ahh.
   12593         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12594       else
   12595         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12596       fi
   12597       ;;
   12598     pw32*)
   12599       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12600       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12601       ;;
   12602     esac
   12603     ;;
   12604 
   12605   *)
   12606     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   12607     ;;
   12608   esac
   12609   dynamic_linker='Win32 ld.exe'
   12610   # FIXME: first we should search . and the directory the executable is in
   12611   shlibpath_var=PATH
   12612   ;;
   12613 
   12614 darwin* | rhapsody*)
   12615   dynamic_linker="$host_os dyld"
   12616   version_type=darwin
   12617   need_lib_prefix=no
   12618   need_version=no
   12619   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12620   soname_spec='${libname}${release}${major}$shared_ext'
   12621   shlibpath_overrides_runpath=yes
   12622   shlibpath_var=DYLD_LIBRARY_PATH
   12623   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12624   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   12625   if test "$GCC" = yes; then
   12626     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"`
   12627   else
   12628     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   12629   fi
   12630   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12631   ;;
   12632 
   12633 dgux*)
   12634   version_type=linux
   12635   need_lib_prefix=no
   12636   need_version=no
   12637   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12638   soname_spec='${libname}${release}${shared_ext}$major'
   12639   shlibpath_var=LD_LIBRARY_PATH
   12640   ;;
   12641 
   12642 freebsd1*)
   12643   dynamic_linker=no
   12644   ;;
   12645 
   12646 kfreebsd*-gnu)
   12647   version_type=linux
   12648   need_lib_prefix=no
   12649   need_version=no
   12650   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12651   soname_spec='${libname}${release}${shared_ext}$major'
   12652   shlibpath_var=LD_LIBRARY_PATH
   12653   shlibpath_overrides_runpath=no
   12654   hardcode_into_libs=yes
   12655   dynamic_linker='GNU ld.so'
   12656   ;;
   12657 
   12658 freebsd* | dragonfly*)
   12659   # DragonFly does not have aout.  When/if they implement a new
   12660   # versioning mechanism, adjust this.
   12661   if test -x /usr/bin/objformat; then
   12662     objformat=`/usr/bin/objformat`
   12663   else
   12664     case $host_os in
   12665     freebsd[123]*) objformat=aout ;;
   12666     *) objformat=elf ;;
   12667     esac
   12668   fi
   12669   version_type=freebsd-$objformat
   12670   case $version_type in
   12671     freebsd-elf*)
   12672       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12673       need_version=no
   12674       need_lib_prefix=no
   12675       ;;
   12676     freebsd-*)
   12677       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12678       need_version=yes
   12679       ;;
   12680   esac
   12681   shlibpath_var=LD_LIBRARY_PATH
   12682   case $host_os in
   12683   freebsd2*)
   12684     shlibpath_overrides_runpath=yes
   12685     ;;
   12686   freebsd3.[01]* | freebsdelf3.[01]*)
   12687     shlibpath_overrides_runpath=yes
   12688     hardcode_into_libs=yes
   12689     ;;
   12690   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12691   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12692     shlibpath_overrides_runpath=no
   12693     hardcode_into_libs=yes
   12694     ;;
   12695   freebsd*) # from 4.6 on
   12696     shlibpath_overrides_runpath=yes
   12697     hardcode_into_libs=yes
   12698     ;;
   12699   esac
   12700   ;;
   12701 
   12702 gnu*)
   12703   version_type=linux
   12704   need_lib_prefix=no
   12705   need_version=no
   12706   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12707   soname_spec='${libname}${release}${shared_ext}$major'
   12708   shlibpath_var=LD_LIBRARY_PATH
   12709   hardcode_into_libs=yes
   12710   ;;
   12711 
   12712 hpux9* | hpux10* | hpux11*)
   12713   # Give a soname corresponding to the major version so that dld.sl refuses to
   12714   # link against other versions.
   12715   version_type=sunos
   12716   need_lib_prefix=no
   12717   need_version=no
   12718   case $host_cpu in
   12719   ia64*)
   12720     shrext_cmds='.so'
   12721     hardcode_into_libs=yes
   12722     dynamic_linker="$host_os dld.so"
   12723     shlibpath_var=LD_LIBRARY_PATH
   12724     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12725     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12726     soname_spec='${libname}${release}${shared_ext}$major'
   12727     if test "X$HPUX_IA64_MODE" = X32; then
   12728       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12729     else
   12730       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12731     fi
   12732     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12733     ;;
   12734    hppa*64*)
   12735      shrext_cmds='.sl'
   12736      hardcode_into_libs=yes
   12737      dynamic_linker="$host_os dld.sl"
   12738      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12739      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12740      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12741      soname_spec='${libname}${release}${shared_ext}$major'
   12742      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12743      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12744      ;;
   12745    *)
   12746     shrext_cmds='.sl'
   12747     dynamic_linker="$host_os dld.sl"
   12748     shlibpath_var=SHLIB_PATH
   12749     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12750     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12751     soname_spec='${libname}${release}${shared_ext}$major'
   12752     ;;
   12753   esac
   12754   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12755   postinstall_cmds='chmod 555 $lib'
   12756   ;;
   12757 
   12758 interix3*)
   12759   version_type=linux
   12760   need_lib_prefix=no
   12761   need_version=no
   12762   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12763   soname_spec='${libname}${release}${shared_ext}$major'
   12764   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12765   shlibpath_var=LD_LIBRARY_PATH
   12766   shlibpath_overrides_runpath=no
   12767   hardcode_into_libs=yes
   12768   ;;
   12769 
   12770 irix5* | irix6* | nonstopux*)
   12771   case $host_os in
   12772     nonstopux*) version_type=nonstopux ;;
   12773     *)
   12774 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12775 		version_type=linux
   12776 	else
   12777 		version_type=irix
   12778 	fi ;;
   12779   esac
   12780   need_lib_prefix=no
   12781   need_version=no
   12782   soname_spec='${libname}${release}${shared_ext}$major'
   12783   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12784   case $host_os in
   12785   irix5* | nonstopux*)
   12786     libsuff= shlibsuff=
   12787     ;;
   12788   *)
   12789     case $LD in # libtool.m4 will add one of these switches to LD
   12790     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12791       libsuff= shlibsuff= libmagic=32-bit;;
   12792     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12793       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12794     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12795       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12796     *) libsuff= shlibsuff= libmagic=never-match;;
   12797     esac
   12798     ;;
   12799   esac
   12800   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12801   shlibpath_overrides_runpath=no
   12802   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12803   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12804   hardcode_into_libs=yes
   12805   ;;
   12806 
   12807 # No shared lib support for Linux oldld, aout, or coff.
   12808 linux*oldld* | linux*aout* | linux*coff*)
   12809   dynamic_linker=no
   12810   ;;
   12811 
   12812 # This must be Linux ELF.
   12813 linux*)
   12814   version_type=linux
   12815   need_lib_prefix=no
   12816   need_version=no
   12817   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12818   soname_spec='${libname}${release}${shared_ext}$major'
   12819   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12820   shlibpath_var=LD_LIBRARY_PATH
   12821   shlibpath_overrides_runpath=no
   12822   # This implies no fast_install, which is unacceptable.
   12823   # Some rework will be needed to allow for fast_install
   12824   # before this can be enabled.
   12825   hardcode_into_libs=yes
   12826 
   12827   # Append ld.so.conf contents to the search path
   12828   if test -f /etc/ld.so.conf; then
   12829     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' ' '`
   12830     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12831   fi
   12832 
   12833   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12834   # powerpc, because MkLinux only supported shared libraries with the
   12835   # GNU dynamic linker.  Since this was broken with cross compilers,
   12836   # most powerpc-linux boxes support dynamic linking these days and
   12837   # people can always --disable-shared, the test was removed, and we
   12838   # assume the GNU/Linux dynamic linker is in use.
   12839   dynamic_linker='GNU/Linux ld.so'
   12840   ;;
   12841 
   12842 knetbsd*-gnu)
   12843   version_type=linux
   12844   need_lib_prefix=no
   12845   need_version=no
   12846   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12847   soname_spec='${libname}${release}${shared_ext}$major'
   12848   shlibpath_var=LD_LIBRARY_PATH
   12849   shlibpath_overrides_runpath=no
   12850   hardcode_into_libs=yes
   12851   dynamic_linker='GNU ld.so'
   12852   ;;
   12853 
   12854 netbsd*)
   12855   version_type=sunos
   12856   need_lib_prefix=no
   12857   need_version=no
   12858   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12859     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12860     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12861     dynamic_linker='NetBSD (a.out) ld.so'
   12862   else
   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     dynamic_linker='NetBSD ld.elf_so'
   12866   fi
   12867   shlibpath_var=LD_LIBRARY_PATH
   12868   shlibpath_overrides_runpath=yes
   12869   hardcode_into_libs=yes
   12870   ;;
   12871 
   12872 newsos6)
   12873   version_type=linux
   12874   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12875   shlibpath_var=LD_LIBRARY_PATH
   12876   shlibpath_overrides_runpath=yes
   12877   ;;
   12878 
   12879 nto-qnx*)
   12880   version_type=linux
   12881   need_lib_prefix=no
   12882   need_version=no
   12883   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12884   soname_spec='${libname}${release}${shared_ext}$major'
   12885   shlibpath_var=LD_LIBRARY_PATH
   12886   shlibpath_overrides_runpath=yes
   12887   ;;
   12888 
   12889 openbsd*)
   12890   version_type=sunos
   12891   sys_lib_dlsearch_path_spec="/usr/lib"
   12892   need_lib_prefix=no
   12893   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   12894   case $host_os in
   12895     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   12896     *)                         need_version=no  ;;
   12897   esac
   12898   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12899   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12900   shlibpath_var=LD_LIBRARY_PATH
   12901   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12902     case $host_os in
   12903       openbsd2.[89] | openbsd2.[89].*)
   12904 	shlibpath_overrides_runpath=no
   12905 	;;
   12906       *)
   12907 	shlibpath_overrides_runpath=yes
   12908 	;;
   12909       esac
   12910   else
   12911     shlibpath_overrides_runpath=yes
   12912   fi
   12913   ;;
   12914 
   12915 os2*)
   12916   libname_spec='$name'
   12917   shrext_cmds=".dll"
   12918   need_lib_prefix=no
   12919   library_names_spec='$libname${shared_ext} $libname.a'
   12920   dynamic_linker='OS/2 ld.exe'
   12921   shlibpath_var=LIBPATH
   12922   ;;
   12923 
   12924 osf3* | osf4* | osf5*)
   12925   version_type=osf
   12926   need_lib_prefix=no
   12927   need_version=no
   12928   soname_spec='${libname}${release}${shared_ext}$major'
   12929   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12930   shlibpath_var=LD_LIBRARY_PATH
   12931   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12932   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   12933   ;;
   12934 
   12935 solaris*)
   12936   version_type=linux
   12937   need_lib_prefix=no
   12938   need_version=no
   12939   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12940   soname_spec='${libname}${release}${shared_ext}$major'
   12941   shlibpath_var=LD_LIBRARY_PATH
   12942   shlibpath_overrides_runpath=yes
   12943   hardcode_into_libs=yes
   12944   # ldd complains unless libraries are executable
   12945   postinstall_cmds='chmod +x $lib'
   12946   ;;
   12947 
   12948 sunos4*)
   12949   version_type=sunos
   12950   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12951   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12952   shlibpath_var=LD_LIBRARY_PATH
   12953   shlibpath_overrides_runpath=yes
   12954   if test "$with_gnu_ld" = yes; then
   12955     need_lib_prefix=no
   12956   fi
   12957   need_version=yes
   12958   ;;
   12959 
   12960 sysv4 | sysv4.3*)
   12961   version_type=linux
   12962   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12963   soname_spec='${libname}${release}${shared_ext}$major'
   12964   shlibpath_var=LD_LIBRARY_PATH
   12965   case $host_vendor in
   12966     sni)
   12967       shlibpath_overrides_runpath=no
   12968       need_lib_prefix=no
   12969       export_dynamic_flag_spec='${wl}-Blargedynsym'
   12970       runpath_var=LD_RUN_PATH
   12971       ;;
   12972     siemens)
   12973       need_lib_prefix=no
   12974       ;;
   12975     motorola)
   12976       need_lib_prefix=no
   12977       need_version=no
   12978       shlibpath_overrides_runpath=no
   12979       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12980       ;;
   12981   esac
   12982   ;;
   12983 
   12984 sysv4*MP*)
   12985   if test -d /usr/nec ;then
   12986     version_type=linux
   12987     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   12988     soname_spec='$libname${shared_ext}.$major'
   12989     shlibpath_var=LD_LIBRARY_PATH
   12990   fi
   12991   ;;
   12992 
   12993 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12994   version_type=freebsd-elf
   12995   need_lib_prefix=no
   12996   need_version=no
   12997   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12998   soname_spec='${libname}${release}${shared_ext}$major'
   12999   shlibpath_var=LD_LIBRARY_PATH
   13000   hardcode_into_libs=yes
   13001   if test "$with_gnu_ld" = yes; then
   13002     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13003     shlibpath_overrides_runpath=no
   13004   else
   13005     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13006     shlibpath_overrides_runpath=yes
   13007     case $host_os in
   13008       sco3.2v5*)
   13009         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13010 	;;
   13011     esac
   13012   fi
   13013   sys_lib_dlsearch_path_spec='/usr/lib'
   13014   ;;
   13015 
   13016 uts4*)
   13017   version_type=linux
   13018   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13019   soname_spec='${libname}${release}${shared_ext}$major'
   13020   shlibpath_var=LD_LIBRARY_PATH
   13021   ;;
   13022 
   13023 *)
   13024   dynamic_linker=no
   13025   ;;
   13026 esac
   13027 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13028 echo "${ECHO_T}$dynamic_linker" >&6; }
   13029 test "$dynamic_linker" = no && can_build_shared=no
   13030 
   13031 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13032 if test "$GCC" = yes; then
   13033   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13034 fi
   13035 
   13036 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13037 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   13038 hardcode_action_CXX=
   13039 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13040    test -n "$runpath_var_CXX" || \
   13041    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13042 
   13043   # We can hardcode non-existant directories.
   13044   if test "$hardcode_direct_CXX" != no &&
   13045      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13046      # have to relink, otherwise we might link with an installed library
   13047      # when we should be linking with a yet-to-be-installed one
   13048      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13049      test "$hardcode_minus_L_CXX" != no; then
   13050     # Linking always hardcodes the temporary library directory.
   13051     hardcode_action_CXX=relink
   13052   else
   13053     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13054     hardcode_action_CXX=immediate
   13055   fi
   13056 else
   13057   # We cannot hardcode anything, or else we can only hardcode existing
   13058   # directories.
   13059   hardcode_action_CXX=unsupported
   13060 fi
   13061 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13062 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
   13063 
   13064 if test "$hardcode_action_CXX" = relink; then
   13065   # Fast installation is not supported
   13066   enable_fast_install=no
   13067 elif test "$shlibpath_overrides_runpath" = yes ||
   13068      test "$enable_shared" = no; then
   13069   # Fast installation is not necessary
   13070   enable_fast_install=needless
   13071 fi
   13072 
   13073 
   13074 # The else clause should only fire when bootstrapping the
   13075 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13076 # with your package, and you will get complaints that there are
   13077 # no rules to generate ltmain.sh.
   13078 if test -f "$ltmain"; then
   13079   # See if we are running on zsh, and set the options which allow our commands through
   13080   # without removal of \ escapes.
   13081   if test -n "${ZSH_VERSION+set}" ; then
   13082     setopt NO_GLOB_SUBST
   13083   fi
   13084   # Now quote all the things that may contain metacharacters while being
   13085   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13086   # variables and quote the copies for generation of the libtool script.
   13087   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13088     SED SHELL STRIP \
   13089     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13090     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13091     deplibs_check_method reload_flag reload_cmds need_locks \
   13092     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13093     lt_cv_sys_global_symbol_to_c_name_address \
   13094     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13095     old_postinstall_cmds old_postuninstall_cmds \
   13096     compiler_CXX \
   13097     CC_CXX \
   13098     LD_CXX \
   13099     lt_prog_compiler_wl_CXX \
   13100     lt_prog_compiler_pic_CXX \
   13101     lt_prog_compiler_static_CXX \
   13102     lt_prog_compiler_no_builtin_flag_CXX \
   13103     export_dynamic_flag_spec_CXX \
   13104     thread_safe_flag_spec_CXX \
   13105     whole_archive_flag_spec_CXX \
   13106     enable_shared_with_static_runtimes_CXX \
   13107     old_archive_cmds_CXX \
   13108     old_archive_from_new_cmds_CXX \
   13109     predep_objects_CXX \
   13110     postdep_objects_CXX \
   13111     predeps_CXX \
   13112     postdeps_CXX \
   13113     compiler_lib_search_path_CXX \
   13114     archive_cmds_CXX \
   13115     archive_expsym_cmds_CXX \
   13116     postinstall_cmds_CXX \
   13117     postuninstall_cmds_CXX \
   13118     old_archive_from_expsyms_cmds_CXX \
   13119     allow_undefined_flag_CXX \
   13120     no_undefined_flag_CXX \
   13121     export_symbols_cmds_CXX \
   13122     hardcode_libdir_flag_spec_CXX \
   13123     hardcode_libdir_flag_spec_ld_CXX \
   13124     hardcode_libdir_separator_CXX \
   13125     hardcode_automatic_CXX \
   13126     module_cmds_CXX \
   13127     module_expsym_cmds_CXX \
   13128     lt_cv_prog_compiler_c_o_CXX \
   13129     exclude_expsyms_CXX \
   13130     include_expsyms_CXX; do
   13131 
   13132     case $var in
   13133     old_archive_cmds_CXX | \
   13134     old_archive_from_new_cmds_CXX | \
   13135     archive_cmds_CXX | \
   13136     archive_expsym_cmds_CXX | \
   13137     module_cmds_CXX | \
   13138     module_expsym_cmds_CXX | \
   13139     old_archive_from_expsyms_cmds_CXX | \
   13140     export_symbols_cmds_CXX | \
   13141     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13142     postinstall_cmds | postuninstall_cmds | \
   13143     old_postinstall_cmds | old_postuninstall_cmds | \
   13144     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13145       # Double-quote double-evaled strings.
   13146       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13147       ;;
   13148     *)
   13149       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13150       ;;
   13151     esac
   13152   done
   13153 
   13154   case $lt_echo in
   13155   *'\$0 --fallback-echo"')
   13156     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13157     ;;
   13158   esac
   13159 
   13160 cfgfile="$ofile"
   13161 
   13162   cat <<__EOF__ >> "$cfgfile"
   13163 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13164 
   13165 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13166 
   13167 # Shell to use when invoking shell scripts.
   13168 SHELL=$lt_SHELL
   13169 
   13170 # Whether or not to build shared libraries.
   13171 build_libtool_libs=$enable_shared
   13172 
   13173 # Whether or not to build static libraries.
   13174 build_old_libs=$enable_static
   13175 
   13176 # Whether or not to add -lc for building shared libraries.
   13177 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13178 
   13179 # Whether or not to disallow shared libs when runtime libs are static
   13180 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13181 
   13182 # Whether or not to optimize for fast installation.
   13183 fast_install=$enable_fast_install
   13184 
   13185 # The host system.
   13186 host_alias=$host_alias
   13187 host=$host
   13188 host_os=$host_os
   13189 
   13190 # The build system.
   13191 build_alias=$build_alias
   13192 build=$build
   13193 build_os=$build_os
   13194 
   13195 # An echo program that does not interpret backslashes.
   13196 echo=$lt_echo
   13197 
   13198 # The archiver.
   13199 AR=$lt_AR
   13200 AR_FLAGS=$lt_AR_FLAGS
   13201 
   13202 # A C compiler.
   13203 LTCC=$lt_LTCC
   13204 
   13205 # LTCC compiler flags.
   13206 LTCFLAGS=$lt_LTCFLAGS
   13207 
   13208 # A language-specific compiler.
   13209 CC=$lt_compiler_CXX
   13210 
   13211 # Is the compiler the GNU C compiler?
   13212 with_gcc=$GCC_CXX
   13213 
   13214 # An ERE matcher.
   13215 EGREP=$lt_EGREP
   13216 
   13217 # The linker used to build libraries.
   13218 LD=$lt_LD_CXX
   13219 
   13220 # Whether we need hard or soft links.
   13221 LN_S=$lt_LN_S
   13222 
   13223 # A BSD-compatible nm program.
   13224 NM=$lt_NM
   13225 
   13226 # A symbol stripping program
   13227 STRIP=$lt_STRIP
   13228 
   13229 # Used to examine libraries when file_magic_cmd begins "file"
   13230 MAGIC_CMD=$MAGIC_CMD
   13231 
   13232 # Used on cygwin: DLL creation program.
   13233 DLLTOOL="$DLLTOOL"
   13234 
   13235 # Used on cygwin: object dumper.
   13236 OBJDUMP="$OBJDUMP"
   13237 
   13238 # Used on cygwin: assembler.
   13239 AS="$AS"
   13240 
   13241 # The name of the directory that contains temporary libtool files.
   13242 objdir=$objdir
   13243 
   13244 # How to create reloadable object files.
   13245 reload_flag=$lt_reload_flag
   13246 reload_cmds=$lt_reload_cmds
   13247 
   13248 # How to pass a linker flag through the compiler.
   13249 wl=$lt_lt_prog_compiler_wl_CXX
   13250 
   13251 # Object file suffix (normally "o").
   13252 objext="$ac_objext"
   13253 
   13254 # Old archive suffix (normally "a").
   13255 libext="$libext"
   13256 
   13257 # Shared library suffix (normally ".so").
   13258 shrext_cmds='$shrext_cmds'
   13259 
   13260 # Executable file suffix (normally "").
   13261 exeext="$exeext"
   13262 
   13263 # Additional compiler flags for building library objects.
   13264 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13265 pic_mode=$pic_mode
   13266 
   13267 # What is the maximum length of a command?
   13268 max_cmd_len=$lt_cv_sys_max_cmd_len
   13269 
   13270 # Does compiler simultaneously support -c and -o options?
   13271 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13272 
   13273 # Must we lock files when doing compilation?
   13274 need_locks=$lt_need_locks
   13275 
   13276 # Do we need the lib prefix for modules?
   13277 need_lib_prefix=$need_lib_prefix
   13278 
   13279 # Do we need a version for libraries?
   13280 need_version=$need_version
   13281 
   13282 # Whether dlopen is supported.
   13283 dlopen_support=$enable_dlopen
   13284 
   13285 # Whether dlopen of programs is supported.
   13286 dlopen_self=$enable_dlopen_self
   13287 
   13288 # Whether dlopen of statically linked programs is supported.
   13289 dlopen_self_static=$enable_dlopen_self_static
   13290 
   13291 # Compiler flag to prevent dynamic linking.
   13292 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13293 
   13294 # Compiler flag to turn off builtin functions.
   13295 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13296 
   13297 # Compiler flag to allow reflexive dlopens.
   13298 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13299 
   13300 # Compiler flag to generate shared objects directly from archives.
   13301 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13302 
   13303 # Compiler flag to generate thread-safe objects.
   13304 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13305 
   13306 # Library versioning type.
   13307 version_type=$version_type
   13308 
   13309 # Format of library name prefix.
   13310 libname_spec=$lt_libname_spec
   13311 
   13312 # List of archive names.  First name is the real one, the rest are links.
   13313 # The last name is the one that the linker finds with -lNAME.
   13314 library_names_spec=$lt_library_names_spec
   13315 
   13316 # The coded name of the library, if different from the real name.
   13317 soname_spec=$lt_soname_spec
   13318 
   13319 # Commands used to build and install an old-style archive.
   13320 RANLIB=$lt_RANLIB
   13321 old_archive_cmds=$lt_old_archive_cmds_CXX
   13322 old_postinstall_cmds=$lt_old_postinstall_cmds
   13323 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13324 
   13325 # Create an old-style archive from a shared archive.
   13326 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   13327 
   13328 # Create a temporary old-style archive to link instead of a shared archive.
   13329 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   13330 
   13331 # Commands used to build and install a shared archive.
   13332 archive_cmds=$lt_archive_cmds_CXX
   13333 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   13334 postinstall_cmds=$lt_postinstall_cmds
   13335 postuninstall_cmds=$lt_postuninstall_cmds
   13336 
   13337 # Commands used to build a loadable module (assumed same as above if empty)
   13338 module_cmds=$lt_module_cmds_CXX
   13339 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   13340 
   13341 # Commands to strip libraries.
   13342 old_striplib=$lt_old_striplib
   13343 striplib=$lt_striplib
   13344 
   13345 # Dependencies to place before the objects being linked to create a
   13346 # shared library.
   13347 predep_objects=$lt_predep_objects_CXX
   13348 
   13349 # Dependencies to place after the objects being linked to create a
   13350 # shared library.
   13351 postdep_objects=$lt_postdep_objects_CXX
   13352 
   13353 # Dependencies to place before the objects being linked to create a
   13354 # shared library.
   13355 predeps=$lt_predeps_CXX
   13356 
   13357 # Dependencies to place after the objects being linked to create a
   13358 # shared library.
   13359 postdeps=$lt_postdeps_CXX
   13360 
   13361 # The library search path used internally by the compiler when linking
   13362 # a shared library.
   13363 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   13364 
   13365 # Method to check whether dependent libraries are shared objects.
   13366 deplibs_check_method=$lt_deplibs_check_method
   13367 
   13368 # Command to use when deplibs_check_method == file_magic.
   13369 file_magic_cmd=$lt_file_magic_cmd
   13370 
   13371 # Flag that allows shared libraries with undefined symbols to be built.
   13372 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   13373 
   13374 # Flag that forces no undefined symbols.
   13375 no_undefined_flag=$lt_no_undefined_flag_CXX
   13376 
   13377 # Commands used to finish a libtool library installation in a directory.
   13378 finish_cmds=$lt_finish_cmds
   13379 
   13380 # Same as above, but a single script fragment to be evaled but not shown.
   13381 finish_eval=$lt_finish_eval
   13382 
   13383 # Take the output of nm and produce a listing of raw symbols and C names.
   13384 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13385 
   13386 # Transform the output of nm in a proper C declaration
   13387 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13388 
   13389 # Transform the output of nm in a C name address pair
   13390 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13391 
   13392 # This is the shared library runtime path variable.
   13393 runpath_var=$runpath_var
   13394 
   13395 # This is the shared library path variable.
   13396 shlibpath_var=$shlibpath_var
   13397 
   13398 # Is shlibpath searched before the hard-coded library search path?
   13399 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13400 
   13401 # How to hardcode a shared library path into an executable.
   13402 hardcode_action=$hardcode_action_CXX
   13403 
   13404 # Whether we should hardcode library paths into libraries.
   13405 hardcode_into_libs=$hardcode_into_libs
   13406 
   13407 # Flag to hardcode \$libdir into a binary during linking.
   13408 # This must work even if \$libdir does not exist.
   13409 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   13410 
   13411 # If ld is used when linking, flag to hardcode \$libdir into
   13412 # a binary during linking. This must work even if \$libdir does
   13413 # not exist.
   13414 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   13415 
   13416 # Whether we need a single -rpath flag with a separated argument.
   13417 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   13418 
   13419 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   13420 # resulting binary.
   13421 hardcode_direct=$hardcode_direct_CXX
   13422 
   13423 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   13424 # resulting binary.
   13425 hardcode_minus_L=$hardcode_minus_L_CXX
   13426 
   13427 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   13428 # the resulting binary.
   13429 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   13430 
   13431 # Set to yes if building a shared library automatically hardcodes DIR into the library
   13432 # and all subsequent libraries and executables linked against it.
   13433 hardcode_automatic=$hardcode_automatic_CXX
   13434 
   13435 # Variables whose values should be saved in libtool wrapper scripts and
   13436 # restored at relink time.
   13437 variables_saved_for_relink="$variables_saved_for_relink"
   13438 
   13439 # Whether libtool must link a program against all its dependency libraries.
   13440 link_all_deplibs=$link_all_deplibs_CXX
   13441 
   13442 # Compile-time system search path for libraries
   13443 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13444 
   13445 # Run-time system search path for libraries
   13446 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13447 
   13448 # Fix the shell variable \$srcfile for the compiler.
   13449 fix_srcfile_path="$fix_srcfile_path_CXX"
   13450 
   13451 # Set to yes if exported symbols are required.
   13452 always_export_symbols=$always_export_symbols_CXX
   13453 
   13454 # The commands to list exported symbols.
   13455 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   13456 
   13457 # The commands to extract the exported symbol list from a shared archive.
   13458 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13459 
   13460 # Symbols that should not be listed in the preloaded symbols.
   13461 exclude_expsyms=$lt_exclude_expsyms_CXX
   13462 
   13463 # Symbols that must always be exported.
   13464 include_expsyms=$lt_include_expsyms_CXX
   13465 
   13466 # ### END LIBTOOL TAG CONFIG: $tagname
   13467 
   13468 __EOF__
   13469 
   13470 
   13471 else
   13472   # If there is no Makefile yet, we rely on a make rule to execute
   13473   # `config.status --recheck' to rerun these tests and create the
   13474   # libtool script then.
   13475   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   13476   if test -f "$ltmain_in"; then
   13477     test -f Makefile && make "$ltmain"
   13478   fi
   13479 fi
   13480 
   13481 
   13482 ac_ext=c
   13483 ac_cpp='$CPP $CPPFLAGS'
   13484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13487 
   13488 CC=$lt_save_CC
   13489 LDCXX=$LD
   13490 LD=$lt_save_LD
   13491 GCC=$lt_save_GCC
   13492 with_gnu_ldcxx=$with_gnu_ld
   13493 with_gnu_ld=$lt_save_with_gnu_ld
   13494 lt_cv_path_LDCXX=$lt_cv_path_LD
   13495 lt_cv_path_LD=$lt_save_path_LD
   13496 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   13497 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   13498 
   13499 	else
   13500 	  tagname=""
   13501 	fi
   13502 	;;
   13503 
   13504       F77)
   13505 	if test -n "$F77" && test "X$F77" != "Xno"; then
   13506 
   13507 ac_ext=f
   13508 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   13509 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13510 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   13511 
   13512 
   13513 archive_cmds_need_lc_F77=no
   13514 allow_undefined_flag_F77=
   13515 always_export_symbols_F77=no
   13516 archive_expsym_cmds_F77=
   13517 export_dynamic_flag_spec_F77=
   13518 hardcode_direct_F77=no
   13519 hardcode_libdir_flag_spec_F77=
   13520 hardcode_libdir_flag_spec_ld_F77=
   13521 hardcode_libdir_separator_F77=
   13522 hardcode_minus_L_F77=no
   13523 hardcode_automatic_F77=no
   13524 module_cmds_F77=
   13525 module_expsym_cmds_F77=
   13526 link_all_deplibs_F77=unknown
   13527 old_archive_cmds_F77=$old_archive_cmds
   13528 no_undefined_flag_F77=
   13529 whole_archive_flag_spec_F77=
   13530 enable_shared_with_static_runtimes_F77=no
   13531 
   13532 # Source file extension for f77 test sources.
   13533 ac_ext=f
   13534 
   13535 # Object file extension for compiled f77 test sources.
   13536 objext=o
   13537 objext_F77=$objext
   13538 
   13539 # Code to be used in simple compile tests
   13540 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
   13541 
   13542 # Code to be used in simple link tests
   13543 lt_simple_link_test_code="      program t\n      end\n"
   13544 
   13545 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13546 
   13547 # If no C compiler was specified, use CC.
   13548 LTCC=${LTCC-"$CC"}
   13549 
   13550 # If no C compiler flags were specified, use CFLAGS.
   13551 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13552 
   13553 # Allow CC to be a program name with arguments.
   13554 compiler=$CC
   13555 
   13556 
   13557 # save warnings/boilerplate of simple test code
   13558 ac_outfile=conftest.$ac_objext
   13559 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   13560 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13561 _lt_compiler_boilerplate=`cat conftest.err`
   13562 $rm conftest*
   13563 
   13564 ac_outfile=conftest.$ac_objext
   13565 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   13566 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13567 _lt_linker_boilerplate=`cat conftest.err`
   13568 $rm conftest*
   13569 
   13570 
   13571 # Allow CC to be a program name with arguments.
   13572 lt_save_CC="$CC"
   13573 CC=${F77-"f77"}
   13574 compiler=$CC
   13575 compiler_F77=$CC
   13576 for cc_temp in $compiler""; do
   13577   case $cc_temp in
   13578     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13579     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13580     \-*) ;;
   13581     *) break;;
   13582   esac
   13583 done
   13584 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   13585 
   13586 
   13587 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   13588 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
   13589 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
   13590 echo "${ECHO_T}$can_build_shared" >&6; }
   13591 
   13592 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   13593 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
   13594 test "$can_build_shared" = "no" && enable_shared=no
   13595 
   13596 # On AIX, shared libraries and static libraries use the same namespace, and
   13597 # are all built from PIC.
   13598 case $host_os in
   13599 aix3*)
   13600   test "$enable_shared" = yes && enable_static=no
   13601   if test -n "$RANLIB"; then
   13602     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13603     postinstall_cmds='$RANLIB $lib'
   13604   fi
   13605   ;;
   13606 aix4* | aix5*)
   13607   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13608     test "$enable_shared" = yes && enable_static=no
   13609   fi
   13610   ;;
   13611 esac
   13612 { echo "$as_me:$LINENO: result: $enable_shared" >&5
   13613 echo "${ECHO_T}$enable_shared" >&6; }
   13614 
   13615 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13616 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
   13617 # Make sure either enable_shared or enable_static is yes.
   13618 test "$enable_shared" = yes || enable_static=yes
   13619 { echo "$as_me:$LINENO: result: $enable_static" >&5
   13620 echo "${ECHO_T}$enable_static" >&6; }
   13621 
   13622 GCC_F77="$G77"
   13623 LD_F77="$LD"
   13624 
   13625 lt_prog_compiler_wl_F77=
   13626 lt_prog_compiler_pic_F77=
   13627 lt_prog_compiler_static_F77=
   13628 
   13629 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   13630 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   13631 
   13632   if test "$GCC" = yes; then
   13633     lt_prog_compiler_wl_F77='-Wl,'
   13634     lt_prog_compiler_static_F77='-static'
   13635 
   13636     case $host_os in
   13637       aix*)
   13638       # All AIX code is PIC.
   13639       if test "$host_cpu" = ia64; then
   13640 	# AIX 5 now supports IA64 processor
   13641 	lt_prog_compiler_static_F77='-Bstatic'
   13642       fi
   13643       ;;
   13644 
   13645     amigaos*)
   13646       # FIXME: we need at least 68020 code to build shared libraries, but
   13647       # adding the `-m68020' flag to GCC prevents building anything better,
   13648       # like `-m68040'.
   13649       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   13650       ;;
   13651 
   13652     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13653       # PIC is the default for these OSes.
   13654       ;;
   13655 
   13656     mingw* | pw32* | os2*)
   13657       # This hack is so that the source file can tell whether it is being
   13658       # built for inclusion in a dll (and should export symbols for example).
   13659       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13660       ;;
   13661 
   13662     darwin* | rhapsody*)
   13663       # PIC is the default on this platform
   13664       # Common symbols not allowed in MH_DYLIB files
   13665       lt_prog_compiler_pic_F77='-fno-common'
   13666       ;;
   13667 
   13668     interix3*)
   13669       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13670       # Instead, we relocate shared libraries at runtime.
   13671       ;;
   13672 
   13673     msdosdjgpp*)
   13674       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13675       # on systems that don't support them.
   13676       lt_prog_compiler_can_build_shared_F77=no
   13677       enable_shared=no
   13678       ;;
   13679 
   13680     sysv4*MP*)
   13681       if test -d /usr/nec; then
   13682 	lt_prog_compiler_pic_F77=-Kconform_pic
   13683       fi
   13684       ;;
   13685 
   13686     hpux*)
   13687       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13688       # not for PA HP-UX.
   13689       case $host_cpu in
   13690       hppa*64*|ia64*)
   13691 	# +Z the default
   13692 	;;
   13693       *)
   13694 	lt_prog_compiler_pic_F77='-fPIC'
   13695 	;;
   13696       esac
   13697       ;;
   13698 
   13699     *)
   13700       lt_prog_compiler_pic_F77='-fPIC'
   13701       ;;
   13702     esac
   13703   else
   13704     # PORTME Check for flag to pass linker flags through the system compiler.
   13705     case $host_os in
   13706     aix*)
   13707       lt_prog_compiler_wl_F77='-Wl,'
   13708       if test "$host_cpu" = ia64; then
   13709 	# AIX 5 now supports IA64 processor
   13710 	lt_prog_compiler_static_F77='-Bstatic'
   13711       else
   13712 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   13713       fi
   13714       ;;
   13715       darwin*)
   13716         # PIC is the default on this platform
   13717         # Common symbols not allowed in MH_DYLIB files
   13718        case $cc_basename in
   13719          xlc*)
   13720          lt_prog_compiler_pic_F77='-qnocommon'
   13721          lt_prog_compiler_wl_F77='-Wl,'
   13722          ;;
   13723        esac
   13724        ;;
   13725 
   13726     mingw* | pw32* | os2*)
   13727       # This hack is so that the source file can tell whether it is being
   13728       # built for inclusion in a dll (and should export symbols for example).
   13729       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   13730       ;;
   13731 
   13732     hpux9* | hpux10* | hpux11*)
   13733       lt_prog_compiler_wl_F77='-Wl,'
   13734       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13735       # not for PA HP-UX.
   13736       case $host_cpu in
   13737       hppa*64*|ia64*)
   13738 	# +Z the default
   13739 	;;
   13740       *)
   13741 	lt_prog_compiler_pic_F77='+Z'
   13742 	;;
   13743       esac
   13744       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13745       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   13746       ;;
   13747 
   13748     irix5* | irix6* | nonstopux*)
   13749       lt_prog_compiler_wl_F77='-Wl,'
   13750       # PIC (with -KPIC) is the default.
   13751       lt_prog_compiler_static_F77='-non_shared'
   13752       ;;
   13753 
   13754     newsos6)
   13755       lt_prog_compiler_pic_F77='-KPIC'
   13756       lt_prog_compiler_static_F77='-Bstatic'
   13757       ;;
   13758 
   13759     linux*)
   13760       case $cc_basename in
   13761       icc* | ecc*)
   13762 	lt_prog_compiler_wl_F77='-Wl,'
   13763 	lt_prog_compiler_pic_F77='-KPIC'
   13764 	lt_prog_compiler_static_F77='-static'
   13765         ;;
   13766       pgcc* | pgf77* | pgf90* | pgf95*)
   13767         # Portland Group compilers (*not* the Pentium gcc compiler,
   13768 	# which looks to be a dead project)
   13769 	lt_prog_compiler_wl_F77='-Wl,'
   13770 	lt_prog_compiler_pic_F77='-fpic'
   13771 	lt_prog_compiler_static_F77='-Bstatic'
   13772         ;;
   13773       ccc*)
   13774         lt_prog_compiler_wl_F77='-Wl,'
   13775         # All Alpha code is PIC.
   13776         lt_prog_compiler_static_F77='-non_shared'
   13777         ;;
   13778       esac
   13779       ;;
   13780 
   13781     osf3* | osf4* | osf5*)
   13782       lt_prog_compiler_wl_F77='-Wl,'
   13783       # All OSF/1 code is PIC.
   13784       lt_prog_compiler_static_F77='-non_shared'
   13785       ;;
   13786 
   13787     solaris*)
   13788       lt_prog_compiler_pic_F77='-KPIC'
   13789       lt_prog_compiler_static_F77='-Bstatic'
   13790       case $cc_basename in
   13791       f77* | f90* | f95*)
   13792 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   13793       *)
   13794 	lt_prog_compiler_wl_F77='-Wl,';;
   13795       esac
   13796       ;;
   13797 
   13798     sunos4*)
   13799       lt_prog_compiler_wl_F77='-Qoption ld '
   13800       lt_prog_compiler_pic_F77='-PIC'
   13801       lt_prog_compiler_static_F77='-Bstatic'
   13802       ;;
   13803 
   13804     sysv4 | sysv4.2uw2* | sysv4.3*)
   13805       lt_prog_compiler_wl_F77='-Wl,'
   13806       lt_prog_compiler_pic_F77='-KPIC'
   13807       lt_prog_compiler_static_F77='-Bstatic'
   13808       ;;
   13809 
   13810     sysv4*MP*)
   13811       if test -d /usr/nec ;then
   13812 	lt_prog_compiler_pic_F77='-Kconform_pic'
   13813 	lt_prog_compiler_static_F77='-Bstatic'
   13814       fi
   13815       ;;
   13816 
   13817     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13818       lt_prog_compiler_wl_F77='-Wl,'
   13819       lt_prog_compiler_pic_F77='-KPIC'
   13820       lt_prog_compiler_static_F77='-Bstatic'
   13821       ;;
   13822 
   13823     unicos*)
   13824       lt_prog_compiler_wl_F77='-Wl,'
   13825       lt_prog_compiler_can_build_shared_F77=no
   13826       ;;
   13827 
   13828     uts4*)
   13829       lt_prog_compiler_pic_F77='-pic'
   13830       lt_prog_compiler_static_F77='-Bstatic'
   13831       ;;
   13832 
   13833     *)
   13834       lt_prog_compiler_can_build_shared_F77=no
   13835       ;;
   13836     esac
   13837   fi
   13838 
   13839 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   13840 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
   13841 
   13842 #
   13843 # Check to make sure the PIC flag actually works.
   13844 #
   13845 if test -n "$lt_prog_compiler_pic_F77"; then
   13846 
   13847 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   13848 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
   13849 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
   13850   echo $ECHO_N "(cached) $ECHO_C" >&6
   13851 else
   13852   lt_prog_compiler_pic_works_F77=no
   13853   ac_outfile=conftest.$ac_objext
   13854    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13855    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   13856    # Insert the option either (1) after the last *FLAGS variable, or
   13857    # (2) before a word containing "conftest.", or (3) at the end.
   13858    # Note that $ac_compile itself does not contain backslashes and begins
   13859    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13860    # The option is referenced via a variable to avoid confusing sed.
   13861    lt_compile=`echo "$ac_compile" | $SED \
   13862    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13863    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13864    -e 's:$: $lt_compiler_flag:'`
   13865    (eval echo "\"\$as_me:13865: $lt_compile\"" >&5)
   13866    (eval "$lt_compile" 2>conftest.err)
   13867    ac_status=$?
   13868    cat conftest.err >&5
   13869    echo "$as_me:13869: \$? = $ac_status" >&5
   13870    if (exit $ac_status) && test -s "$ac_outfile"; then
   13871      # The compiler can only warn and ignore the option if not recognized
   13872      # So say no if there are warnings other than the usual output.
   13873      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   13874      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13875      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13876        lt_prog_compiler_pic_works_F77=yes
   13877      fi
   13878    fi
   13879    $rm conftest*
   13880 
   13881 fi
   13882 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
   13883 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
   13884 
   13885 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
   13886     case $lt_prog_compiler_pic_F77 in
   13887      "" | " "*) ;;
   13888      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   13889      esac
   13890 else
   13891     lt_prog_compiler_pic_F77=
   13892      lt_prog_compiler_can_build_shared_F77=no
   13893 fi
   13894 
   13895 fi
   13896 case $host_os in
   13897   # For platforms which do not support PIC, -DPIC is meaningless:
   13898   *djgpp*)
   13899     lt_prog_compiler_pic_F77=
   13900     ;;
   13901   *)
   13902     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   13903     ;;
   13904 esac
   13905 
   13906 #
   13907 # Check to make sure the static flag actually works.
   13908 #
   13909 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   13910 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13911 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   13912 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
   13913   echo $ECHO_N "(cached) $ECHO_C" >&6
   13914 else
   13915   lt_prog_compiler_static_works_F77=no
   13916    save_LDFLAGS="$LDFLAGS"
   13917    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13918    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   13919    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13920      # The linker can only warn and ignore the option if not recognized
   13921      # So say no if there are warnings
   13922      if test -s conftest.err; then
   13923        # Append any errors to the config.log.
   13924        cat conftest.err 1>&5
   13925        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13926        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13927        if diff conftest.exp conftest.er2 >/dev/null; then
   13928          lt_prog_compiler_static_works_F77=yes
   13929        fi
   13930      else
   13931        lt_prog_compiler_static_works_F77=yes
   13932      fi
   13933    fi
   13934    $rm conftest*
   13935    LDFLAGS="$save_LDFLAGS"
   13936 
   13937 fi
   13938 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   13939 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
   13940 
   13941 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
   13942     :
   13943 else
   13944     lt_prog_compiler_static_F77=
   13945 fi
   13946 
   13947 
   13948 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13949 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   13950 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   13951   echo $ECHO_N "(cached) $ECHO_C" >&6
   13952 else
   13953   lt_cv_prog_compiler_c_o_F77=no
   13954    $rm -r conftest 2>/dev/null
   13955    mkdir conftest
   13956    cd conftest
   13957    mkdir out
   13958    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   13959 
   13960    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13961    # Insert the option either (1) after the last *FLAGS variable, or
   13962    # (2) before a word containing "conftest.", or (3) at the end.
   13963    # Note that $ac_compile itself does not contain backslashes and begins
   13964    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13965    lt_compile=`echo "$ac_compile" | $SED \
   13966    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13967    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13968    -e 's:$: $lt_compiler_flag:'`
   13969    (eval echo "\"\$as_me:13969: $lt_compile\"" >&5)
   13970    (eval "$lt_compile" 2>out/conftest.err)
   13971    ac_status=$?
   13972    cat out/conftest.err >&5
   13973    echo "$as_me:13973: \$? = $ac_status" >&5
   13974    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13975    then
   13976      # The compiler can only warn and ignore the option if not recognized
   13977      # So say no if there are warnings
   13978      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13979      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13980      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13981        lt_cv_prog_compiler_c_o_F77=yes
   13982      fi
   13983    fi
   13984    chmod u+w . 2>&5
   13985    $rm conftest*
   13986    # SGI C++ compiler will create directory out/ii_files/ for
   13987    # template instantiation
   13988    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13989    $rm out/* && rmdir out
   13990    cd ..
   13991    rmdir conftest
   13992    $rm conftest*
   13993 
   13994 fi
   13995 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   13996 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
   13997 
   13998 
   13999 hard_links="nottested"
   14000 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14001   # do not overwrite the value of need_locks provided by the user
   14002   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14003 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   14004   hard_links=yes
   14005   $rm conftest*
   14006   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14007   touch conftest.a
   14008   ln conftest.a conftest.b 2>&5 || hard_links=no
   14009   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14010   { echo "$as_me:$LINENO: result: $hard_links" >&5
   14011 echo "${ECHO_T}$hard_links" >&6; }
   14012   if test "$hard_links" = no; then
   14013     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14014 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14015     need_locks=warn
   14016   fi
   14017 else
   14018   need_locks=no
   14019 fi
   14020 
   14021 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14022 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   14023 
   14024   runpath_var=
   14025   allow_undefined_flag_F77=
   14026   enable_shared_with_static_runtimes_F77=no
   14027   archive_cmds_F77=
   14028   archive_expsym_cmds_F77=
   14029   old_archive_From_new_cmds_F77=
   14030   old_archive_from_expsyms_cmds_F77=
   14031   export_dynamic_flag_spec_F77=
   14032   whole_archive_flag_spec_F77=
   14033   thread_safe_flag_spec_F77=
   14034   hardcode_libdir_flag_spec_F77=
   14035   hardcode_libdir_flag_spec_ld_F77=
   14036   hardcode_libdir_separator_F77=
   14037   hardcode_direct_F77=no
   14038   hardcode_minus_L_F77=no
   14039   hardcode_shlibpath_var_F77=unsupported
   14040   link_all_deplibs_F77=unknown
   14041   hardcode_automatic_F77=no
   14042   module_cmds_F77=
   14043   module_expsym_cmds_F77=
   14044   always_export_symbols_F77=no
   14045   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14046   # include_expsyms should be a list of space-separated symbols to be *always*
   14047   # included in the symbol list
   14048   include_expsyms_F77=
   14049   # exclude_expsyms can be an extended regexp of symbols to exclude
   14050   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14051   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14052   # as well as any symbol that contains `d'.
   14053   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
   14054   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14055   # platforms (ab)use it in PIC code, but their linkers get confused if
   14056   # the symbol is explicitly referenced.  Since portable code cannot
   14057   # rely on this symbol name, it's probably fine to never include it in
   14058   # preloaded symbol tables.
   14059   extract_expsyms_cmds=
   14060   # Just being paranoid about ensuring that cc_basename is set.
   14061   for cc_temp in $compiler""; do
   14062   case $cc_temp in
   14063     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14064     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14065     \-*) ;;
   14066     *) break;;
   14067   esac
   14068 done
   14069 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14070 
   14071   case $host_os in
   14072   cygwin* | mingw* | pw32*)
   14073     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14074     # When not using gcc, we currently assume that we are using
   14075     # Microsoft Visual C++.
   14076     if test "$GCC" != yes; then
   14077       with_gnu_ld=no
   14078     fi
   14079     ;;
   14080   interix*)
   14081     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14082     with_gnu_ld=yes
   14083     ;;
   14084   openbsd*)
   14085     with_gnu_ld=no
   14086     ;;
   14087   esac
   14088 
   14089   ld_shlibs_F77=yes
   14090   if test "$with_gnu_ld" = yes; then
   14091     # If archive_cmds runs LD, not CC, wlarc should be empty
   14092     wlarc='${wl}'
   14093 
   14094     # Set some defaults for GNU ld with shared library support. These
   14095     # are reset later if shared libraries are not supported. Putting them
   14096     # here allows them to be overridden if necessary.
   14097     runpath_var=LD_RUN_PATH
   14098     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14099     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14100     # ancient GNU ld didn't support --whole-archive et. al.
   14101     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14102 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14103       else
   14104   	whole_archive_flag_spec_F77=
   14105     fi
   14106     supports_anon_versioning=no
   14107     case `$LD -v 2>/dev/null` in
   14108       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14109       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14110       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14111       *\ 2.11.*) ;; # other 2.11 versions
   14112       *) supports_anon_versioning=yes ;;
   14113     esac
   14114 
   14115     # See if GNU ld supports shared libraries.
   14116     case $host_os in
   14117     aix3* | aix4* | aix5*)
   14118       # On AIX/PPC, the GNU linker is very broken
   14119       if test "$host_cpu" != ia64; then
   14120 	ld_shlibs_F77=no
   14121 	cat <<EOF 1>&2
   14122 
   14123 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14124 *** to be unable to reliably create shared libraries on AIX.
   14125 *** Therefore, libtool is disabling shared libraries support.  If you
   14126 *** really care for shared libraries, you may want to modify your PATH
   14127 *** so that a non-GNU linker is found, and then restart.
   14128 
   14129 EOF
   14130       fi
   14131       ;;
   14132 
   14133     amigaos*)
   14134       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)'
   14135       hardcode_libdir_flag_spec_F77='-L$libdir'
   14136       hardcode_minus_L_F77=yes
   14137 
   14138       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14139       # that the semantics of dynamic libraries on AmigaOS, at least up
   14140       # to version 4, is to share data among multiple programs linked
   14141       # with the same dynamic library.  Since this doesn't match the
   14142       # behavior of shared libraries on other platforms, we can't use
   14143       # them.
   14144       ld_shlibs_F77=no
   14145       ;;
   14146 
   14147     beos*)
   14148       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14149 	allow_undefined_flag_F77=unsupported
   14150 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14151 	# support --undefined.  This deserves some investigation.  FIXME
   14152 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14153       else
   14154 	ld_shlibs_F77=no
   14155       fi
   14156       ;;
   14157 
   14158     cygwin* | mingw* | pw32*)
   14159       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14160       # as there is no search path for DLLs.
   14161       hardcode_libdir_flag_spec_F77='-L$libdir'
   14162       allow_undefined_flag_F77=unsupported
   14163       always_export_symbols_F77=no
   14164       enable_shared_with_static_runtimes_F77=yes
   14165       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   14166 
   14167       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14168         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14169 	# If the export-symbols file already is a .def file (1st line
   14170 	# is EXPORTS), use it as is; otherwise, prepend...
   14171 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14172 	  cp $export_symbols $output_objdir/$soname.def;
   14173 	else
   14174 	  echo EXPORTS > $output_objdir/$soname.def;
   14175 	  cat $export_symbols >> $output_objdir/$soname.def;
   14176 	fi~
   14177 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14178       else
   14179 	ld_shlibs_F77=no
   14180       fi
   14181       ;;
   14182 
   14183     interix3*)
   14184       hardcode_direct_F77=no
   14185       hardcode_shlibpath_var_F77=no
   14186       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14187       export_dynamic_flag_spec_F77='${wl}-E'
   14188       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14189       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14190       # default) and relocated if they conflict, which is a slow very memory
   14191       # consuming and fragmenting process.  To avoid this, we pick a random,
   14192       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14193       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14194       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'
   14195       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'
   14196       ;;
   14197 
   14198     linux*)
   14199       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14200 	tmp_addflag=
   14201 	case $cc_basename,$host_cpu in
   14202 	pgcc*)				# Portland Group C compiler
   14203 	  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'
   14204 	  tmp_addflag=' $pic_flag'
   14205 	  ;;
   14206 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14207 	  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'
   14208 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14209 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14210 	  tmp_addflag=' -i_dynamic' ;;
   14211 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14212 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14213 	ifc* | ifort*)			# Intel Fortran compiler
   14214 	  tmp_addflag=' -nofor_main' ;;
   14215 	esac
   14216 	archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14217 
   14218 	if test $supports_anon_versioning = yes; then
   14219 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14220   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14221   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14222 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14223 	fi
   14224       else
   14225 	ld_shlibs_F77=no
   14226       fi
   14227       ;;
   14228 
   14229     netbsd*)
   14230       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14231 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14232 	wlarc=
   14233       else
   14234 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14235 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14236       fi
   14237       ;;
   14238 
   14239     solaris*)
   14240       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14241 	ld_shlibs_F77=no
   14242 	cat <<EOF 1>&2
   14243 
   14244 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14245 *** create shared libraries on Solaris systems.  Therefore, libtool
   14246 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14247 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14248 *** your PATH or compiler configuration so that the native linker is
   14249 *** used, and then restart.
   14250 
   14251 EOF
   14252       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14253 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14254 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14255       else
   14256 	ld_shlibs_F77=no
   14257       fi
   14258       ;;
   14259 
   14260     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14261       case `$LD -v 2>&1` in
   14262         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14263 	ld_shlibs_F77=no
   14264 	cat <<_LT_EOF 1>&2
   14265 
   14266 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14267 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14268 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14269 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14270 *** your PATH or compiler configuration so that the native linker is
   14271 *** used, and then restart.
   14272 
   14273 _LT_EOF
   14274 	;;
   14275 	*)
   14276 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14277 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   14278 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   14279 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   14280 	  else
   14281 	    ld_shlibs_F77=no
   14282 	  fi
   14283 	;;
   14284       esac
   14285       ;;
   14286 
   14287     sunos4*)
   14288       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14289       wlarc=
   14290       hardcode_direct_F77=yes
   14291       hardcode_shlibpath_var_F77=no
   14292       ;;
   14293 
   14294     *)
   14295       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14296 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14297 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14298       else
   14299 	ld_shlibs_F77=no
   14300       fi
   14301       ;;
   14302     esac
   14303 
   14304     if test "$ld_shlibs_F77" = no; then
   14305       runpath_var=
   14306       hardcode_libdir_flag_spec_F77=
   14307       export_dynamic_flag_spec_F77=
   14308       whole_archive_flag_spec_F77=
   14309     fi
   14310   else
   14311     # PORTME fill in a description of your system's linker (not GNU ld)
   14312     case $host_os in
   14313     aix3*)
   14314       allow_undefined_flag_F77=unsupported
   14315       always_export_symbols_F77=yes
   14316       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'
   14317       # Note: this linker hardcodes the directories in LIBPATH if there
   14318       # are no directories specified by -L.
   14319       hardcode_minus_L_F77=yes
   14320       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14321 	# Neither direct hardcoding nor static linking is supported with a
   14322 	# broken collect2.
   14323 	hardcode_direct_F77=unsupported
   14324       fi
   14325       ;;
   14326 
   14327     aix4* | aix5*)
   14328       if test "$host_cpu" = ia64; then
   14329 	# On IA64, the linker does run time linking by default, so we don't
   14330 	# have to do anything special.
   14331 	aix_use_runtimelinking=no
   14332 	exp_sym_flag='-Bexport'
   14333 	no_entry_flag=""
   14334       else
   14335 	# If we're using GNU nm, then we don't want the "-C" option.
   14336 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14337 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   14338 	  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'
   14339 	else
   14340 	  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'
   14341 	fi
   14342 	aix_use_runtimelinking=no
   14343 
   14344 	# Test if we are trying to use run time linking or normal
   14345 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14346 	# need to do runtime linking.
   14347 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   14348 	  for ld_flag in $LDFLAGS; do
   14349   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14350   	    aix_use_runtimelinking=yes
   14351   	    break
   14352   	  fi
   14353 	  done
   14354 	  ;;
   14355 	esac
   14356 
   14357 	exp_sym_flag='-bexport'
   14358 	no_entry_flag='-bnoentry'
   14359       fi
   14360 
   14361       # When large executables or shared objects are built, AIX ld can
   14362       # have problems creating the table of contents.  If linking a library
   14363       # or program results in "error TOC overflow" add -mminimal-toc to
   14364       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14365       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14366 
   14367       archive_cmds_F77=''
   14368       hardcode_direct_F77=yes
   14369       hardcode_libdir_separator_F77=':'
   14370       link_all_deplibs_F77=yes
   14371 
   14372       if test "$GCC" = yes; then
   14373 	case $host_os in aix4.[012]|aix4.[012].*)
   14374 	# We only want to do this on AIX 4.2 and lower, the check
   14375 	# below for broken collect2 doesn't work under 4.3+
   14376 	  collect2name=`${CC} -print-prog-name=collect2`
   14377 	  if test -f "$collect2name" && \
   14378   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   14379 	  then
   14380   	  # We have reworked collect2
   14381   	  hardcode_direct_F77=yes
   14382 	  else
   14383   	  # We have old collect2
   14384   	  hardcode_direct_F77=unsupported
   14385   	  # It fails to find uninstalled libraries when the uninstalled
   14386   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14387   	  # to unsupported forces relinking
   14388   	  hardcode_minus_L_F77=yes
   14389   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   14390   	  hardcode_libdir_separator_F77=
   14391 	  fi
   14392 	  ;;
   14393 	esac
   14394 	shared_flag='-shared'
   14395 	if test "$aix_use_runtimelinking" = yes; then
   14396 	  shared_flag="$shared_flag "'${wl}-G'
   14397 	fi
   14398       else
   14399 	# not using gcc
   14400 	if test "$host_cpu" = ia64; then
   14401   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14402   	# chokes on -Wl,-G. The following line is correct:
   14403 	  shared_flag='-G'
   14404 	else
   14405 	  if test "$aix_use_runtimelinking" = yes; then
   14406 	    shared_flag='${wl}-G'
   14407 	  else
   14408 	    shared_flag='${wl}-bM:SRE'
   14409 	  fi
   14410 	fi
   14411       fi
   14412 
   14413       # It seems that -bexpall does not export symbols beginning with
   14414       # underscore (_), so it is better to generate a list of symbols to export.
   14415       always_export_symbols_F77=yes
   14416       if test "$aix_use_runtimelinking" = yes; then
   14417 	# Warning - without using the other runtime loading flags (-brtl),
   14418 	# -berok will link without error, but may produce a broken library.
   14419 	allow_undefined_flag_F77='-berok'
   14420        # Determine the default libpath from the value encoded in an empty executable.
   14421        cat >conftest.$ac_ext <<_ACEOF
   14422       program main
   14423 
   14424       end
   14425 _ACEOF
   14426 rm -f conftest.$ac_objext conftest$ac_exeext
   14427 if { (ac_try="$ac_link"
   14428 case "(($ac_try" in
   14429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14430   *) ac_try_echo=$ac_try;;
   14431 esac
   14432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14433   (eval "$ac_link") 2>conftest.er1
   14434   ac_status=$?
   14435   grep -v '^ *+' conftest.er1 >conftest.err
   14436   rm -f conftest.er1
   14437   cat conftest.err >&5
   14438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14439   (exit $ac_status); } && {
   14440 	 test -z "$ac_f77_werror_flag" ||
   14441 	 test ! -s conftest.err
   14442        } && test -s conftest$ac_exeext &&
   14443        $as_test_x conftest$ac_exeext; then
   14444 
   14445 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14446 }'`
   14447 # Check for a 64-bit object if we didn't find anything.
   14448 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; }
   14449 }'`; fi
   14450 else
   14451   echo "$as_me: failed program was:" >&5
   14452 sed 's/^/| /' conftest.$ac_ext >&5
   14453 
   14454 
   14455 fi
   14456 
   14457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14458       conftest$ac_exeext conftest.$ac_ext
   14459 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14460 
   14461        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14462 	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"
   14463        else
   14464 	if test "$host_cpu" = ia64; then
   14465 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   14466 	  allow_undefined_flag_F77="-z nodefs"
   14467 	  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"
   14468 	else
   14469 	 # Determine the default libpath from the value encoded in an empty executable.
   14470 	 cat >conftest.$ac_ext <<_ACEOF
   14471       program main
   14472 
   14473       end
   14474 _ACEOF
   14475 rm -f conftest.$ac_objext conftest$ac_exeext
   14476 if { (ac_try="$ac_link"
   14477 case "(($ac_try" in
   14478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14479   *) ac_try_echo=$ac_try;;
   14480 esac
   14481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14482   (eval "$ac_link") 2>conftest.er1
   14483   ac_status=$?
   14484   grep -v '^ *+' conftest.er1 >conftest.err
   14485   rm -f conftest.er1
   14486   cat conftest.err >&5
   14487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14488   (exit $ac_status); } && {
   14489 	 test -z "$ac_f77_werror_flag" ||
   14490 	 test ! -s conftest.err
   14491        } && test -s conftest$ac_exeext &&
   14492        $as_test_x conftest$ac_exeext; then
   14493 
   14494 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   14495 }'`
   14496 # Check for a 64-bit object if we didn't find anything.
   14497 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; }
   14498 }'`; fi
   14499 else
   14500   echo "$as_me: failed program was:" >&5
   14501 sed 's/^/| /' conftest.$ac_ext >&5
   14502 
   14503 
   14504 fi
   14505 
   14506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14507       conftest$ac_exeext conftest.$ac_ext
   14508 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   14509 
   14510 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   14511 	  # Warning - without using the other run time loading flags,
   14512 	  # -berok will link without error, but may produce a broken library.
   14513 	  no_undefined_flag_F77=' ${wl}-bernotok'
   14514 	  allow_undefined_flag_F77=' ${wl}-berok'
   14515 	  # Exported symbols can be pulled into shared objects from archives
   14516 	  whole_archive_flag_spec_F77='$convenience'
   14517 	  archive_cmds_need_lc_F77=yes
   14518 	  # This is similar to how AIX traditionally builds its shared libraries.
   14519 	  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'
   14520 	fi
   14521       fi
   14522       ;;
   14523 
   14524     amigaos*)
   14525       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)'
   14526       hardcode_libdir_flag_spec_F77='-L$libdir'
   14527       hardcode_minus_L_F77=yes
   14528       # see comment about different semantics on the GNU ld section
   14529       ld_shlibs_F77=no
   14530       ;;
   14531 
   14532     bsdi[45]*)
   14533       export_dynamic_flag_spec_F77=-rdynamic
   14534       ;;
   14535 
   14536     cygwin* | mingw* | pw32*)
   14537       # When not using gcc, we currently assume that we are using
   14538       # Microsoft Visual C++.
   14539       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14540       # no search path for DLLs.
   14541       hardcode_libdir_flag_spec_F77=' '
   14542       allow_undefined_flag_F77=unsupported
   14543       # Tell ltmain to make .lib files, not .a files.
   14544       libext=lib
   14545       # Tell ltmain to make .dll files, not .so files.
   14546       shrext_cmds=".dll"
   14547       # FIXME: Setting linknames here is a bad hack.
   14548       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   14549       # The linker will automatically build a .lib file if we build a DLL.
   14550       old_archive_From_new_cmds_F77='true'
   14551       # FIXME: Should let the user specify the lib program.
   14552       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
   14553       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   14554       enable_shared_with_static_runtimes_F77=yes
   14555       ;;
   14556 
   14557     darwin* | rhapsody*)
   14558       case $host_os in
   14559         rhapsody* | darwin1.[012])
   14560          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   14561          ;;
   14562        *) # Darwin 1.3 on
   14563          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   14564            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14565          else
   14566            case ${MACOSX_DEPLOYMENT_TARGET} in
   14567              10.[012])
   14568                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   14569                ;;
   14570              10.*)
   14571                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   14572                ;;
   14573            esac
   14574          fi
   14575          ;;
   14576       esac
   14577       archive_cmds_need_lc_F77=no
   14578       hardcode_direct_F77=no
   14579       hardcode_automatic_F77=yes
   14580       hardcode_shlibpath_var_F77=unsupported
   14581       whole_archive_flag_spec_F77=''
   14582       link_all_deplibs_F77=yes
   14583     if test "$GCC" = yes ; then
   14584     	output_verbose_link_cmd='echo'
   14585         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   14586       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14587       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14588       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}'
   14589       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}'
   14590     else
   14591       case $cc_basename in
   14592         xlc*)
   14593          output_verbose_link_cmd='echo'
   14594          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   14595          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   14596           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   14597          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}'
   14598           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}'
   14599           ;;
   14600        *)
   14601          ld_shlibs_F77=no
   14602           ;;
   14603       esac
   14604     fi
   14605       ;;
   14606 
   14607     dgux*)
   14608       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14609       hardcode_libdir_flag_spec_F77='-L$libdir'
   14610       hardcode_shlibpath_var_F77=no
   14611       ;;
   14612 
   14613     freebsd1*)
   14614       ld_shlibs_F77=no
   14615       ;;
   14616 
   14617     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14618     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14619     # does not break anything, and helps significantly (at the cost of a little
   14620     # extra space).
   14621     freebsd2.2*)
   14622       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14623       hardcode_libdir_flag_spec_F77='-R$libdir'
   14624       hardcode_direct_F77=yes
   14625       hardcode_shlibpath_var_F77=no
   14626       ;;
   14627 
   14628     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14629     freebsd2*)
   14630       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14631       hardcode_direct_F77=yes
   14632       hardcode_minus_L_F77=yes
   14633       hardcode_shlibpath_var_F77=no
   14634       ;;
   14635 
   14636     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14637     freebsd* | kfreebsd*-gnu | dragonfly*)
   14638       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   14639       hardcode_libdir_flag_spec_F77='-R$libdir'
   14640       hardcode_direct_F77=yes
   14641       hardcode_shlibpath_var_F77=no
   14642       ;;
   14643 
   14644     hpux9*)
   14645       if test "$GCC" = yes; then
   14646 	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'
   14647       else
   14648 	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'
   14649       fi
   14650       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14651       hardcode_libdir_separator_F77=:
   14652       hardcode_direct_F77=yes
   14653 
   14654       # hardcode_minus_L: Not really in the search PATH,
   14655       # but as the default location of the library.
   14656       hardcode_minus_L_F77=yes
   14657       export_dynamic_flag_spec_F77='${wl}-E'
   14658       ;;
   14659 
   14660     hpux10*)
   14661       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14662 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14663       else
   14664 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14665       fi
   14666       if test "$with_gnu_ld" = no; then
   14667 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14668 	hardcode_libdir_separator_F77=:
   14669 
   14670 	hardcode_direct_F77=yes
   14671 	export_dynamic_flag_spec_F77='${wl}-E'
   14672 
   14673 	# hardcode_minus_L: Not really in the search PATH,
   14674 	# but as the default location of the library.
   14675 	hardcode_minus_L_F77=yes
   14676       fi
   14677       ;;
   14678 
   14679     hpux11*)
   14680       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   14681 	case $host_cpu in
   14682 	hppa*64*)
   14683 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14684 	  ;;
   14685 	ia64*)
   14686 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14687 	  ;;
   14688 	*)
   14689 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14690 	  ;;
   14691 	esac
   14692       else
   14693 	case $host_cpu in
   14694 	hppa*64*)
   14695 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14696 	  ;;
   14697 	ia64*)
   14698 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14699 	  ;;
   14700 	*)
   14701 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14702 	  ;;
   14703 	esac
   14704       fi
   14705       if test "$with_gnu_ld" = no; then
   14706 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   14707 	hardcode_libdir_separator_F77=:
   14708 
   14709 	case $host_cpu in
   14710 	hppa*64*|ia64*)
   14711 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   14712 	  hardcode_direct_F77=no
   14713 	  hardcode_shlibpath_var_F77=no
   14714 	  ;;
   14715 	*)
   14716 	  hardcode_direct_F77=yes
   14717 	  export_dynamic_flag_spec_F77='${wl}-E'
   14718 
   14719 	  # hardcode_minus_L: Not really in the search PATH,
   14720 	  # but as the default location of the library.
   14721 	  hardcode_minus_L_F77=yes
   14722 	  ;;
   14723 	esac
   14724       fi
   14725       ;;
   14726 
   14727     irix5* | irix6* | nonstopux*)
   14728       if test "$GCC" = yes; then
   14729 	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'
   14730       else
   14731 	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'
   14732 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   14733       fi
   14734       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14735       hardcode_libdir_separator_F77=:
   14736       link_all_deplibs_F77=yes
   14737       ;;
   14738 
   14739     netbsd*)
   14740       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14741 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14742       else
   14743 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14744       fi
   14745       hardcode_libdir_flag_spec_F77='-R$libdir'
   14746       hardcode_direct_F77=yes
   14747       hardcode_shlibpath_var_F77=no
   14748       ;;
   14749 
   14750     newsos6)
   14751       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14752       hardcode_direct_F77=yes
   14753       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14754       hardcode_libdir_separator_F77=:
   14755       hardcode_shlibpath_var_F77=no
   14756       ;;
   14757 
   14758     openbsd*)
   14759       hardcode_direct_F77=yes
   14760       hardcode_shlibpath_var_F77=no
   14761       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14762 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14763 	archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   14764 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14765 	export_dynamic_flag_spec_F77='${wl}-E'
   14766       else
   14767        case $host_os in
   14768 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   14769 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14770 	   hardcode_libdir_flag_spec_F77='-R$libdir'
   14771 	   ;;
   14772 	 *)
   14773 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14774 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14775 	   ;;
   14776        esac
   14777       fi
   14778       ;;
   14779 
   14780     os2*)
   14781       hardcode_libdir_flag_spec_F77='-L$libdir'
   14782       hardcode_minus_L_F77=yes
   14783       allow_undefined_flag_F77=unsupported
   14784       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'
   14785       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   14786       ;;
   14787 
   14788     osf3*)
   14789       if test "$GCC" = yes; then
   14790 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14791 	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'
   14792       else
   14793 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14794 	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'
   14795       fi
   14796       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14797       hardcode_libdir_separator_F77=:
   14798       ;;
   14799 
   14800     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   14801       if test "$GCC" = yes; then
   14802 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   14803 	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'
   14804 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   14805       else
   14806 	allow_undefined_flag_F77=' -expect_unresolved \*'
   14807 	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'
   14808 	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~
   14809 	$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'
   14810 
   14811 	# Both c and cxx compiler support -rpath directly
   14812 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   14813       fi
   14814       hardcode_libdir_separator_F77=:
   14815       ;;
   14816 
   14817     solaris*)
   14818       no_undefined_flag_F77=' -z text'
   14819       if test "$GCC" = yes; then
   14820 	wlarc='${wl}'
   14821 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14822 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14823 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   14824       else
   14825 	wlarc=''
   14826 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14827 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   14828   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   14829       fi
   14830       hardcode_libdir_flag_spec_F77='-R$libdir'
   14831       hardcode_shlibpath_var_F77=no
   14832       case $host_os in
   14833       solaris2.[0-5] | solaris2.[0-5].*) ;;
   14834       *)
   14835  	# The compiler driver will combine linker options so we
   14836  	# cannot just pass the convience library names through
   14837  	# without $wl, iff we do not link with $LD.
   14838  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   14839  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   14840  	case $wlarc in
   14841  	'')
   14842  	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
   14843  	*)
   14844  	  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' ;;
   14845  	esac ;;
   14846       esac
   14847       link_all_deplibs_F77=yes
   14848       ;;
   14849 
   14850     sunos4*)
   14851       if test "x$host_vendor" = xsequent; then
   14852 	# Use $CC to link under sequent, because it throws in some extra .o
   14853 	# files that make .init and .fini sections work.
   14854 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14855       else
   14856 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   14857       fi
   14858       hardcode_libdir_flag_spec_F77='-L$libdir'
   14859       hardcode_direct_F77=yes
   14860       hardcode_minus_L_F77=yes
   14861       hardcode_shlibpath_var_F77=no
   14862       ;;
   14863 
   14864     sysv4)
   14865       case $host_vendor in
   14866 	sni)
   14867 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14868 	  hardcode_direct_F77=yes # is this really true???
   14869 	;;
   14870 	siemens)
   14871 	  ## LD is ld it makes a PLAMLIB
   14872 	  ## CC just makes a GrossModule.
   14873 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   14874 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   14875 	  hardcode_direct_F77=no
   14876         ;;
   14877 	motorola)
   14878 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14879 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   14880 	;;
   14881       esac
   14882       runpath_var='LD_RUN_PATH'
   14883       hardcode_shlibpath_var_F77=no
   14884       ;;
   14885 
   14886     sysv4.3*)
   14887       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14888       hardcode_shlibpath_var_F77=no
   14889       export_dynamic_flag_spec_F77='-Bexport'
   14890       ;;
   14891 
   14892     sysv4*MP*)
   14893       if test -d /usr/nec; then
   14894 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14895 	hardcode_shlibpath_var_F77=no
   14896 	runpath_var=LD_RUN_PATH
   14897 	hardcode_runpath_var=yes
   14898 	ld_shlibs_F77=yes
   14899       fi
   14900       ;;
   14901 
   14902     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   14903       no_undefined_flag_F77='${wl}-z,text'
   14904       archive_cmds_need_lc_F77=no
   14905       hardcode_shlibpath_var_F77=no
   14906       runpath_var='LD_RUN_PATH'
   14907 
   14908       if test "$GCC" = yes; then
   14909 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14910 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14911       else
   14912 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14913 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14914       fi
   14915       ;;
   14916 
   14917     sysv5* | sco3.2v5* | sco5v6*)
   14918       # Note: We can NOT use -z defs as we might desire, because we do not
   14919       # link with -lc, and that would cause any symbols used from libc to
   14920       # always be unresolved, which means just about no library would
   14921       # ever link correctly.  If we're not using GNU ld we use -z text
   14922       # though, which does catch some bad symbols but isn't as heavy-handed
   14923       # as -z defs.
   14924       no_undefined_flag_F77='${wl}-z,text'
   14925       allow_undefined_flag_F77='${wl}-z,nodefs'
   14926       archive_cmds_need_lc_F77=no
   14927       hardcode_shlibpath_var_F77=no
   14928       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   14929       hardcode_libdir_separator_F77=':'
   14930       link_all_deplibs_F77=yes
   14931       export_dynamic_flag_spec_F77='${wl}-Bexport'
   14932       runpath_var='LD_RUN_PATH'
   14933 
   14934       if test "$GCC" = yes; then
   14935 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14936 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14937       else
   14938 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14939 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14940       fi
   14941       ;;
   14942 
   14943     uts4*)
   14944       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14945       hardcode_libdir_flag_spec_F77='-L$libdir'
   14946       hardcode_shlibpath_var_F77=no
   14947       ;;
   14948 
   14949     *)
   14950       ld_shlibs_F77=no
   14951       ;;
   14952     esac
   14953   fi
   14954 
   14955 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   14956 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
   14957 test "$ld_shlibs_F77" = no && can_build_shared=no
   14958 
   14959 #
   14960 # Do we need to explicitly link libc?
   14961 #
   14962 case "x$archive_cmds_need_lc_F77" in
   14963 x|xyes)
   14964   # Assume -lc should be added
   14965   archive_cmds_need_lc_F77=yes
   14966 
   14967   if test "$enable_shared" = yes && test "$GCC" = yes; then
   14968     case $archive_cmds_F77 in
   14969     *'~'*)
   14970       # FIXME: we may have to deal with multi-command sequences.
   14971       ;;
   14972     '$CC '*)
   14973       # Test whether the compiler implicitly links with -lc since on some
   14974       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14975       # to ld, don't add -lc before -lgcc.
   14976       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   14977 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   14978       $rm conftest*
   14979       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   14980 
   14981       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   14982   (eval $ac_compile) 2>&5
   14983   ac_status=$?
   14984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14985   (exit $ac_status); } 2>conftest.err; then
   14986         soname=conftest
   14987         lib=conftest
   14988         libobjs=conftest.$ac_objext
   14989         deplibs=
   14990         wl=$lt_prog_compiler_wl_F77
   14991 	pic_flag=$lt_prog_compiler_pic_F77
   14992         compiler_flags=-v
   14993         linker_flags=-v
   14994         verstring=
   14995         output_objdir=.
   14996         libname=conftest
   14997         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   14998         allow_undefined_flag_F77=
   14999         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15000   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15001   ac_status=$?
   15002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15003   (exit $ac_status); }
   15004         then
   15005 	  archive_cmds_need_lc_F77=no
   15006         else
   15007 	  archive_cmds_need_lc_F77=yes
   15008         fi
   15009         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15010       else
   15011         cat conftest.err 1>&5
   15012       fi
   15013       $rm conftest*
   15014       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15015 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
   15016       ;;
   15017     esac
   15018   fi
   15019   ;;
   15020 esac
   15021 
   15022 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15023 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   15024 library_names_spec=
   15025 libname_spec='lib$name'
   15026 soname_spec=
   15027 shrext_cmds=".so"
   15028 postinstall_cmds=
   15029 postuninstall_cmds=
   15030 finish_cmds=
   15031 finish_eval=
   15032 shlibpath_var=
   15033 shlibpath_overrides_runpath=unknown
   15034 version_type=none
   15035 dynamic_linker="$host_os ld.so"
   15036 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15037 if test "$GCC" = yes; then
   15038   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15039   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   15040     # if the path contains ";" then we assume it to be the separator
   15041     # otherwise default to the standard path separator (i.e. ":") - it is
   15042     # assumed that no part of a normal pathname contains ";" but that should
   15043     # okay in the real world where ";" in dirpaths is itself problematic.
   15044     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15045   else
   15046     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15047   fi
   15048 else
   15049   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15050 fi
   15051 need_lib_prefix=unknown
   15052 hardcode_into_libs=no
   15053 
   15054 # when you set need_version to no, make sure it does not cause -set_version
   15055 # flags to be left without arguments
   15056 need_version=unknown
   15057 
   15058 case $host_os in
   15059 aix3*)
   15060   version_type=linux
   15061   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15062   shlibpath_var=LIBPATH
   15063 
   15064   # AIX 3 has no versioning support, so we append a major version to the name.
   15065   soname_spec='${libname}${release}${shared_ext}$major'
   15066   ;;
   15067 
   15068 aix4* | aix5*)
   15069   version_type=linux
   15070   need_lib_prefix=no
   15071   need_version=no
   15072   hardcode_into_libs=yes
   15073   if test "$host_cpu" = ia64; then
   15074     # AIX 5 supports IA64
   15075     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15076     shlibpath_var=LD_LIBRARY_PATH
   15077   else
   15078     # With GCC up to 2.95.x, collect2 would create an import file
   15079     # for dependence libraries.  The import file would start with
   15080     # the line `#! .'.  This would cause the generated library to
   15081     # depend on `.', always an invalid library.  This was fixed in
   15082     # development snapshots of GCC prior to 3.0.
   15083     case $host_os in
   15084       aix4 | aix4.[01] | aix4.[01].*)
   15085       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15086 	   echo ' yes '
   15087 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15088 	:
   15089       else
   15090 	can_build_shared=no
   15091       fi
   15092       ;;
   15093     esac
   15094     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15095     # soname into executable. Probably we can add versioning support to
   15096     # collect2, so additional links can be useful in future.
   15097     if test "$aix_use_runtimelinking" = yes; then
   15098       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15099       # instead of lib<name>.a to let people know that these are not
   15100       # typical AIX shared libraries.
   15101       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15102     else
   15103       # We preserve .a as extension for shared libraries through AIX4.2
   15104       # and later when we are not doing run time linking.
   15105       library_names_spec='${libname}${release}.a $libname.a'
   15106       soname_spec='${libname}${release}${shared_ext}$major'
   15107     fi
   15108     shlibpath_var=LIBPATH
   15109   fi
   15110   ;;
   15111 
   15112 amigaos*)
   15113   library_names_spec='$libname.ixlibrary $libname.a'
   15114   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15115   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'
   15116   ;;
   15117 
   15118 beos*)
   15119   library_names_spec='${libname}${shared_ext}'
   15120   dynamic_linker="$host_os ld.so"
   15121   shlibpath_var=LIBRARY_PATH
   15122   ;;
   15123 
   15124 bsdi[45]*)
   15125   version_type=linux
   15126   need_version=no
   15127   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15128   soname_spec='${libname}${release}${shared_ext}$major'
   15129   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15130   shlibpath_var=LD_LIBRARY_PATH
   15131   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15132   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15133   # the default ld.so.conf also contains /usr/contrib/lib and
   15134   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15135   # libtool to hard-code these into programs
   15136   ;;
   15137 
   15138 cygwin* | mingw* | pw32*)
   15139   version_type=windows
   15140   shrext_cmds=".dll"
   15141   need_version=no
   15142   need_lib_prefix=no
   15143 
   15144   case $GCC,$host_os in
   15145   yes,cygwin* | yes,mingw* | yes,pw32*)
   15146     library_names_spec='$libname.dll.a'
   15147     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15148     postinstall_cmds='base_file=`basename \${file}`~
   15149       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15150       dldir=$destdir/`dirname \$dlpath`~
   15151       test -d \$dldir || mkdir -p \$dldir~
   15152       $install_prog $dir/$dlname \$dldir/$dlname~
   15153       chmod a+x \$dldir/$dlname'
   15154     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15155       dlpath=$dir/\$dldll~
   15156        $rm \$dlpath'
   15157     shlibpath_overrides_runpath=yes
   15158 
   15159     case $host_os in
   15160     cygwin*)
   15161       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15162       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15163       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15164       ;;
   15165     mingw*)
   15166       # MinGW DLLs use traditional 'lib' prefix
   15167       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15168       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15169       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15170         # It is most probably a Windows format PATH printed by
   15171         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15172         # path with ; separators, and with drive letters. We can handle the
   15173         # drive letters (cygwin fileutils understands them), so leave them,
   15174         # especially as we might pass files found there to a mingw objdump,
   15175         # which wouldn't understand a cygwinified path. Ahh.
   15176         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15177       else
   15178         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15179       fi
   15180       ;;
   15181     pw32*)
   15182       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15183       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15184       ;;
   15185     esac
   15186     ;;
   15187 
   15188   *)
   15189     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15190     ;;
   15191   esac
   15192   dynamic_linker='Win32 ld.exe'
   15193   # FIXME: first we should search . and the directory the executable is in
   15194   shlibpath_var=PATH
   15195   ;;
   15196 
   15197 darwin* | rhapsody*)
   15198   dynamic_linker="$host_os dyld"
   15199   version_type=darwin
   15200   need_lib_prefix=no
   15201   need_version=no
   15202   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15203   soname_spec='${libname}${release}${major}$shared_ext'
   15204   shlibpath_overrides_runpath=yes
   15205   shlibpath_var=DYLD_LIBRARY_PATH
   15206   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15207   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   15208   if test "$GCC" = yes; then
   15209     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"`
   15210   else
   15211     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   15212   fi
   15213   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15214   ;;
   15215 
   15216 dgux*)
   15217   version_type=linux
   15218   need_lib_prefix=no
   15219   need_version=no
   15220   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15221   soname_spec='${libname}${release}${shared_ext}$major'
   15222   shlibpath_var=LD_LIBRARY_PATH
   15223   ;;
   15224 
   15225 freebsd1*)
   15226   dynamic_linker=no
   15227   ;;
   15228 
   15229 kfreebsd*-gnu)
   15230   version_type=linux
   15231   need_lib_prefix=no
   15232   need_version=no
   15233   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15234   soname_spec='${libname}${release}${shared_ext}$major'
   15235   shlibpath_var=LD_LIBRARY_PATH
   15236   shlibpath_overrides_runpath=no
   15237   hardcode_into_libs=yes
   15238   dynamic_linker='GNU ld.so'
   15239   ;;
   15240 
   15241 freebsd* | dragonfly*)
   15242   # DragonFly does not have aout.  When/if they implement a new
   15243   # versioning mechanism, adjust this.
   15244   if test -x /usr/bin/objformat; then
   15245     objformat=`/usr/bin/objformat`
   15246   else
   15247     case $host_os in
   15248     freebsd[123]*) objformat=aout ;;
   15249     *) objformat=elf ;;
   15250     esac
   15251   fi
   15252   version_type=freebsd-$objformat
   15253   case $version_type in
   15254     freebsd-elf*)
   15255       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15256       need_version=no
   15257       need_lib_prefix=no
   15258       ;;
   15259     freebsd-*)
   15260       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15261       need_version=yes
   15262       ;;
   15263   esac
   15264   shlibpath_var=LD_LIBRARY_PATH
   15265   case $host_os in
   15266   freebsd2*)
   15267     shlibpath_overrides_runpath=yes
   15268     ;;
   15269   freebsd3.[01]* | freebsdelf3.[01]*)
   15270     shlibpath_overrides_runpath=yes
   15271     hardcode_into_libs=yes
   15272     ;;
   15273   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15274   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15275     shlibpath_overrides_runpath=no
   15276     hardcode_into_libs=yes
   15277     ;;
   15278   freebsd*) # from 4.6 on
   15279     shlibpath_overrides_runpath=yes
   15280     hardcode_into_libs=yes
   15281     ;;
   15282   esac
   15283   ;;
   15284 
   15285 gnu*)
   15286   version_type=linux
   15287   need_lib_prefix=no
   15288   need_version=no
   15289   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15290   soname_spec='${libname}${release}${shared_ext}$major'
   15291   shlibpath_var=LD_LIBRARY_PATH
   15292   hardcode_into_libs=yes
   15293   ;;
   15294 
   15295 hpux9* | hpux10* | hpux11*)
   15296   # Give a soname corresponding to the major version so that dld.sl refuses to
   15297   # link against other versions.
   15298   version_type=sunos
   15299   need_lib_prefix=no
   15300   need_version=no
   15301   case $host_cpu in
   15302   ia64*)
   15303     shrext_cmds='.so'
   15304     hardcode_into_libs=yes
   15305     dynamic_linker="$host_os dld.so"
   15306     shlibpath_var=LD_LIBRARY_PATH
   15307     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15308     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15309     soname_spec='${libname}${release}${shared_ext}$major'
   15310     if test "X$HPUX_IA64_MODE" = X32; then
   15311       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15312     else
   15313       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15314     fi
   15315     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15316     ;;
   15317    hppa*64*)
   15318      shrext_cmds='.sl'
   15319      hardcode_into_libs=yes
   15320      dynamic_linker="$host_os dld.sl"
   15321      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15322      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15323      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15324      soname_spec='${libname}${release}${shared_ext}$major'
   15325      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15326      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15327      ;;
   15328    *)
   15329     shrext_cmds='.sl'
   15330     dynamic_linker="$host_os dld.sl"
   15331     shlibpath_var=SHLIB_PATH
   15332     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15333     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15334     soname_spec='${libname}${release}${shared_ext}$major'
   15335     ;;
   15336   esac
   15337   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   15338   postinstall_cmds='chmod 555 $lib'
   15339   ;;
   15340 
   15341 interix3*)
   15342   version_type=linux
   15343   need_lib_prefix=no
   15344   need_version=no
   15345   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15346   soname_spec='${libname}${release}${shared_ext}$major'
   15347   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15348   shlibpath_var=LD_LIBRARY_PATH
   15349   shlibpath_overrides_runpath=no
   15350   hardcode_into_libs=yes
   15351   ;;
   15352 
   15353 irix5* | irix6* | nonstopux*)
   15354   case $host_os in
   15355     nonstopux*) version_type=nonstopux ;;
   15356     *)
   15357 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15358 		version_type=linux
   15359 	else
   15360 		version_type=irix
   15361 	fi ;;
   15362   esac
   15363   need_lib_prefix=no
   15364   need_version=no
   15365   soname_spec='${libname}${release}${shared_ext}$major'
   15366   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15367   case $host_os in
   15368   irix5* | nonstopux*)
   15369     libsuff= shlibsuff=
   15370     ;;
   15371   *)
   15372     case $LD in # libtool.m4 will add one of these switches to LD
   15373     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15374       libsuff= shlibsuff= libmagic=32-bit;;
   15375     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15376       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15377     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15378       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15379     *) libsuff= shlibsuff= libmagic=never-match;;
   15380     esac
   15381     ;;
   15382   esac
   15383   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15384   shlibpath_overrides_runpath=no
   15385   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15386   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15387   hardcode_into_libs=yes
   15388   ;;
   15389 
   15390 # No shared lib support for Linux oldld, aout, or coff.
   15391 linux*oldld* | linux*aout* | linux*coff*)
   15392   dynamic_linker=no
   15393   ;;
   15394 
   15395 # This must be Linux ELF.
   15396 linux*)
   15397   version_type=linux
   15398   need_lib_prefix=no
   15399   need_version=no
   15400   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15401   soname_spec='${libname}${release}${shared_ext}$major'
   15402   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15403   shlibpath_var=LD_LIBRARY_PATH
   15404   shlibpath_overrides_runpath=no
   15405   # This implies no fast_install, which is unacceptable.
   15406   # Some rework will be needed to allow for fast_install
   15407   # before this can be enabled.
   15408   hardcode_into_libs=yes
   15409 
   15410   # Append ld.so.conf contents to the search path
   15411   if test -f /etc/ld.so.conf; then
   15412     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' ' '`
   15413     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15414   fi
   15415 
   15416   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15417   # powerpc, because MkLinux only supported shared libraries with the
   15418   # GNU dynamic linker.  Since this was broken with cross compilers,
   15419   # most powerpc-linux boxes support dynamic linking these days and
   15420   # people can always --disable-shared, the test was removed, and we
   15421   # assume the GNU/Linux dynamic linker is in use.
   15422   dynamic_linker='GNU/Linux ld.so'
   15423   ;;
   15424 
   15425 knetbsd*-gnu)
   15426   version_type=linux
   15427   need_lib_prefix=no
   15428   need_version=no
   15429   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15430   soname_spec='${libname}${release}${shared_ext}$major'
   15431   shlibpath_var=LD_LIBRARY_PATH
   15432   shlibpath_overrides_runpath=no
   15433   hardcode_into_libs=yes
   15434   dynamic_linker='GNU ld.so'
   15435   ;;
   15436 
   15437 netbsd*)
   15438   version_type=sunos
   15439   need_lib_prefix=no
   15440   need_version=no
   15441   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15442     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15443     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15444     dynamic_linker='NetBSD (a.out) ld.so'
   15445   else
   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     dynamic_linker='NetBSD ld.elf_so'
   15449   fi
   15450   shlibpath_var=LD_LIBRARY_PATH
   15451   shlibpath_overrides_runpath=yes
   15452   hardcode_into_libs=yes
   15453   ;;
   15454 
   15455 newsos6)
   15456   version_type=linux
   15457   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15458   shlibpath_var=LD_LIBRARY_PATH
   15459   shlibpath_overrides_runpath=yes
   15460   ;;
   15461 
   15462 nto-qnx*)
   15463   version_type=linux
   15464   need_lib_prefix=no
   15465   need_version=no
   15466   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15467   soname_spec='${libname}${release}${shared_ext}$major'
   15468   shlibpath_var=LD_LIBRARY_PATH
   15469   shlibpath_overrides_runpath=yes
   15470   ;;
   15471 
   15472 openbsd*)
   15473   version_type=sunos
   15474   sys_lib_dlsearch_path_spec="/usr/lib"
   15475   need_lib_prefix=no
   15476   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15477   case $host_os in
   15478     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   15479     *)                         need_version=no  ;;
   15480   esac
   15481   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15482   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15483   shlibpath_var=LD_LIBRARY_PATH
   15484   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15485     case $host_os in
   15486       openbsd2.[89] | openbsd2.[89].*)
   15487 	shlibpath_overrides_runpath=no
   15488 	;;
   15489       *)
   15490 	shlibpath_overrides_runpath=yes
   15491 	;;
   15492       esac
   15493   else
   15494     shlibpath_overrides_runpath=yes
   15495   fi
   15496   ;;
   15497 
   15498 os2*)
   15499   libname_spec='$name'
   15500   shrext_cmds=".dll"
   15501   need_lib_prefix=no
   15502   library_names_spec='$libname${shared_ext} $libname.a'
   15503   dynamic_linker='OS/2 ld.exe'
   15504   shlibpath_var=LIBPATH
   15505   ;;
   15506 
   15507 osf3* | osf4* | osf5*)
   15508   version_type=osf
   15509   need_lib_prefix=no
   15510   need_version=no
   15511   soname_spec='${libname}${release}${shared_ext}$major'
   15512   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15513   shlibpath_var=LD_LIBRARY_PATH
   15514   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15515   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15516   ;;
   15517 
   15518 solaris*)
   15519   version_type=linux
   15520   need_lib_prefix=no
   15521   need_version=no
   15522   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15523   soname_spec='${libname}${release}${shared_ext}$major'
   15524   shlibpath_var=LD_LIBRARY_PATH
   15525   shlibpath_overrides_runpath=yes
   15526   hardcode_into_libs=yes
   15527   # ldd complains unless libraries are executable
   15528   postinstall_cmds='chmod +x $lib'
   15529   ;;
   15530 
   15531 sunos4*)
   15532   version_type=sunos
   15533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15534   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15535   shlibpath_var=LD_LIBRARY_PATH
   15536   shlibpath_overrides_runpath=yes
   15537   if test "$with_gnu_ld" = yes; then
   15538     need_lib_prefix=no
   15539   fi
   15540   need_version=yes
   15541   ;;
   15542 
   15543 sysv4 | sysv4.3*)
   15544   version_type=linux
   15545   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15546   soname_spec='${libname}${release}${shared_ext}$major'
   15547   shlibpath_var=LD_LIBRARY_PATH
   15548   case $host_vendor in
   15549     sni)
   15550       shlibpath_overrides_runpath=no
   15551       need_lib_prefix=no
   15552       export_dynamic_flag_spec='${wl}-Blargedynsym'
   15553       runpath_var=LD_RUN_PATH
   15554       ;;
   15555     siemens)
   15556       need_lib_prefix=no
   15557       ;;
   15558     motorola)
   15559       need_lib_prefix=no
   15560       need_version=no
   15561       shlibpath_overrides_runpath=no
   15562       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15563       ;;
   15564   esac
   15565   ;;
   15566 
   15567 sysv4*MP*)
   15568   if test -d /usr/nec ;then
   15569     version_type=linux
   15570     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15571     soname_spec='$libname${shared_ext}.$major'
   15572     shlibpath_var=LD_LIBRARY_PATH
   15573   fi
   15574   ;;
   15575 
   15576 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15577   version_type=freebsd-elf
   15578   need_lib_prefix=no
   15579   need_version=no
   15580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15581   soname_spec='${libname}${release}${shared_ext}$major'
   15582   shlibpath_var=LD_LIBRARY_PATH
   15583   hardcode_into_libs=yes
   15584   if test "$with_gnu_ld" = yes; then
   15585     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15586     shlibpath_overrides_runpath=no
   15587   else
   15588     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15589     shlibpath_overrides_runpath=yes
   15590     case $host_os in
   15591       sco3.2v5*)
   15592         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15593 	;;
   15594     esac
   15595   fi
   15596   sys_lib_dlsearch_path_spec='/usr/lib'
   15597   ;;
   15598 
   15599 uts4*)
   15600   version_type=linux
   15601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15602   soname_spec='${libname}${release}${shared_ext}$major'
   15603   shlibpath_var=LD_LIBRARY_PATH
   15604   ;;
   15605 
   15606 *)
   15607   dynamic_linker=no
   15608   ;;
   15609 esac
   15610 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   15611 echo "${ECHO_T}$dynamic_linker" >&6; }
   15612 test "$dynamic_linker" = no && can_build_shared=no
   15613 
   15614 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15615 if test "$GCC" = yes; then
   15616   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15617 fi
   15618 
   15619 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   15620 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   15621 hardcode_action_F77=
   15622 if test -n "$hardcode_libdir_flag_spec_F77" || \
   15623    test -n "$runpath_var_F77" || \
   15624    test "X$hardcode_automatic_F77" = "Xyes" ; then
   15625 
   15626   # We can hardcode non-existant directories.
   15627   if test "$hardcode_direct_F77" != no &&
   15628      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15629      # have to relink, otherwise we might link with an installed library
   15630      # when we should be linking with a yet-to-be-installed one
   15631      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   15632      test "$hardcode_minus_L_F77" != no; then
   15633     # Linking always hardcodes the temporary library directory.
   15634     hardcode_action_F77=relink
   15635   else
   15636     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15637     hardcode_action_F77=immediate
   15638   fi
   15639 else
   15640   # We cannot hardcode anything, or else we can only hardcode existing
   15641   # directories.
   15642   hardcode_action_F77=unsupported
   15643 fi
   15644 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   15645 echo "${ECHO_T}$hardcode_action_F77" >&6; }
   15646 
   15647 if test "$hardcode_action_F77" = relink; then
   15648   # Fast installation is not supported
   15649   enable_fast_install=no
   15650 elif test "$shlibpath_overrides_runpath" = yes ||
   15651      test "$enable_shared" = no; then
   15652   # Fast installation is not necessary
   15653   enable_fast_install=needless
   15654 fi
   15655 
   15656 
   15657 # The else clause should only fire when bootstrapping the
   15658 # libtool distribution, otherwise you forgot to ship ltmain.sh
   15659 # with your package, and you will get complaints that there are
   15660 # no rules to generate ltmain.sh.
   15661 if test -f "$ltmain"; then
   15662   # See if we are running on zsh, and set the options which allow our commands through
   15663   # without removal of \ escapes.
   15664   if test -n "${ZSH_VERSION+set}" ; then
   15665     setopt NO_GLOB_SUBST
   15666   fi
   15667   # Now quote all the things that may contain metacharacters while being
   15668   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   15669   # variables and quote the copies for generation of the libtool script.
   15670   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   15671     SED SHELL STRIP \
   15672     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   15673     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   15674     deplibs_check_method reload_flag reload_cmds need_locks \
   15675     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   15676     lt_cv_sys_global_symbol_to_c_name_address \
   15677     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   15678     old_postinstall_cmds old_postuninstall_cmds \
   15679     compiler_F77 \
   15680     CC_F77 \
   15681     LD_F77 \
   15682     lt_prog_compiler_wl_F77 \
   15683     lt_prog_compiler_pic_F77 \
   15684     lt_prog_compiler_static_F77 \
   15685     lt_prog_compiler_no_builtin_flag_F77 \
   15686     export_dynamic_flag_spec_F77 \
   15687     thread_safe_flag_spec_F77 \
   15688     whole_archive_flag_spec_F77 \
   15689     enable_shared_with_static_runtimes_F77 \
   15690     old_archive_cmds_F77 \
   15691     old_archive_from_new_cmds_F77 \
   15692     predep_objects_F77 \
   15693     postdep_objects_F77 \
   15694     predeps_F77 \
   15695     postdeps_F77 \
   15696     compiler_lib_search_path_F77 \
   15697     archive_cmds_F77 \
   15698     archive_expsym_cmds_F77 \
   15699     postinstall_cmds_F77 \
   15700     postuninstall_cmds_F77 \
   15701     old_archive_from_expsyms_cmds_F77 \
   15702     allow_undefined_flag_F77 \
   15703     no_undefined_flag_F77 \
   15704     export_symbols_cmds_F77 \
   15705     hardcode_libdir_flag_spec_F77 \
   15706     hardcode_libdir_flag_spec_ld_F77 \
   15707     hardcode_libdir_separator_F77 \
   15708     hardcode_automatic_F77 \
   15709     module_cmds_F77 \
   15710     module_expsym_cmds_F77 \
   15711     lt_cv_prog_compiler_c_o_F77 \
   15712     exclude_expsyms_F77 \
   15713     include_expsyms_F77; do
   15714 
   15715     case $var in
   15716     old_archive_cmds_F77 | \
   15717     old_archive_from_new_cmds_F77 | \
   15718     archive_cmds_F77 | \
   15719     archive_expsym_cmds_F77 | \
   15720     module_cmds_F77 | \
   15721     module_expsym_cmds_F77 | \
   15722     old_archive_from_expsyms_cmds_F77 | \
   15723     export_symbols_cmds_F77 | \
   15724     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   15725     postinstall_cmds | postuninstall_cmds | \
   15726     old_postinstall_cmds | old_postuninstall_cmds | \
   15727     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   15728       # Double-quote double-evaled strings.
   15729       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   15730       ;;
   15731     *)
   15732       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   15733       ;;
   15734     esac
   15735   done
   15736 
   15737   case $lt_echo in
   15738   *'\$0 --fallback-echo"')
   15739     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   15740     ;;
   15741   esac
   15742 
   15743 cfgfile="$ofile"
   15744 
   15745   cat <<__EOF__ >> "$cfgfile"
   15746 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   15747 
   15748 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15749 
   15750 # Shell to use when invoking shell scripts.
   15751 SHELL=$lt_SHELL
   15752 
   15753 # Whether or not to build shared libraries.
   15754 build_libtool_libs=$enable_shared
   15755 
   15756 # Whether or not to build static libraries.
   15757 build_old_libs=$enable_static
   15758 
   15759 # Whether or not to add -lc for building shared libraries.
   15760 build_libtool_need_lc=$archive_cmds_need_lc_F77
   15761 
   15762 # Whether or not to disallow shared libs when runtime libs are static
   15763 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   15764 
   15765 # Whether or not to optimize for fast installation.
   15766 fast_install=$enable_fast_install
   15767 
   15768 # The host system.
   15769 host_alias=$host_alias
   15770 host=$host
   15771 host_os=$host_os
   15772 
   15773 # The build system.
   15774 build_alias=$build_alias
   15775 build=$build
   15776 build_os=$build_os
   15777 
   15778 # An echo program that does not interpret backslashes.
   15779 echo=$lt_echo
   15780 
   15781 # The archiver.
   15782 AR=$lt_AR
   15783 AR_FLAGS=$lt_AR_FLAGS
   15784 
   15785 # A C compiler.
   15786 LTCC=$lt_LTCC
   15787 
   15788 # LTCC compiler flags.
   15789 LTCFLAGS=$lt_LTCFLAGS
   15790 
   15791 # A language-specific compiler.
   15792 CC=$lt_compiler_F77
   15793 
   15794 # Is the compiler the GNU C compiler?
   15795 with_gcc=$GCC_F77
   15796 
   15797 # An ERE matcher.
   15798 EGREP=$lt_EGREP
   15799 
   15800 # The linker used to build libraries.
   15801 LD=$lt_LD_F77
   15802 
   15803 # Whether we need hard or soft links.
   15804 LN_S=$lt_LN_S
   15805 
   15806 # A BSD-compatible nm program.
   15807 NM=$lt_NM
   15808 
   15809 # A symbol stripping program
   15810 STRIP=$lt_STRIP
   15811 
   15812 # Used to examine libraries when file_magic_cmd begins "file"
   15813 MAGIC_CMD=$MAGIC_CMD
   15814 
   15815 # Used on cygwin: DLL creation program.
   15816 DLLTOOL="$DLLTOOL"
   15817 
   15818 # Used on cygwin: object dumper.
   15819 OBJDUMP="$OBJDUMP"
   15820 
   15821 # Used on cygwin: assembler.
   15822 AS="$AS"
   15823 
   15824 # The name of the directory that contains temporary libtool files.
   15825 objdir=$objdir
   15826 
   15827 # How to create reloadable object files.
   15828 reload_flag=$lt_reload_flag
   15829 reload_cmds=$lt_reload_cmds
   15830 
   15831 # How to pass a linker flag through the compiler.
   15832 wl=$lt_lt_prog_compiler_wl_F77
   15833 
   15834 # Object file suffix (normally "o").
   15835 objext="$ac_objext"
   15836 
   15837 # Old archive suffix (normally "a").
   15838 libext="$libext"
   15839 
   15840 # Shared library suffix (normally ".so").
   15841 shrext_cmds='$shrext_cmds'
   15842 
   15843 # Executable file suffix (normally "").
   15844 exeext="$exeext"
   15845 
   15846 # Additional compiler flags for building library objects.
   15847 pic_flag=$lt_lt_prog_compiler_pic_F77
   15848 pic_mode=$pic_mode
   15849 
   15850 # What is the maximum length of a command?
   15851 max_cmd_len=$lt_cv_sys_max_cmd_len
   15852 
   15853 # Does compiler simultaneously support -c and -o options?
   15854 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   15855 
   15856 # Must we lock files when doing compilation?
   15857 need_locks=$lt_need_locks
   15858 
   15859 # Do we need the lib prefix for modules?
   15860 need_lib_prefix=$need_lib_prefix
   15861 
   15862 # Do we need a version for libraries?
   15863 need_version=$need_version
   15864 
   15865 # Whether dlopen is supported.
   15866 dlopen_support=$enable_dlopen
   15867 
   15868 # Whether dlopen of programs is supported.
   15869 dlopen_self=$enable_dlopen_self
   15870 
   15871 # Whether dlopen of statically linked programs is supported.
   15872 dlopen_self_static=$enable_dlopen_self_static
   15873 
   15874 # Compiler flag to prevent dynamic linking.
   15875 link_static_flag=$lt_lt_prog_compiler_static_F77
   15876 
   15877 # Compiler flag to turn off builtin functions.
   15878 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   15879 
   15880 # Compiler flag to allow reflexive dlopens.
   15881 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   15882 
   15883 # Compiler flag to generate shared objects directly from archives.
   15884 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   15885 
   15886 # Compiler flag to generate thread-safe objects.
   15887 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   15888 
   15889 # Library versioning type.
   15890 version_type=$version_type
   15891 
   15892 # Format of library name prefix.
   15893 libname_spec=$lt_libname_spec
   15894 
   15895 # List of archive names.  First name is the real one, the rest are links.
   15896 # The last name is the one that the linker finds with -lNAME.
   15897 library_names_spec=$lt_library_names_spec
   15898 
   15899 # The coded name of the library, if different from the real name.
   15900 soname_spec=$lt_soname_spec
   15901 
   15902 # Commands used to build and install an old-style archive.
   15903 RANLIB=$lt_RANLIB
   15904 old_archive_cmds=$lt_old_archive_cmds_F77
   15905 old_postinstall_cmds=$lt_old_postinstall_cmds
   15906 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15907 
   15908 # Create an old-style archive from a shared archive.
   15909 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   15910 
   15911 # Create a temporary old-style archive to link instead of a shared archive.
   15912 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   15913 
   15914 # Commands used to build and install a shared archive.
   15915 archive_cmds=$lt_archive_cmds_F77
   15916 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   15917 postinstall_cmds=$lt_postinstall_cmds
   15918 postuninstall_cmds=$lt_postuninstall_cmds
   15919 
   15920 # Commands used to build a loadable module (assumed same as above if empty)
   15921 module_cmds=$lt_module_cmds_F77
   15922 module_expsym_cmds=$lt_module_expsym_cmds_F77
   15923 
   15924 # Commands to strip libraries.
   15925 old_striplib=$lt_old_striplib
   15926 striplib=$lt_striplib
   15927 
   15928 # Dependencies to place before the objects being linked to create a
   15929 # shared library.
   15930 predep_objects=$lt_predep_objects_F77
   15931 
   15932 # Dependencies to place after the objects being linked to create a
   15933 # shared library.
   15934 postdep_objects=$lt_postdep_objects_F77
   15935 
   15936 # Dependencies to place before the objects being linked to create a
   15937 # shared library.
   15938 predeps=$lt_predeps_F77
   15939 
   15940 # Dependencies to place after the objects being linked to create a
   15941 # shared library.
   15942 postdeps=$lt_postdeps_F77
   15943 
   15944 # The library search path used internally by the compiler when linking
   15945 # a shared library.
   15946 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   15947 
   15948 # Method to check whether dependent libraries are shared objects.
   15949 deplibs_check_method=$lt_deplibs_check_method
   15950 
   15951 # Command to use when deplibs_check_method == file_magic.
   15952 file_magic_cmd=$lt_file_magic_cmd
   15953 
   15954 # Flag that allows shared libraries with undefined symbols to be built.
   15955 allow_undefined_flag=$lt_allow_undefined_flag_F77
   15956 
   15957 # Flag that forces no undefined symbols.
   15958 no_undefined_flag=$lt_no_undefined_flag_F77
   15959 
   15960 # Commands used to finish a libtool library installation in a directory.
   15961 finish_cmds=$lt_finish_cmds
   15962 
   15963 # Same as above, but a single script fragment to be evaled but not shown.
   15964 finish_eval=$lt_finish_eval
   15965 
   15966 # Take the output of nm and produce a listing of raw symbols and C names.
   15967 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15968 
   15969 # Transform the output of nm in a proper C declaration
   15970 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15971 
   15972 # Transform the output of nm in a C name address pair
   15973 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15974 
   15975 # This is the shared library runtime path variable.
   15976 runpath_var=$runpath_var
   15977 
   15978 # This is the shared library path variable.
   15979 shlibpath_var=$shlibpath_var
   15980 
   15981 # Is shlibpath searched before the hard-coded library search path?
   15982 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   15983 
   15984 # How to hardcode a shared library path into an executable.
   15985 hardcode_action=$hardcode_action_F77
   15986 
   15987 # Whether we should hardcode library paths into libraries.
   15988 hardcode_into_libs=$hardcode_into_libs
   15989 
   15990 # Flag to hardcode \$libdir into a binary during linking.
   15991 # This must work even if \$libdir does not exist.
   15992 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   15993 
   15994 # If ld is used when linking, flag to hardcode \$libdir into
   15995 # a binary during linking. This must work even if \$libdir does
   15996 # not exist.
   15997 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   15998 
   15999 # Whether we need a single -rpath flag with a separated argument.
   16000 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16001 
   16002 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16003 # resulting binary.
   16004 hardcode_direct=$hardcode_direct_F77
   16005 
   16006 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16007 # resulting binary.
   16008 hardcode_minus_L=$hardcode_minus_L_F77
   16009 
   16010 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16011 # the resulting binary.
   16012 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16013 
   16014 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16015 # and all subsequent libraries and executables linked against it.
   16016 hardcode_automatic=$hardcode_automatic_F77
   16017 
   16018 # Variables whose values should be saved in libtool wrapper scripts and
   16019 # restored at relink time.
   16020 variables_saved_for_relink="$variables_saved_for_relink"
   16021 
   16022 # Whether libtool must link a program against all its dependency libraries.
   16023 link_all_deplibs=$link_all_deplibs_F77
   16024 
   16025 # Compile-time system search path for libraries
   16026 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16027 
   16028 # Run-time system search path for libraries
   16029 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16030 
   16031 # Fix the shell variable \$srcfile for the compiler.
   16032 fix_srcfile_path="$fix_srcfile_path_F77"
   16033 
   16034 # Set to yes if exported symbols are required.
   16035 always_export_symbols=$always_export_symbols_F77
   16036 
   16037 # The commands to list exported symbols.
   16038 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16039 
   16040 # The commands to extract the exported symbol list from a shared archive.
   16041 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16042 
   16043 # Symbols that should not be listed in the preloaded symbols.
   16044 exclude_expsyms=$lt_exclude_expsyms_F77
   16045 
   16046 # Symbols that must always be exported.
   16047 include_expsyms=$lt_include_expsyms_F77
   16048 
   16049 # ### END LIBTOOL TAG CONFIG: $tagname
   16050 
   16051 __EOF__
   16052 
   16053 
   16054 else
   16055   # If there is no Makefile yet, we rely on a make rule to execute
   16056   # `config.status --recheck' to rerun these tests and create the
   16057   # libtool script then.
   16058   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16059   if test -f "$ltmain_in"; then
   16060     test -f Makefile && make "$ltmain"
   16061   fi
   16062 fi
   16063 
   16064 
   16065 ac_ext=c
   16066 ac_cpp='$CPP $CPPFLAGS'
   16067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16070 
   16071 CC="$lt_save_CC"
   16072 
   16073 	else
   16074 	  tagname=""
   16075 	fi
   16076 	;;
   16077 
   16078       GCJ)
   16079 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16080 
   16081 
   16082 # Source file extension for Java test sources.
   16083 ac_ext=java
   16084 
   16085 # Object file extension for compiled Java test sources.
   16086 objext=o
   16087 objext_GCJ=$objext
   16088 
   16089 # Code to be used in simple compile tests
   16090 lt_simple_compile_test_code="class foo {}\n"
   16091 
   16092 # Code to be used in simple link tests
   16093 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
   16094 
   16095 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16096 
   16097 # If no C compiler was specified, use CC.
   16098 LTCC=${LTCC-"$CC"}
   16099 
   16100 # If no C compiler flags were specified, use CFLAGS.
   16101 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16102 
   16103 # Allow CC to be a program name with arguments.
   16104 compiler=$CC
   16105 
   16106 
   16107 # save warnings/boilerplate of simple test code
   16108 ac_outfile=conftest.$ac_objext
   16109 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   16110 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16111 _lt_compiler_boilerplate=`cat conftest.err`
   16112 $rm conftest*
   16113 
   16114 ac_outfile=conftest.$ac_objext
   16115 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   16116 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16117 _lt_linker_boilerplate=`cat conftest.err`
   16118 $rm conftest*
   16119 
   16120 
   16121 # Allow CC to be a program name with arguments.
   16122 lt_save_CC="$CC"
   16123 CC=${GCJ-"gcj"}
   16124 compiler=$CC
   16125 compiler_GCJ=$CC
   16126 for cc_temp in $compiler""; do
   16127   case $cc_temp in
   16128     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16129     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16130     \-*) ;;
   16131     *) break;;
   16132   esac
   16133 done
   16134 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16135 
   16136 
   16137 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16138 archive_cmds_need_lc_GCJ=no
   16139 
   16140 old_archive_cmds_GCJ=$old_archive_cmds
   16141 
   16142 
   16143 lt_prog_compiler_no_builtin_flag_GCJ=
   16144 
   16145 if test "$GCC" = yes; then
   16146   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16147 
   16148 
   16149 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16150 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   16151 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16152   echo $ECHO_N "(cached) $ECHO_C" >&6
   16153 else
   16154   lt_cv_prog_compiler_rtti_exceptions=no
   16155   ac_outfile=conftest.$ac_objext
   16156    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16157    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16158    # Insert the option either (1) after the last *FLAGS variable, or
   16159    # (2) before a word containing "conftest.", or (3) at the end.
   16160    # Note that $ac_compile itself does not contain backslashes and begins
   16161    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16162    # The option is referenced via a variable to avoid confusing sed.
   16163    lt_compile=`echo "$ac_compile" | $SED \
   16164    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16165    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16166    -e 's:$: $lt_compiler_flag:'`
   16167    (eval echo "\"\$as_me:16167: $lt_compile\"" >&5)
   16168    (eval "$lt_compile" 2>conftest.err)
   16169    ac_status=$?
   16170    cat conftest.err >&5
   16171    echo "$as_me:16171: \$? = $ac_status" >&5
   16172    if (exit $ac_status) && test -s "$ac_outfile"; then
   16173      # The compiler can only warn and ignore the option if not recognized
   16174      # So say no if there are warnings other than the usual output.
   16175      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16176      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16177      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16178        lt_cv_prog_compiler_rtti_exceptions=yes
   16179      fi
   16180    fi
   16181    $rm conftest*
   16182 
   16183 fi
   16184 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16185 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16186 
   16187 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16188     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16189 else
   16190     :
   16191 fi
   16192 
   16193 fi
   16194 
   16195 lt_prog_compiler_wl_GCJ=
   16196 lt_prog_compiler_pic_GCJ=
   16197 lt_prog_compiler_static_GCJ=
   16198 
   16199 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16200 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   16201 
   16202   if test "$GCC" = yes; then
   16203     lt_prog_compiler_wl_GCJ='-Wl,'
   16204     lt_prog_compiler_static_GCJ='-static'
   16205 
   16206     case $host_os in
   16207       aix*)
   16208       # All AIX code is PIC.
   16209       if test "$host_cpu" = ia64; then
   16210 	# AIX 5 now supports IA64 processor
   16211 	lt_prog_compiler_static_GCJ='-Bstatic'
   16212       fi
   16213       ;;
   16214 
   16215     amigaos*)
   16216       # FIXME: we need at least 68020 code to build shared libraries, but
   16217       # adding the `-m68020' flag to GCC prevents building anything better,
   16218       # like `-m68040'.
   16219       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16220       ;;
   16221 
   16222     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16223       # PIC is the default for these OSes.
   16224       ;;
   16225 
   16226     mingw* | pw32* | os2*)
   16227       # This hack is so that the source file can tell whether it is being
   16228       # built for inclusion in a dll (and should export symbols for example).
   16229       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16230       ;;
   16231 
   16232     darwin* | rhapsody*)
   16233       # PIC is the default on this platform
   16234       # Common symbols not allowed in MH_DYLIB files
   16235       lt_prog_compiler_pic_GCJ='-fno-common'
   16236       ;;
   16237 
   16238     interix3*)
   16239       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16240       # Instead, we relocate shared libraries at runtime.
   16241       ;;
   16242 
   16243     msdosdjgpp*)
   16244       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16245       # on systems that don't support them.
   16246       lt_prog_compiler_can_build_shared_GCJ=no
   16247       enable_shared=no
   16248       ;;
   16249 
   16250     sysv4*MP*)
   16251       if test -d /usr/nec; then
   16252 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   16253       fi
   16254       ;;
   16255 
   16256     hpux*)
   16257       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16258       # not for PA HP-UX.
   16259       case $host_cpu in
   16260       hppa*64*|ia64*)
   16261 	# +Z the default
   16262 	;;
   16263       *)
   16264 	lt_prog_compiler_pic_GCJ='-fPIC'
   16265 	;;
   16266       esac
   16267       ;;
   16268 
   16269     *)
   16270       lt_prog_compiler_pic_GCJ='-fPIC'
   16271       ;;
   16272     esac
   16273   else
   16274     # PORTME Check for flag to pass linker flags through the system compiler.
   16275     case $host_os in
   16276     aix*)
   16277       lt_prog_compiler_wl_GCJ='-Wl,'
   16278       if test "$host_cpu" = ia64; then
   16279 	# AIX 5 now supports IA64 processor
   16280 	lt_prog_compiler_static_GCJ='-Bstatic'
   16281       else
   16282 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   16283       fi
   16284       ;;
   16285       darwin*)
   16286         # PIC is the default on this platform
   16287         # Common symbols not allowed in MH_DYLIB files
   16288        case $cc_basename in
   16289          xlc*)
   16290          lt_prog_compiler_pic_GCJ='-qnocommon'
   16291          lt_prog_compiler_wl_GCJ='-Wl,'
   16292          ;;
   16293        esac
   16294        ;;
   16295 
   16296     mingw* | pw32* | os2*)
   16297       # This hack is so that the source file can tell whether it is being
   16298       # built for inclusion in a dll (and should export symbols for example).
   16299       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
   16300       ;;
   16301 
   16302     hpux9* | hpux10* | hpux11*)
   16303       lt_prog_compiler_wl_GCJ='-Wl,'
   16304       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16305       # not for PA HP-UX.
   16306       case $host_cpu in
   16307       hppa*64*|ia64*)
   16308 	# +Z the default
   16309 	;;
   16310       *)
   16311 	lt_prog_compiler_pic_GCJ='+Z'
   16312 	;;
   16313       esac
   16314       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16315       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   16316       ;;
   16317 
   16318     irix5* | irix6* | nonstopux*)
   16319       lt_prog_compiler_wl_GCJ='-Wl,'
   16320       # PIC (with -KPIC) is the default.
   16321       lt_prog_compiler_static_GCJ='-non_shared'
   16322       ;;
   16323 
   16324     newsos6)
   16325       lt_prog_compiler_pic_GCJ='-KPIC'
   16326       lt_prog_compiler_static_GCJ='-Bstatic'
   16327       ;;
   16328 
   16329     linux*)
   16330       case $cc_basename in
   16331       icc* | ecc*)
   16332 	lt_prog_compiler_wl_GCJ='-Wl,'
   16333 	lt_prog_compiler_pic_GCJ='-KPIC'
   16334 	lt_prog_compiler_static_GCJ='-static'
   16335         ;;
   16336       pgcc* | pgf77* | pgf90* | pgf95*)
   16337         # Portland Group compilers (*not* the Pentium gcc compiler,
   16338 	# which looks to be a dead project)
   16339 	lt_prog_compiler_wl_GCJ='-Wl,'
   16340 	lt_prog_compiler_pic_GCJ='-fpic'
   16341 	lt_prog_compiler_static_GCJ='-Bstatic'
   16342         ;;
   16343       ccc*)
   16344         lt_prog_compiler_wl_GCJ='-Wl,'
   16345         # All Alpha code is PIC.
   16346         lt_prog_compiler_static_GCJ='-non_shared'
   16347         ;;
   16348       esac
   16349       ;;
   16350 
   16351     osf3* | osf4* | osf5*)
   16352       lt_prog_compiler_wl_GCJ='-Wl,'
   16353       # All OSF/1 code is PIC.
   16354       lt_prog_compiler_static_GCJ='-non_shared'
   16355       ;;
   16356 
   16357     solaris*)
   16358       lt_prog_compiler_pic_GCJ='-KPIC'
   16359       lt_prog_compiler_static_GCJ='-Bstatic'
   16360       case $cc_basename in
   16361       f77* | f90* | f95*)
   16362 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   16363       *)
   16364 	lt_prog_compiler_wl_GCJ='-Wl,';;
   16365       esac
   16366       ;;
   16367 
   16368     sunos4*)
   16369       lt_prog_compiler_wl_GCJ='-Qoption ld '
   16370       lt_prog_compiler_pic_GCJ='-PIC'
   16371       lt_prog_compiler_static_GCJ='-Bstatic'
   16372       ;;
   16373 
   16374     sysv4 | sysv4.2uw2* | sysv4.3*)
   16375       lt_prog_compiler_wl_GCJ='-Wl,'
   16376       lt_prog_compiler_pic_GCJ='-KPIC'
   16377       lt_prog_compiler_static_GCJ='-Bstatic'
   16378       ;;
   16379 
   16380     sysv4*MP*)
   16381       if test -d /usr/nec ;then
   16382 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   16383 	lt_prog_compiler_static_GCJ='-Bstatic'
   16384       fi
   16385       ;;
   16386 
   16387     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16388       lt_prog_compiler_wl_GCJ='-Wl,'
   16389       lt_prog_compiler_pic_GCJ='-KPIC'
   16390       lt_prog_compiler_static_GCJ='-Bstatic'
   16391       ;;
   16392 
   16393     unicos*)
   16394       lt_prog_compiler_wl_GCJ='-Wl,'
   16395       lt_prog_compiler_can_build_shared_GCJ=no
   16396       ;;
   16397 
   16398     uts4*)
   16399       lt_prog_compiler_pic_GCJ='-pic'
   16400       lt_prog_compiler_static_GCJ='-Bstatic'
   16401       ;;
   16402 
   16403     *)
   16404       lt_prog_compiler_can_build_shared_GCJ=no
   16405       ;;
   16406     esac
   16407   fi
   16408 
   16409 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   16410 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
   16411 
   16412 #
   16413 # Check to make sure the PIC flag actually works.
   16414 #
   16415 if test -n "$lt_prog_compiler_pic_GCJ"; then
   16416 
   16417 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   16418 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
   16419 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
   16420   echo $ECHO_N "(cached) $ECHO_C" >&6
   16421 else
   16422   lt_prog_compiler_pic_works_GCJ=no
   16423   ac_outfile=conftest.$ac_objext
   16424    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16425    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   16426    # Insert the option either (1) after the last *FLAGS variable, or
   16427    # (2) before a word containing "conftest.", or (3) at the end.
   16428    # Note that $ac_compile itself does not contain backslashes and begins
   16429    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16430    # The option is referenced via a variable to avoid confusing sed.
   16431    lt_compile=`echo "$ac_compile" | $SED \
   16432    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16433    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16434    -e 's:$: $lt_compiler_flag:'`
   16435    (eval echo "\"\$as_me:16435: $lt_compile\"" >&5)
   16436    (eval "$lt_compile" 2>conftest.err)
   16437    ac_status=$?
   16438    cat conftest.err >&5
   16439    echo "$as_me:16439: \$? = $ac_status" >&5
   16440    if (exit $ac_status) && test -s "$ac_outfile"; then
   16441      # The compiler can only warn and ignore the option if not recognized
   16442      # So say no if there are warnings other than the usual output.
   16443      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16444      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16445      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16446        lt_prog_compiler_pic_works_GCJ=yes
   16447      fi
   16448    fi
   16449    $rm conftest*
   16450 
   16451 fi
   16452 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
   16453 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
   16454 
   16455 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
   16456     case $lt_prog_compiler_pic_GCJ in
   16457      "" | " "*) ;;
   16458      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   16459      esac
   16460 else
   16461     lt_prog_compiler_pic_GCJ=
   16462      lt_prog_compiler_can_build_shared_GCJ=no
   16463 fi
   16464 
   16465 fi
   16466 case $host_os in
   16467   # For platforms which do not support PIC, -DPIC is meaningless:
   16468   *djgpp*)
   16469     lt_prog_compiler_pic_GCJ=
   16470     ;;
   16471   *)
   16472     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   16473     ;;
   16474 esac
   16475 
   16476 #
   16477 # Check to make sure the static flag actually works.
   16478 #
   16479 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   16480 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16481 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   16482 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
   16483   echo $ECHO_N "(cached) $ECHO_C" >&6
   16484 else
   16485   lt_prog_compiler_static_works_GCJ=no
   16486    save_LDFLAGS="$LDFLAGS"
   16487    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16488    printf "$lt_simple_link_test_code" > conftest.$ac_ext
   16489    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16490      # The linker can only warn and ignore the option if not recognized
   16491      # So say no if there are warnings
   16492      if test -s conftest.err; then
   16493        # Append any errors to the config.log.
   16494        cat conftest.err 1>&5
   16495        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   16496        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16497        if diff conftest.exp conftest.er2 >/dev/null; then
   16498          lt_prog_compiler_static_works_GCJ=yes
   16499        fi
   16500      else
   16501        lt_prog_compiler_static_works_GCJ=yes
   16502      fi
   16503    fi
   16504    $rm conftest*
   16505    LDFLAGS="$save_LDFLAGS"
   16506 
   16507 fi
   16508 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   16509 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
   16510 
   16511 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
   16512     :
   16513 else
   16514     lt_prog_compiler_static_GCJ=
   16515 fi
   16516 
   16517 
   16518 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   16519 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   16520 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   16521   echo $ECHO_N "(cached) $ECHO_C" >&6
   16522 else
   16523   lt_cv_prog_compiler_c_o_GCJ=no
   16524    $rm -r conftest 2>/dev/null
   16525    mkdir conftest
   16526    cd conftest
   16527    mkdir out
   16528    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   16529 
   16530    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16531    # Insert the option either (1) after the last *FLAGS variable, or
   16532    # (2) before a word containing "conftest.", or (3) at the end.
   16533    # Note that $ac_compile itself does not contain backslashes and begins
   16534    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16535    lt_compile=`echo "$ac_compile" | $SED \
   16536    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16537    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16538    -e 's:$: $lt_compiler_flag:'`
   16539    (eval echo "\"\$as_me:16539: $lt_compile\"" >&5)
   16540    (eval "$lt_compile" 2>out/conftest.err)
   16541    ac_status=$?
   16542    cat out/conftest.err >&5
   16543    echo "$as_me:16543: \$? = $ac_status" >&5
   16544    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16545    then
   16546      # The compiler can only warn and ignore the option if not recognized
   16547      # So say no if there are warnings
   16548      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   16549      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16550      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16551        lt_cv_prog_compiler_c_o_GCJ=yes
   16552      fi
   16553    fi
   16554    chmod u+w . 2>&5
   16555    $rm conftest*
   16556    # SGI C++ compiler will create directory out/ii_files/ for
   16557    # template instantiation
   16558    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   16559    $rm out/* && rmdir out
   16560    cd ..
   16561    rmdir conftest
   16562    $rm conftest*
   16563 
   16564 fi
   16565 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   16566 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   16567 
   16568 
   16569 hard_links="nottested"
   16570 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   16571   # do not overwrite the value of need_locks provided by the user
   16572   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   16573 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   16574   hard_links=yes
   16575   $rm conftest*
   16576   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16577   touch conftest.a
   16578   ln conftest.a conftest.b 2>&5 || hard_links=no
   16579   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16580   { echo "$as_me:$LINENO: result: $hard_links" >&5
   16581 echo "${ECHO_T}$hard_links" >&6; }
   16582   if test "$hard_links" = no; then
   16583     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   16584 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   16585     need_locks=warn
   16586   fi
   16587 else
   16588   need_locks=no
   16589 fi
   16590 
   16591 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16592 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   16593 
   16594   runpath_var=
   16595   allow_undefined_flag_GCJ=
   16596   enable_shared_with_static_runtimes_GCJ=no
   16597   archive_cmds_GCJ=
   16598   archive_expsym_cmds_GCJ=
   16599   old_archive_From_new_cmds_GCJ=
   16600   old_archive_from_expsyms_cmds_GCJ=
   16601   export_dynamic_flag_spec_GCJ=
   16602   whole_archive_flag_spec_GCJ=
   16603   thread_safe_flag_spec_GCJ=
   16604   hardcode_libdir_flag_spec_GCJ=
   16605   hardcode_libdir_flag_spec_ld_GCJ=
   16606   hardcode_libdir_separator_GCJ=
   16607   hardcode_direct_GCJ=no
   16608   hardcode_minus_L_GCJ=no
   16609   hardcode_shlibpath_var_GCJ=unsupported
   16610   link_all_deplibs_GCJ=unknown
   16611   hardcode_automatic_GCJ=no
   16612   module_cmds_GCJ=
   16613   module_expsym_cmds_GCJ=
   16614   always_export_symbols_GCJ=no
   16615   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16616   # include_expsyms should be a list of space-separated symbols to be *always*
   16617   # included in the symbol list
   16618   include_expsyms_GCJ=
   16619   # exclude_expsyms can be an extended regexp of symbols to exclude
   16620   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   16621   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   16622   # as well as any symbol that contains `d'.
   16623   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
   16624   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16625   # platforms (ab)use it in PIC code, but their linkers get confused if
   16626   # the symbol is explicitly referenced.  Since portable code cannot
   16627   # rely on this symbol name, it's probably fine to never include it in
   16628   # preloaded symbol tables.
   16629   extract_expsyms_cmds=
   16630   # Just being paranoid about ensuring that cc_basename is set.
   16631   for cc_temp in $compiler""; do
   16632   case $cc_temp in
   16633     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16634     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16635     \-*) ;;
   16636     *) break;;
   16637   esac
   16638 done
   16639 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16640 
   16641   case $host_os in
   16642   cygwin* | mingw* | pw32*)
   16643     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16644     # When not using gcc, we currently assume that we are using
   16645     # Microsoft Visual C++.
   16646     if test "$GCC" != yes; then
   16647       with_gnu_ld=no
   16648     fi
   16649     ;;
   16650   interix*)
   16651     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16652     with_gnu_ld=yes
   16653     ;;
   16654   openbsd*)
   16655     with_gnu_ld=no
   16656     ;;
   16657   esac
   16658 
   16659   ld_shlibs_GCJ=yes
   16660   if test "$with_gnu_ld" = yes; then
   16661     # If archive_cmds runs LD, not CC, wlarc should be empty
   16662     wlarc='${wl}'
   16663 
   16664     # Set some defaults for GNU ld with shared library support. These
   16665     # are reset later if shared libraries are not supported. Putting them
   16666     # here allows them to be overridden if necessary.
   16667     runpath_var=LD_RUN_PATH
   16668     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   16669     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   16670     # ancient GNU ld didn't support --whole-archive et. al.
   16671     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   16672 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   16673       else
   16674   	whole_archive_flag_spec_GCJ=
   16675     fi
   16676     supports_anon_versioning=no
   16677     case `$LD -v 2>/dev/null` in
   16678       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16679       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16680       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16681       *\ 2.11.*) ;; # other 2.11 versions
   16682       *) supports_anon_versioning=yes ;;
   16683     esac
   16684 
   16685     # See if GNU ld supports shared libraries.
   16686     case $host_os in
   16687     aix3* | aix4* | aix5*)
   16688       # On AIX/PPC, the GNU linker is very broken
   16689       if test "$host_cpu" != ia64; then
   16690 	ld_shlibs_GCJ=no
   16691 	cat <<EOF 1>&2
   16692 
   16693 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   16694 *** to be unable to reliably create shared libraries on AIX.
   16695 *** Therefore, libtool is disabling shared libraries support.  If you
   16696 *** really care for shared libraries, you may want to modify your PATH
   16697 *** so that a non-GNU linker is found, and then restart.
   16698 
   16699 EOF
   16700       fi
   16701       ;;
   16702 
   16703     amigaos*)
   16704       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)'
   16705       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16706       hardcode_minus_L_GCJ=yes
   16707 
   16708       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   16709       # that the semantics of dynamic libraries on AmigaOS, at least up
   16710       # to version 4, is to share data among multiple programs linked
   16711       # with the same dynamic library.  Since this doesn't match the
   16712       # behavior of shared libraries on other platforms, we can't use
   16713       # them.
   16714       ld_shlibs_GCJ=no
   16715       ;;
   16716 
   16717     beos*)
   16718       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16719 	allow_undefined_flag_GCJ=unsupported
   16720 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16721 	# support --undefined.  This deserves some investigation.  FIXME
   16722 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16723       else
   16724 	ld_shlibs_GCJ=no
   16725       fi
   16726       ;;
   16727 
   16728     cygwin* | mingw* | pw32*)
   16729       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   16730       # as there is no search path for DLLs.
   16731       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16732       allow_undefined_flag_GCJ=unsupported
   16733       always_export_symbols_GCJ=no
   16734       enable_shared_with_static_runtimes_GCJ=yes
   16735       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
   16736 
   16737       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   16738         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16739 	# If the export-symbols file already is a .def file (1st line
   16740 	# is EXPORTS), use it as is; otherwise, prepend...
   16741 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   16742 	  cp $export_symbols $output_objdir/$soname.def;
   16743 	else
   16744 	  echo EXPORTS > $output_objdir/$soname.def;
   16745 	  cat $export_symbols >> $output_objdir/$soname.def;
   16746 	fi~
   16747 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16748       else
   16749 	ld_shlibs_GCJ=no
   16750       fi
   16751       ;;
   16752 
   16753     interix3*)
   16754       hardcode_direct_GCJ=no
   16755       hardcode_shlibpath_var_GCJ=no
   16756       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   16757       export_dynamic_flag_spec_GCJ='${wl}-E'
   16758       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16759       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16760       # default) and relocated if they conflict, which is a slow very memory
   16761       # consuming and fragmenting process.  To avoid this, we pick a random,
   16762       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16763       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16764       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'
   16765       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'
   16766       ;;
   16767 
   16768     linux*)
   16769       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16770 	tmp_addflag=
   16771 	case $cc_basename,$host_cpu in
   16772 	pgcc*)				# Portland Group C compiler
   16773 	  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'
   16774 	  tmp_addflag=' $pic_flag'
   16775 	  ;;
   16776 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   16777 	  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'
   16778 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16779 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   16780 	  tmp_addflag=' -i_dynamic' ;;
   16781 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16782 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16783 	ifc* | ifort*)			# Intel Fortran compiler
   16784 	  tmp_addflag=' -nofor_main' ;;
   16785 	esac
   16786 	archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16787 
   16788 	if test $supports_anon_versioning = yes; then
   16789 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   16790   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16791   $echo "local: *; };" >> $output_objdir/$libname.ver~
   16792 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   16793 	fi
   16794       else
   16795 	ld_shlibs_GCJ=no
   16796       fi
   16797       ;;
   16798 
   16799     netbsd*)
   16800       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16801 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16802 	wlarc=
   16803       else
   16804 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16805 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16806       fi
   16807       ;;
   16808 
   16809     solaris*)
   16810       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   16811 	ld_shlibs_GCJ=no
   16812 	cat <<EOF 1>&2
   16813 
   16814 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16815 *** create shared libraries on Solaris systems.  Therefore, libtool
   16816 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16817 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16818 *** your PATH or compiler configuration so that the native linker is
   16819 *** used, and then restart.
   16820 
   16821 EOF
   16822       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16823 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16824 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16825       else
   16826 	ld_shlibs_GCJ=no
   16827       fi
   16828       ;;
   16829 
   16830     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16831       case `$LD -v 2>&1` in
   16832         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16833 	ld_shlibs_GCJ=no
   16834 	cat <<_LT_EOF 1>&2
   16835 
   16836 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   16837 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16838 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16839 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16840 *** your PATH or compiler configuration so that the native linker is
   16841 *** used, and then restart.
   16842 
   16843 _LT_EOF
   16844 	;;
   16845 	*)
   16846 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16847 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   16848 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   16849 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   16850 	  else
   16851 	    ld_shlibs_GCJ=no
   16852 	  fi
   16853 	;;
   16854       esac
   16855       ;;
   16856 
   16857     sunos4*)
   16858       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16859       wlarc=
   16860       hardcode_direct_GCJ=yes
   16861       hardcode_shlibpath_var_GCJ=no
   16862       ;;
   16863 
   16864     *)
   16865       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   16866 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   16867 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   16868       else
   16869 	ld_shlibs_GCJ=no
   16870       fi
   16871       ;;
   16872     esac
   16873 
   16874     if test "$ld_shlibs_GCJ" = no; then
   16875       runpath_var=
   16876       hardcode_libdir_flag_spec_GCJ=
   16877       export_dynamic_flag_spec_GCJ=
   16878       whole_archive_flag_spec_GCJ=
   16879     fi
   16880   else
   16881     # PORTME fill in a description of your system's linker (not GNU ld)
   16882     case $host_os in
   16883     aix3*)
   16884       allow_undefined_flag_GCJ=unsupported
   16885       always_export_symbols_GCJ=yes
   16886       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'
   16887       # Note: this linker hardcodes the directories in LIBPATH if there
   16888       # are no directories specified by -L.
   16889       hardcode_minus_L_GCJ=yes
   16890       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   16891 	# Neither direct hardcoding nor static linking is supported with a
   16892 	# broken collect2.
   16893 	hardcode_direct_GCJ=unsupported
   16894       fi
   16895       ;;
   16896 
   16897     aix4* | aix5*)
   16898       if test "$host_cpu" = ia64; then
   16899 	# On IA64, the linker does run time linking by default, so we don't
   16900 	# have to do anything special.
   16901 	aix_use_runtimelinking=no
   16902 	exp_sym_flag='-Bexport'
   16903 	no_entry_flag=""
   16904       else
   16905 	# If we're using GNU nm, then we don't want the "-C" option.
   16906 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   16907 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   16908 	  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'
   16909 	else
   16910 	  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'
   16911 	fi
   16912 	aix_use_runtimelinking=no
   16913 
   16914 	# Test if we are trying to use run time linking or normal
   16915 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16916 	# need to do runtime linking.
   16917 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
   16918 	  for ld_flag in $LDFLAGS; do
   16919   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   16920   	    aix_use_runtimelinking=yes
   16921   	    break
   16922   	  fi
   16923 	  done
   16924 	  ;;
   16925 	esac
   16926 
   16927 	exp_sym_flag='-bexport'
   16928 	no_entry_flag='-bnoentry'
   16929       fi
   16930 
   16931       # When large executables or shared objects are built, AIX ld can
   16932       # have problems creating the table of contents.  If linking a library
   16933       # or program results in "error TOC overflow" add -mminimal-toc to
   16934       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16935       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16936 
   16937       archive_cmds_GCJ=''
   16938       hardcode_direct_GCJ=yes
   16939       hardcode_libdir_separator_GCJ=':'
   16940       link_all_deplibs_GCJ=yes
   16941 
   16942       if test "$GCC" = yes; then
   16943 	case $host_os in aix4.[012]|aix4.[012].*)
   16944 	# We only want to do this on AIX 4.2 and lower, the check
   16945 	# below for broken collect2 doesn't work under 4.3+
   16946 	  collect2name=`${CC} -print-prog-name=collect2`
   16947 	  if test -f "$collect2name" && \
   16948   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   16949 	  then
   16950   	  # We have reworked collect2
   16951   	  hardcode_direct_GCJ=yes
   16952 	  else
   16953   	  # We have old collect2
   16954   	  hardcode_direct_GCJ=unsupported
   16955   	  # It fails to find uninstalled libraries when the uninstalled
   16956   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16957   	  # to unsupported forces relinking
   16958   	  hardcode_minus_L_GCJ=yes
   16959   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   16960   	  hardcode_libdir_separator_GCJ=
   16961 	  fi
   16962 	  ;;
   16963 	esac
   16964 	shared_flag='-shared'
   16965 	if test "$aix_use_runtimelinking" = yes; then
   16966 	  shared_flag="$shared_flag "'${wl}-G'
   16967 	fi
   16968       else
   16969 	# not using gcc
   16970 	if test "$host_cpu" = ia64; then
   16971   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16972   	# chokes on -Wl,-G. The following line is correct:
   16973 	  shared_flag='-G'
   16974 	else
   16975 	  if test "$aix_use_runtimelinking" = yes; then
   16976 	    shared_flag='${wl}-G'
   16977 	  else
   16978 	    shared_flag='${wl}-bM:SRE'
   16979 	  fi
   16980 	fi
   16981       fi
   16982 
   16983       # It seems that -bexpall does not export symbols beginning with
   16984       # underscore (_), so it is better to generate a list of symbols to export.
   16985       always_export_symbols_GCJ=yes
   16986       if test "$aix_use_runtimelinking" = yes; then
   16987 	# Warning - without using the other runtime loading flags (-brtl),
   16988 	# -berok will link without error, but may produce a broken library.
   16989 	allow_undefined_flag_GCJ='-berok'
   16990        # Determine the default libpath from the value encoded in an empty executable.
   16991        cat >conftest.$ac_ext <<_ACEOF
   16992 /* confdefs.h.  */
   16993 _ACEOF
   16994 cat confdefs.h >>conftest.$ac_ext
   16995 cat >>conftest.$ac_ext <<_ACEOF
   16996 /* end confdefs.h.  */
   16997 
   16998 int
   16999 main ()
   17000 {
   17001 
   17002   ;
   17003   return 0;
   17004 }
   17005 _ACEOF
   17006 rm -f conftest.$ac_objext conftest$ac_exeext
   17007 if { (ac_try="$ac_link"
   17008 case "(($ac_try" in
   17009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17010   *) ac_try_echo=$ac_try;;
   17011 esac
   17012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17013   (eval "$ac_link") 2>conftest.er1
   17014   ac_status=$?
   17015   grep -v '^ *+' conftest.er1 >conftest.err
   17016   rm -f conftest.er1
   17017   cat conftest.err >&5
   17018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17019   (exit $ac_status); } && {
   17020 	 test -z "$ac_c_werror_flag" ||
   17021 	 test ! -s conftest.err
   17022        } && test -s conftest$ac_exeext &&
   17023        $as_test_x conftest$ac_exeext; then
   17024 
   17025 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17026 }'`
   17027 # Check for a 64-bit object if we didn't find anything.
   17028 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; }
   17029 }'`; fi
   17030 else
   17031   echo "$as_me: failed program was:" >&5
   17032 sed 's/^/| /' conftest.$ac_ext >&5
   17033 
   17034 
   17035 fi
   17036 
   17037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17038       conftest$ac_exeext conftest.$ac_ext
   17039 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17040 
   17041        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17042 	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"
   17043        else
   17044 	if test "$host_cpu" = ia64; then
   17045 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17046 	  allow_undefined_flag_GCJ="-z nodefs"
   17047 	  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"
   17048 	else
   17049 	 # Determine the default libpath from the value encoded in an empty executable.
   17050 	 cat >conftest.$ac_ext <<_ACEOF
   17051 /* confdefs.h.  */
   17052 _ACEOF
   17053 cat confdefs.h >>conftest.$ac_ext
   17054 cat >>conftest.$ac_ext <<_ACEOF
   17055 /* end confdefs.h.  */
   17056 
   17057 int
   17058 main ()
   17059 {
   17060 
   17061   ;
   17062   return 0;
   17063 }
   17064 _ACEOF
   17065 rm -f conftest.$ac_objext conftest$ac_exeext
   17066 if { (ac_try="$ac_link"
   17067 case "(($ac_try" in
   17068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17069   *) ac_try_echo=$ac_try;;
   17070 esac
   17071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17072   (eval "$ac_link") 2>conftest.er1
   17073   ac_status=$?
   17074   grep -v '^ *+' conftest.er1 >conftest.err
   17075   rm -f conftest.er1
   17076   cat conftest.err >&5
   17077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17078   (exit $ac_status); } && {
   17079 	 test -z "$ac_c_werror_flag" ||
   17080 	 test ! -s conftest.err
   17081        } && test -s conftest$ac_exeext &&
   17082        $as_test_x conftest$ac_exeext; then
   17083 
   17084 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   17085 }'`
   17086 # Check for a 64-bit object if we didn't find anything.
   17087 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; }
   17088 }'`; fi
   17089 else
   17090   echo "$as_me: failed program was:" >&5
   17091 sed 's/^/| /' conftest.$ac_ext >&5
   17092 
   17093 
   17094 fi
   17095 
   17096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17097       conftest$ac_exeext conftest.$ac_ext
   17098 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17099 
   17100 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17101 	  # Warning - without using the other run time loading flags,
   17102 	  # -berok will link without error, but may produce a broken library.
   17103 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17104 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17105 	  # Exported symbols can be pulled into shared objects from archives
   17106 	  whole_archive_flag_spec_GCJ='$convenience'
   17107 	  archive_cmds_need_lc_GCJ=yes
   17108 	  # This is similar to how AIX traditionally builds its shared libraries.
   17109 	  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'
   17110 	fi
   17111       fi
   17112       ;;
   17113 
   17114     amigaos*)
   17115       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)'
   17116       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17117       hardcode_minus_L_GCJ=yes
   17118       # see comment about different semantics on the GNU ld section
   17119       ld_shlibs_GCJ=no
   17120       ;;
   17121 
   17122     bsdi[45]*)
   17123       export_dynamic_flag_spec_GCJ=-rdynamic
   17124       ;;
   17125 
   17126     cygwin* | mingw* | pw32*)
   17127       # When not using gcc, we currently assume that we are using
   17128       # Microsoft Visual C++.
   17129       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17130       # no search path for DLLs.
   17131       hardcode_libdir_flag_spec_GCJ=' '
   17132       allow_undefined_flag_GCJ=unsupported
   17133       # Tell ltmain to make .lib files, not .a files.
   17134       libext=lib
   17135       # Tell ltmain to make .dll files, not .so files.
   17136       shrext_cmds=".dll"
   17137       # FIXME: Setting linknames here is a bad hack.
   17138       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17139       # The linker will automatically build a .lib file if we build a DLL.
   17140       old_archive_From_new_cmds_GCJ='true'
   17141       # FIXME: Should let the user specify the lib program.
   17142       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
   17143       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17144       enable_shared_with_static_runtimes_GCJ=yes
   17145       ;;
   17146 
   17147     darwin* | rhapsody*)
   17148       case $host_os in
   17149         rhapsody* | darwin1.[012])
   17150          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17151          ;;
   17152        *) # Darwin 1.3 on
   17153          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17154            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17155          else
   17156            case ${MACOSX_DEPLOYMENT_TARGET} in
   17157              10.[012])
   17158                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17159                ;;
   17160              10.*)
   17161                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17162                ;;
   17163            esac
   17164          fi
   17165          ;;
   17166       esac
   17167       archive_cmds_need_lc_GCJ=no
   17168       hardcode_direct_GCJ=no
   17169       hardcode_automatic_GCJ=yes
   17170       hardcode_shlibpath_var_GCJ=unsupported
   17171       whole_archive_flag_spec_GCJ=''
   17172       link_all_deplibs_GCJ=yes
   17173     if test "$GCC" = yes ; then
   17174     	output_verbose_link_cmd='echo'
   17175         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   17176       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17177       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17178       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}'
   17179       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}'
   17180     else
   17181       case $cc_basename in
   17182         xlc*)
   17183          output_verbose_link_cmd='echo'
   17184          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
   17185          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17186           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17187          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}'
   17188           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}'
   17189           ;;
   17190        *)
   17191          ld_shlibs_GCJ=no
   17192           ;;
   17193       esac
   17194     fi
   17195       ;;
   17196 
   17197     dgux*)
   17198       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17199       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17200       hardcode_shlibpath_var_GCJ=no
   17201       ;;
   17202 
   17203     freebsd1*)
   17204       ld_shlibs_GCJ=no
   17205       ;;
   17206 
   17207     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17208     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17209     # does not break anything, and helps significantly (at the cost of a little
   17210     # extra space).
   17211     freebsd2.2*)
   17212       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17213       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17214       hardcode_direct_GCJ=yes
   17215       hardcode_shlibpath_var_GCJ=no
   17216       ;;
   17217 
   17218     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17219     freebsd2*)
   17220       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17221       hardcode_direct_GCJ=yes
   17222       hardcode_minus_L_GCJ=yes
   17223       hardcode_shlibpath_var_GCJ=no
   17224       ;;
   17225 
   17226     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17227     freebsd* | kfreebsd*-gnu | dragonfly*)
   17228       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   17229       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17230       hardcode_direct_GCJ=yes
   17231       hardcode_shlibpath_var_GCJ=no
   17232       ;;
   17233 
   17234     hpux9*)
   17235       if test "$GCC" = yes; then
   17236 	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'
   17237       else
   17238 	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'
   17239       fi
   17240       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17241       hardcode_libdir_separator_GCJ=:
   17242       hardcode_direct_GCJ=yes
   17243 
   17244       # hardcode_minus_L: Not really in the search PATH,
   17245       # but as the default location of the library.
   17246       hardcode_minus_L_GCJ=yes
   17247       export_dynamic_flag_spec_GCJ='${wl}-E'
   17248       ;;
   17249 
   17250     hpux10*)
   17251       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17252 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17253       else
   17254 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17255       fi
   17256       if test "$with_gnu_ld" = no; then
   17257 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17258 	hardcode_libdir_separator_GCJ=:
   17259 
   17260 	hardcode_direct_GCJ=yes
   17261 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17262 
   17263 	# hardcode_minus_L: Not really in the search PATH,
   17264 	# but as the default location of the library.
   17265 	hardcode_minus_L_GCJ=yes
   17266       fi
   17267       ;;
   17268 
   17269     hpux11*)
   17270       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   17271 	case $host_cpu in
   17272 	hppa*64*)
   17273 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17274 	  ;;
   17275 	ia64*)
   17276 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17277 	  ;;
   17278 	*)
   17279 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17280 	  ;;
   17281 	esac
   17282       else
   17283 	case $host_cpu in
   17284 	hppa*64*)
   17285 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17286 	  ;;
   17287 	ia64*)
   17288 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17289 	  ;;
   17290 	*)
   17291 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17292 	  ;;
   17293 	esac
   17294       fi
   17295       if test "$with_gnu_ld" = no; then
   17296 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   17297 	hardcode_libdir_separator_GCJ=:
   17298 
   17299 	case $host_cpu in
   17300 	hppa*64*|ia64*)
   17301 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   17302 	  hardcode_direct_GCJ=no
   17303 	  hardcode_shlibpath_var_GCJ=no
   17304 	  ;;
   17305 	*)
   17306 	  hardcode_direct_GCJ=yes
   17307 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   17308 
   17309 	  # hardcode_minus_L: Not really in the search PATH,
   17310 	  # but as the default location of the library.
   17311 	  hardcode_minus_L_GCJ=yes
   17312 	  ;;
   17313 	esac
   17314       fi
   17315       ;;
   17316 
   17317     irix5* | irix6* | nonstopux*)
   17318       if test "$GCC" = yes; then
   17319 	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'
   17320       else
   17321 	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'
   17322 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   17323       fi
   17324       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17325       hardcode_libdir_separator_GCJ=:
   17326       link_all_deplibs_GCJ=yes
   17327       ;;
   17328 
   17329     netbsd*)
   17330       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17331 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17332       else
   17333 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17334       fi
   17335       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17336       hardcode_direct_GCJ=yes
   17337       hardcode_shlibpath_var_GCJ=no
   17338       ;;
   17339 
   17340     newsos6)
   17341       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17342       hardcode_direct_GCJ=yes
   17343       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17344       hardcode_libdir_separator_GCJ=:
   17345       hardcode_shlibpath_var_GCJ=no
   17346       ;;
   17347 
   17348     openbsd*)
   17349       hardcode_direct_GCJ=yes
   17350       hardcode_shlibpath_var_GCJ=no
   17351       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17352 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17353 	archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   17354 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17355 	export_dynamic_flag_spec_GCJ='${wl}-E'
   17356       else
   17357        case $host_os in
   17358 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   17359 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17360 	   hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17361 	   ;;
   17362 	 *)
   17363 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17364 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17365 	   ;;
   17366        esac
   17367       fi
   17368       ;;
   17369 
   17370     os2*)
   17371       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17372       hardcode_minus_L_GCJ=yes
   17373       allow_undefined_flag_GCJ=unsupported
   17374       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'
   17375       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   17376       ;;
   17377 
   17378     osf3*)
   17379       if test "$GCC" = yes; then
   17380 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17381 	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'
   17382       else
   17383 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17384 	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'
   17385       fi
   17386       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17387       hardcode_libdir_separator_GCJ=:
   17388       ;;
   17389 
   17390     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17391       if test "$GCC" = yes; then
   17392 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   17393 	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'
   17394 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   17395       else
   17396 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   17397 	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'
   17398 	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~
   17399 	$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'
   17400 
   17401 	# Both c and cxx compiler support -rpath directly
   17402 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   17403       fi
   17404       hardcode_libdir_separator_GCJ=:
   17405       ;;
   17406 
   17407     solaris*)
   17408       no_undefined_flag_GCJ=' -z text'
   17409       if test "$GCC" = yes; then
   17410 	wlarc='${wl}'
   17411 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17412 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17413 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   17414       else
   17415 	wlarc=''
   17416 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17417 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   17418   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   17419       fi
   17420       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   17421       hardcode_shlibpath_var_GCJ=no
   17422       case $host_os in
   17423       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17424       *)
   17425  	# The compiler driver will combine linker options so we
   17426  	# cannot just pass the convience library names through
   17427  	# without $wl, iff we do not link with $LD.
   17428  	# Luckily, gcc supports the same syntax we need for Sun Studio.
   17429  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17430  	case $wlarc in
   17431  	'')
   17432  	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
   17433  	*)
   17434  	  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' ;;
   17435  	esac ;;
   17436       esac
   17437       link_all_deplibs_GCJ=yes
   17438       ;;
   17439 
   17440     sunos4*)
   17441       if test "x$host_vendor" = xsequent; then
   17442 	# Use $CC to link under sequent, because it throws in some extra .o
   17443 	# files that make .init and .fini sections work.
   17444 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17445       else
   17446 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17447       fi
   17448       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17449       hardcode_direct_GCJ=yes
   17450       hardcode_minus_L_GCJ=yes
   17451       hardcode_shlibpath_var_GCJ=no
   17452       ;;
   17453 
   17454     sysv4)
   17455       case $host_vendor in
   17456 	sni)
   17457 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17458 	  hardcode_direct_GCJ=yes # is this really true???
   17459 	;;
   17460 	siemens)
   17461 	  ## LD is ld it makes a PLAMLIB
   17462 	  ## CC just makes a GrossModule.
   17463 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17464 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   17465 	  hardcode_direct_GCJ=no
   17466         ;;
   17467 	motorola)
   17468 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17469 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   17470 	;;
   17471       esac
   17472       runpath_var='LD_RUN_PATH'
   17473       hardcode_shlibpath_var_GCJ=no
   17474       ;;
   17475 
   17476     sysv4.3*)
   17477       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17478       hardcode_shlibpath_var_GCJ=no
   17479       export_dynamic_flag_spec_GCJ='-Bexport'
   17480       ;;
   17481 
   17482     sysv4*MP*)
   17483       if test -d /usr/nec; then
   17484 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17485 	hardcode_shlibpath_var_GCJ=no
   17486 	runpath_var=LD_RUN_PATH
   17487 	hardcode_runpath_var=yes
   17488 	ld_shlibs_GCJ=yes
   17489       fi
   17490       ;;
   17491 
   17492     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
   17493       no_undefined_flag_GCJ='${wl}-z,text'
   17494       archive_cmds_need_lc_GCJ=no
   17495       hardcode_shlibpath_var_GCJ=no
   17496       runpath_var='LD_RUN_PATH'
   17497 
   17498       if test "$GCC" = yes; then
   17499 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17500 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17501       else
   17502 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17503 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17504       fi
   17505       ;;
   17506 
   17507     sysv5* | sco3.2v5* | sco5v6*)
   17508       # Note: We can NOT use -z defs as we might desire, because we do not
   17509       # link with -lc, and that would cause any symbols used from libc to
   17510       # always be unresolved, which means just about no library would
   17511       # ever link correctly.  If we're not using GNU ld we use -z text
   17512       # though, which does catch some bad symbols but isn't as heavy-handed
   17513       # as -z defs.
   17514       no_undefined_flag_GCJ='${wl}-z,text'
   17515       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   17516       archive_cmds_need_lc_GCJ=no
   17517       hardcode_shlibpath_var_GCJ=no
   17518       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   17519       hardcode_libdir_separator_GCJ=':'
   17520       link_all_deplibs_GCJ=yes
   17521       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   17522       runpath_var='LD_RUN_PATH'
   17523 
   17524       if test "$GCC" = yes; then
   17525 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17526 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17527       else
   17528 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17529 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   17530       fi
   17531       ;;
   17532 
   17533     uts4*)
   17534       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17535       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17536       hardcode_shlibpath_var_GCJ=no
   17537       ;;
   17538 
   17539     *)
   17540       ld_shlibs_GCJ=no
   17541       ;;
   17542     esac
   17543   fi
   17544 
   17545 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   17546 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
   17547 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   17548 
   17549 #
   17550 # Do we need to explicitly link libc?
   17551 #
   17552 case "x$archive_cmds_need_lc_GCJ" in
   17553 x|xyes)
   17554   # Assume -lc should be added
   17555   archive_cmds_need_lc_GCJ=yes
   17556 
   17557   if test "$enable_shared" = yes && test "$GCC" = yes; then
   17558     case $archive_cmds_GCJ in
   17559     *'~'*)
   17560       # FIXME: we may have to deal with multi-command sequences.
   17561       ;;
   17562     '$CC '*)
   17563       # Test whether the compiler implicitly links with -lc since on some
   17564       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17565       # to ld, don't add -lc before -lgcc.
   17566       { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   17567 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
   17568       $rm conftest*
   17569       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   17570 
   17571       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   17572   (eval $ac_compile) 2>&5
   17573   ac_status=$?
   17574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17575   (exit $ac_status); } 2>conftest.err; then
   17576         soname=conftest
   17577         lib=conftest
   17578         libobjs=conftest.$ac_objext
   17579         deplibs=
   17580         wl=$lt_prog_compiler_wl_GCJ
   17581 	pic_flag=$lt_prog_compiler_pic_GCJ
   17582         compiler_flags=-v
   17583         linker_flags=-v
   17584         verstring=
   17585         output_objdir=.
   17586         libname=conftest
   17587         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   17588         allow_undefined_flag_GCJ=
   17589         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   17590   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17591   ac_status=$?
   17592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17593   (exit $ac_status); }
   17594         then
   17595 	  archive_cmds_need_lc_GCJ=no
   17596         else
   17597 	  archive_cmds_need_lc_GCJ=yes
   17598         fi
   17599         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   17600       else
   17601         cat conftest.err 1>&5
   17602       fi
   17603       $rm conftest*
   17604       { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   17605 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
   17606       ;;
   17607     esac
   17608   fi
   17609   ;;
   17610 esac
   17611 
   17612 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   17613 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   17614 library_names_spec=
   17615 libname_spec='lib$name'
   17616 soname_spec=
   17617 shrext_cmds=".so"
   17618 postinstall_cmds=
   17619 postuninstall_cmds=
   17620 finish_cmds=
   17621 finish_eval=
   17622 shlibpath_var=
   17623 shlibpath_overrides_runpath=unknown
   17624 version_type=none
   17625 dynamic_linker="$host_os ld.so"
   17626 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17627 if test "$GCC" = yes; then
   17628   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17629   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   17630     # if the path contains ";" then we assume it to be the separator
   17631     # otherwise default to the standard path separator (i.e. ":") - it is
   17632     # assumed that no part of a normal pathname contains ";" but that should
   17633     # okay in the real world where ";" in dirpaths is itself problematic.
   17634     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17635   else
   17636     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17637   fi
   17638 else
   17639   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17640 fi
   17641 need_lib_prefix=unknown
   17642 hardcode_into_libs=no
   17643 
   17644 # when you set need_version to no, make sure it does not cause -set_version
   17645 # flags to be left without arguments
   17646 need_version=unknown
   17647 
   17648 case $host_os in
   17649 aix3*)
   17650   version_type=linux
   17651   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   17652   shlibpath_var=LIBPATH
   17653 
   17654   # AIX 3 has no versioning support, so we append a major version to the name.
   17655   soname_spec='${libname}${release}${shared_ext}$major'
   17656   ;;
   17657 
   17658 aix4* | aix5*)
   17659   version_type=linux
   17660   need_lib_prefix=no
   17661   need_version=no
   17662   hardcode_into_libs=yes
   17663   if test "$host_cpu" = ia64; then
   17664     # AIX 5 supports IA64
   17665     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   17666     shlibpath_var=LD_LIBRARY_PATH
   17667   else
   17668     # With GCC up to 2.95.x, collect2 would create an import file
   17669     # for dependence libraries.  The import file would start with
   17670     # the line `#! .'.  This would cause the generated library to
   17671     # depend on `.', always an invalid library.  This was fixed in
   17672     # development snapshots of GCC prior to 3.0.
   17673     case $host_os in
   17674       aix4 | aix4.[01] | aix4.[01].*)
   17675       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17676 	   echo ' yes '
   17677 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   17678 	:
   17679       else
   17680 	can_build_shared=no
   17681       fi
   17682       ;;
   17683     esac
   17684     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   17685     # soname into executable. Probably we can add versioning support to
   17686     # collect2, so additional links can be useful in future.
   17687     if test "$aix_use_runtimelinking" = yes; then
   17688       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17689       # instead of lib<name>.a to let people know that these are not
   17690       # typical AIX shared libraries.
   17691       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17692     else
   17693       # We preserve .a as extension for shared libraries through AIX4.2
   17694       # and later when we are not doing run time linking.
   17695       library_names_spec='${libname}${release}.a $libname.a'
   17696       soname_spec='${libname}${release}${shared_ext}$major'
   17697     fi
   17698     shlibpath_var=LIBPATH
   17699   fi
   17700   ;;
   17701 
   17702 amigaos*)
   17703   library_names_spec='$libname.ixlibrary $libname.a'
   17704   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17705   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'
   17706   ;;
   17707 
   17708 beos*)
   17709   library_names_spec='${libname}${shared_ext}'
   17710   dynamic_linker="$host_os ld.so"
   17711   shlibpath_var=LIBRARY_PATH
   17712   ;;
   17713 
   17714 bsdi[45]*)
   17715   version_type=linux
   17716   need_version=no
   17717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17718   soname_spec='${libname}${release}${shared_ext}$major'
   17719   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17720   shlibpath_var=LD_LIBRARY_PATH
   17721   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17722   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17723   # the default ld.so.conf also contains /usr/contrib/lib and
   17724   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17725   # libtool to hard-code these into programs
   17726   ;;
   17727 
   17728 cygwin* | mingw* | pw32*)
   17729   version_type=windows
   17730   shrext_cmds=".dll"
   17731   need_version=no
   17732   need_lib_prefix=no
   17733 
   17734   case $GCC,$host_os in
   17735   yes,cygwin* | yes,mingw* | yes,pw32*)
   17736     library_names_spec='$libname.dll.a'
   17737     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17738     postinstall_cmds='base_file=`basename \${file}`~
   17739       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   17740       dldir=$destdir/`dirname \$dlpath`~
   17741       test -d \$dldir || mkdir -p \$dldir~
   17742       $install_prog $dir/$dlname \$dldir/$dlname~
   17743       chmod a+x \$dldir/$dlname'
   17744     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17745       dlpath=$dir/\$dldll~
   17746        $rm \$dlpath'
   17747     shlibpath_overrides_runpath=yes
   17748 
   17749     case $host_os in
   17750     cygwin*)
   17751       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17752       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17753       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   17754       ;;
   17755     mingw*)
   17756       # MinGW DLLs use traditional 'lib' prefix
   17757       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17758       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   17759       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   17760         # It is most probably a Windows format PATH printed by
   17761         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   17762         # path with ; separators, and with drive letters. We can handle the
   17763         # drive letters (cygwin fileutils understands them), so leave them,
   17764         # especially as we might pass files found there to a mingw objdump,
   17765         # which wouldn't understand a cygwinified path. Ahh.
   17766         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17767       else
   17768         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   17769       fi
   17770       ;;
   17771     pw32*)
   17772       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17773       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   17774       ;;
   17775     esac
   17776     ;;
   17777 
   17778   *)
   17779     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   17780     ;;
   17781   esac
   17782   dynamic_linker='Win32 ld.exe'
   17783   # FIXME: first we should search . and the directory the executable is in
   17784   shlibpath_var=PATH
   17785   ;;
   17786 
   17787 darwin* | rhapsody*)
   17788   dynamic_linker="$host_os dyld"
   17789   version_type=darwin
   17790   need_lib_prefix=no
   17791   need_version=no
   17792   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   17793   soname_spec='${libname}${release}${major}$shared_ext'
   17794   shlibpath_overrides_runpath=yes
   17795   shlibpath_var=DYLD_LIBRARY_PATH
   17796   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17797   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   17798   if test "$GCC" = yes; then
   17799     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"`
   17800   else
   17801     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   17802   fi
   17803   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17804   ;;
   17805 
   17806 dgux*)
   17807   version_type=linux
   17808   need_lib_prefix=no
   17809   need_version=no
   17810   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   17811   soname_spec='${libname}${release}${shared_ext}$major'
   17812   shlibpath_var=LD_LIBRARY_PATH
   17813   ;;
   17814 
   17815 freebsd1*)
   17816   dynamic_linker=no
   17817   ;;
   17818 
   17819 kfreebsd*-gnu)
   17820   version_type=linux
   17821   need_lib_prefix=no
   17822   need_version=no
   17823   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17824   soname_spec='${libname}${release}${shared_ext}$major'
   17825   shlibpath_var=LD_LIBRARY_PATH
   17826   shlibpath_overrides_runpath=no
   17827   hardcode_into_libs=yes
   17828   dynamic_linker='GNU ld.so'
   17829   ;;
   17830 
   17831 freebsd* | dragonfly*)
   17832   # DragonFly does not have aout.  When/if they implement a new
   17833   # versioning mechanism, adjust this.
   17834   if test -x /usr/bin/objformat; then
   17835     objformat=`/usr/bin/objformat`
   17836   else
   17837     case $host_os in
   17838     freebsd[123]*) objformat=aout ;;
   17839     *) objformat=elf ;;
   17840     esac
   17841   fi
   17842   version_type=freebsd-$objformat
   17843   case $version_type in
   17844     freebsd-elf*)
   17845       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   17846       need_version=no
   17847       need_lib_prefix=no
   17848       ;;
   17849     freebsd-*)
   17850       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   17851       need_version=yes
   17852       ;;
   17853   esac
   17854   shlibpath_var=LD_LIBRARY_PATH
   17855   case $host_os in
   17856   freebsd2*)
   17857     shlibpath_overrides_runpath=yes
   17858     ;;
   17859   freebsd3.[01]* | freebsdelf3.[01]*)
   17860     shlibpath_overrides_runpath=yes
   17861     hardcode_into_libs=yes
   17862     ;;
   17863   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17864   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17865     shlibpath_overrides_runpath=no
   17866     hardcode_into_libs=yes
   17867     ;;
   17868   freebsd*) # from 4.6 on
   17869     shlibpath_overrides_runpath=yes
   17870     hardcode_into_libs=yes
   17871     ;;
   17872   esac
   17873   ;;
   17874 
   17875 gnu*)
   17876   version_type=linux
   17877   need_lib_prefix=no
   17878   need_version=no
   17879   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   17880   soname_spec='${libname}${release}${shared_ext}$major'
   17881   shlibpath_var=LD_LIBRARY_PATH
   17882   hardcode_into_libs=yes
   17883   ;;
   17884 
   17885 hpux9* | hpux10* | hpux11*)
   17886   # Give a soname corresponding to the major version so that dld.sl refuses to
   17887   # link against other versions.
   17888   version_type=sunos
   17889   need_lib_prefix=no
   17890   need_version=no
   17891   case $host_cpu in
   17892   ia64*)
   17893     shrext_cmds='.so'
   17894     hardcode_into_libs=yes
   17895     dynamic_linker="$host_os dld.so"
   17896     shlibpath_var=LD_LIBRARY_PATH
   17897     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17898     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17899     soname_spec='${libname}${release}${shared_ext}$major'
   17900     if test "X$HPUX_IA64_MODE" = X32; then
   17901       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17902     else
   17903       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17904     fi
   17905     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17906     ;;
   17907    hppa*64*)
   17908      shrext_cmds='.sl'
   17909      hardcode_into_libs=yes
   17910      dynamic_linker="$host_os dld.sl"
   17911      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17912      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17913      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17914      soname_spec='${libname}${release}${shared_ext}$major'
   17915      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17916      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17917      ;;
   17918    *)
   17919     shrext_cmds='.sl'
   17920     dynamic_linker="$host_os dld.sl"
   17921     shlibpath_var=SHLIB_PATH
   17922     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17923     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17924     soname_spec='${libname}${release}${shared_ext}$major'
   17925     ;;
   17926   esac
   17927   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   17928   postinstall_cmds='chmod 555 $lib'
   17929   ;;
   17930 
   17931 interix3*)
   17932   version_type=linux
   17933   need_lib_prefix=no
   17934   need_version=no
   17935   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17936   soname_spec='${libname}${release}${shared_ext}$major'
   17937   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17938   shlibpath_var=LD_LIBRARY_PATH
   17939   shlibpath_overrides_runpath=no
   17940   hardcode_into_libs=yes
   17941   ;;
   17942 
   17943 irix5* | irix6* | nonstopux*)
   17944   case $host_os in
   17945     nonstopux*) version_type=nonstopux ;;
   17946     *)
   17947 	if test "$lt_cv_prog_gnu_ld" = yes; then
   17948 		version_type=linux
   17949 	else
   17950 		version_type=irix
   17951 	fi ;;
   17952   esac
   17953   need_lib_prefix=no
   17954   need_version=no
   17955   soname_spec='${libname}${release}${shared_ext}$major'
   17956   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   17957   case $host_os in
   17958   irix5* | nonstopux*)
   17959     libsuff= shlibsuff=
   17960     ;;
   17961   *)
   17962     case $LD in # libtool.m4 will add one of these switches to LD
   17963     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17964       libsuff= shlibsuff= libmagic=32-bit;;
   17965     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17966       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17967     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17968       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17969     *) libsuff= shlibsuff= libmagic=never-match;;
   17970     esac
   17971     ;;
   17972   esac
   17973   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17974   shlibpath_overrides_runpath=no
   17975   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   17976   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   17977   hardcode_into_libs=yes
   17978   ;;
   17979 
   17980 # No shared lib support for Linux oldld, aout, or coff.
   17981 linux*oldld* | linux*aout* | linux*coff*)
   17982   dynamic_linker=no
   17983   ;;
   17984 
   17985 # This must be Linux ELF.
   17986 linux*)
   17987   version_type=linux
   17988   need_lib_prefix=no
   17989   need_version=no
   17990   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17991   soname_spec='${libname}${release}${shared_ext}$major'
   17992   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17993   shlibpath_var=LD_LIBRARY_PATH
   17994   shlibpath_overrides_runpath=no
   17995   # This implies no fast_install, which is unacceptable.
   17996   # Some rework will be needed to allow for fast_install
   17997   # before this can be enabled.
   17998   hardcode_into_libs=yes
   17999 
   18000   # Append ld.so.conf contents to the search path
   18001   if test -f /etc/ld.so.conf; then
   18002     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' ' '`
   18003     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18004   fi
   18005 
   18006   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18007   # powerpc, because MkLinux only supported shared libraries with the
   18008   # GNU dynamic linker.  Since this was broken with cross compilers,
   18009   # most powerpc-linux boxes support dynamic linking these days and
   18010   # people can always --disable-shared, the test was removed, and we
   18011   # assume the GNU/Linux dynamic linker is in use.
   18012   dynamic_linker='GNU/Linux ld.so'
   18013   ;;
   18014 
   18015 knetbsd*-gnu)
   18016   version_type=linux
   18017   need_lib_prefix=no
   18018   need_version=no
   18019   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18020   soname_spec='${libname}${release}${shared_ext}$major'
   18021   shlibpath_var=LD_LIBRARY_PATH
   18022   shlibpath_overrides_runpath=no
   18023   hardcode_into_libs=yes
   18024   dynamic_linker='GNU ld.so'
   18025   ;;
   18026 
   18027 netbsd*)
   18028   version_type=sunos
   18029   need_lib_prefix=no
   18030   need_version=no
   18031   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18032     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18033     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18034     dynamic_linker='NetBSD (a.out) ld.so'
   18035   else
   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     dynamic_linker='NetBSD ld.elf_so'
   18039   fi
   18040   shlibpath_var=LD_LIBRARY_PATH
   18041   shlibpath_overrides_runpath=yes
   18042   hardcode_into_libs=yes
   18043   ;;
   18044 
   18045 newsos6)
   18046   version_type=linux
   18047   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18048   shlibpath_var=LD_LIBRARY_PATH
   18049   shlibpath_overrides_runpath=yes
   18050   ;;
   18051 
   18052 nto-qnx*)
   18053   version_type=linux
   18054   need_lib_prefix=no
   18055   need_version=no
   18056   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18057   soname_spec='${libname}${release}${shared_ext}$major'
   18058   shlibpath_var=LD_LIBRARY_PATH
   18059   shlibpath_overrides_runpath=yes
   18060   ;;
   18061 
   18062 openbsd*)
   18063   version_type=sunos
   18064   sys_lib_dlsearch_path_spec="/usr/lib"
   18065   need_lib_prefix=no
   18066   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18067   case $host_os in
   18068     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18069     *)                         need_version=no  ;;
   18070   esac
   18071   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18072   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18073   shlibpath_var=LD_LIBRARY_PATH
   18074   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18075     case $host_os in
   18076       openbsd2.[89] | openbsd2.[89].*)
   18077 	shlibpath_overrides_runpath=no
   18078 	;;
   18079       *)
   18080 	shlibpath_overrides_runpath=yes
   18081 	;;
   18082       esac
   18083   else
   18084     shlibpath_overrides_runpath=yes
   18085   fi
   18086   ;;
   18087 
   18088 os2*)
   18089   libname_spec='$name'
   18090   shrext_cmds=".dll"
   18091   need_lib_prefix=no
   18092   library_names_spec='$libname${shared_ext} $libname.a'
   18093   dynamic_linker='OS/2 ld.exe'
   18094   shlibpath_var=LIBPATH
   18095   ;;
   18096 
   18097 osf3* | osf4* | osf5*)
   18098   version_type=osf
   18099   need_lib_prefix=no
   18100   need_version=no
   18101   soname_spec='${libname}${release}${shared_ext}$major'
   18102   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18103   shlibpath_var=LD_LIBRARY_PATH
   18104   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18105   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18106   ;;
   18107 
   18108 solaris*)
   18109   version_type=linux
   18110   need_lib_prefix=no
   18111   need_version=no
   18112   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18113   soname_spec='${libname}${release}${shared_ext}$major'
   18114   shlibpath_var=LD_LIBRARY_PATH
   18115   shlibpath_overrides_runpath=yes
   18116   hardcode_into_libs=yes
   18117   # ldd complains unless libraries are executable
   18118   postinstall_cmds='chmod +x $lib'
   18119   ;;
   18120 
   18121 sunos4*)
   18122   version_type=sunos
   18123   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18124   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18125   shlibpath_var=LD_LIBRARY_PATH
   18126   shlibpath_overrides_runpath=yes
   18127   if test "$with_gnu_ld" = yes; then
   18128     need_lib_prefix=no
   18129   fi
   18130   need_version=yes
   18131   ;;
   18132 
   18133 sysv4 | sysv4.3*)
   18134   version_type=linux
   18135   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18136   soname_spec='${libname}${release}${shared_ext}$major'
   18137   shlibpath_var=LD_LIBRARY_PATH
   18138   case $host_vendor in
   18139     sni)
   18140       shlibpath_overrides_runpath=no
   18141       need_lib_prefix=no
   18142       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18143       runpath_var=LD_RUN_PATH
   18144       ;;
   18145     siemens)
   18146       need_lib_prefix=no
   18147       ;;
   18148     motorola)
   18149       need_lib_prefix=no
   18150       need_version=no
   18151       shlibpath_overrides_runpath=no
   18152       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18153       ;;
   18154   esac
   18155   ;;
   18156 
   18157 sysv4*MP*)
   18158   if test -d /usr/nec ;then
   18159     version_type=linux
   18160     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18161     soname_spec='$libname${shared_ext}.$major'
   18162     shlibpath_var=LD_LIBRARY_PATH
   18163   fi
   18164   ;;
   18165 
   18166 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18167   version_type=freebsd-elf
   18168   need_lib_prefix=no
   18169   need_version=no
   18170   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18171   soname_spec='${libname}${release}${shared_ext}$major'
   18172   shlibpath_var=LD_LIBRARY_PATH
   18173   hardcode_into_libs=yes
   18174   if test "$with_gnu_ld" = yes; then
   18175     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18176     shlibpath_overrides_runpath=no
   18177   else
   18178     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18179     shlibpath_overrides_runpath=yes
   18180     case $host_os in
   18181       sco3.2v5*)
   18182         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18183 	;;
   18184     esac
   18185   fi
   18186   sys_lib_dlsearch_path_spec='/usr/lib'
   18187   ;;
   18188 
   18189 uts4*)
   18190   version_type=linux
   18191   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18192   soname_spec='${libname}${release}${shared_ext}$major'
   18193   shlibpath_var=LD_LIBRARY_PATH
   18194   ;;
   18195 
   18196 *)
   18197   dynamic_linker=no
   18198   ;;
   18199 esac
   18200 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18201 echo "${ECHO_T}$dynamic_linker" >&6; }
   18202 test "$dynamic_linker" = no && can_build_shared=no
   18203 
   18204 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18205 if test "$GCC" = yes; then
   18206   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18207 fi
   18208 
   18209 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18210 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
   18211 hardcode_action_GCJ=
   18212 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18213    test -n "$runpath_var_GCJ" || \
   18214    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18215 
   18216   # We can hardcode non-existant directories.
   18217   if test "$hardcode_direct_GCJ" != no &&
   18218      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18219      # have to relink, otherwise we might link with an installed library
   18220      # when we should be linking with a yet-to-be-installed one
   18221      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18222      test "$hardcode_minus_L_GCJ" != no; then
   18223     # Linking always hardcodes the temporary library directory.
   18224     hardcode_action_GCJ=relink
   18225   else
   18226     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18227     hardcode_action_GCJ=immediate
   18228   fi
   18229 else
   18230   # We cannot hardcode anything, or else we can only hardcode existing
   18231   # directories.
   18232   hardcode_action_GCJ=unsupported
   18233 fi
   18234 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   18235 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
   18236 
   18237 if test "$hardcode_action_GCJ" = relink; then
   18238   # Fast installation is not supported
   18239   enable_fast_install=no
   18240 elif test "$shlibpath_overrides_runpath" = yes ||
   18241      test "$enable_shared" = no; then
   18242   # Fast installation is not necessary
   18243   enable_fast_install=needless
   18244 fi
   18245 
   18246 
   18247 # The else clause should only fire when bootstrapping the
   18248 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18249 # with your package, and you will get complaints that there are
   18250 # no rules to generate ltmain.sh.
   18251 if test -f "$ltmain"; then
   18252   # See if we are running on zsh, and set the options which allow our commands through
   18253   # without removal of \ escapes.
   18254   if test -n "${ZSH_VERSION+set}" ; then
   18255     setopt NO_GLOB_SUBST
   18256   fi
   18257   # Now quote all the things that may contain metacharacters while being
   18258   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18259   # variables and quote the copies for generation of the libtool script.
   18260   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18261     SED SHELL STRIP \
   18262     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18263     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18264     deplibs_check_method reload_flag reload_cmds need_locks \
   18265     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18266     lt_cv_sys_global_symbol_to_c_name_address \
   18267     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18268     old_postinstall_cmds old_postuninstall_cmds \
   18269     compiler_GCJ \
   18270     CC_GCJ \
   18271     LD_GCJ \
   18272     lt_prog_compiler_wl_GCJ \
   18273     lt_prog_compiler_pic_GCJ \
   18274     lt_prog_compiler_static_GCJ \
   18275     lt_prog_compiler_no_builtin_flag_GCJ \
   18276     export_dynamic_flag_spec_GCJ \
   18277     thread_safe_flag_spec_GCJ \
   18278     whole_archive_flag_spec_GCJ \
   18279     enable_shared_with_static_runtimes_GCJ \
   18280     old_archive_cmds_GCJ \
   18281     old_archive_from_new_cmds_GCJ \
   18282     predep_objects_GCJ \
   18283     postdep_objects_GCJ \
   18284     predeps_GCJ \
   18285     postdeps_GCJ \
   18286     compiler_lib_search_path_GCJ \
   18287     archive_cmds_GCJ \
   18288     archive_expsym_cmds_GCJ \
   18289     postinstall_cmds_GCJ \
   18290     postuninstall_cmds_GCJ \
   18291     old_archive_from_expsyms_cmds_GCJ \
   18292     allow_undefined_flag_GCJ \
   18293     no_undefined_flag_GCJ \
   18294     export_symbols_cmds_GCJ \
   18295     hardcode_libdir_flag_spec_GCJ \
   18296     hardcode_libdir_flag_spec_ld_GCJ \
   18297     hardcode_libdir_separator_GCJ \
   18298     hardcode_automatic_GCJ \
   18299     module_cmds_GCJ \
   18300     module_expsym_cmds_GCJ \
   18301     lt_cv_prog_compiler_c_o_GCJ \
   18302     exclude_expsyms_GCJ \
   18303     include_expsyms_GCJ; do
   18304 
   18305     case $var in
   18306     old_archive_cmds_GCJ | \
   18307     old_archive_from_new_cmds_GCJ | \
   18308     archive_cmds_GCJ | \
   18309     archive_expsym_cmds_GCJ | \
   18310     module_cmds_GCJ | \
   18311     module_expsym_cmds_GCJ | \
   18312     old_archive_from_expsyms_cmds_GCJ | \
   18313     export_symbols_cmds_GCJ | \
   18314     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18315     postinstall_cmds | postuninstall_cmds | \
   18316     old_postinstall_cmds | old_postuninstall_cmds | \
   18317     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18318       # Double-quote double-evaled strings.
   18319       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18320       ;;
   18321     *)
   18322       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18323       ;;
   18324     esac
   18325   done
   18326 
   18327   case $lt_echo in
   18328   *'\$0 --fallback-echo"')
   18329     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18330     ;;
   18331   esac
   18332 
   18333 cfgfile="$ofile"
   18334 
   18335   cat <<__EOF__ >> "$cfgfile"
   18336 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18337 
   18338 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18339 
   18340 # Shell to use when invoking shell scripts.
   18341 SHELL=$lt_SHELL
   18342 
   18343 # Whether or not to build shared libraries.
   18344 build_libtool_libs=$enable_shared
   18345 
   18346 # Whether or not to build static libraries.
   18347 build_old_libs=$enable_static
   18348 
   18349 # Whether or not to add -lc for building shared libraries.
   18350 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   18351 
   18352 # Whether or not to disallow shared libs when runtime libs are static
   18353 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   18354 
   18355 # Whether or not to optimize for fast installation.
   18356 fast_install=$enable_fast_install
   18357 
   18358 # The host system.
   18359 host_alias=$host_alias
   18360 host=$host
   18361 host_os=$host_os
   18362 
   18363 # The build system.
   18364 build_alias=$build_alias
   18365 build=$build
   18366 build_os=$build_os
   18367 
   18368 # An echo program that does not interpret backslashes.
   18369 echo=$lt_echo
   18370 
   18371 # The archiver.
   18372 AR=$lt_AR
   18373 AR_FLAGS=$lt_AR_FLAGS
   18374 
   18375 # A C compiler.
   18376 LTCC=$lt_LTCC
   18377 
   18378 # LTCC compiler flags.
   18379 LTCFLAGS=$lt_LTCFLAGS
   18380 
   18381 # A language-specific compiler.
   18382 CC=$lt_compiler_GCJ
   18383 
   18384 # Is the compiler the GNU C compiler?
   18385 with_gcc=$GCC_GCJ
   18386 
   18387 # An ERE matcher.
   18388 EGREP=$lt_EGREP
   18389 
   18390 # The linker used to build libraries.
   18391 LD=$lt_LD_GCJ
   18392 
   18393 # Whether we need hard or soft links.
   18394 LN_S=$lt_LN_S
   18395 
   18396 # A BSD-compatible nm program.
   18397 NM=$lt_NM
   18398 
   18399 # A symbol stripping program
   18400 STRIP=$lt_STRIP
   18401 
   18402 # Used to examine libraries when file_magic_cmd begins "file"
   18403 MAGIC_CMD=$MAGIC_CMD
   18404 
   18405 # Used on cygwin: DLL creation program.
   18406 DLLTOOL="$DLLTOOL"
   18407 
   18408 # Used on cygwin: object dumper.
   18409 OBJDUMP="$OBJDUMP"
   18410 
   18411 # Used on cygwin: assembler.
   18412 AS="$AS"
   18413 
   18414 # The name of the directory that contains temporary libtool files.
   18415 objdir=$objdir
   18416 
   18417 # How to create reloadable object files.
   18418 reload_flag=$lt_reload_flag
   18419 reload_cmds=$lt_reload_cmds
   18420 
   18421 # How to pass a linker flag through the compiler.
   18422 wl=$lt_lt_prog_compiler_wl_GCJ
   18423 
   18424 # Object file suffix (normally "o").
   18425 objext="$ac_objext"
   18426 
   18427 # Old archive suffix (normally "a").
   18428 libext="$libext"
   18429 
   18430 # Shared library suffix (normally ".so").
   18431 shrext_cmds='$shrext_cmds'
   18432 
   18433 # Executable file suffix (normally "").
   18434 exeext="$exeext"
   18435 
   18436 # Additional compiler flags for building library objects.
   18437 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   18438 pic_mode=$pic_mode
   18439 
   18440 # What is the maximum length of a command?
   18441 max_cmd_len=$lt_cv_sys_max_cmd_len
   18442 
   18443 # Does compiler simultaneously support -c and -o options?
   18444 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   18445 
   18446 # Must we lock files when doing compilation?
   18447 need_locks=$lt_need_locks
   18448 
   18449 # Do we need the lib prefix for modules?
   18450 need_lib_prefix=$need_lib_prefix
   18451 
   18452 # Do we need a version for libraries?
   18453 need_version=$need_version
   18454 
   18455 # Whether dlopen is supported.
   18456 dlopen_support=$enable_dlopen
   18457 
   18458 # Whether dlopen of programs is supported.
   18459 dlopen_self=$enable_dlopen_self
   18460 
   18461 # Whether dlopen of statically linked programs is supported.
   18462 dlopen_self_static=$enable_dlopen_self_static
   18463 
   18464 # Compiler flag to prevent dynamic linking.
   18465 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   18466 
   18467 # Compiler flag to turn off builtin functions.
   18468 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   18469 
   18470 # Compiler flag to allow reflexive dlopens.
   18471 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   18472 
   18473 # Compiler flag to generate shared objects directly from archives.
   18474 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   18475 
   18476 # Compiler flag to generate thread-safe objects.
   18477 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   18478 
   18479 # Library versioning type.
   18480 version_type=$version_type
   18481 
   18482 # Format of library name prefix.
   18483 libname_spec=$lt_libname_spec
   18484 
   18485 # List of archive names.  First name is the real one, the rest are links.
   18486 # The last name is the one that the linker finds with -lNAME.
   18487 library_names_spec=$lt_library_names_spec
   18488 
   18489 # The coded name of the library, if different from the real name.
   18490 soname_spec=$lt_soname_spec
   18491 
   18492 # Commands used to build and install an old-style archive.
   18493 RANLIB=$lt_RANLIB
   18494 old_archive_cmds=$lt_old_archive_cmds_GCJ
   18495 old_postinstall_cmds=$lt_old_postinstall_cmds
   18496 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18497 
   18498 # Create an old-style archive from a shared archive.
   18499 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   18500 
   18501 # Create a temporary old-style archive to link instead of a shared archive.
   18502 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   18503 
   18504 # Commands used to build and install a shared archive.
   18505 archive_cmds=$lt_archive_cmds_GCJ
   18506 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   18507 postinstall_cmds=$lt_postinstall_cmds
   18508 postuninstall_cmds=$lt_postuninstall_cmds
   18509 
   18510 # Commands used to build a loadable module (assumed same as above if empty)
   18511 module_cmds=$lt_module_cmds_GCJ
   18512 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   18513 
   18514 # Commands to strip libraries.
   18515 old_striplib=$lt_old_striplib
   18516 striplib=$lt_striplib
   18517 
   18518 # Dependencies to place before the objects being linked to create a
   18519 # shared library.
   18520 predep_objects=$lt_predep_objects_GCJ
   18521 
   18522 # Dependencies to place after the objects being linked to create a
   18523 # shared library.
   18524 postdep_objects=$lt_postdep_objects_GCJ
   18525 
   18526 # Dependencies to place before the objects being linked to create a
   18527 # shared library.
   18528 predeps=$lt_predeps_GCJ
   18529 
   18530 # Dependencies to place after the objects being linked to create a
   18531 # shared library.
   18532 postdeps=$lt_postdeps_GCJ
   18533 
   18534 # The library search path used internally by the compiler when linking
   18535 # a shared library.
   18536 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   18537 
   18538 # Method to check whether dependent libraries are shared objects.
   18539 deplibs_check_method=$lt_deplibs_check_method
   18540 
   18541 # Command to use when deplibs_check_method == file_magic.
   18542 file_magic_cmd=$lt_file_magic_cmd
   18543 
   18544 # Flag that allows shared libraries with undefined symbols to be built.
   18545 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   18546 
   18547 # Flag that forces no undefined symbols.
   18548 no_undefined_flag=$lt_no_undefined_flag_GCJ
   18549 
   18550 # Commands used to finish a libtool library installation in a directory.
   18551 finish_cmds=$lt_finish_cmds
   18552 
   18553 # Same as above, but a single script fragment to be evaled but not shown.
   18554 finish_eval=$lt_finish_eval
   18555 
   18556 # Take the output of nm and produce a listing of raw symbols and C names.
   18557 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18558 
   18559 # Transform the output of nm in a proper C declaration
   18560 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18561 
   18562 # Transform the output of nm in a C name address pair
   18563 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18564 
   18565 # This is the shared library runtime path variable.
   18566 runpath_var=$runpath_var
   18567 
   18568 # This is the shared library path variable.
   18569 shlibpath_var=$shlibpath_var
   18570 
   18571 # Is shlibpath searched before the hard-coded library search path?
   18572 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18573 
   18574 # How to hardcode a shared library path into an executable.
   18575 hardcode_action=$hardcode_action_GCJ
   18576 
   18577 # Whether we should hardcode library paths into libraries.
   18578 hardcode_into_libs=$hardcode_into_libs
   18579 
   18580 # Flag to hardcode \$libdir into a binary during linking.
   18581 # This must work even if \$libdir does not exist.
   18582 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   18583 
   18584 # If ld is used when linking, flag to hardcode \$libdir into
   18585 # a binary during linking. This must work even if \$libdir does
   18586 # not exist.
   18587 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   18588 
   18589 # Whether we need a single -rpath flag with a separated argument.
   18590 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   18591 
   18592 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   18593 # resulting binary.
   18594 hardcode_direct=$hardcode_direct_GCJ
   18595 
   18596 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   18597 # resulting binary.
   18598 hardcode_minus_L=$hardcode_minus_L_GCJ
   18599 
   18600 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   18601 # the resulting binary.
   18602 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   18603 
   18604 # Set to yes if building a shared library automatically hardcodes DIR into the library
   18605 # and all subsequent libraries and executables linked against it.
   18606 hardcode_automatic=$hardcode_automatic_GCJ
   18607 
   18608 # Variables whose values should be saved in libtool wrapper scripts and
   18609 # restored at relink time.
   18610 variables_saved_for_relink="$variables_saved_for_relink"
   18611 
   18612 # Whether libtool must link a program against all its dependency libraries.
   18613 link_all_deplibs=$link_all_deplibs_GCJ
   18614 
   18615 # Compile-time system search path for libraries
   18616 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18617 
   18618 # Run-time system search path for libraries
   18619 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18620 
   18621 # Fix the shell variable \$srcfile for the compiler.
   18622 fix_srcfile_path="$fix_srcfile_path_GCJ"
   18623 
   18624 # Set to yes if exported symbols are required.
   18625 always_export_symbols=$always_export_symbols_GCJ
   18626 
   18627 # The commands to list exported symbols.
   18628 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   18629 
   18630 # The commands to extract the exported symbol list from a shared archive.
   18631 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18632 
   18633 # Symbols that should not be listed in the preloaded symbols.
   18634 exclude_expsyms=$lt_exclude_expsyms_GCJ
   18635 
   18636 # Symbols that must always be exported.
   18637 include_expsyms=$lt_include_expsyms_GCJ
   18638 
   18639 # ### END LIBTOOL TAG CONFIG: $tagname
   18640 
   18641 __EOF__
   18642 
   18643 
   18644 else
   18645   # If there is no Makefile yet, we rely on a make rule to execute
   18646   # `config.status --recheck' to rerun these tests and create the
   18647   # libtool script then.
   18648   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   18649   if test -f "$ltmain_in"; then
   18650     test -f Makefile && make "$ltmain"
   18651   fi
   18652 fi
   18653 
   18654 
   18655 ac_ext=c
   18656 ac_cpp='$CPP $CPPFLAGS'
   18657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18660 
   18661 CC="$lt_save_CC"
   18662 
   18663 	else
   18664 	  tagname=""
   18665 	fi
   18666 	;;
   18667 
   18668       RC)
   18669 
   18670 
   18671 # Source file extension for RC test sources.
   18672 ac_ext=rc
   18673 
   18674 # Object file extension for compiled RC test sources.
   18675 objext=o
   18676 objext_RC=$objext
   18677 
   18678 # Code to be used in simple compile tests
   18679 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
   18680 
   18681 # Code to be used in simple link tests
   18682 lt_simple_link_test_code="$lt_simple_compile_test_code"
   18683 
   18684 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   18685 
   18686 # If no C compiler was specified, use CC.
   18687 LTCC=${LTCC-"$CC"}
   18688 
   18689 # If no C compiler flags were specified, use CFLAGS.
   18690 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   18691 
   18692 # Allow CC to be a program name with arguments.
   18693 compiler=$CC
   18694 
   18695 
   18696 # save warnings/boilerplate of simple test code
   18697 ac_outfile=conftest.$ac_objext
   18698 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   18699 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18700 _lt_compiler_boilerplate=`cat conftest.err`
   18701 $rm conftest*
   18702 
   18703 ac_outfile=conftest.$ac_objext
   18704 printf "$lt_simple_link_test_code" >conftest.$ac_ext
   18705 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   18706 _lt_linker_boilerplate=`cat conftest.err`
   18707 $rm conftest*
   18708 
   18709 
   18710 # Allow CC to be a program name with arguments.
   18711 lt_save_CC="$CC"
   18712 CC=${RC-"windres"}
   18713 compiler=$CC
   18714 compiler_RC=$CC
   18715 for cc_temp in $compiler""; do
   18716   case $cc_temp in
   18717     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18718     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18719     \-*) ;;
   18720     *) break;;
   18721   esac
   18722 done
   18723 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   18724 
   18725 lt_cv_prog_compiler_c_o_RC=yes
   18726 
   18727 # The else clause should only fire when bootstrapping the
   18728 # libtool distribution, otherwise you forgot to ship ltmain.sh
   18729 # with your package, and you will get complaints that there are
   18730 # no rules to generate ltmain.sh.
   18731 if test -f "$ltmain"; then
   18732   # See if we are running on zsh, and set the options which allow our commands through
   18733   # without removal of \ escapes.
   18734   if test -n "${ZSH_VERSION+set}" ; then
   18735     setopt NO_GLOB_SUBST
   18736   fi
   18737   # Now quote all the things that may contain metacharacters while being
   18738   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   18739   # variables and quote the copies for generation of the libtool script.
   18740   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   18741     SED SHELL STRIP \
   18742     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   18743     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   18744     deplibs_check_method reload_flag reload_cmds need_locks \
   18745     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   18746     lt_cv_sys_global_symbol_to_c_name_address \
   18747     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   18748     old_postinstall_cmds old_postuninstall_cmds \
   18749     compiler_RC \
   18750     CC_RC \
   18751     LD_RC \
   18752     lt_prog_compiler_wl_RC \
   18753     lt_prog_compiler_pic_RC \
   18754     lt_prog_compiler_static_RC \
   18755     lt_prog_compiler_no_builtin_flag_RC \
   18756     export_dynamic_flag_spec_RC \
   18757     thread_safe_flag_spec_RC \
   18758     whole_archive_flag_spec_RC \
   18759     enable_shared_with_static_runtimes_RC \
   18760     old_archive_cmds_RC \
   18761     old_archive_from_new_cmds_RC \
   18762     predep_objects_RC \
   18763     postdep_objects_RC \
   18764     predeps_RC \
   18765     postdeps_RC \
   18766     compiler_lib_search_path_RC \
   18767     archive_cmds_RC \
   18768     archive_expsym_cmds_RC \
   18769     postinstall_cmds_RC \
   18770     postuninstall_cmds_RC \
   18771     old_archive_from_expsyms_cmds_RC \
   18772     allow_undefined_flag_RC \
   18773     no_undefined_flag_RC \
   18774     export_symbols_cmds_RC \
   18775     hardcode_libdir_flag_spec_RC \
   18776     hardcode_libdir_flag_spec_ld_RC \
   18777     hardcode_libdir_separator_RC \
   18778     hardcode_automatic_RC \
   18779     module_cmds_RC \
   18780     module_expsym_cmds_RC \
   18781     lt_cv_prog_compiler_c_o_RC \
   18782     exclude_expsyms_RC \
   18783     include_expsyms_RC; do
   18784 
   18785     case $var in
   18786     old_archive_cmds_RC | \
   18787     old_archive_from_new_cmds_RC | \
   18788     archive_cmds_RC | \
   18789     archive_expsym_cmds_RC | \
   18790     module_cmds_RC | \
   18791     module_expsym_cmds_RC | \
   18792     old_archive_from_expsyms_cmds_RC | \
   18793     export_symbols_cmds_RC | \
   18794     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   18795     postinstall_cmds | postuninstall_cmds | \
   18796     old_postinstall_cmds | old_postuninstall_cmds | \
   18797     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   18798       # Double-quote double-evaled strings.
   18799       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   18800       ;;
   18801     *)
   18802       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   18803       ;;
   18804     esac
   18805   done
   18806 
   18807   case $lt_echo in
   18808   *'\$0 --fallback-echo"')
   18809     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   18810     ;;
   18811   esac
   18812 
   18813 cfgfile="$ofile"
   18814 
   18815   cat <<__EOF__ >> "$cfgfile"
   18816 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   18817 
   18818 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18819 
   18820 # Shell to use when invoking shell scripts.
   18821 SHELL=$lt_SHELL
   18822 
   18823 # Whether or not to build shared libraries.
   18824 build_libtool_libs=$enable_shared
   18825 
   18826 # Whether or not to build static libraries.
   18827 build_old_libs=$enable_static
   18828 
   18829 # Whether or not to add -lc for building shared libraries.
   18830 build_libtool_need_lc=$archive_cmds_need_lc_RC
   18831 
   18832 # Whether or not to disallow shared libs when runtime libs are static
   18833 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   18834 
   18835 # Whether or not to optimize for fast installation.
   18836 fast_install=$enable_fast_install
   18837 
   18838 # The host system.
   18839 host_alias=$host_alias
   18840 host=$host
   18841 host_os=$host_os
   18842 
   18843 # The build system.
   18844 build_alias=$build_alias
   18845 build=$build
   18846 build_os=$build_os
   18847 
   18848 # An echo program that does not interpret backslashes.
   18849 echo=$lt_echo
   18850 
   18851 # The archiver.
   18852 AR=$lt_AR
   18853 AR_FLAGS=$lt_AR_FLAGS
   18854 
   18855 # A C compiler.
   18856 LTCC=$lt_LTCC
   18857 
   18858 # LTCC compiler flags.
   18859 LTCFLAGS=$lt_LTCFLAGS
   18860 
   18861 # A language-specific compiler.
   18862 CC=$lt_compiler_RC
   18863 
   18864 # Is the compiler the GNU C compiler?
   18865 with_gcc=$GCC_RC
   18866 
   18867 # An ERE matcher.
   18868 EGREP=$lt_EGREP
   18869 
   18870 # The linker used to build libraries.
   18871 LD=$lt_LD_RC
   18872 
   18873 # Whether we need hard or soft links.
   18874 LN_S=$lt_LN_S
   18875 
   18876 # A BSD-compatible nm program.
   18877 NM=$lt_NM
   18878 
   18879 # A symbol stripping program
   18880 STRIP=$lt_STRIP
   18881 
   18882 # Used to examine libraries when file_magic_cmd begins "file"
   18883 MAGIC_CMD=$MAGIC_CMD
   18884 
   18885 # Used on cygwin: DLL creation program.
   18886 DLLTOOL="$DLLTOOL"
   18887 
   18888 # Used on cygwin: object dumper.
   18889 OBJDUMP="$OBJDUMP"
   18890 
   18891 # Used on cygwin: assembler.
   18892 AS="$AS"
   18893 
   18894 # The name of the directory that contains temporary libtool files.
   18895 objdir=$objdir
   18896 
   18897 # How to create reloadable object files.
   18898 reload_flag=$lt_reload_flag
   18899 reload_cmds=$lt_reload_cmds
   18900 
   18901 # How to pass a linker flag through the compiler.
   18902 wl=$lt_lt_prog_compiler_wl_RC
   18903 
   18904 # Object file suffix (normally "o").
   18905 objext="$ac_objext"
   18906 
   18907 # Old archive suffix (normally "a").
   18908 libext="$libext"
   18909 
   18910 # Shared library suffix (normally ".so").
   18911 shrext_cmds='$shrext_cmds'
   18912 
   18913 # Executable file suffix (normally "").
   18914 exeext="$exeext"
   18915 
   18916 # Additional compiler flags for building library objects.
   18917 pic_flag=$lt_lt_prog_compiler_pic_RC
   18918 pic_mode=$pic_mode
   18919 
   18920 # What is the maximum length of a command?
   18921 max_cmd_len=$lt_cv_sys_max_cmd_len
   18922 
   18923 # Does compiler simultaneously support -c and -o options?
   18924 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   18925 
   18926 # Must we lock files when doing compilation?
   18927 need_locks=$lt_need_locks
   18928 
   18929 # Do we need the lib prefix for modules?
   18930 need_lib_prefix=$need_lib_prefix
   18931 
   18932 # Do we need a version for libraries?
   18933 need_version=$need_version
   18934 
   18935 # Whether dlopen is supported.
   18936 dlopen_support=$enable_dlopen
   18937 
   18938 # Whether dlopen of programs is supported.
   18939 dlopen_self=$enable_dlopen_self
   18940 
   18941 # Whether dlopen of statically linked programs is supported.
   18942 dlopen_self_static=$enable_dlopen_self_static
   18943 
   18944 # Compiler flag to prevent dynamic linking.
   18945 link_static_flag=$lt_lt_prog_compiler_static_RC
   18946 
   18947 # Compiler flag to turn off builtin functions.
   18948 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   18949 
   18950 # Compiler flag to allow reflexive dlopens.
   18951 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   18952 
   18953 # Compiler flag to generate shared objects directly from archives.
   18954 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   18955 
   18956 # Compiler flag to generate thread-safe objects.
   18957 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   18958 
   18959 # Library versioning type.
   18960 version_type=$version_type
   18961 
   18962 # Format of library name prefix.
   18963 libname_spec=$lt_libname_spec
   18964 
   18965 # List of archive names.  First name is the real one, the rest are links.
   18966 # The last name is the one that the linker finds with -lNAME.
   18967 library_names_spec=$lt_library_names_spec
   18968 
   18969 # The coded name of the library, if different from the real name.
   18970 soname_spec=$lt_soname_spec
   18971 
   18972 # Commands used to build and install an old-style archive.
   18973 RANLIB=$lt_RANLIB
   18974 old_archive_cmds=$lt_old_archive_cmds_RC
   18975 old_postinstall_cmds=$lt_old_postinstall_cmds
   18976 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18977 
   18978 # Create an old-style archive from a shared archive.
   18979 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   18980 
   18981 # Create a temporary old-style archive to link instead of a shared archive.
   18982 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   18983 
   18984 # Commands used to build and install a shared archive.
   18985 archive_cmds=$lt_archive_cmds_RC
   18986 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   18987 postinstall_cmds=$lt_postinstall_cmds
   18988 postuninstall_cmds=$lt_postuninstall_cmds
   18989 
   18990 # Commands used to build a loadable module (assumed same as above if empty)
   18991 module_cmds=$lt_module_cmds_RC
   18992 module_expsym_cmds=$lt_module_expsym_cmds_RC
   18993 
   18994 # Commands to strip libraries.
   18995 old_striplib=$lt_old_striplib
   18996 striplib=$lt_striplib
   18997 
   18998 # Dependencies to place before the objects being linked to create a
   18999 # shared library.
   19000 predep_objects=$lt_predep_objects_RC
   19001 
   19002 # Dependencies to place after the objects being linked to create a
   19003 # shared library.
   19004 postdep_objects=$lt_postdep_objects_RC
   19005 
   19006 # Dependencies to place before the objects being linked to create a
   19007 # shared library.
   19008 predeps=$lt_predeps_RC
   19009 
   19010 # Dependencies to place after the objects being linked to create a
   19011 # shared library.
   19012 postdeps=$lt_postdeps_RC
   19013 
   19014 # The library search path used internally by the compiler when linking
   19015 # a shared library.
   19016 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19017 
   19018 # Method to check whether dependent libraries are shared objects.
   19019 deplibs_check_method=$lt_deplibs_check_method
   19020 
   19021 # Command to use when deplibs_check_method == file_magic.
   19022 file_magic_cmd=$lt_file_magic_cmd
   19023 
   19024 # Flag that allows shared libraries with undefined symbols to be built.
   19025 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19026 
   19027 # Flag that forces no undefined symbols.
   19028 no_undefined_flag=$lt_no_undefined_flag_RC
   19029 
   19030 # Commands used to finish a libtool library installation in a directory.
   19031 finish_cmds=$lt_finish_cmds
   19032 
   19033 # Same as above, but a single script fragment to be evaled but not shown.
   19034 finish_eval=$lt_finish_eval
   19035 
   19036 # Take the output of nm and produce a listing of raw symbols and C names.
   19037 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19038 
   19039 # Transform the output of nm in a proper C declaration
   19040 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19041 
   19042 # Transform the output of nm in a C name address pair
   19043 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19044 
   19045 # This is the shared library runtime path variable.
   19046 runpath_var=$runpath_var
   19047 
   19048 # This is the shared library path variable.
   19049 shlibpath_var=$shlibpath_var
   19050 
   19051 # Is shlibpath searched before the hard-coded library search path?
   19052 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19053 
   19054 # How to hardcode a shared library path into an executable.
   19055 hardcode_action=$hardcode_action_RC
   19056 
   19057 # Whether we should hardcode library paths into libraries.
   19058 hardcode_into_libs=$hardcode_into_libs
   19059 
   19060 # Flag to hardcode \$libdir into a binary during linking.
   19061 # This must work even if \$libdir does not exist.
   19062 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19063 
   19064 # If ld is used when linking, flag to hardcode \$libdir into
   19065 # a binary during linking. This must work even if \$libdir does
   19066 # not exist.
   19067 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19068 
   19069 # Whether we need a single -rpath flag with a separated argument.
   19070 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19071 
   19072 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19073 # resulting binary.
   19074 hardcode_direct=$hardcode_direct_RC
   19075 
   19076 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19077 # resulting binary.
   19078 hardcode_minus_L=$hardcode_minus_L_RC
   19079 
   19080 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19081 # the resulting binary.
   19082 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19083 
   19084 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19085 # and all subsequent libraries and executables linked against it.
   19086 hardcode_automatic=$hardcode_automatic_RC
   19087 
   19088 # Variables whose values should be saved in libtool wrapper scripts and
   19089 # restored at relink time.
   19090 variables_saved_for_relink="$variables_saved_for_relink"
   19091 
   19092 # Whether libtool must link a program against all its dependency libraries.
   19093 link_all_deplibs=$link_all_deplibs_RC
   19094 
   19095 # Compile-time system search path for libraries
   19096 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19097 
   19098 # Run-time system search path for libraries
   19099 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19100 
   19101 # Fix the shell variable \$srcfile for the compiler.
   19102 fix_srcfile_path="$fix_srcfile_path_RC"
   19103 
   19104 # Set to yes if exported symbols are required.
   19105 always_export_symbols=$always_export_symbols_RC
   19106 
   19107 # The commands to list exported symbols.
   19108 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19109 
   19110 # The commands to extract the exported symbol list from a shared archive.
   19111 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19112 
   19113 # Symbols that should not be listed in the preloaded symbols.
   19114 exclude_expsyms=$lt_exclude_expsyms_RC
   19115 
   19116 # Symbols that must always be exported.
   19117 include_expsyms=$lt_include_expsyms_RC
   19118 
   19119 # ### END LIBTOOL TAG CONFIG: $tagname
   19120 
   19121 __EOF__
   19122 
   19123 
   19124 else
   19125   # If there is no Makefile yet, we rely on a make rule to execute
   19126   # `config.status --recheck' to rerun these tests and create the
   19127   # libtool script then.
   19128   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19129   if test -f "$ltmain_in"; then
   19130     test -f Makefile && make "$ltmain"
   19131   fi
   19132 fi
   19133 
   19134 
   19135 ac_ext=c
   19136 ac_cpp='$CPP $CPPFLAGS'
   19137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19140 
   19141 CC="$lt_save_CC"
   19142 
   19143 	;;
   19144 
   19145       *)
   19146 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19147 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19148    { (exit 1); exit 1; }; }
   19149 	;;
   19150       esac
   19151 
   19152       # Append the new tag name to the list of available tags.
   19153       if test -n "$tagname" ; then
   19154       available_tags="$available_tags $tagname"
   19155     fi
   19156     fi
   19157   done
   19158   IFS="$lt_save_ifs"
   19159 
   19160   # Now substitute the updated list of available tags.
   19161   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19162     mv "${ofile}T" "$ofile"
   19163     chmod +x "$ofile"
   19164   else
   19165     rm -f "${ofile}T"
   19166     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19167 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19168    { (exit 1); exit 1; }; }
   19169   fi
   19170 fi
   19171 
   19172 
   19173 
   19174 # This can be used to rebuild libtool when needed
   19175 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19176 
   19177 # Always use our own libtool.
   19178 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19179 
   19180 # Prevent multiple expansion
   19181 
   19182 
   19183 
   19184 
   19185 
   19186 
   19187 
   19188 
   19189 
   19190 
   19191 
   19192 
   19193 
   19194 
   19195 
   19196 
   19197 
   19198 
   19199 
   19200 
   19201 
   19202 { echo "$as_me:$LINENO: checking for strcasecmp" >&5
   19203 echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6; }
   19204 if test "${ac_cv_func_strcasecmp+set}" = set; then
   19205   echo $ECHO_N "(cached) $ECHO_C" >&6
   19206 else
   19207   cat >conftest.$ac_ext <<_ACEOF
   19208 /* confdefs.h.  */
   19209 _ACEOF
   19210 cat confdefs.h >>conftest.$ac_ext
   19211 cat >>conftest.$ac_ext <<_ACEOF
   19212 /* end confdefs.h.  */
   19213 /* Define strcasecmp to an innocuous variant, in case <limits.h> declares strcasecmp.
   19214    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   19215 #define strcasecmp innocuous_strcasecmp
   19216 
   19217 /* System header to define __stub macros and hopefully few prototypes,
   19218     which can conflict with char strcasecmp (); below.
   19219     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   19220     <limits.h> exists even on freestanding compilers.  */
   19221 
   19222 #ifdef __STDC__
   19223 # include <limits.h>
   19224 #else
   19225 # include <assert.h>
   19226 #endif
   19227 
   19228 #undef strcasecmp
   19229 
   19230 /* Override any GCC internal prototype to avoid an error.
   19231    Use char because int might match the return type of a GCC
   19232    builtin and then its argument prototype would still apply.  */
   19233 #ifdef __cplusplus
   19234 extern "C"
   19235 #endif
   19236 char strcasecmp ();
   19237 /* The GNU C library defines this for functions which it implements
   19238     to always fail with ENOSYS.  Some functions are actually named
   19239     something starting with __ and the normal name is an alias.  */
   19240 #if defined __stub_strcasecmp || defined __stub___strcasecmp
   19241 choke me
   19242 #endif
   19243 
   19244 int
   19245 main ()
   19246 {
   19247 return strcasecmp ();
   19248   ;
   19249   return 0;
   19250 }
   19251 _ACEOF
   19252 rm -f conftest.$ac_objext conftest$ac_exeext
   19253 if { (ac_try="$ac_link"
   19254 case "(($ac_try" in
   19255   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19256   *) ac_try_echo=$ac_try;;
   19257 esac
   19258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19259   (eval "$ac_link") 2>conftest.er1
   19260   ac_status=$?
   19261   grep -v '^ *+' conftest.er1 >conftest.err
   19262   rm -f conftest.er1
   19263   cat conftest.err >&5
   19264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19265   (exit $ac_status); } && {
   19266 	 test -z "$ac_c_werror_flag" ||
   19267 	 test ! -s conftest.err
   19268        } && test -s conftest$ac_exeext &&
   19269        $as_test_x conftest$ac_exeext; then
   19270   ac_cv_func_strcasecmp=yes
   19271 else
   19272   echo "$as_me: failed program was:" >&5
   19273 sed 's/^/| /' conftest.$ac_ext >&5
   19274 
   19275 	ac_cv_func_strcasecmp=no
   19276 fi
   19277 
   19278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   19279       conftest$ac_exeext conftest.$ac_ext
   19280 fi
   19281 { echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
   19282 echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6; }
   19283 if test $ac_cv_func_strcasecmp = yes; then
   19284   :
   19285 else
   19286 
   19287 cat >>confdefs.h <<\_ACEOF
   19288 #define NEED_STRCASECMP 1
   19289 _ACEOF
   19290 
   19291 fi
   19292 
   19293 
   19294 # Check for dependencies
   19295 
   19296 
   19297 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   19298 	if test -n "$ac_tool_prefix"; then
   19299   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   19300 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   19301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19303 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   19304   echo $ECHO_N "(cached) $ECHO_C" >&6
   19305 else
   19306   case $PKG_CONFIG in
   19307   [\\/]* | ?:[\\/]*)
   19308   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19309   ;;
   19310   *)
   19311   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19312 for as_dir in $PATH
   19313 do
   19314   IFS=$as_save_IFS
   19315   test -z "$as_dir" && as_dir=.
   19316   for ac_exec_ext in '' $ac_executable_extensions; do
   19317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19318     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19319     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19320     break 2
   19321   fi
   19322 done
   19323 done
   19324 IFS=$as_save_IFS
   19325 
   19326   ;;
   19327 esac
   19328 fi
   19329 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19330 if test -n "$PKG_CONFIG"; then
   19331   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   19332 echo "${ECHO_T}$PKG_CONFIG" >&6; }
   19333 else
   19334   { echo "$as_me:$LINENO: result: no" >&5
   19335 echo "${ECHO_T}no" >&6; }
   19336 fi
   19337 
   19338 
   19339 fi
   19340 if test -z "$ac_cv_path_PKG_CONFIG"; then
   19341   ac_pt_PKG_CONFIG=$PKG_CONFIG
   19342   # Extract the first word of "pkg-config", so it can be a program name with args.
   19343 set dummy pkg-config; ac_word=$2
   19344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   19345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   19346 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   19347   echo $ECHO_N "(cached) $ECHO_C" >&6
   19348 else
   19349   case $ac_pt_PKG_CONFIG in
   19350   [\\/]* | ?:[\\/]*)
   19351   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   19352   ;;
   19353   *)
   19354   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19355 for as_dir in $PATH
   19356 do
   19357   IFS=$as_save_IFS
   19358   test -z "$as_dir" && as_dir=.
   19359   for ac_exec_ext in '' $ac_executable_extensions; do
   19360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   19361     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19362     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   19363     break 2
   19364   fi
   19365 done
   19366 done
   19367 IFS=$as_save_IFS
   19368 
   19369   ;;
   19370 esac
   19371 fi
   19372 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   19373 if test -n "$ac_pt_PKG_CONFIG"; then
   19374   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   19375 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
   19376 else
   19377   { echo "$as_me:$LINENO: result: no" >&5
   19378 echo "${ECHO_T}no" >&6; }
   19379 fi
   19380 
   19381   if test "x$ac_pt_PKG_CONFIG" = x; then
   19382     PKG_CONFIG=""
   19383   else
   19384     case $cross_compiling:$ac_tool_warned in
   19385 yes:)
   19386 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   19387 whose name does not start with the host triplet.  If you think this
   19388 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   19389 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   19390 whose name does not start with the host triplet.  If you think this
   19391 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   19392 ac_tool_warned=yes ;;
   19393 esac
   19394     PKG_CONFIG=$ac_pt_PKG_CONFIG
   19395   fi
   19396 else
   19397   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   19398 fi
   19399 
   19400 fi
   19401 if test -n "$PKG_CONFIG"; then
   19402 	_pkg_min_version=0.9.0
   19403 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   19404 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
   19405 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   19406 		{ echo "$as_me:$LINENO: result: yes" >&5
   19407 echo "${ECHO_T}yes" >&6; }
   19408 	else
   19409 		{ echo "$as_me:$LINENO: result: no" >&5
   19410 echo "${ECHO_T}no" >&6; }
   19411 		PKG_CONFIG=""
   19412 	fi
   19413 
   19414 fi
   19415 
   19416 pkg_failed=no
   19417 { echo "$as_me:$LINENO: checking for XKBFILE" >&5
   19418 echo $ECHO_N "checking for XKBFILE... $ECHO_C" >&6; }
   19419 
   19420 if test -n "$PKG_CONFIG"; then
   19421         if test -n "$PKG_CONFIG" && \
   19422     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 kbproto\"") >&5
   19423   ($PKG_CONFIG --exists --print-errors "x11 kbproto") 2>&5
   19424   ac_status=$?
   19425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19426   (exit $ac_status); }; then
   19427   pkg_cv_XKBFILE_CFLAGS=`$PKG_CONFIG --cflags "x11 kbproto" 2>/dev/null`
   19428 else
   19429   pkg_failed=yes
   19430 fi
   19431 else
   19432 	pkg_failed=untried
   19433 fi
   19434 if test -n "$PKG_CONFIG"; then
   19435         if test -n "$PKG_CONFIG" && \
   19436     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 kbproto\"") >&5
   19437   ($PKG_CONFIG --exists --print-errors "x11 kbproto") 2>&5
   19438   ac_status=$?
   19439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19440   (exit $ac_status); }; then
   19441   pkg_cv_XKBFILE_LIBS=`$PKG_CONFIG --libs "x11 kbproto" 2>/dev/null`
   19442 else
   19443   pkg_failed=yes
   19444 fi
   19445 else
   19446 	pkg_failed=untried
   19447 fi
   19448 
   19449 if test $pkg_failed = yes; then
   19450 	XKBFILE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 kbproto"`
   19451 	# Put the nasty error message in config.log where it belongs
   19452 	echo "$XKBFILE_PKG_ERRORS" 1>&5
   19453 
   19454 	{ { echo "$as_me:$LINENO: error: Package requirements (x11 kbproto) were not met.
   19455 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19456 installed software in a non-standard prefix.
   19457 
   19458 Alternatively you may set the XKBFILE_CFLAGS and XKBFILE_LIBS environment variables
   19459 to avoid the need to call pkg-config.  See the pkg-config man page for
   19460 more details." >&5
   19461 echo "$as_me: error: Package requirements (x11 kbproto) were not met.
   19462 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19463 installed software in a non-standard prefix.
   19464 
   19465 Alternatively you may set the XKBFILE_CFLAGS and XKBFILE_LIBS environment variables
   19466 to avoid the need to call pkg-config.  See the pkg-config man page for
   19467 more details." >&2;}
   19468    { (exit 1); exit 1; }; }
   19469 elif test $pkg_failed = untried; then
   19470 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   19471 is in your PATH or set the PKG_CONFIG environment variable to the full
   19472 path to pkg-config.
   19473 
   19474 Alternatively you may set the XKBFILE_CFLAGS and XKBFILE_LIBS environment variables
   19475 to avoid the need to call pkg-config.  See the pkg-config man page for
   19476 more details.
   19477 
   19478 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19479 See \`config.log' for more details." >&5
   19480 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   19481 is in your PATH or set the PKG_CONFIG environment variable to the full
   19482 path to pkg-config.
   19483 
   19484 Alternatively you may set the XKBFILE_CFLAGS and XKBFILE_LIBS environment variables
   19485 to avoid the need to call pkg-config.  See the pkg-config man page for
   19486 more details.
   19487 
   19488 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
   19489 See \`config.log' for more details." >&2;}
   19490    { (exit 1); exit 1; }; }
   19491 else
   19492 	XKBFILE_CFLAGS=$pkg_cv_XKBFILE_CFLAGS
   19493 	XKBFILE_LIBS=$pkg_cv_XKBFILE_LIBS
   19494         { echo "$as_me:$LINENO: result: yes" >&5
   19495 echo "${ECHO_T}yes" >&6; }
   19496 	:
   19497 fi
   19498 
   19499 
   19500 
   19501 
   19502 
   19503 
   19504 # Check whether --with-release-version was given.
   19505 if test "${with_release_version+set}" = set; then
   19506   withval=$with_release_version; RELEASE_VERSION="$withval"
   19507 else
   19508   RELEASE_VERSION=""
   19509 fi
   19510 
   19511 	if test "x$RELEASE_VERSION" != "x"; then
   19512 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   19513 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   19514 		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   19515 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   19516 	fi
   19517 
   19518 cat >>confdefs.h <<_ACEOF
   19519 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19520 _ACEOF
   19521 
   19522 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19523 	if test "x$PVM" = "x"; then
   19524 		PVM="0"
   19525 	fi
   19526 
   19527 cat >>confdefs.h <<_ACEOF
   19528 #define PACKAGE_VERSION_MINOR $PVM
   19529 _ACEOF
   19530 
   19531 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19532 	if test "x$PVP" = "x"; then
   19533 		PVP="0"
   19534 	fi
   19535 
   19536 cat >>confdefs.h <<_ACEOF
   19537 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   19538 _ACEOF
   19539 
   19540 
   19541 
   19542 ac_config_files="$ac_config_files Makefile src/Makefile xkbfile.pc"
   19543 
   19544 cat >confcache <<\_ACEOF
   19545 # This file is a shell script that caches the results of configure
   19546 # tests run on this system so they can be shared between configure
   19547 # scripts and configure runs, see configure's option --config-cache.
   19548 # It is not useful on other systems.  If it contains results you don't
   19549 # want to keep, you may remove or edit it.
   19550 #
   19551 # config.status only pays attention to the cache file if you give it
   19552 # the --recheck option to rerun configure.
   19553 #
   19554 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19555 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19556 # following values.
   19557 
   19558 _ACEOF
   19559 
   19560 # The following way of writing the cache mishandles newlines in values,
   19561 # but we know of no workaround that is simple, portable, and efficient.
   19562 # So, we kill variables containing newlines.
   19563 # Ultrix sh set writes to stderr and can't be redirected directly,
   19564 # and sets the high bit in the cache file unless we assign to the vars.
   19565 (
   19566   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19567     eval ac_val=\$$ac_var
   19568     case $ac_val in #(
   19569     *${as_nl}*)
   19570       case $ac_var in #(
   19571       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   19572 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   19573       esac
   19574       case $ac_var in #(
   19575       _ | IFS | as_nl) ;; #(
   19576       *) $as_unset $ac_var ;;
   19577       esac ;;
   19578     esac
   19579   done
   19580 
   19581   (set) 2>&1 |
   19582     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19583     *${as_nl}ac_space=\ *)
   19584       # `set' does not quote correctly, so add quotes (double-quote
   19585       # substitution turns \\\\ into \\, and sed turns \\ into \).
   19586       sed -n \
   19587 	"s/'/'\\\\''/g;
   19588 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19589       ;; #(
   19590     *)
   19591       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19592       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19593       ;;
   19594     esac |
   19595     sort
   19596 ) |
   19597   sed '
   19598      /^ac_cv_env_/b end
   19599      t clear
   19600      :clear
   19601      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19602      t end
   19603      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19604      :end' >>confcache
   19605 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19606   if test -w "$cache_file"; then
   19607     test "x$cache_file" != "x/dev/null" &&
   19608       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   19609 echo "$as_me: updating cache $cache_file" >&6;}
   19610     cat confcache >$cache_file
   19611   else
   19612     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   19613 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19614   fi
   19615 fi
   19616 rm -f confcache
   19617 
   19618 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19619 # Let make expand exec_prefix.
   19620 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19621 
   19622 DEFS=-DHAVE_CONFIG_H
   19623 
   19624 ac_libobjs=
   19625 ac_ltlibobjs=
   19626 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19627   # 1. Remove the extension, and $U if already installed.
   19628   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19629   ac_i=`echo "$ac_i" | sed "$ac_script"`
   19630   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19631   #    will be set to the directory where LIBOBJS objects are built.
   19632   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19633   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   19634 done
   19635 LIBOBJS=$ac_libobjs
   19636 
   19637 LTLIBOBJS=$ac_ltlibobjs
   19638 
   19639 
   19640 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   19641   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   19642 Usually this means the macro was only invoked conditionally." >&5
   19643 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   19644 Usually this means the macro was only invoked conditionally." >&2;}
   19645    { (exit 1); exit 1; }; }
   19646 fi
   19647 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19648   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   19649 Usually this means the macro was only invoked conditionally." >&5
   19650 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   19651 Usually this means the macro was only invoked conditionally." >&2;}
   19652    { (exit 1); exit 1; }; }
   19653 fi
   19654 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19655   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   19656 Usually this means the macro was only invoked conditionally." >&5
   19657 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   19658 Usually this means the macro was only invoked conditionally." >&2;}
   19659    { (exit 1); exit 1; }; }
   19660 fi
   19661 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   19662   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   19663 Usually this means the macro was only invoked conditionally." >&5
   19664 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   19665 Usually this means the macro was only invoked conditionally." >&2;}
   19666    { (exit 1); exit 1; }; }
   19667 fi
   19668 
   19669 : ${CONFIG_STATUS=./config.status}
   19670 ac_clean_files_save=$ac_clean_files
   19671 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19672 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   19673 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19674 cat >$CONFIG_STATUS <<_ACEOF
   19675 #! $SHELL
   19676 # Generated by $as_me.
   19677 # Run this file to recreate the current configuration.
   19678 # Compiler output produced by configure, useful for debugging
   19679 # configure, is in config.log if it exists.
   19680 
   19681 debug=false
   19682 ac_cs_recheck=false
   19683 ac_cs_silent=false
   19684 SHELL=\${CONFIG_SHELL-$SHELL}
   19685 _ACEOF
   19686 
   19687 cat >>$CONFIG_STATUS <<\_ACEOF
   19688 ## --------------------- ##
   19689 ## M4sh Initialization.  ##
   19690 ## --------------------- ##
   19691 
   19692 # Be more Bourne compatible
   19693 DUALCASE=1; export DUALCASE # for MKS sh
   19694 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   19695   emulate sh
   19696   NULLCMD=:
   19697   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   19698   # is contrary to our usage.  Disable this feature.
   19699   alias -g '${1+"$@"}'='"$@"'
   19700   setopt NO_GLOB_SUBST
   19701 else
   19702   case `(set -o) 2>/dev/null` in
   19703   *posix*) set -o posix ;;
   19704 esac
   19705 
   19706 fi
   19707 
   19708 
   19709 
   19710 
   19711 # PATH needs CR
   19712 # Avoid depending upon Character Ranges.
   19713 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19714 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19715 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19716 as_cr_digits='0123456789'
   19717 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19718 
   19719 # The user is always right.
   19720 if test "${PATH_SEPARATOR+set}" != set; then
   19721   echo "#! /bin/sh" >conf$$.sh
   19722   echo  "exit 0"   >>conf$$.sh
   19723   chmod +x conf$$.sh
   19724   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   19725     PATH_SEPARATOR=';'
   19726   else
   19727     PATH_SEPARATOR=:
   19728   fi
   19729   rm -f conf$$.sh
   19730 fi
   19731 
   19732 # Support unset when possible.
   19733 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   19734   as_unset=unset
   19735 else
   19736   as_unset=false
   19737 fi
   19738 
   19739 
   19740 # IFS
   19741 # We need space, tab and new line, in precisely that order.  Quoting is
   19742 # there to prevent editors from complaining about space-tab.
   19743 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19744 # splitting by setting IFS to empty value.)
   19745 as_nl='
   19746 '
   19747 IFS=" ""	$as_nl"
   19748 
   19749 # Find who we are.  Look in the path if we contain no directory separator.
   19750 case $0 in
   19751   *[\\/]* ) as_myself=$0 ;;
   19752   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19753 for as_dir in $PATH
   19754 do
   19755   IFS=$as_save_IFS
   19756   test -z "$as_dir" && as_dir=.
   19757   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19758 done
   19759 IFS=$as_save_IFS
   19760 
   19761      ;;
   19762 esac
   19763 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19764 # in which case we are not to be found in the path.
   19765 if test "x$as_myself" = x; then
   19766   as_myself=$0
   19767 fi
   19768 if test ! -f "$as_myself"; then
   19769   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19770   { (exit 1); exit 1; }
   19771 fi
   19772 
   19773 # Work around bugs in pre-3.0 UWIN ksh.
   19774 for as_var in ENV MAIL MAILPATH
   19775 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   19776 done
   19777 PS1='$ '
   19778 PS2='> '
   19779 PS4='+ '
   19780 
   19781 # NLS nuisances.
   19782 for as_var in \
   19783   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   19784   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   19785   LC_TELEPHONE LC_TIME
   19786 do
   19787   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   19788     eval $as_var=C; export $as_var
   19789   else
   19790     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   19791   fi
   19792 done
   19793 
   19794 # Required to use basename.
   19795 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19796    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19797   as_expr=expr
   19798 else
   19799   as_expr=false
   19800 fi
   19801 
   19802 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19803   as_basename=basename
   19804 else
   19805   as_basename=false
   19806 fi
   19807 
   19808 
   19809 # Name of the executable.
   19810 as_me=`$as_basename -- "$0" ||
   19811 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19812 	 X"$0" : 'X\(//\)$' \| \
   19813 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19814 echo X/"$0" |
   19815     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19816 	    s//\1/
   19817 	    q
   19818 	  }
   19819 	  /^X\/\(\/\/\)$/{
   19820 	    s//\1/
   19821 	    q
   19822 	  }
   19823 	  /^X\/\(\/\).*/{
   19824 	    s//\1/
   19825 	    q
   19826 	  }
   19827 	  s/.*/./; q'`
   19828 
   19829 # CDPATH.
   19830 $as_unset CDPATH
   19831 
   19832 
   19833 
   19834   as_lineno_1=$LINENO
   19835   as_lineno_2=$LINENO
   19836   test "x$as_lineno_1" != "x$as_lineno_2" &&
   19837   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   19838 
   19839   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   19840   # uniformly replaced by the line number.  The first 'sed' inserts a
   19841   # line-number line after each line using $LINENO; the second 'sed'
   19842   # does the real work.  The second script uses 'N' to pair each
   19843   # line-number line with the line containing $LINENO, and appends
   19844   # trailing '-' during substitution so that $LINENO is not a special
   19845   # case at line end.
   19846   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   19847   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   19848   # E. McMahon (1931-1989) for sed's syntax.  :-)
   19849   sed -n '
   19850     p
   19851     /[$]LINENO/=
   19852   ' <$as_myself |
   19853     sed '
   19854       s/[$]LINENO.*/&-/
   19855       t lineno
   19856       b
   19857       :lineno
   19858       N
   19859       :loop
   19860       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   19861       t loop
   19862       s/-\n.*//
   19863     ' >$as_me.lineno &&
   19864   chmod +x "$as_me.lineno" ||
   19865     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   19866    { (exit 1); exit 1; }; }
   19867 
   19868   # Don't try to exec as it changes $[0], causing all sort of problems
   19869   # (the dirname of $[0] is not the place where we might find the
   19870   # original and so on.  Autoconf is especially sensitive to this).
   19871   . "./$as_me.lineno"
   19872   # Exit status is that of the last command.
   19873   exit
   19874 }
   19875 
   19876 
   19877 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19878   as_dirname=dirname
   19879 else
   19880   as_dirname=false
   19881 fi
   19882 
   19883 ECHO_C= ECHO_N= ECHO_T=
   19884 case `echo -n x` in
   19885 -n*)
   19886   case `echo 'x\c'` in
   19887   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19888   *)   ECHO_C='\c';;
   19889   esac;;
   19890 *)
   19891   ECHO_N='-n';;
   19892 esac
   19893 
   19894 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19895    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19896   as_expr=expr
   19897 else
   19898   as_expr=false
   19899 fi
   19900 
   19901 rm -f conf$$ conf$$.exe conf$$.file
   19902 if test -d conf$$.dir; then
   19903   rm -f conf$$.dir/conf$$.file
   19904 else
   19905   rm -f conf$$.dir
   19906   mkdir conf$$.dir
   19907 fi
   19908 echo >conf$$.file
   19909 if ln -s conf$$.file conf$$ 2>/dev/null; then
   19910   as_ln_s='ln -s'
   19911   # ... but there are two gotchas:
   19912   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19913   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19914   # In both cases, we have to default to `cp -p'.
   19915   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19916     as_ln_s='cp -p'
   19917 elif ln conf$$.file conf$$ 2>/dev/null; then
   19918   as_ln_s=ln
   19919 else
   19920   as_ln_s='cp -p'
   19921 fi
   19922 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19923 rmdir conf$$.dir 2>/dev/null
   19924 
   19925 if mkdir -p . 2>/dev/null; then
   19926   as_mkdir_p=:
   19927 else
   19928   test -d ./-p && rmdir ./-p
   19929   as_mkdir_p=false
   19930 fi
   19931 
   19932 if test -x / >/dev/null 2>&1; then
   19933   as_test_x='test -x'
   19934 else
   19935   if ls -dL / >/dev/null 2>&1; then
   19936     as_ls_L_option=L
   19937   else
   19938     as_ls_L_option=
   19939   fi
   19940   as_test_x='
   19941     eval sh -c '\''
   19942       if test -d "$1"; then
   19943         test -d "$1/.";
   19944       else
   19945 	case $1 in
   19946         -*)set "./$1";;
   19947 	esac;
   19948 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   19949 	???[sx]*):;;*)false;;esac;fi
   19950     '\'' sh
   19951   '
   19952 fi
   19953 as_executable_p=$as_test_x
   19954 
   19955 # Sed expression to map a string onto a valid CPP name.
   19956 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19957 
   19958 # Sed expression to map a string onto a valid variable name.
   19959 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19960 
   19961 
   19962 exec 6>&1
   19963 
   19964 # Save the log message, to keep $[0] and so on meaningful, and to
   19965 # report actual input values of CONFIG_FILES etc. instead of their
   19966 # values after options handling.
   19967 ac_log="
   19968 This file was extended by libxkbfile $as_me 1.0.5, which was
   19969 generated by GNU Autoconf 2.61.  Invocation command line was
   19970 
   19971   CONFIG_FILES    = $CONFIG_FILES
   19972   CONFIG_HEADERS  = $CONFIG_HEADERS
   19973   CONFIG_LINKS    = $CONFIG_LINKS
   19974   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19975   $ $0 $@
   19976 
   19977 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19978 "
   19979 
   19980 _ACEOF
   19981 
   19982 cat >>$CONFIG_STATUS <<_ACEOF
   19983 # Files that config.status was made for.
   19984 config_files="$ac_config_files"
   19985 config_headers="$ac_config_headers"
   19986 config_commands="$ac_config_commands"
   19987 
   19988 _ACEOF
   19989 
   19990 cat >>$CONFIG_STATUS <<\_ACEOF
   19991 ac_cs_usage="\
   19992 \`$as_me' instantiates files from templates according to the
   19993 current configuration.
   19994 
   19995 Usage: $0 [OPTIONS] [FILE]...
   19996 
   19997   -h, --help       print this help, then exit
   19998   -V, --version    print version number and configuration settings, then exit
   19999   -q, --quiet      do not print progress messages
   20000   -d, --debug      don't remove temporary files
   20001       --recheck    update $as_me by reconfiguring in the same conditions
   20002   --file=FILE[:TEMPLATE]
   20003 		   instantiate the configuration file FILE
   20004   --header=FILE[:TEMPLATE]
   20005 		   instantiate the configuration header FILE
   20006 
   20007 Configuration files:
   20008 $config_files
   20009 
   20010 Configuration headers:
   20011 $config_headers
   20012 
   20013 Configuration commands:
   20014 $config_commands
   20015 
   20016 Report bugs to <bug-autoconf (at] gnu.org>."
   20017 
   20018 _ACEOF
   20019 cat >>$CONFIG_STATUS <<_ACEOF
   20020 ac_cs_version="\\
   20021 libxkbfile config.status 1.0.5
   20022 configured by $0, generated by GNU Autoconf 2.61,
   20023   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   20024 
   20025 Copyright (C) 2006 Free Software Foundation, Inc.
   20026 This config.status script is free software; the Free Software Foundation
   20027 gives unlimited permission to copy, distribute and modify it."
   20028 
   20029 ac_pwd='$ac_pwd'
   20030 srcdir='$srcdir'
   20031 INSTALL='$INSTALL'
   20032 MKDIR_P='$MKDIR_P'
   20033 _ACEOF
   20034 
   20035 cat >>$CONFIG_STATUS <<\_ACEOF
   20036 # If no file are specified by the user, then we need to provide default
   20037 # value.  By we need to know if files were specified by the user.
   20038 ac_need_defaults=:
   20039 while test $# != 0
   20040 do
   20041   case $1 in
   20042   --*=*)
   20043     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20044     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20045     ac_shift=:
   20046     ;;
   20047   *)
   20048     ac_option=$1
   20049     ac_optarg=$2
   20050     ac_shift=shift
   20051     ;;
   20052   esac
   20053 
   20054   case $ac_option in
   20055   # Handling of the options.
   20056   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20057     ac_cs_recheck=: ;;
   20058   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20059     echo "$ac_cs_version"; exit ;;
   20060   --debug | --debu | --deb | --de | --d | -d )
   20061     debug=: ;;
   20062   --file | --fil | --fi | --f )
   20063     $ac_shift
   20064     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   20065     ac_need_defaults=false;;
   20066   --header | --heade | --head | --hea )
   20067     $ac_shift
   20068     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   20069     ac_need_defaults=false;;
   20070   --he | --h)
   20071     # Conflict between --help and --header
   20072     { echo "$as_me: error: ambiguous option: $1
   20073 Try \`$0 --help' for more information." >&2
   20074    { (exit 1); exit 1; }; };;
   20075   --help | --hel | -h )
   20076     echo "$ac_cs_usage"; exit ;;
   20077   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20078   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20079     ac_cs_silent=: ;;
   20080 
   20081   # This is an error.
   20082   -*) { echo "$as_me: error: unrecognized option: $1
   20083 Try \`$0 --help' for more information." >&2
   20084    { (exit 1); exit 1; }; } ;;
   20085 
   20086   *) ac_config_targets="$ac_config_targets $1"
   20087      ac_need_defaults=false ;;
   20088 
   20089   esac
   20090   shift
   20091 done
   20092 
   20093 ac_configure_extra_args=
   20094 
   20095 if $ac_cs_silent; then
   20096   exec 6>/dev/null
   20097   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20098 fi
   20099 
   20100 _ACEOF
   20101 cat >>$CONFIG_STATUS <<_ACEOF
   20102 if \$ac_cs_recheck; then
   20103   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   20104   CONFIG_SHELL=$SHELL
   20105   export CONFIG_SHELL
   20106   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20107 fi
   20108 
   20109 _ACEOF
   20110 cat >>$CONFIG_STATUS <<\_ACEOF
   20111 exec 5>>config.log
   20112 {
   20113   echo
   20114   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20115 ## Running $as_me. ##
   20116 _ASBOX
   20117   echo "$ac_log"
   20118 } >&5
   20119 
   20120 _ACEOF
   20121 cat >>$CONFIG_STATUS <<_ACEOF
   20122 #
   20123 # INIT-COMMANDS
   20124 #
   20125 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   20126 
   20127 _ACEOF
   20128 
   20129 cat >>$CONFIG_STATUS <<\_ACEOF
   20130 
   20131 # Handling of arguments.
   20132 for ac_config_target in $ac_config_targets
   20133 do
   20134   case $ac_config_target in
   20135     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20136     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20137     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20138     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20139     "xkbfile.pc") CONFIG_FILES="$CONFIG_FILES xkbfile.pc" ;;
   20140 
   20141   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   20142 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   20143    { (exit 1); exit 1; }; };;
   20144   esac
   20145 done
   20146 
   20147 
   20148 # If the user did not use the arguments to specify the items to instantiate,
   20149 # then the envvar interface is used.  Set only those that are not.
   20150 # We use the long form for the default assignment because of an extremely
   20151 # bizarre bug on SunOS 4.1.3.
   20152 if $ac_need_defaults; then
   20153   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20154   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20155   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20156 fi
   20157 
   20158 # Have a temporary directory for convenience.  Make it in the build tree
   20159 # simply because there is no reason against having it here, and in addition,
   20160 # creating and moving files from /tmp can sometimes cause problems.
   20161 # Hook for its removal unless debugging.
   20162 # Note that there is a small window in which the directory will not be cleaned:
   20163 # after its creation but before its name has been assigned to `$tmp'.
   20164 $debug ||
   20165 {
   20166   tmp=
   20167   trap 'exit_status=$?
   20168   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   20169 ' 0
   20170   trap '{ (exit 1); exit 1; }' 1 2 13 15
   20171 }
   20172 # Create a (secure) tmp directory for tmp files.
   20173 
   20174 {
   20175   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20176   test -n "$tmp" && test -d "$tmp"
   20177 }  ||
   20178 {
   20179   tmp=./conf$$-$RANDOM
   20180   (umask 077 && mkdir "$tmp")
   20181 } ||
   20182 {
   20183    echo "$me: cannot create a temporary directory in ." >&2
   20184    { (exit 1); exit 1; }
   20185 }
   20186 
   20187 #
   20188 # Set up the sed scripts for CONFIG_FILES section.
   20189 #
   20190 
   20191 # No need to generate the scripts if there are no CONFIG_FILES.
   20192 # This happens for instance when ./config.status config.h
   20193 if test -n "$CONFIG_FILES"; then
   20194 
   20195 _ACEOF
   20196 
   20197 
   20198 
   20199 ac_delim='%!_!# '
   20200 for ac_last_try in false false false false false :; do
   20201   cat >conf$$subs.sed <<_ACEOF
   20202 SHELL!$SHELL$ac_delim
   20203 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   20204 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   20205 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   20206 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   20207 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   20208 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   20209 exec_prefix!$exec_prefix$ac_delim
   20210 prefix!$prefix$ac_delim
   20211 program_transform_name!$program_transform_name$ac_delim
   20212 bindir!$bindir$ac_delim
   20213 sbindir!$sbindir$ac_delim
   20214 libexecdir!$libexecdir$ac_delim
   20215 datarootdir!$datarootdir$ac_delim
   20216 datadir!$datadir$ac_delim
   20217 sysconfdir!$sysconfdir$ac_delim
   20218 sharedstatedir!$sharedstatedir$ac_delim
   20219 localstatedir!$localstatedir$ac_delim
   20220 includedir!$includedir$ac_delim
   20221 oldincludedir!$oldincludedir$ac_delim
   20222 docdir!$docdir$ac_delim
   20223 infodir!$infodir$ac_delim
   20224 htmldir!$htmldir$ac_delim
   20225 dvidir!$dvidir$ac_delim
   20226 pdfdir!$pdfdir$ac_delim
   20227 psdir!$psdir$ac_delim
   20228 libdir!$libdir$ac_delim
   20229 localedir!$localedir$ac_delim
   20230 mandir!$mandir$ac_delim
   20231 DEFS!$DEFS$ac_delim
   20232 ECHO_C!$ECHO_C$ac_delim
   20233 ECHO_N!$ECHO_N$ac_delim
   20234 ECHO_T!$ECHO_T$ac_delim
   20235 LIBS!$LIBS$ac_delim
   20236 build_alias!$build_alias$ac_delim
   20237 host_alias!$host_alias$ac_delim
   20238 target_alias!$target_alias$ac_delim
   20239 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   20240 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   20241 INSTALL_DATA!$INSTALL_DATA$ac_delim
   20242 am__isrc!$am__isrc$ac_delim
   20243 CYGPATH_W!$CYGPATH_W$ac_delim
   20244 PACKAGE!$PACKAGE$ac_delim
   20245 VERSION!$VERSION$ac_delim
   20246 ACLOCAL!$ACLOCAL$ac_delim
   20247 AUTOCONF!$AUTOCONF$ac_delim
   20248 AUTOMAKE!$AUTOMAKE$ac_delim
   20249 AUTOHEADER!$AUTOHEADER$ac_delim
   20250 MAKEINFO!$MAKEINFO$ac_delim
   20251 install_sh!$install_sh$ac_delim
   20252 STRIP!$STRIP$ac_delim
   20253 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
   20254 mkdir_p!$mkdir_p$ac_delim
   20255 AWK!$AWK$ac_delim
   20256 SET_MAKE!$SET_MAKE$ac_delim
   20257 am__leading_dot!$am__leading_dot$ac_delim
   20258 AMTAR!$AMTAR$ac_delim
   20259 am__tar!$am__tar$ac_delim
   20260 am__untar!$am__untar$ac_delim
   20261 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
   20262 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
   20263 MAINT!$MAINT$ac_delim
   20264 CC!$CC$ac_delim
   20265 CFLAGS!$CFLAGS$ac_delim
   20266 LDFLAGS!$LDFLAGS$ac_delim
   20267 CPPFLAGS!$CPPFLAGS$ac_delim
   20268 ac_ct_CC!$ac_ct_CC$ac_delim
   20269 EXEEXT!$EXEEXT$ac_delim
   20270 OBJEXT!$OBJEXT$ac_delim
   20271 DEPDIR!$DEPDIR$ac_delim
   20272 am__include!$am__include$ac_delim
   20273 am__quote!$am__quote$ac_delim
   20274 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
   20275 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
   20276 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
   20277 CCDEPMODE!$CCDEPMODE$ac_delim
   20278 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
   20279 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
   20280 build!$build$ac_delim
   20281 build_cpu!$build_cpu$ac_delim
   20282 build_vendor!$build_vendor$ac_delim
   20283 build_os!$build_os$ac_delim
   20284 host!$host$ac_delim
   20285 host_cpu!$host_cpu$ac_delim
   20286 host_vendor!$host_vendor$ac_delim
   20287 host_os!$host_os$ac_delim
   20288 GREP!$GREP$ac_delim
   20289 EGREP!$EGREP$ac_delim
   20290 LN_S!$LN_S$ac_delim
   20291 ECHO!$ECHO$ac_delim
   20292 AR!$AR$ac_delim
   20293 RANLIB!$RANLIB$ac_delim
   20294 CPP!$CPP$ac_delim
   20295 CXX!$CXX$ac_delim
   20296 CXXFLAGS!$CXXFLAGS$ac_delim
   20297 ac_ct_CXX!$ac_ct_CXX$ac_delim
   20298 CXXDEPMODE!$CXXDEPMODE$ac_delim
   20299 _ACEOF
   20300 
   20301   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   20302     break
   20303   elif $ac_last_try; then
   20304     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   20305 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   20306    { (exit 1); exit 1; }; }
   20307   else
   20308     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20309   fi
   20310 done
   20311 
   20312 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   20313 if test -n "$ac_eof"; then
   20314   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   20315   ac_eof=`expr $ac_eof + 1`
   20316 fi
   20317 
   20318 cat >>$CONFIG_STATUS <<_ACEOF
   20319 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   20320 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20321 _ACEOF
   20322 sed '
   20323 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   20324 s/^/s,@/; s/!/@,|#_!!_#|/
   20325 :n
   20326 t n
   20327 s/'"$ac_delim"'$/,g/; t
   20328 s/$/\\/; p
   20329 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   20330 ' >>$CONFIG_STATUS <conf$$subs.sed
   20331 rm -f conf$$subs.sed
   20332 cat >>$CONFIG_STATUS <<_ACEOF
   20333 CEOF$ac_eof
   20334 _ACEOF
   20335 
   20336 
   20337 ac_delim='%!_!# '
   20338 for ac_last_try in false false false false false :; do
   20339   cat >conf$$subs.sed <<_ACEOF
   20340 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
   20341 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
   20342 CXXCPP!$CXXCPP$ac_delim
   20343 F77!$F77$ac_delim
   20344 FFLAGS!$FFLAGS$ac_delim
   20345 ac_ct_F77!$ac_ct_F77$ac_delim
   20346 LIBTOOL!$LIBTOOL$ac_delim
   20347 PKG_CONFIG!$PKG_CONFIG$ac_delim
   20348 XKBFILE_CFLAGS!$XKBFILE_CFLAGS$ac_delim
   20349 XKBFILE_LIBS!$XKBFILE_LIBS$ac_delim
   20350 LIBOBJS!$LIBOBJS$ac_delim
   20351 LTLIBOBJS!$LTLIBOBJS$ac_delim
   20352 _ACEOF
   20353 
   20354   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
   20355     break
   20356   elif $ac_last_try; then
   20357     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   20358 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   20359    { (exit 1); exit 1; }; }
   20360   else
   20361     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20362   fi
   20363 done
   20364 
   20365 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   20366 if test -n "$ac_eof"; then
   20367   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   20368   ac_eof=`expr $ac_eof + 1`
   20369 fi
   20370 
   20371 cat >>$CONFIG_STATUS <<_ACEOF
   20372 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   20373 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   20374 _ACEOF
   20375 sed '
   20376 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   20377 s/^/s,@/; s/!/@,|#_!!_#|/
   20378 :n
   20379 t n
   20380 s/'"$ac_delim"'$/,g/; t
   20381 s/$/\\/; p
   20382 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   20383 ' >>$CONFIG_STATUS <conf$$subs.sed
   20384 rm -f conf$$subs.sed
   20385 cat >>$CONFIG_STATUS <<_ACEOF
   20386 :end
   20387 s/|#_!!_#|//g
   20388 CEOF$ac_eof
   20389 _ACEOF
   20390 
   20391 
   20392 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   20393 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   20394 # trailing colons and then remove the whole line if VPATH becomes empty
   20395 # (actually we leave an empty line to preserve line numbers).
   20396 if test "x$srcdir" = x.; then
   20397   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   20398 s/:*\$(srcdir):*/:/
   20399 s/:*\${srcdir}:*/:/
   20400 s/:*@srcdir@:*/:/
   20401 s/^\([^=]*=[	 ]*\):*/\1/
   20402 s/:*$//
   20403 s/^[^=]*=[	 ]*$//
   20404 }'
   20405 fi
   20406 
   20407 cat >>$CONFIG_STATUS <<\_ACEOF
   20408 fi # test -n "$CONFIG_FILES"
   20409 
   20410 
   20411 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
   20412 do
   20413   case $ac_tag in
   20414   :[FHLC]) ac_mode=$ac_tag; continue;;
   20415   esac
   20416   case $ac_mode$ac_tag in
   20417   :[FHL]*:*);;
   20418   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   20419 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   20420    { (exit 1); exit 1; }; };;
   20421   :[FH]-) ac_tag=-:-;;
   20422   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20423   esac
   20424   ac_save_IFS=$IFS
   20425   IFS=:
   20426   set x $ac_tag
   20427   IFS=$ac_save_IFS
   20428   shift
   20429   ac_file=$1
   20430   shift
   20431 
   20432   case $ac_mode in
   20433   :L) ac_source=$1;;
   20434   :[FH])
   20435     ac_file_inputs=
   20436     for ac_f
   20437     do
   20438       case $ac_f in
   20439       -) ac_f="$tmp/stdin";;
   20440       *) # Look for the file first in the build tree, then in the source tree
   20441 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20442 	 # because $ac_f cannot contain `:'.
   20443 	 test -f "$ac_f" ||
   20444 	   case $ac_f in
   20445 	   [\\/$]*) false;;
   20446 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20447 	   esac ||
   20448 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   20449 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   20450    { (exit 1); exit 1; }; };;
   20451       esac
   20452       ac_file_inputs="$ac_file_inputs $ac_f"
   20453     done
   20454 
   20455     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20456     # use $as_me), people would be surprised to read:
   20457     #    /* config.h.  Generated by config.status.  */
   20458     configure_input="Generated from "`IFS=:
   20459 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   20460     if test x"$ac_file" != x-; then
   20461       configure_input="$ac_file.  $configure_input"
   20462       { echo "$as_me:$LINENO: creating $ac_file" >&5
   20463 echo "$as_me: creating $ac_file" >&6;}
   20464     fi
   20465 
   20466     case $ac_tag in
   20467     *:-:* | *:-) cat >"$tmp/stdin";;
   20468     esac
   20469     ;;
   20470   esac
   20471 
   20472   ac_dir=`$as_dirname -- "$ac_file" ||
   20473 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20474 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20475 	 X"$ac_file" : 'X\(//\)$' \| \
   20476 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20477 echo X"$ac_file" |
   20478     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20479 	    s//\1/
   20480 	    q
   20481 	  }
   20482 	  /^X\(\/\/\)[^/].*/{
   20483 	    s//\1/
   20484 	    q
   20485 	  }
   20486 	  /^X\(\/\/\)$/{
   20487 	    s//\1/
   20488 	    q
   20489 	  }
   20490 	  /^X\(\/\).*/{
   20491 	    s//\1/
   20492 	    q
   20493 	  }
   20494 	  s/.*/./; q'`
   20495   { as_dir="$ac_dir"
   20496   case $as_dir in #(
   20497   -*) as_dir=./$as_dir;;
   20498   esac
   20499   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   20500     as_dirs=
   20501     while :; do
   20502       case $as_dir in #(
   20503       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   20504       *) as_qdir=$as_dir;;
   20505       esac
   20506       as_dirs="'$as_qdir' $as_dirs"
   20507       as_dir=`$as_dirname -- "$as_dir" ||
   20508 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20509 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20510 	 X"$as_dir" : 'X\(//\)$' \| \
   20511 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20512 echo X"$as_dir" |
   20513     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20514 	    s//\1/
   20515 	    q
   20516 	  }
   20517 	  /^X\(\/\/\)[^/].*/{
   20518 	    s//\1/
   20519 	    q
   20520 	  }
   20521 	  /^X\(\/\/\)$/{
   20522 	    s//\1/
   20523 	    q
   20524 	  }
   20525 	  /^X\(\/\).*/{
   20526 	    s//\1/
   20527 	    q
   20528 	  }
   20529 	  s/.*/./; q'`
   20530       test -d "$as_dir" && break
   20531     done
   20532     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20533   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   20534 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   20535    { (exit 1); exit 1; }; }; }
   20536   ac_builddir=.
   20537 
   20538 case "$ac_dir" in
   20539 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20540 *)
   20541   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   20542   # A ".." for each directory in $ac_dir_suffix.
   20543   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   20544   case $ac_top_builddir_sub in
   20545   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20546   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20547   esac ;;
   20548 esac
   20549 ac_abs_top_builddir=$ac_pwd
   20550 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20551 # for backward compatibility:
   20552 ac_top_builddir=$ac_top_build_prefix
   20553 
   20554 case $srcdir in
   20555   .)  # We are building in place.
   20556     ac_srcdir=.
   20557     ac_top_srcdir=$ac_top_builddir_sub
   20558     ac_abs_top_srcdir=$ac_pwd ;;
   20559   [\\/]* | ?:[\\/]* )  # Absolute name.
   20560     ac_srcdir=$srcdir$ac_dir_suffix;
   20561     ac_top_srcdir=$srcdir
   20562     ac_abs_top_srcdir=$srcdir ;;
   20563   *) # Relative name.
   20564     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20565     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20566     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20567 esac
   20568 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20569 
   20570 
   20571   case $ac_mode in
   20572   :F)
   20573   #
   20574   # CONFIG_FILE
   20575   #
   20576 
   20577   case $INSTALL in
   20578   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20579   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20580   esac
   20581   ac_MKDIR_P=$MKDIR_P
   20582   case $MKDIR_P in
   20583   [\\/$]* | ?:[\\/]* ) ;;
   20584   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20585   esac
   20586 _ACEOF
   20587 
   20588 cat >>$CONFIG_STATUS <<\_ACEOF
   20589 # If the template does not know about datarootdir, expand it.
   20590 # FIXME: This hack should be removed a few years after 2.60.
   20591 ac_datarootdir_hack=; ac_datarootdir_seen=
   20592 
   20593 case `sed -n '/datarootdir/ {
   20594   p
   20595   q
   20596 }
   20597 /@datadir@/p
   20598 /@docdir@/p
   20599 /@infodir@/p
   20600 /@localedir@/p
   20601 /@mandir@/p
   20602 ' $ac_file_inputs` in
   20603 *datarootdir*) ac_datarootdir_seen=yes;;
   20604 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20605   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20606 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20607 _ACEOF
   20608 cat >>$CONFIG_STATUS <<_ACEOF
   20609   ac_datarootdir_hack='
   20610   s&@datadir@&$datadir&g
   20611   s&@docdir@&$docdir&g
   20612   s&@infodir@&$infodir&g
   20613   s&@localedir@&$localedir&g
   20614   s&@mandir@&$mandir&g
   20615     s&\\\${datarootdir}&$datarootdir&g' ;;
   20616 esac
   20617 _ACEOF
   20618 
   20619 # Neutralize VPATH when `$srcdir' = `.'.
   20620 # Shell code in configure.ac might set extrasub.
   20621 # FIXME: do we really want to maintain this feature?
   20622 cat >>$CONFIG_STATUS <<_ACEOF
   20623   sed "$ac_vpsub
   20624 $extrasub
   20625 _ACEOF
   20626 cat >>$CONFIG_STATUS <<\_ACEOF
   20627 :t
   20628 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20629 s&@configure_input@&$configure_input&;t t
   20630 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20631 s&@srcdir@&$ac_srcdir&;t t
   20632 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20633 s&@top_srcdir@&$ac_top_srcdir&;t t
   20634 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20635 s&@builddir@&$ac_builddir&;t t
   20636 s&@abs_builddir@&$ac_abs_builddir&;t t
   20637 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20638 s&@INSTALL@&$ac_INSTALL&;t t
   20639 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20640 $ac_datarootdir_hack
   20641 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   20642 
   20643 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20644   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   20645   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   20646   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20647 which seems to be undefined.  Please make sure it is defined." >&5
   20648 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20649 which seems to be undefined.  Please make sure it is defined." >&2;}
   20650 
   20651   rm -f "$tmp/stdin"
   20652   case $ac_file in
   20653   -) cat "$tmp/out"; rm -f "$tmp/out";;
   20654   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   20655   esac
   20656  ;;
   20657   :H)
   20658   #
   20659   # CONFIG_HEADER
   20660   #
   20661 _ACEOF
   20662 
   20663 # Transform confdefs.h into a sed script `conftest.defines', that
   20664 # substitutes the proper values into config.h.in to produce config.h.
   20665 rm -f conftest.defines conftest.tail
   20666 # First, append a space to every undef/define line, to ease matching.
   20667 echo 's/$/ /' >conftest.defines
   20668 # Then, protect against being on the right side of a sed subst, or in
   20669 # an unquoted here document, in config.status.  If some macros were
   20670 # called several times there might be several #defines for the same
   20671 # symbol, which is useless.  But do not sort them, since the last
   20672 # AC_DEFINE must be honored.
   20673 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20674 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
   20675 # NAME is the cpp macro being defined, VALUE is the value it is being given.
   20676 # PARAMS is the parameter list in the macro definition--in most cases, it's
   20677 # just an empty string.
   20678 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
   20679 ac_dB='\\)[	 (].*,\\1define\\2'
   20680 ac_dC=' '
   20681 ac_dD=' ,'
   20682 
   20683 uniq confdefs.h |
   20684   sed -n '
   20685 	t rset
   20686 	:rset
   20687 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
   20688 	t ok
   20689 	d
   20690 	:ok
   20691 	s/[\\&,]/\\&/g
   20692 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
   20693 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
   20694   ' >>conftest.defines
   20695 
   20696 # Remove the space that was appended to ease matching.
   20697 # Then replace #undef with comments.  This is necessary, for
   20698 # example, in the case of _POSIX_SOURCE, which is predefined and required
   20699 # on some systems where configure will not decide to define it.
   20700 # (The regexp can be short, since the line contains either #define or #undef.)
   20701 echo 's/ $//
   20702 s,^[	 #]*u.*,/* & */,' >>conftest.defines
   20703 
   20704 # Break up conftest.defines:
   20705 ac_max_sed_lines=50
   20706 
   20707 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
   20708 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
   20709 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
   20710 # et cetera.
   20711 ac_in='$ac_file_inputs'
   20712 ac_out='"$tmp/out1"'
   20713 ac_nxt='"$tmp/out2"'
   20714 
   20715 while :
   20716 do
   20717   # Write a here document:
   20718     cat >>$CONFIG_STATUS <<_ACEOF
   20719     # First, check the format of the line:
   20720     cat >"\$tmp/defines.sed" <<\\CEOF
   20721 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
   20722 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
   20723 b
   20724 :def
   20725 _ACEOF
   20726   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
   20727   echo 'CEOF
   20728     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
   20729   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
   20730   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
   20731   grep . conftest.tail >/dev/null || break
   20732   rm -f conftest.defines
   20733   mv conftest.tail conftest.defines
   20734 done
   20735 rm -f conftest.defines conftest.tail
   20736 
   20737 echo "ac_result=$ac_in" >>$CONFIG_STATUS
   20738 cat >>$CONFIG_STATUS <<\_ACEOF
   20739   if test x"$ac_file" != x-; then
   20740     echo "/* $configure_input  */" >"$tmp/config.h"
   20741     cat "$ac_result" >>"$tmp/config.h"
   20742     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
   20743       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   20744 echo "$as_me: $ac_file is unchanged" >&6;}
   20745     else
   20746       rm -f $ac_file
   20747       mv "$tmp/config.h" $ac_file
   20748     fi
   20749   else
   20750     echo "/* $configure_input  */"
   20751     cat "$ac_result"
   20752   fi
   20753   rm -f "$tmp/out12"
   20754 # Compute $ac_file's index in $config_headers.
   20755 _am_stamp_count=1
   20756 for _am_header in $config_headers :; do
   20757   case $_am_header in
   20758     $ac_file | $ac_file:* )
   20759       break ;;
   20760     * )
   20761       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20762   esac
   20763 done
   20764 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
   20765 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20766 	 X$ac_file : 'X\(//\)[^/]' \| \
   20767 	 X$ac_file : 'X\(//\)$' \| \
   20768 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
   20769 echo X$ac_file |
   20770     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20771 	    s//\1/
   20772 	    q
   20773 	  }
   20774 	  /^X\(\/\/\)[^/].*/{
   20775 	    s//\1/
   20776 	    q
   20777 	  }
   20778 	  /^X\(\/\/\)$/{
   20779 	    s//\1/
   20780 	    q
   20781 	  }
   20782 	  /^X\(\/\).*/{
   20783 	    s//\1/
   20784 	    q
   20785 	  }
   20786 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20787  ;;
   20788 
   20789   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   20790 echo "$as_me: executing $ac_file commands" >&6;}
   20791  ;;
   20792   esac
   20793 
   20794 
   20795   case $ac_file$ac_mode in
   20796     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   20797   # Strip MF so we end up with the name of the file.
   20798   mf=`echo "$mf" | sed -e 's/:.*$//'`
   20799   # Check whether this is an Automake generated Makefile or not.
   20800   # We used to match only the files named `Makefile.in', but
   20801   # some people rename them; so instead we look at the file content.
   20802   # Grep'ing the first line is not enough: some people post-process
   20803   # each Makefile.in and add a new line on top of each file to say so.
   20804   # Grep'ing the whole file is not good either: AIX grep has a line
   20805   # limit of 2048, but all sed's we know have understand at least 4000.
   20806   if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
   20807     dirpart=`$as_dirname -- "$mf" ||
   20808 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20809 	 X"$mf" : 'X\(//\)[^/]' \| \
   20810 	 X"$mf" : 'X\(//\)$' \| \
   20811 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20812 echo X"$mf" |
   20813     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20814 	    s//\1/
   20815 	    q
   20816 	  }
   20817 	  /^X\(\/\/\)[^/].*/{
   20818 	    s//\1/
   20819 	    q
   20820 	  }
   20821 	  /^X\(\/\/\)$/{
   20822 	    s//\1/
   20823 	    q
   20824 	  }
   20825 	  /^X\(\/\).*/{
   20826 	    s//\1/
   20827 	    q
   20828 	  }
   20829 	  s/.*/./; q'`
   20830   else
   20831     continue
   20832   fi
   20833   # Extract the definition of DEPDIR, am__include, and am__quote
   20834   # from the Makefile without running `make'.
   20835   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20836   test -z "$DEPDIR" && continue
   20837   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20838   test -z "am__include" && continue
   20839   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20840   # When using ansi2knr, U may be empty or an underscore; expand it
   20841   U=`sed -n 's/^U = //p' < "$mf"`
   20842   # Find all dependency output files, they are included files with
   20843   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20844   # simplest approach to changing $(DEPDIR) to its actual value in the
   20845   # expansion.
   20846   for file in `sed -n "
   20847     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20848        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   20849     # Make sure the directory exists.
   20850     test -f "$dirpart/$file" && continue
   20851     fdir=`$as_dirname -- "$file" ||
   20852 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20853 	 X"$file" : 'X\(//\)[^/]' \| \
   20854 	 X"$file" : 'X\(//\)$' \| \
   20855 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20856 echo X"$file" |
   20857     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20858 	    s//\1/
   20859 	    q
   20860 	  }
   20861 	  /^X\(\/\/\)[^/].*/{
   20862 	    s//\1/
   20863 	    q
   20864 	  }
   20865 	  /^X\(\/\/\)$/{
   20866 	    s//\1/
   20867 	    q
   20868 	  }
   20869 	  /^X\(\/\).*/{
   20870 	    s//\1/
   20871 	    q
   20872 	  }
   20873 	  s/.*/./; q'`
   20874     { as_dir=$dirpart/$fdir
   20875   case $as_dir in #(
   20876   -*) as_dir=./$as_dir;;
   20877   esac
   20878   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   20879     as_dirs=
   20880     while :; do
   20881       case $as_dir in #(
   20882       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   20883       *) as_qdir=$as_dir;;
   20884       esac
   20885       as_dirs="'$as_qdir' $as_dirs"
   20886       as_dir=`$as_dirname -- "$as_dir" ||
   20887 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20888 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20889 	 X"$as_dir" : 'X\(//\)$' \| \
   20890 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20891 echo X"$as_dir" |
   20892     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20893 	    s//\1/
   20894 	    q
   20895 	  }
   20896 	  /^X\(\/\/\)[^/].*/{
   20897 	    s//\1/
   20898 	    q
   20899 	  }
   20900 	  /^X\(\/\/\)$/{
   20901 	    s//\1/
   20902 	    q
   20903 	  }
   20904 	  /^X\(\/\).*/{
   20905 	    s//\1/
   20906 	    q
   20907 	  }
   20908 	  s/.*/./; q'`
   20909       test -d "$as_dir" && break
   20910     done
   20911     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20912   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   20913 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   20914    { (exit 1); exit 1; }; }; }
   20915     # echo "creating $dirpart/$file"
   20916     echo '# dummy' > "$dirpart/$file"
   20917   done
   20918 done
   20919  ;;
   20920 
   20921   esac
   20922 done # for ac_tag
   20923 
   20924 
   20925 { (exit 0); exit 0; }
   20926 _ACEOF
   20927 chmod +x $CONFIG_STATUS
   20928 ac_clean_files=$ac_clean_files_save
   20929 
   20930 
   20931 # configure is writing to config.log, and then calls config.status.
   20932 # config.status does its own redirection, appending to config.log.
   20933 # Unfortunately, on DOS this fails, as config.log is still kept open
   20934 # by configure, so config.status won't be able to write to it; its
   20935 # output is simply discarded.  So we exec the FD to /dev/null,
   20936 # effectively closing config.log, so it can be properly (re)opened and
   20937 # appended to by config.status.  When coming back to configure, we
   20938 # need to make the FD available again.
   20939 if test "$no_create" != yes; then
   20940   ac_cs_success=:
   20941   ac_config_status_args=
   20942   test "$silent" = yes &&
   20943     ac_config_status_args="$ac_config_status_args --quiet"
   20944   exec 5>/dev/null
   20945   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20946   exec 5>>config.log
   20947   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20948   # would make configure fail if this is the last instruction.
   20949   $ac_cs_success || { (exit 1); exit 1; }
   20950 fi
   20951 
   20952