Home | History | Annotate | Download | only in libevent
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63.
      4 #
      5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      7 # This configure script is free software; the Free Software Foundation
      8 # gives unlimited permission to copy, distribute and modify it.
      9 ## --------------------- ##
     10 ## M4sh Initialization.  ##
     11 ## --------------------- ##
     12 
     13 # Be more Bourne compatible
     14 DUALCASE=1; export DUALCASE # for MKS sh
     15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     16   emulate sh
     17   NULLCMD=:
     18   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     19   # is contrary to our usage.  Disable this feature.
     20   alias -g '${1+"$@"}'='"$@"'
     21   setopt NO_GLOB_SUBST
     22 else
     23   case `(set -o) 2>/dev/null` in
     24   *posix*) set -o posix ;;
     25 esac
     26 
     27 fi
     28 
     29 
     30 
     31 
     32 # PATH needs CR
     33 # Avoid depending upon Character Ranges.
     34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     37 as_cr_digits='0123456789'
     38 as_cr_alnum=$as_cr_Letters$as_cr_digits
     39 
     40 as_nl='
     41 '
     42 export as_nl
     43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48   as_echo='printf %s\n'
     49   as_echo_n='printf %s'
     50 else
     51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53     as_echo_n='/usr/ucb/echo -n'
     54   else
     55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56     as_echo_n_body='eval
     57       arg=$1;
     58       case $arg in
     59       *"$as_nl"*)
     60 	expr "X$arg" : "X\\(.*\\)$as_nl";
     61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62       esac;
     63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64     '
     65     export as_echo_n_body
     66     as_echo_n='sh -c $as_echo_n_body as_echo'
     67   fi
     68   export as_echo_body
     69   as_echo='sh -c $as_echo_body as_echo'
     70 fi
     71 
     72 # The user is always right.
     73 if test "${PATH_SEPARATOR+set}" != set; then
     74   PATH_SEPARATOR=:
     75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77       PATH_SEPARATOR=';'
     78   }
     79 fi
     80 
     81 # Support unset when possible.
     82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     83   as_unset=unset
     84 else
     85   as_unset=false
     86 fi
     87 
     88 
     89 # IFS
     90 # We need space, tab and new line, in precisely that order.  Quoting is
     91 # there to prevent editors from complaining about space-tab.
     92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     93 # splitting by setting IFS to empty value.)
     94 IFS=" ""	$as_nl"
     95 
     96 # Find who we are.  Look in the path if we contain no directory separator.
     97 case $0 in
     98   *[\\/]* ) as_myself=$0 ;;
     99   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    100 for as_dir in $PATH
    101 do
    102   IFS=$as_save_IFS
    103   test -z "$as_dir" && as_dir=.
    104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    105 done
    106 IFS=$as_save_IFS
    107 
    108      ;;
    109 esac
    110 # We did not find ourselves, most probably we were run as `sh COMMAND'
    111 # in which case we are not to be found in the path.
    112 if test "x$as_myself" = x; then
    113   as_myself=$0
    114 fi
    115 if test ! -f "$as_myself"; then
    116   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    117   { (exit 1); exit 1; }
    118 fi
    119 
    120 # Work around bugs in pre-3.0 UWIN ksh.
    121 for as_var in ENV MAIL MAILPATH
    122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # Required to use basename.
    135 if expr a : '\(a\)' >/dev/null 2>&1 &&
    136    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    137   as_expr=expr
    138 else
    139   as_expr=false
    140 fi
    141 
    142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    143   as_basename=basename
    144 else
    145   as_basename=false
    146 fi
    147 
    148 
    149 # Name of the executable.
    150 as_me=`$as_basename -- "$0" ||
    151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    152 	 X"$0" : 'X\(//\)$' \| \
    153 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    154 $as_echo X/"$0" |
    155     sed '/^.*\/\([^/][^/]*\)\/*$/{
    156 	    s//\1/
    157 	    q
    158 	  }
    159 	  /^X\/\(\/\/\)$/{
    160 	    s//\1/
    161 	    q
    162 	  }
    163 	  /^X\/\(\/\).*/{
    164 	    s//\1/
    165 	    q
    166 	  }
    167 	  s/.*/./; q'`
    168 
    169 # CDPATH.
    170 $as_unset CDPATH
    171 
    172 
    173 if test "x$CONFIG_SHELL" = x; then
    174   if (eval ":") 2>/dev/null; then
    175   as_have_required=yes
    176 else
    177   as_have_required=no
    178 fi
    179 
    180   if test $as_have_required = yes &&	 (eval ":
    181 (as_func_return () {
    182   (exit \$1)
    183 }
    184 as_func_success () {
    185   as_func_return 0
    186 }
    187 as_func_failure () {
    188   as_func_return 1
    189 }
    190 as_func_ret_success () {
    191   return 0
    192 }
    193 as_func_ret_failure () {
    194   return 1
    195 }
    196 
    197 exitcode=0
    198 if as_func_success; then
    199   :
    200 else
    201   exitcode=1
    202   echo as_func_success failed.
    203 fi
    204 
    205 if as_func_failure; then
    206   exitcode=1
    207   echo as_func_failure succeeded.
    208 fi
    209 
    210 if as_func_ret_success; then
    211   :
    212 else
    213   exitcode=1
    214   echo as_func_ret_success failed.
    215 fi
    216 
    217 if as_func_ret_failure; then
    218   exitcode=1
    219   echo as_func_ret_failure succeeded.
    220 fi
    221 
    222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    223   :
    224 else
    225   exitcode=1
    226   echo positional parameters were not saved.
    227 fi
    228 
    229 test \$exitcode = 0) || { (exit 1); exit 1; }
    230 
    231 (
    232   as_lineno_1=\$LINENO
    233   as_lineno_2=\$LINENO
    234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    236 ") 2> /dev/null; then
    237   :
    238 else
    239   as_candidate_shells=
    240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    242 do
    243   IFS=$as_save_IFS
    244   test -z "$as_dir" && as_dir=.
    245   case $as_dir in
    246 	 /*)
    247 	   for as_base in sh bash ksh sh5; do
    248 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    249 	   done;;
    250        esac
    251 done
    252 IFS=$as_save_IFS
    253 
    254 
    255       for as_shell in $as_candidate_shells $SHELL; do
    256 	 # Try only shells that exist, to save several forks.
    257 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    258 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    260   emulate sh
    261   NULLCMD=:
    262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    263   # is contrary to our usage.  Disable this feature.
    264   alias -g '${1+"$@"}'='"$@"'
    265   setopt NO_GLOB_SUBST
    266 else
    267   case `(set -o) 2>/dev/null` in
    268   *posix*) set -o posix ;;
    269 esac
    270 
    271 fi
    272 
    273 
    274 :
    275 _ASEOF
    276 }; then
    277   CONFIG_SHELL=$as_shell
    278 	       as_have_required=yes
    279 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    281   emulate sh
    282   NULLCMD=:
    283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    284   # is contrary to our usage.  Disable this feature.
    285   alias -g '${1+"$@"}'='"$@"'
    286   setopt NO_GLOB_SUBST
    287 else
    288   case `(set -o) 2>/dev/null` in
    289   *posix*) set -o posix ;;
    290 esac
    291 
    292 fi
    293 
    294 
    295 :
    296 (as_func_return () {
    297   (exit $1)
    298 }
    299 as_func_success () {
    300   as_func_return 0
    301 }
    302 as_func_failure () {
    303   as_func_return 1
    304 }
    305 as_func_ret_success () {
    306   return 0
    307 }
    308 as_func_ret_failure () {
    309   return 1
    310 }
    311 
    312 exitcode=0
    313 if as_func_success; then
    314   :
    315 else
    316   exitcode=1
    317   echo as_func_success failed.
    318 fi
    319 
    320 if as_func_failure; then
    321   exitcode=1
    322   echo as_func_failure succeeded.
    323 fi
    324 
    325 if as_func_ret_success; then
    326   :
    327 else
    328   exitcode=1
    329   echo as_func_ret_success failed.
    330 fi
    331 
    332 if as_func_ret_failure; then
    333   exitcode=1
    334   echo as_func_ret_failure succeeded.
    335 fi
    336 
    337 if ( set x; as_func_ret_success y && test x = "$1" ); then
    338   :
    339 else
    340   exitcode=1
    341   echo positional parameters were not saved.
    342 fi
    343 
    344 test $exitcode = 0) || { (exit 1); exit 1; }
    345 
    346 (
    347   as_lineno_1=$LINENO
    348   as_lineno_2=$LINENO
    349   test "x$as_lineno_1" != "x$as_lineno_2" &&
    350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    351 
    352 _ASEOF
    353 }; then
    354   break
    355 fi
    356 
    357 fi
    358 
    359       done
    360 
    361       if test "x$CONFIG_SHELL" != x; then
    362   for as_var in BASH_ENV ENV
    363 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    364 	done
    365 	export CONFIG_SHELL
    366 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    367 fi
    368 
    369 
    370     if test $as_have_required = no; then
    371   echo This script requires a shell more modern than all the
    372       echo shells that I found on your system.  Please install a
    373       echo modern shell, or manually run the script under such a
    374       echo shell if you do have one.
    375       { (exit 1); exit 1; }
    376 fi
    377 
    378 
    379 fi
    380 
    381 fi
    382 
    383 
    384 
    385 (eval "as_func_return () {
    386   (exit \$1)
    387 }
    388 as_func_success () {
    389   as_func_return 0
    390 }
    391 as_func_failure () {
    392   as_func_return 1
    393 }
    394 as_func_ret_success () {
    395   return 0
    396 }
    397 as_func_ret_failure () {
    398   return 1
    399 }
    400 
    401 exitcode=0
    402 if as_func_success; then
    403   :
    404 else
    405   exitcode=1
    406   echo as_func_success failed.
    407 fi
    408 
    409 if as_func_failure; then
    410   exitcode=1
    411   echo as_func_failure succeeded.
    412 fi
    413 
    414 if as_func_ret_success; then
    415   :
    416 else
    417   exitcode=1
    418   echo as_func_ret_success failed.
    419 fi
    420 
    421 if as_func_ret_failure; then
    422   exitcode=1
    423   echo as_func_ret_failure succeeded.
    424 fi
    425 
    426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    427   :
    428 else
    429   exitcode=1
    430   echo positional parameters were not saved.
    431 fi
    432 
    433 test \$exitcode = 0") || {
    434   echo No shell found that supports shell functions.
    435   echo Please tell bug-autoconf@gnu.org about your system,
    436   echo including any error possibly output before this message.
    437   echo This can help us improve future autoconf versions.
    438   echo Configuration will now proceed without shell functions.
    439 }
    440 
    441 
    442 
    443   as_lineno_1=$LINENO
    444   as_lineno_2=$LINENO
    445   test "x$as_lineno_1" != "x$as_lineno_2" &&
    446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    447 
    448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    449   # uniformly replaced by the line number.  The first 'sed' inserts a
    450   # line-number line after each line using $LINENO; the second 'sed'
    451   # does the real work.  The second script uses 'N' to pair each
    452   # line-number line with the line containing $LINENO, and appends
    453   # trailing '-' during substitution so that $LINENO is not a special
    454   # case at line end.
    455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    457   # E. McMahon (1931-1989) for sed's syntax.  :-)
    458   sed -n '
    459     p
    460     /[$]LINENO/=
    461   ' <$as_myself |
    462     sed '
    463       s/[$]LINENO.*/&-/
    464       t lineno
    465       b
    466       :lineno
    467       N
    468       :loop
    469       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    470       t loop
    471       s/-\n.*//
    472     ' >$as_me.lineno &&
    473   chmod +x "$as_me.lineno" ||
    474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    475    { (exit 1); exit 1; }; }
    476 
    477   # Don't try to exec as it changes $[0], causing all sort of problems
    478   # (the dirname of $[0] is not the place where we might find the
    479   # original and so on.  Autoconf is especially sensitive to this).
    480   . "./$as_me.lineno"
    481   # Exit status is that of the last command.
    482   exit
    483 }
    484 
    485 
    486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    487   as_dirname=dirname
    488 else
    489   as_dirname=false
    490 fi
    491 
    492 ECHO_C= ECHO_N= ECHO_T=
    493 case `echo -n x` in
    494 -n*)
    495   case `echo 'x\c'` in
    496   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    497   *)   ECHO_C='\c';;
    498   esac;;
    499 *)
    500   ECHO_N='-n';;
    501 esac
    502 if expr a : '\(a\)' >/dev/null 2>&1 &&
    503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    504   as_expr=expr
    505 else
    506   as_expr=false
    507 fi
    508 
    509 rm -f conf$$ conf$$.exe conf$$.file
    510 if test -d conf$$.dir; then
    511   rm -f conf$$.dir/conf$$.file
    512 else
    513   rm -f conf$$.dir
    514   mkdir conf$$.dir 2>/dev/null
    515 fi
    516 if (echo >conf$$.file) 2>/dev/null; then
    517   if ln -s conf$$.file conf$$ 2>/dev/null; then
    518     as_ln_s='ln -s'
    519     # ... but there are two gotchas:
    520     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    521     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    522     # In both cases, we have to default to `cp -p'.
    523     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    524       as_ln_s='cp -p'
    525   elif ln conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s=ln
    527   else
    528     as_ln_s='cp -p'
    529   fi
    530 else
    531   as_ln_s='cp -p'
    532 fi
    533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    534 rmdir conf$$.dir 2>/dev/null
    535 
    536 if mkdir -p . 2>/dev/null; then
    537   as_mkdir_p=:
    538 else
    539   test -d ./-p && rmdir ./-p
    540   as_mkdir_p=false
    541 fi
    542 
    543 if test -x / >/dev/null 2>&1; then
    544   as_test_x='test -x'
    545 else
    546   if ls -dL / >/dev/null 2>&1; then
    547     as_ls_L_option=L
    548   else
    549     as_ls_L_option=
    550   fi
    551   as_test_x='
    552     eval sh -c '\''
    553       if test -d "$1"; then
    554 	test -d "$1/.";
    555       else
    556 	case $1 in
    557 	-*)set "./$1";;
    558 	esac;
    559 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    560 	???[sx]*):;;*)false;;esac;fi
    561     '\'' sh
    562   '
    563 fi
    564 as_executable_p=$as_test_x
    565 
    566 # Sed expression to map a string onto a valid CPP name.
    567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    568 
    569 # Sed expression to map a string onto a valid variable name.
    570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    571 
    572 
    573 
    574 
    575 # Check that we are running under the correct shell.
    576 SHELL=${CONFIG_SHELL-/bin/sh}
    577 
    578 case X$ECHO in
    579 X*--fallback-echo)
    580   # Remove one level of quotation (which was required for Make).
    581   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    582   ;;
    583 esac
    584 
    585 echo=${ECHO-echo}
    586 if test "X$1" = X--no-reexec; then
    587   # Discard the --no-reexec flag, and continue.
    588   shift
    589 elif test "X$1" = X--fallback-echo; then
    590   # Avoid inline document here, it may be left over
    591   :
    592 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    593   # Yippee, $echo works!
    594   :
    595 else
    596   # Restart under the correct shell.
    597   exec $SHELL "$0" --no-reexec ${1+"$@"}
    598 fi
    599 
    600 if test "X$1" = X--fallback-echo; then
    601   # used as fallback echo
    602   shift
    603   cat <<EOF
    604 $*
    605 EOF
    606   exit 0
    607 fi
    608 
    609 # The HP-UX ksh and POSIX shell print the target directory to stdout
    610 # if CDPATH is set.
    611 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    612 
    613 if test -z "$ECHO"; then
    614 if test "X${echo_test_string+set}" != Xset; then
    615 # find a string as large as possible, as long as the shell can cope with it
    616   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    617     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    618     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    619        echo_test_string=`eval $cmd` &&
    620        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    621     then
    622       break
    623     fi
    624   done
    625 fi
    626 
    627 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    628    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    629    test "X$echo_testing_string" = "X$echo_test_string"; then
    630   :
    631 else
    632   # The Solaris, AIX, and Digital Unix default echo programs unquote
    633   # backslashes.  This makes it impossible to quote backslashes using
    634   #   echo "$something" | sed 's/\\/\\\\/g'
    635   #
    636   # So, first we look for a working echo in the user's PATH.
    637 
    638   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    639   for dir in $PATH /usr/ucb; do
    640     IFS="$lt_save_ifs"
    641     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    642        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    643        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    644        test "X$echo_testing_string" = "X$echo_test_string"; then
    645       echo="$dir/echo"
    646       break
    647     fi
    648   done
    649   IFS="$lt_save_ifs"
    650 
    651   if test "X$echo" = Xecho; then
    652     # We didn't find a better echo, so look for alternatives.
    653     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    654        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    655        test "X$echo_testing_string" = "X$echo_test_string"; then
    656       # This shell has a builtin print -r that does the trick.
    657       echo='print -r'
    658     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    659 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    660       # If we have ksh, try running configure again with it.
    661       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    662       export ORIGINAL_CONFIG_SHELL
    663       CONFIG_SHELL=/bin/ksh
    664       export CONFIG_SHELL
    665       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    666     else
    667       # Try using printf.
    668       echo='printf %s\n'
    669       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    670 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    671 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    672 	# Cool, printf works
    673 	:
    674       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    675 	   test "X$echo_testing_string" = 'X\t' &&
    676 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    677 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    678 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    679 	export CONFIG_SHELL
    680 	SHELL="$CONFIG_SHELL"
    681 	export SHELL
    682 	echo="$CONFIG_SHELL $0 --fallback-echo"
    683       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    684 	   test "X$echo_testing_string" = 'X\t' &&
    685 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    686 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    687 	echo="$CONFIG_SHELL $0 --fallback-echo"
    688       else
    689 	# maybe with a smaller string...
    690 	prev=:
    691 
    692 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    693 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    694 	  then
    695 	    break
    696 	  fi
    697 	  prev="$cmd"
    698 	done
    699 
    700 	if test "$prev" != 'sed 50q "$0"'; then
    701 	  echo_test_string=`eval $prev`
    702 	  export echo_test_string
    703 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    704 	else
    705 	  # Oops.  We lost completely, so just stick with echo.
    706 	  echo=echo
    707 	fi
    708       fi
    709     fi
    710   fi
    711 fi
    712 fi
    713 
    714 # Copy echo and quote the copy suitably for passing to libtool from
    715 # the Makefile, instead of quoting the original, which is used later.
    716 ECHO=$echo
    717 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    718    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    719 fi
    720 
    721 
    722 
    723 
    724 tagnames=${tagnames+${tagnames},}CXX
    725 
    726 tagnames=${tagnames+${tagnames},}F77
    727 
    728 exec 7<&0 </dev/null 6>&1
    729 
    730 # Name of the host.
    731 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    732 # so uname gets run too.
    733 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    734 
    735 #
    736 # Initializations.
    737 #
    738 ac_default_prefix=/usr/local
    739 ac_clean_files=
    740 ac_config_libobj_dir=.
    741 LIBOBJS=
    742 cross_compiling=no
    743 subdirs=
    744 MFLAGS=
    745 MAKEFLAGS=
    746 SHELL=${CONFIG_SHELL-/bin/sh}
    747 
    748 # Identity of this package.
    749 PACKAGE_NAME=
    750 PACKAGE_TARNAME=
    751 PACKAGE_VERSION=
    752 PACKAGE_STRING=
    753 PACKAGE_BUGREPORT=
    754 
    755 ac_unique_file="event.c"
    756 # Factoring default headers for most tests.
    757 ac_includes_default="\
    758 #include <stdio.h>
    759 #ifdef HAVE_SYS_TYPES_H
    760 # include <sys/types.h>
    761 #endif
    762 #ifdef HAVE_SYS_STAT_H
    763 # include <sys/stat.h>
    764 #endif
    765 #ifdef STDC_HEADERS
    766 # include <stdlib.h>
    767 # include <stddef.h>
    768 #else
    769 # ifdef HAVE_STDLIB_H
    770 #  include <stdlib.h>
    771 # endif
    772 #endif
    773 #ifdef HAVE_STRING_H
    774 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    775 #  include <memory.h>
    776 # endif
    777 # include <string.h>
    778 #endif
    779 #ifdef HAVE_STRINGS_H
    780 # include <strings.h>
    781 #endif
    782 #ifdef HAVE_INTTYPES_H
    783 # include <inttypes.h>
    784 #endif
    785 #ifdef HAVE_STDINT_H
    786 # include <stdint.h>
    787 #endif
    788 #ifdef HAVE_UNISTD_H
    789 # include <unistd.h>
    790 #endif"
    791 
    792 ac_subst_vars='LTLIBOBJS
    793 LIBOBJS
    794 BUILD_WIN32_FALSE
    795 BUILD_WIN32_TRUE
    796 LIBTOOL_DEPS
    797 LIBTOOL
    798 ac_ct_F77
    799 FFLAGS
    800 F77
    801 CXXCPP
    802 am__fastdepCXX_FALSE
    803 am__fastdepCXX_TRUE
    804 CXXDEPMODE
    805 ac_ct_CXX
    806 CXXFLAGS
    807 CXX
    808 NMEDIT
    809 DSYMUTIL
    810 RANLIB
    811 AR
    812 ECHO
    813 SED
    814 host_os
    815 host_vendor
    816 host_cpu
    817 host
    818 build_os
    819 build_vendor
    820 build_cpu
    821 build
    822 EGREP
    823 GREP
    824 CPP
    825 LN_S
    826 am__fastdepCC_FALSE
    827 am__fastdepCC_TRUE
    828 CCDEPMODE
    829 AMDEPBACKSLASH
    830 AMDEP_FALSE
    831 AMDEP_TRUE
    832 am__quote
    833 am__include
    834 DEPDIR
    835 OBJEXT
    836 EXEEXT
    837 ac_ct_CC
    838 CPPFLAGS
    839 LDFLAGS
    840 CFLAGS
    841 CC
    842 am__untar
    843 am__tar
    844 AMTAR
    845 am__leading_dot
    846 SET_MAKE
    847 AWK
    848 mkdir_p
    849 MKDIR_P
    850 INSTALL_STRIP_PROGRAM
    851 STRIP
    852 install_sh
    853 MAKEINFO
    854 AUTOHEADER
    855 AUTOMAKE
    856 AUTOCONF
    857 ACLOCAL
    858 VERSION
    859 PACKAGE
    860 CYGPATH_W
    861 am__isrc
    862 INSTALL_DATA
    863 INSTALL_SCRIPT
    864 INSTALL_PROGRAM
    865 target_alias
    866 host_alias
    867 build_alias
    868 LIBS
    869 ECHO_T
    870 ECHO_N
    871 ECHO_C
    872 DEFS
    873 mandir
    874 localedir
    875 libdir
    876 psdir
    877 pdfdir
    878 dvidir
    879 htmldir
    880 infodir
    881 docdir
    882 oldincludedir
    883 includedir
    884 localstatedir
    885 sharedstatedir
    886 sysconfdir
    887 datadir
    888 datarootdir
    889 libexecdir
    890 sbindir
    891 bindir
    892 program_transform_name
    893 prefix
    894 exec_prefix
    895 PACKAGE_BUGREPORT
    896 PACKAGE_STRING
    897 PACKAGE_VERSION
    898 PACKAGE_TARNAME
    899 PACKAGE_NAME
    900 PATH_SEPARATOR
    901 SHELL'
    902 ac_subst_files=''
    903 ac_user_opts='
    904 enable_option_checking
    905 enable_dependency_tracking
    906 enable_gcc_warnings
    907 enable_shared
    908 enable_static
    909 enable_fast_install
    910 with_gnu_ld
    911 enable_libtool_lock
    912 with_pic
    913 with_tags
    914 '
    915       ac_precious_vars='build_alias
    916 host_alias
    917 target_alias
    918 CC
    919 CFLAGS
    920 LDFLAGS
    921 LIBS
    922 CPPFLAGS
    923 CPP
    924 CXX
    925 CXXFLAGS
    926 CCC
    927 CXXCPP
    928 F77
    929 FFLAGS'
    930 
    931 
    932 # Initialize some variables set by options.
    933 ac_init_help=
    934 ac_init_version=false
    935 ac_unrecognized_opts=
    936 ac_unrecognized_sep=
    937 # The variables have the same names as the options, with
    938 # dashes changed to underlines.
    939 cache_file=/dev/null
    940 exec_prefix=NONE
    941 no_create=
    942 no_recursion=
    943 prefix=NONE
    944 program_prefix=NONE
    945 program_suffix=NONE
    946 program_transform_name=s,x,x,
    947 silent=
    948 site=
    949 srcdir=
    950 verbose=
    951 x_includes=NONE
    952 x_libraries=NONE
    953 
    954 # Installation directory options.
    955 # These are left unexpanded so users can "make install exec_prefix=/foo"
    956 # and all the variables that are supposed to be based on exec_prefix
    957 # by default will actually change.
    958 # Use braces instead of parens because sh, perl, etc. also accept them.
    959 # (The list follows the same order as the GNU Coding Standards.)
    960 bindir='${exec_prefix}/bin'
    961 sbindir='${exec_prefix}/sbin'
    962 libexecdir='${exec_prefix}/libexec'
    963 datarootdir='${prefix}/share'
    964 datadir='${datarootdir}'
    965 sysconfdir='${prefix}/etc'
    966 sharedstatedir='${prefix}/com'
    967 localstatedir='${prefix}/var'
    968 includedir='${prefix}/include'
    969 oldincludedir='/usr/include'
    970 docdir='${datarootdir}/doc/${PACKAGE}'
    971 infodir='${datarootdir}/info'
    972 htmldir='${docdir}'
    973 dvidir='${docdir}'
    974 pdfdir='${docdir}'
    975 psdir='${docdir}'
    976 libdir='${exec_prefix}/lib'
    977 localedir='${datarootdir}/locale'
    978 mandir='${datarootdir}/man'
    979 
    980 ac_prev=
    981 ac_dashdash=
    982 for ac_option
    983 do
    984   # If the previous option needs an argument, assign it.
    985   if test -n "$ac_prev"; then
    986     eval $ac_prev=\$ac_option
    987     ac_prev=
    988     continue
    989   fi
    990 
    991   case $ac_option in
    992   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    993   *)	ac_optarg=yes ;;
    994   esac
    995 
    996   # Accept the important Cygnus configure options, so we can diagnose typos.
    997 
    998   case $ac_dashdash$ac_option in
    999   --)
   1000     ac_dashdash=yes ;;
   1001 
   1002   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1003     ac_prev=bindir ;;
   1004   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1005     bindir=$ac_optarg ;;
   1006 
   1007   -build | --build | --buil | --bui | --bu)
   1008     ac_prev=build_alias ;;
   1009   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1010     build_alias=$ac_optarg ;;
   1011 
   1012   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1013   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1014     ac_prev=cache_file ;;
   1015   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1016   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1017     cache_file=$ac_optarg ;;
   1018 
   1019   --config-cache | -C)
   1020     cache_file=config.cache ;;
   1021 
   1022   -datadir | --datadir | --datadi | --datad)
   1023     ac_prev=datadir ;;
   1024   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1025     datadir=$ac_optarg ;;
   1026 
   1027   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1028   | --dataroo | --dataro | --datar)
   1029     ac_prev=datarootdir ;;
   1030   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1031   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1032     datarootdir=$ac_optarg ;;
   1033 
   1034   -disable-* | --disable-*)
   1035     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1036     # Reject names that are not valid shell variable names.
   1037     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1038       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1039    { (exit 1); exit 1; }; }
   1040     ac_useropt_orig=$ac_useropt
   1041     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1042     case $ac_user_opts in
   1043       *"
   1044 "enable_$ac_useropt"
   1045 "*) ;;
   1046       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1047 	 ac_unrecognized_sep=', ';;
   1048     esac
   1049     eval enable_$ac_useropt=no ;;
   1050 
   1051   -docdir | --docdir | --docdi | --doc | --do)
   1052     ac_prev=docdir ;;
   1053   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1054     docdir=$ac_optarg ;;
   1055 
   1056   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1057     ac_prev=dvidir ;;
   1058   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1059     dvidir=$ac_optarg ;;
   1060 
   1061   -enable-* | --enable-*)
   1062     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1063     # Reject names that are not valid shell variable names.
   1064     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1065       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1066    { (exit 1); exit 1; }; }
   1067     ac_useropt_orig=$ac_useropt
   1068     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1069     case $ac_user_opts in
   1070       *"
   1071 "enable_$ac_useropt"
   1072 "*) ;;
   1073       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1074 	 ac_unrecognized_sep=', ';;
   1075     esac
   1076     eval enable_$ac_useropt=\$ac_optarg ;;
   1077 
   1078   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1079   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1080   | --exec | --exe | --ex)
   1081     ac_prev=exec_prefix ;;
   1082   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1083   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1084   | --exec=* | --exe=* | --ex=*)
   1085     exec_prefix=$ac_optarg ;;
   1086 
   1087   -gas | --gas | --ga | --g)
   1088     # Obsolete; use --with-gas.
   1089     with_gas=yes ;;
   1090 
   1091   -help | --help | --hel | --he | -h)
   1092     ac_init_help=long ;;
   1093   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1094     ac_init_help=recursive ;;
   1095   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1096     ac_init_help=short ;;
   1097 
   1098   -host | --host | --hos | --ho)
   1099     ac_prev=host_alias ;;
   1100   -host=* | --host=* | --hos=* | --ho=*)
   1101     host_alias=$ac_optarg ;;
   1102 
   1103   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1104     ac_prev=htmldir ;;
   1105   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1106   | --ht=*)
   1107     htmldir=$ac_optarg ;;
   1108 
   1109   -includedir | --includedir | --includedi | --included | --include \
   1110   | --includ | --inclu | --incl | --inc)
   1111     ac_prev=includedir ;;
   1112   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1113   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1114     includedir=$ac_optarg ;;
   1115 
   1116   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1117     ac_prev=infodir ;;
   1118   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1119     infodir=$ac_optarg ;;
   1120 
   1121   -libdir | --libdir | --libdi | --libd)
   1122     ac_prev=libdir ;;
   1123   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1124     libdir=$ac_optarg ;;
   1125 
   1126   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1127   | --libexe | --libex | --libe)
   1128     ac_prev=libexecdir ;;
   1129   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1130   | --libexe=* | --libex=* | --libe=*)
   1131     libexecdir=$ac_optarg ;;
   1132 
   1133   -localedir | --localedir | --localedi | --localed | --locale)
   1134     ac_prev=localedir ;;
   1135   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1136     localedir=$ac_optarg ;;
   1137 
   1138   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1139   | --localstate | --localstat | --localsta | --localst | --locals)
   1140     ac_prev=localstatedir ;;
   1141   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1142   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1143     localstatedir=$ac_optarg ;;
   1144 
   1145   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1146     ac_prev=mandir ;;
   1147   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1148     mandir=$ac_optarg ;;
   1149 
   1150   -nfp | --nfp | --nf)
   1151     # Obsolete; use --without-fp.
   1152     with_fp=no ;;
   1153 
   1154   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1155   | --no-cr | --no-c | -n)
   1156     no_create=yes ;;
   1157 
   1158   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1159   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1160     no_recursion=yes ;;
   1161 
   1162   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1163   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1164   | --oldin | --oldi | --old | --ol | --o)
   1165     ac_prev=oldincludedir ;;
   1166   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1167   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1168   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1169     oldincludedir=$ac_optarg ;;
   1170 
   1171   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1172     ac_prev=prefix ;;
   1173   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1174     prefix=$ac_optarg ;;
   1175 
   1176   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1177   | --program-pre | --program-pr | --program-p)
   1178     ac_prev=program_prefix ;;
   1179   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1180   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1181     program_prefix=$ac_optarg ;;
   1182 
   1183   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1184   | --program-suf | --program-su | --program-s)
   1185     ac_prev=program_suffix ;;
   1186   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1187   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1188     program_suffix=$ac_optarg ;;
   1189 
   1190   -program-transform-name | --program-transform-name \
   1191   | --program-transform-nam | --program-transform-na \
   1192   | --program-transform-n | --program-transform- \
   1193   | --program-transform | --program-transfor \
   1194   | --program-transfo | --program-transf \
   1195   | --program-trans | --program-tran \
   1196   | --progr-tra | --program-tr | --program-t)
   1197     ac_prev=program_transform_name ;;
   1198   -program-transform-name=* | --program-transform-name=* \
   1199   | --program-transform-nam=* | --program-transform-na=* \
   1200   | --program-transform-n=* | --program-transform-=* \
   1201   | --program-transform=* | --program-transfor=* \
   1202   | --program-transfo=* | --program-transf=* \
   1203   | --program-trans=* | --program-tran=* \
   1204   | --progr-tra=* | --program-tr=* | --program-t=*)
   1205     program_transform_name=$ac_optarg ;;
   1206 
   1207   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1208     ac_prev=pdfdir ;;
   1209   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1210     pdfdir=$ac_optarg ;;
   1211 
   1212   -psdir | --psdir | --psdi | --psd | --ps)
   1213     ac_prev=psdir ;;
   1214   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1215     psdir=$ac_optarg ;;
   1216 
   1217   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1218   | -silent | --silent | --silen | --sile | --sil)
   1219     silent=yes ;;
   1220 
   1221   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1222     ac_prev=sbindir ;;
   1223   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1224   | --sbi=* | --sb=*)
   1225     sbindir=$ac_optarg ;;
   1226 
   1227   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1228   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1229   | --sharedst | --shareds | --shared | --share | --shar \
   1230   | --sha | --sh)
   1231     ac_prev=sharedstatedir ;;
   1232   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1233   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1234   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1235   | --sha=* | --sh=*)
   1236     sharedstatedir=$ac_optarg ;;
   1237 
   1238   -site | --site | --sit)
   1239     ac_prev=site ;;
   1240   -site=* | --site=* | --sit=*)
   1241     site=$ac_optarg ;;
   1242 
   1243   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1244     ac_prev=srcdir ;;
   1245   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1246     srcdir=$ac_optarg ;;
   1247 
   1248   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1249   | --syscon | --sysco | --sysc | --sys | --sy)
   1250     ac_prev=sysconfdir ;;
   1251   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1252   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1253     sysconfdir=$ac_optarg ;;
   1254 
   1255   -target | --target | --targe | --targ | --tar | --ta | --t)
   1256     ac_prev=target_alias ;;
   1257   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1258     target_alias=$ac_optarg ;;
   1259 
   1260   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1261     verbose=yes ;;
   1262 
   1263   -version | --version | --versio | --versi | --vers | -V)
   1264     ac_init_version=: ;;
   1265 
   1266   -with-* | --with-*)
   1267     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1268     # Reject names that are not valid shell variable names.
   1269     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1270       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1271    { (exit 1); exit 1; }; }
   1272     ac_useropt_orig=$ac_useropt
   1273     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1274     case $ac_user_opts in
   1275       *"
   1276 "with_$ac_useropt"
   1277 "*) ;;
   1278       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1279 	 ac_unrecognized_sep=', ';;
   1280     esac
   1281     eval with_$ac_useropt=\$ac_optarg ;;
   1282 
   1283   -without-* | --without-*)
   1284     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1285     # Reject names that are not valid shell variable names.
   1286     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1287       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1288    { (exit 1); exit 1; }; }
   1289     ac_useropt_orig=$ac_useropt
   1290     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1291     case $ac_user_opts in
   1292       *"
   1293 "with_$ac_useropt"
   1294 "*) ;;
   1295       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1296 	 ac_unrecognized_sep=', ';;
   1297     esac
   1298     eval with_$ac_useropt=no ;;
   1299 
   1300   --x)
   1301     # Obsolete; use --with-x.
   1302     with_x=yes ;;
   1303 
   1304   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1305   | --x-incl | --x-inc | --x-in | --x-i)
   1306     ac_prev=x_includes ;;
   1307   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1308   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1309     x_includes=$ac_optarg ;;
   1310 
   1311   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1312   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1313     ac_prev=x_libraries ;;
   1314   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1315   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1316     x_libraries=$ac_optarg ;;
   1317 
   1318   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1319 Try \`$0 --help' for more information." >&2
   1320    { (exit 1); exit 1; }; }
   1321     ;;
   1322 
   1323   *=*)
   1324     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1325     # Reject names that are not valid shell variable names.
   1326     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1327       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1328    { (exit 1); exit 1; }; }
   1329     eval $ac_envvar=\$ac_optarg
   1330     export $ac_envvar ;;
   1331 
   1332   *)
   1333     # FIXME: should be removed in autoconf 3.0.
   1334     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1335     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1336       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1337     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1338     ;;
   1339 
   1340   esac
   1341 done
   1342 
   1343 if test -n "$ac_prev"; then
   1344   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1345   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1346    { (exit 1); exit 1; }; }
   1347 fi
   1348 
   1349 if test -n "$ac_unrecognized_opts"; then
   1350   case $enable_option_checking in
   1351     no) ;;
   1352     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1353    { (exit 1); exit 1; }; } ;;
   1354     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1355   esac
   1356 fi
   1357 
   1358 # Check all directory arguments for consistency.
   1359 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1360 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1361 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1362 		libdir localedir mandir
   1363 do
   1364   eval ac_val=\$$ac_var
   1365   # Remove trailing slashes.
   1366   case $ac_val in
   1367     */ )
   1368       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1369       eval $ac_var=\$ac_val;;
   1370   esac
   1371   # Be sure to have absolute directory names.
   1372   case $ac_val in
   1373     [\\/$]* | ?:[\\/]* )  continue;;
   1374     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1375   esac
   1376   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1377    { (exit 1); exit 1; }; }
   1378 done
   1379 
   1380 # There might be people who depend on the old broken behavior: `$host'
   1381 # used to hold the argument of --host etc.
   1382 # FIXME: To remove some day.
   1383 build=$build_alias
   1384 host=$host_alias
   1385 target=$target_alias
   1386 
   1387 # FIXME: To remove some day.
   1388 if test "x$host_alias" != x; then
   1389   if test "x$build_alias" = x; then
   1390     cross_compiling=maybe
   1391     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1392     If a cross compiler is detected then cross compile mode will be used." >&2
   1393   elif test "x$build_alias" != "x$host_alias"; then
   1394     cross_compiling=yes
   1395   fi
   1396 fi
   1397 
   1398 ac_tool_prefix=
   1399 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1400 
   1401 test "$silent" = yes && exec 6>/dev/null
   1402 
   1403 
   1404 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1405 ac_ls_di=`ls -di .` &&
   1406 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1407   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1408    { (exit 1); exit 1; }; }
   1409 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1410   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1411    { (exit 1); exit 1; }; }
   1412 
   1413 
   1414 # Find the source files, if location was not specified.
   1415 if test -z "$srcdir"; then
   1416   ac_srcdir_defaulted=yes
   1417   # Try the directory containing this script, then the parent directory.
   1418   ac_confdir=`$as_dirname -- "$as_myself" ||
   1419 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1420 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1421 	 X"$as_myself" : 'X\(//\)$' \| \
   1422 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1423 $as_echo X"$as_myself" |
   1424     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1425 	    s//\1/
   1426 	    q
   1427 	  }
   1428 	  /^X\(\/\/\)[^/].*/{
   1429 	    s//\1/
   1430 	    q
   1431 	  }
   1432 	  /^X\(\/\/\)$/{
   1433 	    s//\1/
   1434 	    q
   1435 	  }
   1436 	  /^X\(\/\).*/{
   1437 	    s//\1/
   1438 	    q
   1439 	  }
   1440 	  s/.*/./; q'`
   1441   srcdir=$ac_confdir
   1442   if test ! -r "$srcdir/$ac_unique_file"; then
   1443     srcdir=..
   1444   fi
   1445 else
   1446   ac_srcdir_defaulted=no
   1447 fi
   1448 if test ! -r "$srcdir/$ac_unique_file"; then
   1449   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1450   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1451    { (exit 1); exit 1; }; }
   1452 fi
   1453 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1454 ac_abs_confdir=`(
   1455 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1456    { (exit 1); exit 1; }; }
   1457 	pwd)`
   1458 # When building in place, set srcdir=.
   1459 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1460   srcdir=.
   1461 fi
   1462 # Remove unnecessary trailing slashes from srcdir.
   1463 # Double slashes in file names in object file debugging info
   1464 # mess up M-x gdb in Emacs.
   1465 case $srcdir in
   1466 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1467 esac
   1468 for ac_var in $ac_precious_vars; do
   1469   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1470   eval ac_env_${ac_var}_value=\$${ac_var}
   1471   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1472   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1473 done
   1474 
   1475 #
   1476 # Report the --help message.
   1477 #
   1478 if test "$ac_init_help" = "long"; then
   1479   # Omit some internal or obsolete options to make the list less imposing.
   1480   # This message is too long to be a string in the A/UX 3.1 sh.
   1481   cat <<_ACEOF
   1482 \`configure' configures this package to adapt to many kinds of systems.
   1483 
   1484 Usage: $0 [OPTION]... [VAR=VALUE]...
   1485 
   1486 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1487 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1488 
   1489 Defaults for the options are specified in brackets.
   1490 
   1491 Configuration:
   1492   -h, --help              display this help and exit
   1493       --help=short        display options specific to this package
   1494       --help=recursive    display the short help of all the included packages
   1495   -V, --version           display version information and exit
   1496   -q, --quiet, --silent   do not print \`checking...' messages
   1497       --cache-file=FILE   cache test results in FILE [disabled]
   1498   -C, --config-cache      alias for \`--cache-file=config.cache'
   1499   -n, --no-create         do not create output files
   1500       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1501 
   1502 Installation directories:
   1503   --prefix=PREFIX         install architecture-independent files in PREFIX
   1504                           [$ac_default_prefix]
   1505   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1506                           [PREFIX]
   1507 
   1508 By default, \`make install' will install all the files in
   1509 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1510 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1511 for instance \`--prefix=\$HOME'.
   1512 
   1513 For better control, use the options below.
   1514 
   1515 Fine tuning of the installation directories:
   1516   --bindir=DIR            user executables [EPREFIX/bin]
   1517   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1518   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1519   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1520   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1521   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1522   --libdir=DIR            object code libraries [EPREFIX/lib]
   1523   --includedir=DIR        C header files [PREFIX/include]
   1524   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1525   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1526   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1527   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1528   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1529   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1530   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
   1531   --htmldir=DIR           html documentation [DOCDIR]
   1532   --dvidir=DIR            dvi documentation [DOCDIR]
   1533   --pdfdir=DIR            pdf documentation [DOCDIR]
   1534   --psdir=DIR             ps documentation [DOCDIR]
   1535 _ACEOF
   1536 
   1537   cat <<\_ACEOF
   1538 
   1539 Program names:
   1540   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1541   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1542   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1543 
   1544 System types:
   1545   --build=BUILD     configure for building on BUILD [guessed]
   1546   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1547 _ACEOF
   1548 fi
   1549 
   1550 if test -n "$ac_init_help"; then
   1551 
   1552   cat <<\_ACEOF
   1553 
   1554 Optional Features:
   1555   --disable-option-checking  ignore unrecognized --enable/--with options
   1556   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1557   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1558   --disable-dependency-tracking  speeds up one-time build
   1559   --enable-dependency-tracking   do not reject slow dependency extractors
   1560   --enable-gcc-warnings   enable verbose warnings with GCC
   1561   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1562   --enable-static[=PKGS]  build static libraries [default=yes]
   1563   --enable-fast-install[=PKGS]
   1564                           optimize for fast installation [default=yes]
   1565   --disable-libtool-lock  avoid locking (might break parallel builds)
   1566 
   1567 Optional Packages:
   1568   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1569   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1570   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1571   --with-pic              try to use only PIC/non-PIC objects [default=use
   1572                           both]
   1573   --with-tags[=TAGS]      include additional configurations [automatic]
   1574 
   1575 Some influential environment variables:
   1576   CC          C compiler command
   1577   CFLAGS      C compiler flags
   1578   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1579               nonstandard directory <lib dir>
   1580   LIBS        libraries to pass to the linker, e.g. -l<library>
   1581   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1582               you have headers in a nonstandard directory <include dir>
   1583   CPP         C preprocessor
   1584   CXX         C++ compiler command
   1585   CXXFLAGS    C++ compiler flags
   1586   CXXCPP      C++ preprocessor
   1587   F77         Fortran 77 compiler command
   1588   FFLAGS      Fortran 77 compiler flags
   1589 
   1590 Use these variables to override the choices made by `configure' or to help
   1591 it to find libraries and programs with nonstandard names/locations.
   1592 
   1593 _ACEOF
   1594 ac_status=$?
   1595 fi
   1596 
   1597 if test "$ac_init_help" = "recursive"; then
   1598   # If there are subdirs, report their specific --help.
   1599   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1600     test -d "$ac_dir" ||
   1601       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1602       continue
   1603     ac_builddir=.
   1604 
   1605 case "$ac_dir" in
   1606 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1607 *)
   1608   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1609   # A ".." for each directory in $ac_dir_suffix.
   1610   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1611   case $ac_top_builddir_sub in
   1612   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1613   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1614   esac ;;
   1615 esac
   1616 ac_abs_top_builddir=$ac_pwd
   1617 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1618 # for backward compatibility:
   1619 ac_top_builddir=$ac_top_build_prefix
   1620 
   1621 case $srcdir in
   1622   .)  # We are building in place.
   1623     ac_srcdir=.
   1624     ac_top_srcdir=$ac_top_builddir_sub
   1625     ac_abs_top_srcdir=$ac_pwd ;;
   1626   [\\/]* | ?:[\\/]* )  # Absolute name.
   1627     ac_srcdir=$srcdir$ac_dir_suffix;
   1628     ac_top_srcdir=$srcdir
   1629     ac_abs_top_srcdir=$srcdir ;;
   1630   *) # Relative name.
   1631     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1632     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1633     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1634 esac
   1635 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1636 
   1637     cd "$ac_dir" || { ac_status=$?; continue; }
   1638     # Check for guested configure.
   1639     if test -f "$ac_srcdir/configure.gnu"; then
   1640       echo &&
   1641       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1642     elif test -f "$ac_srcdir/configure"; then
   1643       echo &&
   1644       $SHELL "$ac_srcdir/configure" --help=recursive
   1645     else
   1646       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1647     fi || ac_status=$?
   1648     cd "$ac_pwd" || { ac_status=$?; break; }
   1649   done
   1650 fi
   1651 
   1652 test -n "$ac_init_help" && exit $ac_status
   1653 if $ac_init_version; then
   1654   cat <<\_ACEOF
   1655 configure
   1656 generated by GNU Autoconf 2.63
   1657 
   1658 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1659 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1660 This configure script is free software; the Free Software Foundation
   1661 gives unlimited permission to copy, distribute and modify it.
   1662 _ACEOF
   1663   exit
   1664 fi
   1665 cat >config.log <<_ACEOF
   1666 This file contains any messages produced by compilers while
   1667 running configure, to aid debugging if configure makes a mistake.
   1668 
   1669 It was created by $as_me, which was
   1670 generated by GNU Autoconf 2.63.  Invocation command line was
   1671 
   1672   $ $0 $@
   1673 
   1674 _ACEOF
   1675 exec 5>>config.log
   1676 {
   1677 cat <<_ASUNAME
   1678 ## --------- ##
   1679 ## Platform. ##
   1680 ## --------- ##
   1681 
   1682 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1683 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1684 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1685 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1686 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1687 
   1688 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1689 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1690 
   1691 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1692 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1693 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1694 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1695 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1696 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1697 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1698 
   1699 _ASUNAME
   1700 
   1701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1702 for as_dir in $PATH
   1703 do
   1704   IFS=$as_save_IFS
   1705   test -z "$as_dir" && as_dir=.
   1706   $as_echo "PATH: $as_dir"
   1707 done
   1708 IFS=$as_save_IFS
   1709 
   1710 } >&5
   1711 
   1712 cat >&5 <<_ACEOF
   1713 
   1714 
   1715 ## ----------- ##
   1716 ## Core tests. ##
   1717 ## ----------- ##
   1718 
   1719 _ACEOF
   1720 
   1721 
   1722 # Keep a trace of the command line.
   1723 # Strip out --no-create and --no-recursion so they do not pile up.
   1724 # Strip out --silent because we don't want to record it for future runs.
   1725 # Also quote any args containing shell meta-characters.
   1726 # Make two passes to allow for proper duplicate-argument suppression.
   1727 ac_configure_args=
   1728 ac_configure_args0=
   1729 ac_configure_args1=
   1730 ac_must_keep_next=false
   1731 for ac_pass in 1 2
   1732 do
   1733   for ac_arg
   1734   do
   1735     case $ac_arg in
   1736     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1737     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1738     | -silent | --silent | --silen | --sile | --sil)
   1739       continue ;;
   1740     *\'*)
   1741       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1742     esac
   1743     case $ac_pass in
   1744     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1745     2)
   1746       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1747       if test $ac_must_keep_next = true; then
   1748 	ac_must_keep_next=false # Got value, back to normal.
   1749       else
   1750 	case $ac_arg in
   1751 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1752 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1753 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1754 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1755 	    case "$ac_configure_args0 " in
   1756 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1757 	    esac
   1758 	    ;;
   1759 	  -* ) ac_must_keep_next=true ;;
   1760 	esac
   1761       fi
   1762       ac_configure_args="$ac_configure_args '$ac_arg'"
   1763       ;;
   1764     esac
   1765   done
   1766 done
   1767 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1768 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1769 
   1770 # When interrupted or exit'd, cleanup temporary files, and complete
   1771 # config.log.  We remove comments because anyway the quotes in there
   1772 # would cause problems or look ugly.
   1773 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1774 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1775 trap 'exit_status=$?
   1776   # Save into config.log some information that might help in debugging.
   1777   {
   1778     echo
   1779 
   1780     cat <<\_ASBOX
   1781 ## ---------------- ##
   1782 ## Cache variables. ##
   1783 ## ---------------- ##
   1784 _ASBOX
   1785     echo
   1786     # The following way of writing the cache mishandles newlines in values,
   1787 (
   1788   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1789     eval ac_val=\$$ac_var
   1790     case $ac_val in #(
   1791     *${as_nl}*)
   1792       case $ac_var in #(
   1793       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1794 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1795       esac
   1796       case $ac_var in #(
   1797       _ | IFS | as_nl) ;; #(
   1798       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1799       *) $as_unset $ac_var ;;
   1800       esac ;;
   1801     esac
   1802   done
   1803   (set) 2>&1 |
   1804     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1805     *${as_nl}ac_space=\ *)
   1806       sed -n \
   1807 	"s/'\''/'\''\\\\'\'''\''/g;
   1808 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1809       ;; #(
   1810     *)
   1811       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1812       ;;
   1813     esac |
   1814     sort
   1815 )
   1816     echo
   1817 
   1818     cat <<\_ASBOX
   1819 ## ----------------- ##
   1820 ## Output variables. ##
   1821 ## ----------------- ##
   1822 _ASBOX
   1823     echo
   1824     for ac_var in $ac_subst_vars
   1825     do
   1826       eval ac_val=\$$ac_var
   1827       case $ac_val in
   1828       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1829       esac
   1830       $as_echo "$ac_var='\''$ac_val'\''"
   1831     done | sort
   1832     echo
   1833 
   1834     if test -n "$ac_subst_files"; then
   1835       cat <<\_ASBOX
   1836 ## ------------------- ##
   1837 ## File substitutions. ##
   1838 ## ------------------- ##
   1839 _ASBOX
   1840       echo
   1841       for ac_var in $ac_subst_files
   1842       do
   1843 	eval ac_val=\$$ac_var
   1844 	case $ac_val in
   1845 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1846 	esac
   1847 	$as_echo "$ac_var='\''$ac_val'\''"
   1848       done | sort
   1849       echo
   1850     fi
   1851 
   1852     if test -s confdefs.h; then
   1853       cat <<\_ASBOX
   1854 ## ----------- ##
   1855 ## confdefs.h. ##
   1856 ## ----------- ##
   1857 _ASBOX
   1858       echo
   1859       cat confdefs.h
   1860       echo
   1861     fi
   1862     test "$ac_signal" != 0 &&
   1863       $as_echo "$as_me: caught signal $ac_signal"
   1864     $as_echo "$as_me: exit $exit_status"
   1865   } >&5
   1866   rm -f core *.core core.conftest.* &&
   1867     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1868     exit $exit_status
   1869 ' 0
   1870 for ac_signal in 1 2 13 15; do
   1871   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1872 done
   1873 ac_signal=0
   1874 
   1875 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1876 rm -f -r conftest* confdefs.h
   1877 
   1878 # Predefined preprocessor variables.
   1879 
   1880 cat >>confdefs.h <<_ACEOF
   1881 #define PACKAGE_NAME "$PACKAGE_NAME"
   1882 _ACEOF
   1883 
   1884 
   1885 cat >>confdefs.h <<_ACEOF
   1886 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1887 _ACEOF
   1888 
   1889 
   1890 cat >>confdefs.h <<_ACEOF
   1891 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1892 _ACEOF
   1893 
   1894 
   1895 cat >>confdefs.h <<_ACEOF
   1896 #define PACKAGE_STRING "$PACKAGE_STRING"
   1897 _ACEOF
   1898 
   1899 
   1900 cat >>confdefs.h <<_ACEOF
   1901 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1902 _ACEOF
   1903 
   1904 
   1905 # Let the site file select an alternate cache file if it wants to.
   1906 # Prefer an explicitly selected file to automatically selected ones.
   1907 ac_site_file1=NONE
   1908 ac_site_file2=NONE
   1909 if test -n "$CONFIG_SITE"; then
   1910   ac_site_file1=$CONFIG_SITE
   1911 elif test "x$prefix" != xNONE; then
   1912   ac_site_file1=$prefix/share/config.site
   1913   ac_site_file2=$prefix/etc/config.site
   1914 else
   1915   ac_site_file1=$ac_default_prefix/share/config.site
   1916   ac_site_file2=$ac_default_prefix/etc/config.site
   1917 fi
   1918 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1919 do
   1920   test "x$ac_site_file" = xNONE && continue
   1921   if test -r "$ac_site_file"; then
   1922     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1923 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1924     sed 's/^/| /' "$ac_site_file" >&5
   1925     . "$ac_site_file"
   1926   fi
   1927 done
   1928 
   1929 if test -r "$cache_file"; then
   1930   # Some versions of bash will fail to source /dev/null (special
   1931   # files actually), so we avoid doing that.
   1932   if test -f "$cache_file"; then
   1933     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1934 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1935     case $cache_file in
   1936       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1937       *)                      . "./$cache_file";;
   1938     esac
   1939   fi
   1940 else
   1941   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1942 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1943   >$cache_file
   1944 fi
   1945 
   1946 # Check that the precious variables saved in the cache have kept the same
   1947 # value.
   1948 ac_cache_corrupted=false
   1949 for ac_var in $ac_precious_vars; do
   1950   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1951   eval ac_new_set=\$ac_env_${ac_var}_set
   1952   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1953   eval ac_new_val=\$ac_env_${ac_var}_value
   1954   case $ac_old_set,$ac_new_set in
   1955     set,)
   1956       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1957 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1958       ac_cache_corrupted=: ;;
   1959     ,set)
   1960       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1961 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1962       ac_cache_corrupted=: ;;
   1963     ,);;
   1964     *)
   1965       if test "x$ac_old_val" != "x$ac_new_val"; then
   1966 	# differences in whitespace do not lead to failure.
   1967 	ac_old_val_w=`echo x $ac_old_val`
   1968 	ac_new_val_w=`echo x $ac_new_val`
   1969 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   1970 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1971 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1972 	  ac_cache_corrupted=:
   1973 	else
   1974 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   1975 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   1976 	  eval $ac_var=\$ac_old_val
   1977 	fi
   1978 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   1979 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   1980 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   1981 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   1982       fi;;
   1983   esac
   1984   # Pass precious variables to config.status.
   1985   if test "$ac_new_set" = set; then
   1986     case $ac_new_val in
   1987     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1988     *) ac_arg=$ac_var=$ac_new_val ;;
   1989     esac
   1990     case " $ac_configure_args " in
   1991       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1992       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1993     esac
   1994   fi
   1995 done
   1996 if $ac_cache_corrupted; then
   1997   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   1998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1999   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2000 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2001   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2002 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2003    { (exit 1); exit 1; }; }
   2004 fi
   2005 
   2006 
   2007 
   2008 
   2009 
   2010 
   2011 
   2012 
   2013 
   2014 
   2015 
   2016 
   2017 
   2018 
   2019 
   2020 
   2021 
   2022 ac_ext=c
   2023 ac_cpp='$CPP $CPPFLAGS'
   2024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2027 
   2028 
   2029 
   2030 am__api_version='1.10'
   2031 
   2032 ac_aux_dir=
   2033 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2034   if test -f "$ac_dir/install-sh"; then
   2035     ac_aux_dir=$ac_dir
   2036     ac_install_sh="$ac_aux_dir/install-sh -c"
   2037     break
   2038   elif test -f "$ac_dir/install.sh"; then
   2039     ac_aux_dir=$ac_dir
   2040     ac_install_sh="$ac_aux_dir/install.sh -c"
   2041     break
   2042   elif test -f "$ac_dir/shtool"; then
   2043     ac_aux_dir=$ac_dir
   2044     ac_install_sh="$ac_aux_dir/shtool install -c"
   2045     break
   2046   fi
   2047 done
   2048 if test -z "$ac_aux_dir"; then
   2049   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2050 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2051    { (exit 1); exit 1; }; }
   2052 fi
   2053 
   2054 # These three variables are undocumented and unsupported,
   2055 # and are intended to be withdrawn in a future Autoconf release.
   2056 # They can cause serious problems if a builder's source tree is in a directory
   2057 # whose full name contains unusual characters.
   2058 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2059 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2060 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2061 
   2062 
   2063 # Find a good install program.  We prefer a C program (faster),
   2064 # so one script is as good as another.  But avoid the broken or
   2065 # incompatible versions:
   2066 # SysV /etc/install, /usr/sbin/install
   2067 # SunOS /usr/etc/install
   2068 # IRIX /sbin/install
   2069 # AIX /bin/install
   2070 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2071 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2072 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2073 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2074 # OS/2's system install, which has a completely different semantic
   2075 # ./install, which can be erroneously created by make from ./install.sh.
   2076 # Reject install programs that cannot install multiple files.
   2077 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2078 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2079 if test -z "$INSTALL"; then
   2080 if test "${ac_cv_path_install+set}" = set; then
   2081   $as_echo_n "(cached) " >&6
   2082 else
   2083   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2084 for as_dir in $PATH
   2085 do
   2086   IFS=$as_save_IFS
   2087   test -z "$as_dir" && as_dir=.
   2088   # Account for people who put trailing slashes in PATH elements.
   2089 case $as_dir/ in
   2090   ./ | .// | /cC/* | \
   2091   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2092   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2093   /usr/ucb/* ) ;;
   2094   *)
   2095     # OSF1 and SCO ODT 3.0 have their own names for install.
   2096     # Don't use installbsd from OSF since it installs stuff as root
   2097     # by default.
   2098     for ac_prog in ginstall scoinst install; do
   2099       for ac_exec_ext in '' $ac_executable_extensions; do
   2100 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2101 	  if test $ac_prog = install &&
   2102 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2103 	    # AIX install.  It has an incompatible calling convention.
   2104 	    :
   2105 	  elif test $ac_prog = install &&
   2106 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2107 	    # program-specific install script used by HP pwplus--don't use.
   2108 	    :
   2109 	  else
   2110 	    rm -rf conftest.one conftest.two conftest.dir
   2111 	    echo one > conftest.one
   2112 	    echo two > conftest.two
   2113 	    mkdir conftest.dir
   2114 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2115 	      test -s conftest.one && test -s conftest.two &&
   2116 	      test -s conftest.dir/conftest.one &&
   2117 	      test -s conftest.dir/conftest.two
   2118 	    then
   2119 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2120 	      break 3
   2121 	    fi
   2122 	  fi
   2123 	fi
   2124       done
   2125     done
   2126     ;;
   2127 esac
   2128 
   2129 done
   2130 IFS=$as_save_IFS
   2131 
   2132 rm -rf conftest.one conftest.two conftest.dir
   2133 
   2134 fi
   2135   if test "${ac_cv_path_install+set}" = set; then
   2136     INSTALL=$ac_cv_path_install
   2137   else
   2138     # As a last resort, use the slow shell script.  Don't cache a
   2139     # value for INSTALL within a source directory, because that will
   2140     # break other packages using the cache if that directory is
   2141     # removed, or if the value is a relative name.
   2142     INSTALL=$ac_install_sh
   2143   fi
   2144 fi
   2145 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2146 $as_echo "$INSTALL" >&6; }
   2147 
   2148 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2149 # It thinks the first close brace ends the variable substitution.
   2150 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2151 
   2152 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2153 
   2154 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2155 
   2156 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2157 $as_echo_n "checking whether build environment is sane... " >&6; }
   2158 # Just in case
   2159 sleep 1
   2160 echo timestamp > conftest.file
   2161 # Do `set' in a subshell so we don't clobber the current shell's
   2162 # arguments.  Must try -L first in case configure is actually a
   2163 # symlink; some systems play weird games with the mod time of symlinks
   2164 # (eg FreeBSD returns the mod time of the symlink's containing
   2165 # directory).
   2166 if (
   2167    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2168    if test "$*" = "X"; then
   2169       # -L didn't work.
   2170       set X `ls -t $srcdir/configure conftest.file`
   2171    fi
   2172    rm -f conftest.file
   2173    if test "$*" != "X $srcdir/configure conftest.file" \
   2174       && test "$*" != "X conftest.file $srcdir/configure"; then
   2175 
   2176       # If neither matched, then we have a broken ls.  This can happen
   2177       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2178       # broken ls alias from the environment.  This has actually
   2179       # happened.  Such a system could not be considered "sane".
   2180       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2181 alias in your environment" >&5
   2182 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2183 alias in your environment" >&2;}
   2184    { (exit 1); exit 1; }; }
   2185    fi
   2186 
   2187    test "$2" = conftest.file
   2188    )
   2189 then
   2190    # Ok.
   2191    :
   2192 else
   2193    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2194 Check your system clock" >&5
   2195 $as_echo "$as_me: error: newly created file is older than distributed files!
   2196 Check your system clock" >&2;}
   2197    { (exit 1); exit 1; }; }
   2198 fi
   2199 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2200 $as_echo "yes" >&6; }
   2201 test "$program_prefix" != NONE &&
   2202   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2203 # Use a double $ so make ignores it.
   2204 test "$program_suffix" != NONE &&
   2205   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2206 # Double any \ or $.
   2207 # By default was `s,x,x', remove it if useless.
   2208 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2209 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2210 
   2211 # expand $ac_aux_dir to an absolute path
   2212 am_aux_dir=`cd $ac_aux_dir && pwd`
   2213 
   2214 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2215 # Use eval to expand $SHELL
   2216 if eval "$MISSING --run true"; then
   2217   am_missing_run="$MISSING --run "
   2218 else
   2219   am_missing_run=
   2220   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2221 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2222 fi
   2223 
   2224 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2225 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2226 if test -z "$MKDIR_P"; then
   2227   if test "${ac_cv_path_mkdir+set}" = set; then
   2228   $as_echo_n "(cached) " >&6
   2229 else
   2230   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2231 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2232 do
   2233   IFS=$as_save_IFS
   2234   test -z "$as_dir" && as_dir=.
   2235   for ac_prog in mkdir gmkdir; do
   2236 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2237 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2238 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2239 	     'mkdir (GNU coreutils) '* | \
   2240 	     'mkdir (coreutils) '* | \
   2241 	     'mkdir (fileutils) '4.1*)
   2242 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2243 	       break 3;;
   2244 	   esac
   2245 	 done
   2246        done
   2247 done
   2248 IFS=$as_save_IFS
   2249 
   2250 fi
   2251 
   2252   if test "${ac_cv_path_mkdir+set}" = set; then
   2253     MKDIR_P="$ac_cv_path_mkdir -p"
   2254   else
   2255     # As a last resort, use the slow shell script.  Don't cache a
   2256     # value for MKDIR_P within a source directory, because that will
   2257     # break other packages using the cache if that directory is
   2258     # removed, or if the value is a relative name.
   2259     test -d ./--version && rmdir ./--version
   2260     MKDIR_P="$ac_install_sh -d"
   2261   fi
   2262 fi
   2263 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2264 $as_echo "$MKDIR_P" >&6; }
   2265 
   2266 mkdir_p="$MKDIR_P"
   2267 case $mkdir_p in
   2268   [\\/$]* | ?:[\\/]*) ;;
   2269   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2270 esac
   2271 
   2272 for ac_prog in gawk mawk nawk awk
   2273 do
   2274   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2275 set dummy $ac_prog; ac_word=$2
   2276 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2277 $as_echo_n "checking for $ac_word... " >&6; }
   2278 if test "${ac_cv_prog_AWK+set}" = set; then
   2279   $as_echo_n "(cached) " >&6
   2280 else
   2281   if test -n "$AWK"; then
   2282   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2283 else
   2284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2285 for as_dir in $PATH
   2286 do
   2287   IFS=$as_save_IFS
   2288   test -z "$as_dir" && as_dir=.
   2289   for ac_exec_ext in '' $ac_executable_extensions; do
   2290   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2291     ac_cv_prog_AWK="$ac_prog"
   2292     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2293     break 2
   2294   fi
   2295 done
   2296 done
   2297 IFS=$as_save_IFS
   2298 
   2299 fi
   2300 fi
   2301 AWK=$ac_cv_prog_AWK
   2302 if test -n "$AWK"; then
   2303   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2304 $as_echo "$AWK" >&6; }
   2305 else
   2306   { $as_echo "$as_me:$LINENO: result: no" >&5
   2307 $as_echo "no" >&6; }
   2308 fi
   2309 
   2310 
   2311   test -n "$AWK" && break
   2312 done
   2313 
   2314 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2315 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2316 set x ${MAKE-make}
   2317 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2318 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2319   $as_echo_n "(cached) " >&6
   2320 else
   2321   cat >conftest.make <<\_ACEOF
   2322 SHELL = /bin/sh
   2323 all:
   2324 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2325 _ACEOF
   2326 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2327 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2328   *@@@%%%=?*=@@@%%%*)
   2329     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2330   *)
   2331     eval ac_cv_prog_make_${ac_make}_set=no;;
   2332 esac
   2333 rm -f conftest.make
   2334 fi
   2335 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2336   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2337 $as_echo "yes" >&6; }
   2338   SET_MAKE=
   2339 else
   2340   { $as_echo "$as_me:$LINENO: result: no" >&5
   2341 $as_echo "no" >&6; }
   2342   SET_MAKE="MAKE=${MAKE-make}"
   2343 fi
   2344 
   2345 rm -rf .tst 2>/dev/null
   2346 mkdir .tst 2>/dev/null
   2347 if test -d .tst; then
   2348   am__leading_dot=.
   2349 else
   2350   am__leading_dot=_
   2351 fi
   2352 rmdir .tst 2>/dev/null
   2353 
   2354 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2355   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2356   # is not polluted with repeated "-I."
   2357   am__isrc=' -I$(srcdir)'
   2358   # test to see if srcdir already configured
   2359   if test -f $srcdir/config.status; then
   2360     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2361 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2362    { (exit 1); exit 1; }; }
   2363   fi
   2364 fi
   2365 
   2366 # test whether we have cygpath
   2367 if test -z "$CYGPATH_W"; then
   2368   if (cygpath --version) >/dev/null 2>/dev/null; then
   2369     CYGPATH_W='cygpath -w'
   2370   else
   2371     CYGPATH_W=echo
   2372   fi
   2373 fi
   2374 
   2375 
   2376 # Define the identity of the package.
   2377  PACKAGE=libevent
   2378  VERSION=1.4.13-stable
   2379 
   2380 
   2381 cat >>confdefs.h <<_ACEOF
   2382 #define PACKAGE "$PACKAGE"
   2383 _ACEOF
   2384 
   2385 
   2386 cat >>confdefs.h <<_ACEOF
   2387 #define VERSION "$VERSION"
   2388 _ACEOF
   2389 
   2390 # Some tools Automake needs.
   2391 
   2392 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2393 
   2394 
   2395 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2396 
   2397 
   2398 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2399 
   2400 
   2401 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2402 
   2403 
   2404 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2405 
   2406 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2407 
   2408 # Installed binaries are usually stripped using `strip' when the user
   2409 # run `make install-strip'.  However `strip' might not be the right
   2410 # tool to use in cross-compilation environments, therefore Automake
   2411 # will honor the `STRIP' environment variable to overrule this program.
   2412 if test "$cross_compiling" != no; then
   2413   if test -n "$ac_tool_prefix"; then
   2414   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2415 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2416 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2417 $as_echo_n "checking for $ac_word... " >&6; }
   2418 if test "${ac_cv_prog_STRIP+set}" = set; then
   2419   $as_echo_n "(cached) " >&6
   2420 else
   2421   if test -n "$STRIP"; then
   2422   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2423 else
   2424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2425 for as_dir in $PATH
   2426 do
   2427   IFS=$as_save_IFS
   2428   test -z "$as_dir" && as_dir=.
   2429   for ac_exec_ext in '' $ac_executable_extensions; do
   2430   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2431     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2432     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2433     break 2
   2434   fi
   2435 done
   2436 done
   2437 IFS=$as_save_IFS
   2438 
   2439 fi
   2440 fi
   2441 STRIP=$ac_cv_prog_STRIP
   2442 if test -n "$STRIP"; then
   2443   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2444 $as_echo "$STRIP" >&6; }
   2445 else
   2446   { $as_echo "$as_me:$LINENO: result: no" >&5
   2447 $as_echo "no" >&6; }
   2448 fi
   2449 
   2450 
   2451 fi
   2452 if test -z "$ac_cv_prog_STRIP"; then
   2453   ac_ct_STRIP=$STRIP
   2454   # Extract the first word of "strip", so it can be a program name with args.
   2455 set dummy strip; ac_word=$2
   2456 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2457 $as_echo_n "checking for $ac_word... " >&6; }
   2458 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2459   $as_echo_n "(cached) " >&6
   2460 else
   2461   if test -n "$ac_ct_STRIP"; then
   2462   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2463 else
   2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2465 for as_dir in $PATH
   2466 do
   2467   IFS=$as_save_IFS
   2468   test -z "$as_dir" && as_dir=.
   2469   for ac_exec_ext in '' $ac_executable_extensions; do
   2470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2471     ac_cv_prog_ac_ct_STRIP="strip"
   2472     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2473     break 2
   2474   fi
   2475 done
   2476 done
   2477 IFS=$as_save_IFS
   2478 
   2479 fi
   2480 fi
   2481 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2482 if test -n "$ac_ct_STRIP"; then
   2483   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2484 $as_echo "$ac_ct_STRIP" >&6; }
   2485 else
   2486   { $as_echo "$as_me:$LINENO: result: no" >&5
   2487 $as_echo "no" >&6; }
   2488 fi
   2489 
   2490   if test "x$ac_ct_STRIP" = x; then
   2491     STRIP=":"
   2492   else
   2493     case $cross_compiling:$ac_tool_warned in
   2494 yes:)
   2495 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2497 ac_tool_warned=yes ;;
   2498 esac
   2499     STRIP=$ac_ct_STRIP
   2500   fi
   2501 else
   2502   STRIP="$ac_cv_prog_STRIP"
   2503 fi
   2504 
   2505 fi
   2506 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2507 
   2508 # We need awk for the "check" target.  The system "awk" is bad on
   2509 # some platforms.
   2510 # Always define AMTAR for backward compatibility.
   2511 
   2512 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2513 
   2514 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2515 
   2516 
   2517 
   2518 
   2519 
   2520 ac_config_headers="$ac_config_headers config.h"
   2521 
   2522 
   2523 if test "$prefix" = "NONE"; then
   2524    prefix="/usr/local"
   2525 fi
   2526 
   2527 ac_ext=c
   2528 ac_cpp='$CPP $CPPFLAGS'
   2529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2532 if test -n "$ac_tool_prefix"; then
   2533   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2534 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2535 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2536 $as_echo_n "checking for $ac_word... " >&6; }
   2537 if test "${ac_cv_prog_CC+set}" = set; then
   2538   $as_echo_n "(cached) " >&6
   2539 else
   2540   if test -n "$CC"; then
   2541   ac_cv_prog_CC="$CC" # Let the user override the test.
   2542 else
   2543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2544 for as_dir in $PATH
   2545 do
   2546   IFS=$as_save_IFS
   2547   test -z "$as_dir" && as_dir=.
   2548   for ac_exec_ext in '' $ac_executable_extensions; do
   2549   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2550     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2551     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2552     break 2
   2553   fi
   2554 done
   2555 done
   2556 IFS=$as_save_IFS
   2557 
   2558 fi
   2559 fi
   2560 CC=$ac_cv_prog_CC
   2561 if test -n "$CC"; then
   2562   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2563 $as_echo "$CC" >&6; }
   2564 else
   2565   { $as_echo "$as_me:$LINENO: result: no" >&5
   2566 $as_echo "no" >&6; }
   2567 fi
   2568 
   2569 
   2570 fi
   2571 if test -z "$ac_cv_prog_CC"; then
   2572   ac_ct_CC=$CC
   2573   # Extract the first word of "gcc", so it can be a program name with args.
   2574 set dummy gcc; ac_word=$2
   2575 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2576 $as_echo_n "checking for $ac_word... " >&6; }
   2577 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2578   $as_echo_n "(cached) " >&6
   2579 else
   2580   if test -n "$ac_ct_CC"; then
   2581   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2582 else
   2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2584 for as_dir in $PATH
   2585 do
   2586   IFS=$as_save_IFS
   2587   test -z "$as_dir" && as_dir=.
   2588   for ac_exec_ext in '' $ac_executable_extensions; do
   2589   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2590     ac_cv_prog_ac_ct_CC="gcc"
   2591     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2592     break 2
   2593   fi
   2594 done
   2595 done
   2596 IFS=$as_save_IFS
   2597 
   2598 fi
   2599 fi
   2600 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2601 if test -n "$ac_ct_CC"; then
   2602   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2603 $as_echo "$ac_ct_CC" >&6; }
   2604 else
   2605   { $as_echo "$as_me:$LINENO: result: no" >&5
   2606 $as_echo "no" >&6; }
   2607 fi
   2608 
   2609   if test "x$ac_ct_CC" = x; then
   2610     CC=""
   2611   else
   2612     case $cross_compiling:$ac_tool_warned in
   2613 yes:)
   2614 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2616 ac_tool_warned=yes ;;
   2617 esac
   2618     CC=$ac_ct_CC
   2619   fi
   2620 else
   2621   CC="$ac_cv_prog_CC"
   2622 fi
   2623 
   2624 if test -z "$CC"; then
   2625           if test -n "$ac_tool_prefix"; then
   2626     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2627 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2628 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2629 $as_echo_n "checking for $ac_word... " >&6; }
   2630 if test "${ac_cv_prog_CC+set}" = set; then
   2631   $as_echo_n "(cached) " >&6
   2632 else
   2633   if test -n "$CC"; then
   2634   ac_cv_prog_CC="$CC" # Let the user override the test.
   2635 else
   2636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2637 for as_dir in $PATH
   2638 do
   2639   IFS=$as_save_IFS
   2640   test -z "$as_dir" && as_dir=.
   2641   for ac_exec_ext in '' $ac_executable_extensions; do
   2642   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2643     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2644     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2645     break 2
   2646   fi
   2647 done
   2648 done
   2649 IFS=$as_save_IFS
   2650 
   2651 fi
   2652 fi
   2653 CC=$ac_cv_prog_CC
   2654 if test -n "$CC"; then
   2655   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2656 $as_echo "$CC" >&6; }
   2657 else
   2658   { $as_echo "$as_me:$LINENO: result: no" >&5
   2659 $as_echo "no" >&6; }
   2660 fi
   2661 
   2662 
   2663   fi
   2664 fi
   2665 if test -z "$CC"; then
   2666   # Extract the first word of "cc", so it can be a program name with args.
   2667 set dummy cc; ac_word=$2
   2668 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2669 $as_echo_n "checking for $ac_word... " >&6; }
   2670 if test "${ac_cv_prog_CC+set}" = set; then
   2671   $as_echo_n "(cached) " >&6
   2672 else
   2673   if test -n "$CC"; then
   2674   ac_cv_prog_CC="$CC" # Let the user override the test.
   2675 else
   2676   ac_prog_rejected=no
   2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2678 for as_dir in $PATH
   2679 do
   2680   IFS=$as_save_IFS
   2681   test -z "$as_dir" && as_dir=.
   2682   for ac_exec_ext in '' $ac_executable_extensions; do
   2683   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2684     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2685        ac_prog_rejected=yes
   2686        continue
   2687      fi
   2688     ac_cv_prog_CC="cc"
   2689     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2690     break 2
   2691   fi
   2692 done
   2693 done
   2694 IFS=$as_save_IFS
   2695 
   2696 if test $ac_prog_rejected = yes; then
   2697   # We found a bogon in the path, so make sure we never use it.
   2698   set dummy $ac_cv_prog_CC
   2699   shift
   2700   if test $# != 0; then
   2701     # We chose a different compiler from the bogus one.
   2702     # However, it has the same basename, so the bogon will be chosen
   2703     # first if we set CC to just the basename; use the full file name.
   2704     shift
   2705     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2706   fi
   2707 fi
   2708 fi
   2709 fi
   2710 CC=$ac_cv_prog_CC
   2711 if test -n "$CC"; then
   2712   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2713 $as_echo "$CC" >&6; }
   2714 else
   2715   { $as_echo "$as_me:$LINENO: result: no" >&5
   2716 $as_echo "no" >&6; }
   2717 fi
   2718 
   2719 
   2720 fi
   2721 if test -z "$CC"; then
   2722   if test -n "$ac_tool_prefix"; then
   2723   for ac_prog in cl.exe
   2724   do
   2725     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2726 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2727 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2728 $as_echo_n "checking for $ac_word... " >&6; }
   2729 if test "${ac_cv_prog_CC+set}" = set; then
   2730   $as_echo_n "(cached) " >&6
   2731 else
   2732   if test -n "$CC"; then
   2733   ac_cv_prog_CC="$CC" # Let the user override the test.
   2734 else
   2735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2736 for as_dir in $PATH
   2737 do
   2738   IFS=$as_save_IFS
   2739   test -z "$as_dir" && as_dir=.
   2740   for ac_exec_ext in '' $ac_executable_extensions; do
   2741   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2742     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2743     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2744     break 2
   2745   fi
   2746 done
   2747 done
   2748 IFS=$as_save_IFS
   2749 
   2750 fi
   2751 fi
   2752 CC=$ac_cv_prog_CC
   2753 if test -n "$CC"; then
   2754   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2755 $as_echo "$CC" >&6; }
   2756 else
   2757   { $as_echo "$as_me:$LINENO: result: no" >&5
   2758 $as_echo "no" >&6; }
   2759 fi
   2760 
   2761 
   2762     test -n "$CC" && break
   2763   done
   2764 fi
   2765 if test -z "$CC"; then
   2766   ac_ct_CC=$CC
   2767   for ac_prog in cl.exe
   2768 do
   2769   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2770 set dummy $ac_prog; ac_word=$2
   2771 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2772 $as_echo_n "checking for $ac_word... " >&6; }
   2773 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2774   $as_echo_n "(cached) " >&6
   2775 else
   2776   if test -n "$ac_ct_CC"; then
   2777   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2778 else
   2779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2780 for as_dir in $PATH
   2781 do
   2782   IFS=$as_save_IFS
   2783   test -z "$as_dir" && as_dir=.
   2784   for ac_exec_ext in '' $ac_executable_extensions; do
   2785   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2786     ac_cv_prog_ac_ct_CC="$ac_prog"
   2787     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2788     break 2
   2789   fi
   2790 done
   2791 done
   2792 IFS=$as_save_IFS
   2793 
   2794 fi
   2795 fi
   2796 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2797 if test -n "$ac_ct_CC"; then
   2798   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2799 $as_echo "$ac_ct_CC" >&6; }
   2800 else
   2801   { $as_echo "$as_me:$LINENO: result: no" >&5
   2802 $as_echo "no" >&6; }
   2803 fi
   2804 
   2805 
   2806   test -n "$ac_ct_CC" && break
   2807 done
   2808 
   2809   if test "x$ac_ct_CC" = x; then
   2810     CC=""
   2811   else
   2812     case $cross_compiling:$ac_tool_warned in
   2813 yes:)
   2814 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2816 ac_tool_warned=yes ;;
   2817 esac
   2818     CC=$ac_ct_CC
   2819   fi
   2820 fi
   2821 
   2822 fi
   2823 
   2824 
   2825 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2827 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2828 See \`config.log' for more details." >&5
   2829 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2830 See \`config.log' for more details." >&2;}
   2831    { (exit 1); exit 1; }; }; }
   2832 
   2833 # Provide some information about the compiler.
   2834 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2835 set X $ac_compile
   2836 ac_compiler=$2
   2837 { (ac_try="$ac_compiler --version >&5"
   2838 case "(($ac_try" in
   2839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2840   *) ac_try_echo=$ac_try;;
   2841 esac
   2842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2843 $as_echo "$ac_try_echo") >&5
   2844   (eval "$ac_compiler --version >&5") 2>&5
   2845   ac_status=$?
   2846   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2847   (exit $ac_status); }
   2848 { (ac_try="$ac_compiler -v >&5"
   2849 case "(($ac_try" in
   2850   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2851   *) ac_try_echo=$ac_try;;
   2852 esac
   2853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2854 $as_echo "$ac_try_echo") >&5
   2855   (eval "$ac_compiler -v >&5") 2>&5
   2856   ac_status=$?
   2857   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2858   (exit $ac_status); }
   2859 { (ac_try="$ac_compiler -V >&5"
   2860 case "(($ac_try" in
   2861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2862   *) ac_try_echo=$ac_try;;
   2863 esac
   2864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2865 $as_echo "$ac_try_echo") >&5
   2866   (eval "$ac_compiler -V >&5") 2>&5
   2867   ac_status=$?
   2868   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2869   (exit $ac_status); }
   2870 
   2871 cat >conftest.$ac_ext <<_ACEOF
   2872 /* confdefs.h.  */
   2873 _ACEOF
   2874 cat confdefs.h >>conftest.$ac_ext
   2875 cat >>conftest.$ac_ext <<_ACEOF
   2876 /* end confdefs.h.  */
   2877 
   2878 int
   2879 main ()
   2880 {
   2881 
   2882   ;
   2883   return 0;
   2884 }
   2885 _ACEOF
   2886 ac_clean_files_save=$ac_clean_files
   2887 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2888 # Try to create an executable without -o first, disregard a.out.
   2889 # It will help us diagnose broken compilers, and finding out an intuition
   2890 # of exeext.
   2891 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2892 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2893 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2894 
   2895 # The possible output files:
   2896 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2897 
   2898 ac_rmfiles=
   2899 for ac_file in $ac_files
   2900 do
   2901   case $ac_file in
   2902     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2903     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2904   esac
   2905 done
   2906 rm -f $ac_rmfiles
   2907 
   2908 if { (ac_try="$ac_link_default"
   2909 case "(($ac_try" in
   2910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2911   *) ac_try_echo=$ac_try;;
   2912 esac
   2913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2914 $as_echo "$ac_try_echo") >&5
   2915   (eval "$ac_link_default") 2>&5
   2916   ac_status=$?
   2917   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2918   (exit $ac_status); }; then
   2919   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2920 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2921 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2922 # so that the user can short-circuit this test for compilers unknown to
   2923 # Autoconf.
   2924 for ac_file in $ac_files ''
   2925 do
   2926   test -f "$ac_file" || continue
   2927   case $ac_file in
   2928     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2929 	;;
   2930     [ab].out )
   2931 	# We found the default executable, but exeext='' is most
   2932 	# certainly right.
   2933 	break;;
   2934     *.* )
   2935         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2936 	then :; else
   2937 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2938 	fi
   2939 	# We set ac_cv_exeext here because the later test for it is not
   2940 	# safe: cross compilers may not add the suffix if given an `-o'
   2941 	# argument, so we may need to know it at that point already.
   2942 	# Even if this section looks crufty: it has the advantage of
   2943 	# actually working.
   2944 	break;;
   2945     * )
   2946 	break;;
   2947   esac
   2948 done
   2949 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2950 
   2951 else
   2952   ac_file=''
   2953 fi
   2954 
   2955 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   2956 $as_echo "$ac_file" >&6; }
   2957 if test -z "$ac_file"; then
   2958   $as_echo "$as_me: failed program was:" >&5
   2959 sed 's/^/| /' conftest.$ac_ext >&5
   2960 
   2961 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2963 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   2964 See \`config.log' for more details." >&5
   2965 $as_echo "$as_me: error: C compiler cannot create executables
   2966 See \`config.log' for more details." >&2;}
   2967    { (exit 77); exit 77; }; }; }
   2968 fi
   2969 
   2970 ac_exeext=$ac_cv_exeext
   2971 
   2972 # Check that the compiler produces executables we can run.  If not, either
   2973 # the compiler is broken, or we cross compile.
   2974 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2975 $as_echo_n "checking whether the C compiler works... " >&6; }
   2976 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2977 # If not cross compiling, check that we can run a simple program.
   2978 if test "$cross_compiling" != yes; then
   2979   if { ac_try='./$ac_file'
   2980   { (case "(($ac_try" in
   2981   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2982   *) ac_try_echo=$ac_try;;
   2983 esac
   2984 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2985 $as_echo "$ac_try_echo") >&5
   2986   (eval "$ac_try") 2>&5
   2987   ac_status=$?
   2988   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2989   (exit $ac_status); }; }; then
   2990     cross_compiling=no
   2991   else
   2992     if test "$cross_compiling" = maybe; then
   2993 	cross_compiling=yes
   2994     else
   2995 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2997 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2998 If you meant to cross compile, use \`--host'.
   2999 See \`config.log' for more details." >&5
   3000 $as_echo "$as_me: error: cannot run C compiled programs.
   3001 If you meant to cross compile, use \`--host'.
   3002 See \`config.log' for more details." >&2;}
   3003    { (exit 1); exit 1; }; }; }
   3004     fi
   3005   fi
   3006 fi
   3007 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3008 $as_echo "yes" >&6; }
   3009 
   3010 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3011 ac_clean_files=$ac_clean_files_save
   3012 # Check that the compiler produces executables we can run.  If not, either
   3013 # the compiler is broken, or we cross compile.
   3014 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3015 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3016 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3017 $as_echo "$cross_compiling" >&6; }
   3018 
   3019 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3020 $as_echo_n "checking for suffix of executables... " >&6; }
   3021 if { (ac_try="$ac_link"
   3022 case "(($ac_try" in
   3023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3024   *) ac_try_echo=$ac_try;;
   3025 esac
   3026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3027 $as_echo "$ac_try_echo") >&5
   3028   (eval "$ac_link") 2>&5
   3029   ac_status=$?
   3030   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3031   (exit $ac_status); }; then
   3032   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3033 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3034 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3035 # `rm'.
   3036 for ac_file in conftest.exe conftest conftest.*; do
   3037   test -f "$ac_file" || continue
   3038   case $ac_file in
   3039     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3040     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3041 	  break;;
   3042     * ) break;;
   3043   esac
   3044 done
   3045 else
   3046   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3048 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3049 See \`config.log' for more details." >&5
   3050 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3051 See \`config.log' for more details." >&2;}
   3052    { (exit 1); exit 1; }; }; }
   3053 fi
   3054 
   3055 rm -f conftest$ac_cv_exeext
   3056 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3057 $as_echo "$ac_cv_exeext" >&6; }
   3058 
   3059 rm -f conftest.$ac_ext
   3060 EXEEXT=$ac_cv_exeext
   3061 ac_exeext=$EXEEXT
   3062 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3063 $as_echo_n "checking for suffix of object files... " >&6; }
   3064 if test "${ac_cv_objext+set}" = set; then
   3065   $as_echo_n "(cached) " >&6
   3066 else
   3067   cat >conftest.$ac_ext <<_ACEOF
   3068 /* confdefs.h.  */
   3069 _ACEOF
   3070 cat confdefs.h >>conftest.$ac_ext
   3071 cat >>conftest.$ac_ext <<_ACEOF
   3072 /* end confdefs.h.  */
   3073 
   3074 int
   3075 main ()
   3076 {
   3077 
   3078   ;
   3079   return 0;
   3080 }
   3081 _ACEOF
   3082 rm -f conftest.o conftest.obj
   3083 if { (ac_try="$ac_compile"
   3084 case "(($ac_try" in
   3085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3086   *) ac_try_echo=$ac_try;;
   3087 esac
   3088 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3089 $as_echo "$ac_try_echo") >&5
   3090   (eval "$ac_compile") 2>&5
   3091   ac_status=$?
   3092   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3093   (exit $ac_status); }; then
   3094   for ac_file in conftest.o conftest.obj conftest.*; do
   3095   test -f "$ac_file" || continue;
   3096   case $ac_file in
   3097     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3098     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3099        break;;
   3100   esac
   3101 done
   3102 else
   3103   $as_echo "$as_me: failed program was:" >&5
   3104 sed 's/^/| /' conftest.$ac_ext >&5
   3105 
   3106 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3108 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3109 See \`config.log' for more details." >&5
   3110 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3111 See \`config.log' for more details." >&2;}
   3112    { (exit 1); exit 1; }; }; }
   3113 fi
   3114 
   3115 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3116 fi
   3117 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3118 $as_echo "$ac_cv_objext" >&6; }
   3119 OBJEXT=$ac_cv_objext
   3120 ac_objext=$OBJEXT
   3121 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3122 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3123 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3124   $as_echo_n "(cached) " >&6
   3125 else
   3126   cat >conftest.$ac_ext <<_ACEOF
   3127 /* confdefs.h.  */
   3128 _ACEOF
   3129 cat confdefs.h >>conftest.$ac_ext
   3130 cat >>conftest.$ac_ext <<_ACEOF
   3131 /* end confdefs.h.  */
   3132 
   3133 int
   3134 main ()
   3135 {
   3136 #ifndef __GNUC__
   3137        choke me
   3138 #endif
   3139 
   3140   ;
   3141   return 0;
   3142 }
   3143 _ACEOF
   3144 rm -f conftest.$ac_objext
   3145 if { (ac_try="$ac_compile"
   3146 case "(($ac_try" in
   3147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3148   *) ac_try_echo=$ac_try;;
   3149 esac
   3150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3151 $as_echo "$ac_try_echo") >&5
   3152   (eval "$ac_compile") 2>conftest.er1
   3153   ac_status=$?
   3154   grep -v '^ *+' conftest.er1 >conftest.err
   3155   rm -f conftest.er1
   3156   cat conftest.err >&5
   3157   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3158   (exit $ac_status); } && {
   3159 	 test -z "$ac_c_werror_flag" ||
   3160 	 test ! -s conftest.err
   3161        } && test -s conftest.$ac_objext; then
   3162   ac_compiler_gnu=yes
   3163 else
   3164   $as_echo "$as_me: failed program was:" >&5
   3165 sed 's/^/| /' conftest.$ac_ext >&5
   3166 
   3167 	ac_compiler_gnu=no
   3168 fi
   3169 
   3170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3171 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3172 
   3173 fi
   3174 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3175 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3176 if test $ac_compiler_gnu = yes; then
   3177   GCC=yes
   3178 else
   3179   GCC=
   3180 fi
   3181 ac_test_CFLAGS=${CFLAGS+set}
   3182 ac_save_CFLAGS=$CFLAGS
   3183 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3184 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3185 if test "${ac_cv_prog_cc_g+set}" = set; then
   3186   $as_echo_n "(cached) " >&6
   3187 else
   3188   ac_save_c_werror_flag=$ac_c_werror_flag
   3189    ac_c_werror_flag=yes
   3190    ac_cv_prog_cc_g=no
   3191    CFLAGS="-g"
   3192    cat >conftest.$ac_ext <<_ACEOF
   3193 /* confdefs.h.  */
   3194 _ACEOF
   3195 cat confdefs.h >>conftest.$ac_ext
   3196 cat >>conftest.$ac_ext <<_ACEOF
   3197 /* end confdefs.h.  */
   3198 
   3199 int
   3200 main ()
   3201 {
   3202 
   3203   ;
   3204   return 0;
   3205 }
   3206 _ACEOF
   3207 rm -f conftest.$ac_objext
   3208 if { (ac_try="$ac_compile"
   3209 case "(($ac_try" in
   3210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3211   *) ac_try_echo=$ac_try;;
   3212 esac
   3213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3214 $as_echo "$ac_try_echo") >&5
   3215   (eval "$ac_compile") 2>conftest.er1
   3216   ac_status=$?
   3217   grep -v '^ *+' conftest.er1 >conftest.err
   3218   rm -f conftest.er1
   3219   cat conftest.err >&5
   3220   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3221   (exit $ac_status); } && {
   3222 	 test -z "$ac_c_werror_flag" ||
   3223 	 test ! -s conftest.err
   3224        } && test -s conftest.$ac_objext; then
   3225   ac_cv_prog_cc_g=yes
   3226 else
   3227   $as_echo "$as_me: failed program was:" >&5
   3228 sed 's/^/| /' conftest.$ac_ext >&5
   3229 
   3230 	CFLAGS=""
   3231       cat >conftest.$ac_ext <<_ACEOF
   3232 /* confdefs.h.  */
   3233 _ACEOF
   3234 cat confdefs.h >>conftest.$ac_ext
   3235 cat >>conftest.$ac_ext <<_ACEOF
   3236 /* end confdefs.h.  */
   3237 
   3238 int
   3239 main ()
   3240 {
   3241 
   3242   ;
   3243   return 0;
   3244 }
   3245 _ACEOF
   3246 rm -f conftest.$ac_objext
   3247 if { (ac_try="$ac_compile"
   3248 case "(($ac_try" in
   3249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3250   *) ac_try_echo=$ac_try;;
   3251 esac
   3252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3253 $as_echo "$ac_try_echo") >&5
   3254   (eval "$ac_compile") 2>conftest.er1
   3255   ac_status=$?
   3256   grep -v '^ *+' conftest.er1 >conftest.err
   3257   rm -f conftest.er1
   3258   cat conftest.err >&5
   3259   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3260   (exit $ac_status); } && {
   3261 	 test -z "$ac_c_werror_flag" ||
   3262 	 test ! -s conftest.err
   3263        } && test -s conftest.$ac_objext; then
   3264   :
   3265 else
   3266   $as_echo "$as_me: failed program was:" >&5
   3267 sed 's/^/| /' conftest.$ac_ext >&5
   3268 
   3269 	ac_c_werror_flag=$ac_save_c_werror_flag
   3270 	 CFLAGS="-g"
   3271 	 cat >conftest.$ac_ext <<_ACEOF
   3272 /* confdefs.h.  */
   3273 _ACEOF
   3274 cat confdefs.h >>conftest.$ac_ext
   3275 cat >>conftest.$ac_ext <<_ACEOF
   3276 /* end confdefs.h.  */
   3277 
   3278 int
   3279 main ()
   3280 {
   3281 
   3282   ;
   3283   return 0;
   3284 }
   3285 _ACEOF
   3286 rm -f conftest.$ac_objext
   3287 if { (ac_try="$ac_compile"
   3288 case "(($ac_try" in
   3289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3290   *) ac_try_echo=$ac_try;;
   3291 esac
   3292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3293 $as_echo "$ac_try_echo") >&5
   3294   (eval "$ac_compile") 2>conftest.er1
   3295   ac_status=$?
   3296   grep -v '^ *+' conftest.er1 >conftest.err
   3297   rm -f conftest.er1
   3298   cat conftest.err >&5
   3299   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3300   (exit $ac_status); } && {
   3301 	 test -z "$ac_c_werror_flag" ||
   3302 	 test ! -s conftest.err
   3303        } && test -s conftest.$ac_objext; then
   3304   ac_cv_prog_cc_g=yes
   3305 else
   3306   $as_echo "$as_me: failed program was:" >&5
   3307 sed 's/^/| /' conftest.$ac_ext >&5
   3308 
   3309 
   3310 fi
   3311 
   3312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3313 fi
   3314 
   3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3316 fi
   3317 
   3318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3319    ac_c_werror_flag=$ac_save_c_werror_flag
   3320 fi
   3321 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3322 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3323 if test "$ac_test_CFLAGS" = set; then
   3324   CFLAGS=$ac_save_CFLAGS
   3325 elif test $ac_cv_prog_cc_g = yes; then
   3326   if test "$GCC" = yes; then
   3327     CFLAGS="-g -O2"
   3328   else
   3329     CFLAGS="-g"
   3330   fi
   3331 else
   3332   if test "$GCC" = yes; then
   3333     CFLAGS="-O2"
   3334   else
   3335     CFLAGS=
   3336   fi
   3337 fi
   3338 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3339 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3340 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3341   $as_echo_n "(cached) " >&6
   3342 else
   3343   ac_cv_prog_cc_c89=no
   3344 ac_save_CC=$CC
   3345 cat >conftest.$ac_ext <<_ACEOF
   3346 /* confdefs.h.  */
   3347 _ACEOF
   3348 cat confdefs.h >>conftest.$ac_ext
   3349 cat >>conftest.$ac_ext <<_ACEOF
   3350 /* end confdefs.h.  */
   3351 #include <stdarg.h>
   3352 #include <stdio.h>
   3353 #include <sys/types.h>
   3354 #include <sys/stat.h>
   3355 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3356 struct buf { int x; };
   3357 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3358 static char *e (p, i)
   3359      char **p;
   3360      int i;
   3361 {
   3362   return p[i];
   3363 }
   3364 static char *f (char * (*g) (char **, int), char **p, ...)
   3365 {
   3366   char *s;
   3367   va_list v;
   3368   va_start (v,p);
   3369   s = g (p, va_arg (v,int));
   3370   va_end (v);
   3371   return s;
   3372 }
   3373 
   3374 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3375    function prototypes and stuff, but not '\xHH' hex character constants.
   3376    These don't provoke an error unfortunately, instead are silently treated
   3377    as 'x'.  The following induces an error, until -std is added to get
   3378    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3379    array size at least.  It's necessary to write '\x00'==0 to get something
   3380    that's true only with -std.  */
   3381 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3382 
   3383 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3384    inside strings and character constants.  */
   3385 #define FOO(x) 'x'
   3386 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3387 
   3388 int test (int i, double x);
   3389 struct s1 {int (*f) (int a);};
   3390 struct s2 {int (*f) (double a);};
   3391 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3392 int argc;
   3393 char **argv;
   3394 int
   3395 main ()
   3396 {
   3397 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3398   ;
   3399   return 0;
   3400 }
   3401 _ACEOF
   3402 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3403 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3404 do
   3405   CC="$ac_save_CC $ac_arg"
   3406   rm -f conftest.$ac_objext
   3407 if { (ac_try="$ac_compile"
   3408 case "(($ac_try" in
   3409   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3410   *) ac_try_echo=$ac_try;;
   3411 esac
   3412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3413 $as_echo "$ac_try_echo") >&5
   3414   (eval "$ac_compile") 2>conftest.er1
   3415   ac_status=$?
   3416   grep -v '^ *+' conftest.er1 >conftest.err
   3417   rm -f conftest.er1
   3418   cat conftest.err >&5
   3419   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3420   (exit $ac_status); } && {
   3421 	 test -z "$ac_c_werror_flag" ||
   3422 	 test ! -s conftest.err
   3423        } && test -s conftest.$ac_objext; then
   3424   ac_cv_prog_cc_c89=$ac_arg
   3425 else
   3426   $as_echo "$as_me: failed program was:" >&5
   3427 sed 's/^/| /' conftest.$ac_ext >&5
   3428 
   3429 
   3430 fi
   3431 
   3432 rm -f core conftest.err conftest.$ac_objext
   3433   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3434 done
   3435 rm -f conftest.$ac_ext
   3436 CC=$ac_save_CC
   3437 
   3438 fi
   3439 # AC_CACHE_VAL
   3440 case "x$ac_cv_prog_cc_c89" in
   3441   x)
   3442     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3443 $as_echo "none needed" >&6; } ;;
   3444   xno)
   3445     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3446 $as_echo "unsupported" >&6; } ;;
   3447   *)
   3448     CC="$CC $ac_cv_prog_cc_c89"
   3449     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3450 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3451 esac
   3452 
   3453 
   3454 ac_ext=c
   3455 ac_cpp='$CPP $CPPFLAGS'
   3456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3459 DEPDIR="${am__leading_dot}deps"
   3460 
   3461 ac_config_commands="$ac_config_commands depfiles"
   3462 
   3463 
   3464 am_make=${MAKE-make}
   3465 cat > confinc << 'END'
   3466 am__doit:
   3467 	@echo done
   3468 .PHONY: am__doit
   3469 END
   3470 # If we don't find an include directive, just comment out the code.
   3471 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3472 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3473 am__include="#"
   3474 am__quote=
   3475 _am_result=none
   3476 # First try GNU make style include.
   3477 echo "include confinc" > confmf
   3478 # We grep out `Entering directory' and `Leaving directory'
   3479 # messages which can occur if `w' ends up in MAKEFLAGS.
   3480 # In particular we don't look at `^make:' because GNU make might
   3481 # be invoked under some other name (usually "gmake"), in which
   3482 # case it prints its new name instead of `make'.
   3483 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3484    am__include=include
   3485    am__quote=
   3486    _am_result=GNU
   3487 fi
   3488 # Now try BSD make style include.
   3489 if test "$am__include" = "#"; then
   3490    echo '.include "confinc"' > confmf
   3491    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3492       am__include=.include
   3493       am__quote="\""
   3494       _am_result=BSD
   3495    fi
   3496 fi
   3497 
   3498 
   3499 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3500 $as_echo "$_am_result" >&6; }
   3501 rm -f confinc confmf
   3502 
   3503 # Check whether --enable-dependency-tracking was given.
   3504 if test "${enable_dependency_tracking+set}" = set; then
   3505   enableval=$enable_dependency_tracking;
   3506 fi
   3507 
   3508 if test "x$enable_dependency_tracking" != xno; then
   3509   am_depcomp="$ac_aux_dir/depcomp"
   3510   AMDEPBACKSLASH='\'
   3511 fi
   3512  if test "x$enable_dependency_tracking" != xno; then
   3513   AMDEP_TRUE=
   3514   AMDEP_FALSE='#'
   3515 else
   3516   AMDEP_TRUE='#'
   3517   AMDEP_FALSE=
   3518 fi
   3519 
   3520 
   3521 
   3522 depcc="$CC"   am_compiler_list=
   3523 
   3524 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3525 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3526 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3527   $as_echo_n "(cached) " >&6
   3528 else
   3529   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3530   # We make a subdir and do the tests there.  Otherwise we can end up
   3531   # making bogus files that we don't know about and never remove.  For
   3532   # instance it was reported that on HP-UX the gcc test will end up
   3533   # making a dummy file named `D' -- because `-MD' means `put the output
   3534   # in D'.
   3535   mkdir conftest.dir
   3536   # Copy depcomp to subdir because otherwise we won't find it if we're
   3537   # using a relative directory.
   3538   cp "$am_depcomp" conftest.dir
   3539   cd conftest.dir
   3540   # We will build objects and dependencies in a subdirectory because
   3541   # it helps to detect inapplicable dependency modes.  For instance
   3542   # both Tru64's cc and ICC support -MD to output dependencies as a
   3543   # side effect of compilation, but ICC will put the dependencies in
   3544   # the current directory while Tru64 will put them in the object
   3545   # directory.
   3546   mkdir sub
   3547 
   3548   am_cv_CC_dependencies_compiler_type=none
   3549   if test "$am_compiler_list" = ""; then
   3550      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3551   fi
   3552   for depmode in $am_compiler_list; do
   3553     # Setup a source with many dependencies, because some compilers
   3554     # like to wrap large dependency lists on column 80 (with \), and
   3555     # we should not choose a depcomp mode which is confused by this.
   3556     #
   3557     # We need to recreate these files for each test, as the compiler may
   3558     # overwrite some of them when testing with obscure command lines.
   3559     # This happens at least with the AIX C compiler.
   3560     : > sub/conftest.c
   3561     for i in 1 2 3 4 5 6; do
   3562       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3563       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3564       # Solaris 8's {/usr,}/bin/sh.
   3565       touch sub/conftst$i.h
   3566     done
   3567     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3568 
   3569     case $depmode in
   3570     nosideeffect)
   3571       # after this tag, mechanisms are not by side-effect, so they'll
   3572       # only be used when explicitly requested
   3573       if test "x$enable_dependency_tracking" = xyes; then
   3574 	continue
   3575       else
   3576 	break
   3577       fi
   3578       ;;
   3579     none) break ;;
   3580     esac
   3581     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3582     # mode.  It turns out that the SunPro C++ compiler does not properly
   3583     # handle `-M -o', and we need to detect this.
   3584     if depmode=$depmode \
   3585        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3586        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3587        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3588          >/dev/null 2>conftest.err &&
   3589        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3590        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3591        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3592        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3593       # icc doesn't choke on unknown options, it will just issue warnings
   3594       # or remarks (even with -Werror).  So we grep stderr for any message
   3595       # that says an option was ignored or not supported.
   3596       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3597       #   icc: Command line warning: ignoring option '-M'; no argument required
   3598       # The diagnosis changed in icc 8.0:
   3599       #   icc: Command line remark: option '-MP' not supported
   3600       if (grep 'ignoring option' conftest.err ||
   3601           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3602         am_cv_CC_dependencies_compiler_type=$depmode
   3603         break
   3604       fi
   3605     fi
   3606   done
   3607 
   3608   cd ..
   3609   rm -rf conftest.dir
   3610 else
   3611   am_cv_CC_dependencies_compiler_type=none
   3612 fi
   3613 
   3614 fi
   3615 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3616 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3617 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3618 
   3619  if
   3620   test "x$enable_dependency_tracking" != xno \
   3621   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3622   am__fastdepCC_TRUE=
   3623   am__fastdepCC_FALSE='#'
   3624 else
   3625   am__fastdepCC_TRUE='#'
   3626   am__fastdepCC_FALSE=
   3627 fi
   3628 
   3629 
   3630 # Find a good install program.  We prefer a C program (faster),
   3631 # so one script is as good as another.  But avoid the broken or
   3632 # incompatible versions:
   3633 # SysV /etc/install, /usr/sbin/install
   3634 # SunOS /usr/etc/install
   3635 # IRIX /sbin/install
   3636 # AIX /bin/install
   3637 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3638 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3639 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3640 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3641 # OS/2's system install, which has a completely different semantic
   3642 # ./install, which can be erroneously created by make from ./install.sh.
   3643 # Reject install programs that cannot install multiple files.
   3644 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   3645 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3646 if test -z "$INSTALL"; then
   3647 if test "${ac_cv_path_install+set}" = set; then
   3648   $as_echo_n "(cached) " >&6
   3649 else
   3650   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3651 for as_dir in $PATH
   3652 do
   3653   IFS=$as_save_IFS
   3654   test -z "$as_dir" && as_dir=.
   3655   # Account for people who put trailing slashes in PATH elements.
   3656 case $as_dir/ in
   3657   ./ | .// | /cC/* | \
   3658   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3659   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   3660   /usr/ucb/* ) ;;
   3661   *)
   3662     # OSF1 and SCO ODT 3.0 have their own names for install.
   3663     # Don't use installbsd from OSF since it installs stuff as root
   3664     # by default.
   3665     for ac_prog in ginstall scoinst install; do
   3666       for ac_exec_ext in '' $ac_executable_extensions; do
   3667 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3668 	  if test $ac_prog = install &&
   3669 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3670 	    # AIX install.  It has an incompatible calling convention.
   3671 	    :
   3672 	  elif test $ac_prog = install &&
   3673 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3674 	    # program-specific install script used by HP pwplus--don't use.
   3675 	    :
   3676 	  else
   3677 	    rm -rf conftest.one conftest.two conftest.dir
   3678 	    echo one > conftest.one
   3679 	    echo two > conftest.two
   3680 	    mkdir conftest.dir
   3681 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3682 	      test -s conftest.one && test -s conftest.two &&
   3683 	      test -s conftest.dir/conftest.one &&
   3684 	      test -s conftest.dir/conftest.two
   3685 	    then
   3686 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3687 	      break 3
   3688 	    fi
   3689 	  fi
   3690 	fi
   3691       done
   3692     done
   3693     ;;
   3694 esac
   3695 
   3696 done
   3697 IFS=$as_save_IFS
   3698 
   3699 rm -rf conftest.one conftest.two conftest.dir
   3700 
   3701 fi
   3702   if test "${ac_cv_path_install+set}" = set; then
   3703     INSTALL=$ac_cv_path_install
   3704   else
   3705     # As a last resort, use the slow shell script.  Don't cache a
   3706     # value for INSTALL within a source directory, because that will
   3707     # break other packages using the cache if that directory is
   3708     # removed, or if the value is a relative name.
   3709     INSTALL=$ac_install_sh
   3710   fi
   3711 fi
   3712 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   3713 $as_echo "$INSTALL" >&6; }
   3714 
   3715 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3716 # It thinks the first close brace ends the variable substitution.
   3717 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3718 
   3719 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3720 
   3721 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3722 
   3723 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   3724 $as_echo_n "checking whether ln -s works... " >&6; }
   3725 LN_S=$as_ln_s
   3726 if test "$LN_S" = "ln -s"; then
   3727   { $as_echo "$as_me:$LINENO: result: yes" >&5
   3728 $as_echo "yes" >&6; }
   3729 else
   3730   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   3731 $as_echo "no, using $LN_S" >&6; }
   3732 fi
   3733 
   3734 
   3735 
   3736 ac_ext=c
   3737 ac_cpp='$CPP $CPPFLAGS'
   3738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3741 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   3742 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3743 # On Suns, sometimes $CPP names a directory.
   3744 if test -n "$CPP" && test -d "$CPP"; then
   3745   CPP=
   3746 fi
   3747 if test -z "$CPP"; then
   3748   if test "${ac_cv_prog_CPP+set}" = set; then
   3749   $as_echo_n "(cached) " >&6
   3750 else
   3751       # Double quotes because CPP needs to be expanded
   3752     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3753     do
   3754       ac_preproc_ok=false
   3755 for ac_c_preproc_warn_flag in '' yes
   3756 do
   3757   # Use a header file that comes with gcc, so configuring glibc
   3758   # with a fresh cross-compiler works.
   3759   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3760   # <limits.h> exists even on freestanding compilers.
   3761   # On the NeXT, cc -E runs the code through the compiler's parser,
   3762   # not just through cpp. "Syntax error" is here to catch this case.
   3763   cat >conftest.$ac_ext <<_ACEOF
   3764 /* confdefs.h.  */
   3765 _ACEOF
   3766 cat confdefs.h >>conftest.$ac_ext
   3767 cat >>conftest.$ac_ext <<_ACEOF
   3768 /* end confdefs.h.  */
   3769 #ifdef __STDC__
   3770 # include <limits.h>
   3771 #else
   3772 # include <assert.h>
   3773 #endif
   3774 		     Syntax error
   3775 _ACEOF
   3776 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3777 case "(($ac_try" in
   3778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3779   *) ac_try_echo=$ac_try;;
   3780 esac
   3781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3782 $as_echo "$ac_try_echo") >&5
   3783   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3784   ac_status=$?
   3785   grep -v '^ *+' conftest.er1 >conftest.err
   3786   rm -f conftest.er1
   3787   cat conftest.err >&5
   3788   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3789   (exit $ac_status); } >/dev/null && {
   3790 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3791 	 test ! -s conftest.err
   3792        }; then
   3793   :
   3794 else
   3795   $as_echo "$as_me: failed program was:" >&5
   3796 sed 's/^/| /' conftest.$ac_ext >&5
   3797 
   3798   # Broken: fails on valid input.
   3799 continue
   3800 fi
   3801 
   3802 rm -f conftest.err conftest.$ac_ext
   3803 
   3804   # OK, works on sane cases.  Now check whether nonexistent headers
   3805   # can be detected and how.
   3806   cat >conftest.$ac_ext <<_ACEOF
   3807 /* confdefs.h.  */
   3808 _ACEOF
   3809 cat confdefs.h >>conftest.$ac_ext
   3810 cat >>conftest.$ac_ext <<_ACEOF
   3811 /* end confdefs.h.  */
   3812 #include <ac_nonexistent.h>
   3813 _ACEOF
   3814 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3815 case "(($ac_try" in
   3816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3817   *) ac_try_echo=$ac_try;;
   3818 esac
   3819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3820 $as_echo "$ac_try_echo") >&5
   3821   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3822   ac_status=$?
   3823   grep -v '^ *+' conftest.er1 >conftest.err
   3824   rm -f conftest.er1
   3825   cat conftest.err >&5
   3826   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3827   (exit $ac_status); } >/dev/null && {
   3828 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3829 	 test ! -s conftest.err
   3830        }; then
   3831   # Broken: success on invalid input.
   3832 continue
   3833 else
   3834   $as_echo "$as_me: failed program was:" >&5
   3835 sed 's/^/| /' conftest.$ac_ext >&5
   3836 
   3837   # Passes both tests.
   3838 ac_preproc_ok=:
   3839 break
   3840 fi
   3841 
   3842 rm -f conftest.err conftest.$ac_ext
   3843 
   3844 done
   3845 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3846 rm -f conftest.err conftest.$ac_ext
   3847 if $ac_preproc_ok; then
   3848   break
   3849 fi
   3850 
   3851     done
   3852     ac_cv_prog_CPP=$CPP
   3853 
   3854 fi
   3855   CPP=$ac_cv_prog_CPP
   3856 else
   3857   ac_cv_prog_CPP=$CPP
   3858 fi
   3859 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   3860 $as_echo "$CPP" >&6; }
   3861 ac_preproc_ok=false
   3862 for ac_c_preproc_warn_flag in '' yes
   3863 do
   3864   # Use a header file that comes with gcc, so configuring glibc
   3865   # with a fresh cross-compiler works.
   3866   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3867   # <limits.h> exists even on freestanding compilers.
   3868   # On the NeXT, cc -E runs the code through the compiler's parser,
   3869   # not just through cpp. "Syntax error" is here to catch this case.
   3870   cat >conftest.$ac_ext <<_ACEOF
   3871 /* confdefs.h.  */
   3872 _ACEOF
   3873 cat confdefs.h >>conftest.$ac_ext
   3874 cat >>conftest.$ac_ext <<_ACEOF
   3875 /* end confdefs.h.  */
   3876 #ifdef __STDC__
   3877 # include <limits.h>
   3878 #else
   3879 # include <assert.h>
   3880 #endif
   3881 		     Syntax error
   3882 _ACEOF
   3883 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3884 case "(($ac_try" in
   3885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3886   *) ac_try_echo=$ac_try;;
   3887 esac
   3888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3889 $as_echo "$ac_try_echo") >&5
   3890   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3891   ac_status=$?
   3892   grep -v '^ *+' conftest.er1 >conftest.err
   3893   rm -f conftest.er1
   3894   cat conftest.err >&5
   3895   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3896   (exit $ac_status); } >/dev/null && {
   3897 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3898 	 test ! -s conftest.err
   3899        }; then
   3900   :
   3901 else
   3902   $as_echo "$as_me: failed program was:" >&5
   3903 sed 's/^/| /' conftest.$ac_ext >&5
   3904 
   3905   # Broken: fails on valid input.
   3906 continue
   3907 fi
   3908 
   3909 rm -f conftest.err conftest.$ac_ext
   3910 
   3911   # OK, works on sane cases.  Now check whether nonexistent headers
   3912   # can be detected and how.
   3913   cat >conftest.$ac_ext <<_ACEOF
   3914 /* confdefs.h.  */
   3915 _ACEOF
   3916 cat confdefs.h >>conftest.$ac_ext
   3917 cat >>conftest.$ac_ext <<_ACEOF
   3918 /* end confdefs.h.  */
   3919 #include <ac_nonexistent.h>
   3920 _ACEOF
   3921 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3922 case "(($ac_try" in
   3923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3924   *) ac_try_echo=$ac_try;;
   3925 esac
   3926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3927 $as_echo "$ac_try_echo") >&5
   3928   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3929   ac_status=$?
   3930   grep -v '^ *+' conftest.er1 >conftest.err
   3931   rm -f conftest.er1
   3932   cat conftest.err >&5
   3933   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3934   (exit $ac_status); } >/dev/null && {
   3935 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3936 	 test ! -s conftest.err
   3937        }; then
   3938   # Broken: success on invalid input.
   3939 continue
   3940 else
   3941   $as_echo "$as_me: failed program was:" >&5
   3942 sed 's/^/| /' conftest.$ac_ext >&5
   3943 
   3944   # Passes both tests.
   3945 ac_preproc_ok=:
   3946 break
   3947 fi
   3948 
   3949 rm -f conftest.err conftest.$ac_ext
   3950 
   3951 done
   3952 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3953 rm -f conftest.err conftest.$ac_ext
   3954 if $ac_preproc_ok; then
   3955   :
   3956 else
   3957   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3959 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   3960 See \`config.log' for more details." >&5
   3961 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   3962 See \`config.log' for more details." >&2;}
   3963    { (exit 1); exit 1; }; }; }
   3964 fi
   3965 
   3966 ac_ext=c
   3967 ac_cpp='$CPP $CPPFLAGS'
   3968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3971 
   3972 
   3973 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3974 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3975 if test "${ac_cv_path_GREP+set}" = set; then
   3976   $as_echo_n "(cached) " >&6
   3977 else
   3978   if test -z "$GREP"; then
   3979   ac_path_GREP_found=false
   3980   # Loop through the user's path and test for each of PROGNAME-LIST
   3981   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3982 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3983 do
   3984   IFS=$as_save_IFS
   3985   test -z "$as_dir" && as_dir=.
   3986   for ac_prog in grep ggrep; do
   3987     for ac_exec_ext in '' $ac_executable_extensions; do
   3988       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3989       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3990 # Check for GNU ac_path_GREP and select it if it is found.
   3991   # Check for GNU $ac_path_GREP
   3992 case `"$ac_path_GREP" --version 2>&1` in
   3993 *GNU*)
   3994   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3995 *)
   3996   ac_count=0
   3997   $as_echo_n 0123456789 >"conftest.in"
   3998   while :
   3999   do
   4000     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4001     mv "conftest.tmp" "conftest.in"
   4002     cp "conftest.in" "conftest.nl"
   4003     $as_echo 'GREP' >> "conftest.nl"
   4004     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4005     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4006     ac_count=`expr $ac_count + 1`
   4007     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4008       # Best one so far, save it but keep looking for a better one
   4009       ac_cv_path_GREP="$ac_path_GREP"
   4010       ac_path_GREP_max=$ac_count
   4011     fi
   4012     # 10*(2^10) chars as input seems more than enough
   4013     test $ac_count -gt 10 && break
   4014   done
   4015   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4016 esac
   4017 
   4018       $ac_path_GREP_found && break 3
   4019     done
   4020   done
   4021 done
   4022 IFS=$as_save_IFS
   4023   if test -z "$ac_cv_path_GREP"; then
   4024     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4025 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4026    { (exit 1); exit 1; }; }
   4027   fi
   4028 else
   4029   ac_cv_path_GREP=$GREP
   4030 fi
   4031 
   4032 fi
   4033 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4034 $as_echo "$ac_cv_path_GREP" >&6; }
   4035  GREP="$ac_cv_path_GREP"
   4036 
   4037 
   4038 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4039 $as_echo_n "checking for egrep... " >&6; }
   4040 if test "${ac_cv_path_EGREP+set}" = set; then
   4041   $as_echo_n "(cached) " >&6
   4042 else
   4043   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4044    then ac_cv_path_EGREP="$GREP -E"
   4045    else
   4046      if test -z "$EGREP"; then
   4047   ac_path_EGREP_found=false
   4048   # Loop through the user's path and test for each of PROGNAME-LIST
   4049   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4050 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4051 do
   4052   IFS=$as_save_IFS
   4053   test -z "$as_dir" && as_dir=.
   4054   for ac_prog in egrep; do
   4055     for ac_exec_ext in '' $ac_executable_extensions; do
   4056       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4057       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4058 # Check for GNU ac_path_EGREP and select it if it is found.
   4059   # Check for GNU $ac_path_EGREP
   4060 case `"$ac_path_EGREP" --version 2>&1` in
   4061 *GNU*)
   4062   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4063 *)
   4064   ac_count=0
   4065   $as_echo_n 0123456789 >"conftest.in"
   4066   while :
   4067   do
   4068     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4069     mv "conftest.tmp" "conftest.in"
   4070     cp "conftest.in" "conftest.nl"
   4071     $as_echo 'EGREP' >> "conftest.nl"
   4072     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4073     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4074     ac_count=`expr $ac_count + 1`
   4075     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4076       # Best one so far, save it but keep looking for a better one
   4077       ac_cv_path_EGREP="$ac_path_EGREP"
   4078       ac_path_EGREP_max=$ac_count
   4079     fi
   4080     # 10*(2^10) chars as input seems more than enough
   4081     test $ac_count -gt 10 && break
   4082   done
   4083   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4084 esac
   4085 
   4086       $ac_path_EGREP_found && break 3
   4087     done
   4088   done
   4089 done
   4090 IFS=$as_save_IFS
   4091   if test -z "$ac_cv_path_EGREP"; then
   4092     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4093 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4094    { (exit 1); exit 1; }; }
   4095   fi
   4096 else
   4097   ac_cv_path_EGREP=$EGREP
   4098 fi
   4099 
   4100    fi
   4101 fi
   4102 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4103 $as_echo "$ac_cv_path_EGREP" >&6; }
   4104  EGREP="$ac_cv_path_EGREP"
   4105 
   4106 
   4107 if test $ac_cv_c_compiler_gnu = yes; then
   4108     { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
   4109 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
   4110 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
   4111   $as_echo_n "(cached) " >&6
   4112 else
   4113     ac_pattern="Autoconf.*'x'"
   4114   cat >conftest.$ac_ext <<_ACEOF
   4115 /* confdefs.h.  */
   4116 _ACEOF
   4117 cat confdefs.h >>conftest.$ac_ext
   4118 cat >>conftest.$ac_ext <<_ACEOF
   4119 /* end confdefs.h.  */
   4120 #include <sgtty.h>
   4121 Autoconf TIOCGETP
   4122 _ACEOF
   4123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4124   $EGREP "$ac_pattern" >/dev/null 2>&1; then
   4125   ac_cv_prog_gcc_traditional=yes
   4126 else
   4127   ac_cv_prog_gcc_traditional=no
   4128 fi
   4129 rm -f conftest*
   4130 
   4131 
   4132   if test $ac_cv_prog_gcc_traditional = no; then
   4133     cat >conftest.$ac_ext <<_ACEOF
   4134 /* confdefs.h.  */
   4135 _ACEOF
   4136 cat confdefs.h >>conftest.$ac_ext
   4137 cat >>conftest.$ac_ext <<_ACEOF
   4138 /* end confdefs.h.  */
   4139 #include <termio.h>
   4140 Autoconf TCGETA
   4141 _ACEOF
   4142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4143   $EGREP "$ac_pattern" >/dev/null 2>&1; then
   4144   ac_cv_prog_gcc_traditional=yes
   4145 fi
   4146 rm -f conftest*
   4147 
   4148   fi
   4149 fi
   4150 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
   4151 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
   4152   if test $ac_cv_prog_gcc_traditional = yes; then
   4153     CC="$CC -traditional"
   4154   fi
   4155 fi
   4156 
   4157 if test "$GCC" = yes ; then
   4158         CFLAGS="$CFLAGS -Wall"
   4159         # And disable the strict-aliasing optimization, since it breaks
   4160         # our sockaddr-handling code in strange ways.
   4161         CFLAGS="$CFLAGS -fno-strict-aliasing"
   4162 fi
   4163 
   4164 # Check whether --enable-gcc-warnings was given.
   4165 if test "${enable_gcc_warnings+set}" = set; then
   4166   enableval=$enable_gcc_warnings;
   4167 fi
   4168 
   4169 
   4170 # Check whether --enable-shared was given.
   4171 if test "${enable_shared+set}" = set; then
   4172   enableval=$enable_shared; p=${PACKAGE-default}
   4173     case $enableval in
   4174     yes) enable_shared=yes ;;
   4175     no) enable_shared=no ;;
   4176     *)
   4177       enable_shared=no
   4178       # Look at the argument we got.  We use all the common list separators.
   4179       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4180       for pkg in $enableval; do
   4181 	IFS="$lt_save_ifs"
   4182 	if test "X$pkg" = "X$p"; then
   4183 	  enable_shared=yes
   4184 	fi
   4185       done
   4186       IFS="$lt_save_ifs"
   4187       ;;
   4188     esac
   4189 else
   4190   enable_shared=yes
   4191 fi
   4192 
   4193 
   4194 # Check whether --enable-static was given.
   4195 if test "${enable_static+set}" = set; then
   4196   enableval=$enable_static; p=${PACKAGE-default}
   4197     case $enableval in
   4198     yes) enable_static=yes ;;
   4199     no) enable_static=no ;;
   4200     *)
   4201      enable_static=no
   4202       # Look at the argument we got.  We use all the common list separators.
   4203       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4204       for pkg in $enableval; do
   4205 	IFS="$lt_save_ifs"
   4206 	if test "X$pkg" = "X$p"; then
   4207 	  enable_static=yes
   4208 	fi
   4209       done
   4210       IFS="$lt_save_ifs"
   4211       ;;
   4212     esac
   4213 else
   4214   enable_static=yes
   4215 fi
   4216 
   4217 
   4218 # Check whether --enable-fast-install was given.
   4219 if test "${enable_fast_install+set}" = set; then
   4220   enableval=$enable_fast_install; p=${PACKAGE-default}
   4221     case $enableval in
   4222     yes) enable_fast_install=yes ;;
   4223     no) enable_fast_install=no ;;
   4224     *)
   4225       enable_fast_install=no
   4226       # Look at the argument we got.  We use all the common list separators.
   4227       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4228       for pkg in $enableval; do
   4229 	IFS="$lt_save_ifs"
   4230 	if test "X$pkg" = "X$p"; then
   4231 	  enable_fast_install=yes
   4232 	fi
   4233       done
   4234       IFS="$lt_save_ifs"
   4235       ;;
   4236     esac
   4237 else
   4238   enable_fast_install=yes
   4239 fi
   4240 
   4241 
   4242 # Make sure we can run config.sub.
   4243 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4244   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   4245 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   4246    { (exit 1); exit 1; }; }
   4247 
   4248 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   4249 $as_echo_n "checking build system type... " >&6; }
   4250 if test "${ac_cv_build+set}" = set; then
   4251   $as_echo_n "(cached) " >&6
   4252 else
   4253   ac_build_alias=$build_alias
   4254 test "x$ac_build_alias" = x &&
   4255   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4256 test "x$ac_build_alias" = x &&
   4257   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   4258 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   4259    { (exit 1); exit 1; }; }
   4260 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4261   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   4262 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   4263    { (exit 1); exit 1; }; }
   4264 
   4265 fi
   4266 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   4267 $as_echo "$ac_cv_build" >&6; }
   4268 case $ac_cv_build in
   4269 *-*-*) ;;
   4270 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   4271 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   4272    { (exit 1); exit 1; }; };;
   4273 esac
   4274 build=$ac_cv_build
   4275 ac_save_IFS=$IFS; IFS='-'
   4276 set x $ac_cv_build
   4277 shift
   4278 build_cpu=$1
   4279 build_vendor=$2
   4280 shift; shift
   4281 # Remember, the first character of IFS is used to create $*,
   4282 # except with old shells:
   4283 build_os=$*
   4284 IFS=$ac_save_IFS
   4285 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4286 
   4287 
   4288 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   4289 $as_echo_n "checking host system type... " >&6; }
   4290 if test "${ac_cv_host+set}" = set; then
   4291   $as_echo_n "(cached) " >&6
   4292 else
   4293   if test "x$host_alias" = x; then
   4294   ac_cv_host=$ac_cv_build
   4295 else
   4296   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4297     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   4298 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   4299    { (exit 1); exit 1; }; }
   4300 fi
   4301 
   4302 fi
   4303 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   4304 $as_echo "$ac_cv_host" >&6; }
   4305 case $ac_cv_host in
   4306 *-*-*) ;;
   4307 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   4308 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   4309    { (exit 1); exit 1; }; };;
   4310 esac
   4311 host=$ac_cv_host
   4312 ac_save_IFS=$IFS; IFS='-'
   4313 set x $ac_cv_host
   4314 shift
   4315 host_cpu=$1
   4316 host_vendor=$2
   4317 shift; shift
   4318 # Remember, the first character of IFS is used to create $*,
   4319 # except with old shells:
   4320 host_os=$*
   4321 IFS=$ac_save_IFS
   4322 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4323 
   4324 
   4325 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   4326 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4327 if test "${lt_cv_path_SED+set}" = set; then
   4328   $as_echo_n "(cached) " >&6
   4329 else
   4330   # Loop through the user's path and test for sed and gsed.
   4331 # Then use that list of sed's as ones to test for truncation.
   4332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4333 for as_dir in $PATH
   4334 do
   4335   IFS=$as_save_IFS
   4336   test -z "$as_dir" && as_dir=.
   4337   for lt_ac_prog in sed gsed; do
   4338     for ac_exec_ext in '' $ac_executable_extensions; do
   4339       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   4340         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   4341       fi
   4342     done
   4343   done
   4344 done
   4345 IFS=$as_save_IFS
   4346 lt_ac_max=0
   4347 lt_ac_count=0
   4348 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   4349 # along with /bin/sed that truncates output.
   4350 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   4351   test ! -f $lt_ac_sed && continue
   4352   cat /dev/null > conftest.in
   4353   lt_ac_count=0
   4354   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   4355   # Check for GNU sed and select it if it is found.
   4356   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   4357     lt_cv_path_SED=$lt_ac_sed
   4358     break
   4359   fi
   4360   while true; do
   4361     cat conftest.in conftest.in >conftest.tmp
   4362     mv conftest.tmp conftest.in
   4363     cp conftest.in conftest.nl
   4364     echo >>conftest.nl
   4365     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   4366     cmp -s conftest.out conftest.nl || break
   4367     # 10000 chars as input seems more than enough
   4368     test $lt_ac_count -gt 10 && break
   4369     lt_ac_count=`expr $lt_ac_count + 1`
   4370     if test $lt_ac_count -gt $lt_ac_max; then
   4371       lt_ac_max=$lt_ac_count
   4372       lt_cv_path_SED=$lt_ac_sed
   4373     fi
   4374   done
   4375 done
   4376 
   4377 fi
   4378 
   4379 SED=$lt_cv_path_SED
   4380 
   4381 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   4382 $as_echo "$SED" >&6; }
   4383 
   4384 
   4385 # Check whether --with-gnu-ld was given.
   4386 if test "${with_gnu_ld+set}" = set; then
   4387   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4388 else
   4389   with_gnu_ld=no
   4390 fi
   4391 
   4392 ac_prog=ld
   4393 if test "$GCC" = yes; then
   4394   # Check if gcc -print-prog-name=ld gives a path.
   4395   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4396 $as_echo_n "checking for ld used by $CC... " >&6; }
   4397   case $host in
   4398   *-*-mingw*)
   4399     # gcc leaves a trailing carriage return which upsets mingw
   4400     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4401   *)
   4402     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4403   esac
   4404   case $ac_prog in
   4405     # Accept absolute paths.
   4406     [\\/]* | ?:[\\/]*)
   4407       re_direlt='/[^/][^/]*/\.\./'
   4408       # Canonicalize the pathname of ld
   4409       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4410       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4411 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4412       done
   4413       test -z "$LD" && LD="$ac_prog"
   4414       ;;
   4415   "")
   4416     # If it fails, then pretend we aren't using GCC.
   4417     ac_prog=ld
   4418     ;;
   4419   *)
   4420     # If it is relative, then search for the first ld in PATH.
   4421     with_gnu_ld=unknown
   4422     ;;
   4423   esac
   4424 elif test "$with_gnu_ld" = yes; then
   4425   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4426 $as_echo_n "checking for GNU ld... " >&6; }
   4427 else
   4428   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4429 $as_echo_n "checking for non-GNU ld... " >&6; }
   4430 fi
   4431 if test "${lt_cv_path_LD+set}" = set; then
   4432   $as_echo_n "(cached) " >&6
   4433 else
   4434   if test -z "$LD"; then
   4435   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4436   for ac_dir in $PATH; do
   4437     IFS="$lt_save_ifs"
   4438     test -z "$ac_dir" && ac_dir=.
   4439     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4440       lt_cv_path_LD="$ac_dir/$ac_prog"
   4441       # Check to see if the program is GNU ld.  I'd rather use --version,
   4442       # but apparently some variants of GNU ld only accept -v.
   4443       # Break only if it was the GNU/non-GNU ld that we prefer.
   4444       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4445       *GNU* | *'with BFD'*)
   4446 	test "$with_gnu_ld" != no && break
   4447 	;;
   4448       *)
   4449 	test "$with_gnu_ld" != yes && break
   4450 	;;
   4451       esac
   4452     fi
   4453   done
   4454   IFS="$lt_save_ifs"
   4455 else
   4456   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4457 fi
   4458 fi
   4459 
   4460 LD="$lt_cv_path_LD"
   4461 if test -n "$LD"; then
   4462   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4463 $as_echo "$LD" >&6; }
   4464 else
   4465   { $as_echo "$as_me:$LINENO: result: no" >&5
   4466 $as_echo "no" >&6; }
   4467 fi
   4468 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4469 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4470    { (exit 1); exit 1; }; }
   4471 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4472 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4473 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4474   $as_echo_n "(cached) " >&6
   4475 else
   4476   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4477 case `$LD -v 2>&1 </dev/null` in
   4478 *GNU* | *'with BFD'*)
   4479   lt_cv_prog_gnu_ld=yes
   4480   ;;
   4481 *)
   4482   lt_cv_prog_gnu_ld=no
   4483   ;;
   4484 esac
   4485 fi
   4486 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4487 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4488 with_gnu_ld=$lt_cv_prog_gnu_ld
   4489 
   4490 
   4491 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4492 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4493 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4494   $as_echo_n "(cached) " >&6
   4495 else
   4496   lt_cv_ld_reload_flag='-r'
   4497 fi
   4498 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4499 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4500 reload_flag=$lt_cv_ld_reload_flag
   4501 case $reload_flag in
   4502 "" | " "*) ;;
   4503 *) reload_flag=" $reload_flag" ;;
   4504 esac
   4505 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4506 case $host_os in
   4507   darwin*)
   4508     if test "$GCC" = yes; then
   4509       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4510     else
   4511       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4512     fi
   4513     ;;
   4514 esac
   4515 
   4516 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4517 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4518 if test "${lt_cv_path_NM+set}" = set; then
   4519   $as_echo_n "(cached) " >&6
   4520 else
   4521   if test -n "$NM"; then
   4522   # Let the user override the test.
   4523   lt_cv_path_NM="$NM"
   4524 else
   4525   lt_nm_to_check="${ac_tool_prefix}nm"
   4526   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4527     lt_nm_to_check="$lt_nm_to_check nm"
   4528   fi
   4529   for lt_tmp_nm in $lt_nm_to_check; do
   4530     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4531     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4532       IFS="$lt_save_ifs"
   4533       test -z "$ac_dir" && ac_dir=.
   4534       tmp_nm="$ac_dir/$lt_tmp_nm"
   4535       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4536 	# Check to see if the nm accepts a BSD-compat flag.
   4537 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4538 	#   nm: unknown option "B" ignored
   4539 	# Tru64's nm complains that /dev/null is an invalid object file
   4540 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4541 	*/dev/null* | *'Invalid file or object type'*)
   4542 	  lt_cv_path_NM="$tmp_nm -B"
   4543 	  break
   4544 	  ;;
   4545 	*)
   4546 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4547 	  */dev/null*)
   4548 	    lt_cv_path_NM="$tmp_nm -p"
   4549 	    break
   4550 	    ;;
   4551 	  *)
   4552 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4553 	    continue # so that we can try to find one that supports BSD flags
   4554 	    ;;
   4555 	  esac
   4556 	  ;;
   4557 	esac
   4558       fi
   4559     done
   4560     IFS="$lt_save_ifs"
   4561   done
   4562   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4563 fi
   4564 fi
   4565 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4566 $as_echo "$lt_cv_path_NM" >&6; }
   4567 NM="$lt_cv_path_NM"
   4568 
   4569 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4570 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4571 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4572   $as_echo_n "(cached) " >&6
   4573 else
   4574   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4575 lt_cv_file_magic_test_file=
   4576 lt_cv_deplibs_check_method='unknown'
   4577 # Need to set the preceding variable on all platforms that support
   4578 # interlibrary dependencies.
   4579 # 'none' -- dependencies not supported.
   4580 # `unknown' -- same as none, but documents that we really don't know.
   4581 # 'pass_all' -- all dependencies passed with no checks.
   4582 # 'test_compile' -- check by making test program.
   4583 # 'file_magic [[regex]]' -- check by looking for files in library path
   4584 # which responds to the $file_magic_cmd with a given extended regex.
   4585 # If you have `file' or equivalent on your system and you're not sure
   4586 # whether `pass_all' will *always* work, you probably want this one.
   4587 
   4588 case $host_os in
   4589 aix[4-9]*)
   4590   lt_cv_deplibs_check_method=pass_all
   4591   ;;
   4592 
   4593 beos*)
   4594   lt_cv_deplibs_check_method=pass_all
   4595   ;;
   4596 
   4597 bsdi[45]*)
   4598   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4599   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4600   lt_cv_file_magic_test_file=/shlib/libc.so
   4601   ;;
   4602 
   4603 cygwin*)
   4604   # func_win32_libid is a shell function defined in ltmain.sh
   4605   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4606   lt_cv_file_magic_cmd='func_win32_libid'
   4607   ;;
   4608 
   4609 mingw* | pw32*)
   4610   # Base MSYS/MinGW do not provide the 'file' command needed by
   4611   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4612   # unless we find 'file', for example because we are cross-compiling.
   4613   if ( file / ) >/dev/null 2>&1; then
   4614     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4615     lt_cv_file_magic_cmd='func_win32_libid'
   4616   else
   4617     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4618     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4619   fi
   4620   ;;
   4621 
   4622 darwin* | rhapsody*)
   4623   lt_cv_deplibs_check_method=pass_all
   4624   ;;
   4625 
   4626 freebsd* | dragonfly*)
   4627   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4628     case $host_cpu in
   4629     i*86 )
   4630       # Not sure whether the presence of OpenBSD here was a mistake.
   4631       # Let's accept both of them until this is cleared up.
   4632       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4633       lt_cv_file_magic_cmd=/usr/bin/file
   4634       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4635       ;;
   4636     esac
   4637   else
   4638     lt_cv_deplibs_check_method=pass_all
   4639   fi
   4640   ;;
   4641 
   4642 gnu*)
   4643   lt_cv_deplibs_check_method=pass_all
   4644   ;;
   4645 
   4646 hpux10.20* | hpux11*)
   4647   lt_cv_file_magic_cmd=/usr/bin/file
   4648   case $host_cpu in
   4649   ia64*)
   4650     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4651     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4652     ;;
   4653   hppa*64*)
   4654     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]'
   4655     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4656     ;;
   4657   *)
   4658     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4659     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4660     ;;
   4661   esac
   4662   ;;
   4663 
   4664 interix[3-9]*)
   4665   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4666   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4667   ;;
   4668 
   4669 irix5* | irix6* | nonstopux*)
   4670   case $LD in
   4671   *-32|*"-32 ") libmagic=32-bit;;
   4672   *-n32|*"-n32 ") libmagic=N32;;
   4673   *-64|*"-64 ") libmagic=64-bit;;
   4674   *) libmagic=never-match;;
   4675   esac
   4676   lt_cv_deplibs_check_method=pass_all
   4677   ;;
   4678 
   4679 # This must be Linux ELF.
   4680 linux* | k*bsd*-gnu)
   4681   lt_cv_deplibs_check_method=pass_all
   4682   ;;
   4683 
   4684 netbsd*)
   4685   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4686     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4687   else
   4688     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4689   fi
   4690   ;;
   4691 
   4692 newos6*)
   4693   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4694   lt_cv_file_magic_cmd=/usr/bin/file
   4695   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4696   ;;
   4697 
   4698 nto-qnx*)
   4699   lt_cv_deplibs_check_method=unknown
   4700   ;;
   4701 
   4702 openbsd*)
   4703   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4704     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4705   else
   4706     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4707   fi
   4708   ;;
   4709 
   4710 osf3* | osf4* | osf5*)
   4711   lt_cv_deplibs_check_method=pass_all
   4712   ;;
   4713 
   4714 rdos*)
   4715   lt_cv_deplibs_check_method=pass_all
   4716   ;;
   4717 
   4718 solaris*)
   4719   lt_cv_deplibs_check_method=pass_all
   4720   ;;
   4721 
   4722 sysv4 | sysv4.3*)
   4723   case $host_vendor in
   4724   motorola)
   4725     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]'
   4726     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4727     ;;
   4728   ncr)
   4729     lt_cv_deplibs_check_method=pass_all
   4730     ;;
   4731   sequent)
   4732     lt_cv_file_magic_cmd='/bin/file'
   4733     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4734     ;;
   4735   sni)
   4736     lt_cv_file_magic_cmd='/bin/file'
   4737     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4738     lt_cv_file_magic_test_file=/lib/libc.so
   4739     ;;
   4740   siemens)
   4741     lt_cv_deplibs_check_method=pass_all
   4742     ;;
   4743   pc)
   4744     lt_cv_deplibs_check_method=pass_all
   4745     ;;
   4746   esac
   4747   ;;
   4748 
   4749 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4750   lt_cv_deplibs_check_method=pass_all
   4751   ;;
   4752 esac
   4753 
   4754 fi
   4755 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4756 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4757 file_magic_cmd=$lt_cv_file_magic_cmd
   4758 deplibs_check_method=$lt_cv_deplibs_check_method
   4759 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4760 
   4761 
   4762 
   4763 
   4764 # If no C compiler was specified, use CC.
   4765 LTCC=${LTCC-"$CC"}
   4766 
   4767 # If no C compiler flags were specified, use CFLAGS.
   4768 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4769 
   4770 # Allow CC to be a program name with arguments.
   4771 compiler=$CC
   4772 
   4773 # Check whether --enable-libtool-lock was given.
   4774 if test "${enable_libtool_lock+set}" = set; then
   4775   enableval=$enable_libtool_lock;
   4776 fi
   4777 
   4778 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4779 
   4780 # Some flags need to be propagated to the compiler or linker for good
   4781 # libtool support.
   4782 case $host in
   4783 ia64-*-hpux*)
   4784   # Find out which ABI we are using.
   4785   echo 'int i;' > conftest.$ac_ext
   4786   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4787   (eval $ac_compile) 2>&5
   4788   ac_status=$?
   4789   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4790   (exit $ac_status); }; then
   4791     case `/usr/bin/file conftest.$ac_objext` in
   4792     *ELF-32*)
   4793       HPUX_IA64_MODE="32"
   4794       ;;
   4795     *ELF-64*)
   4796       HPUX_IA64_MODE="64"
   4797       ;;
   4798     esac
   4799   fi
   4800   rm -rf conftest*
   4801   ;;
   4802 *-*-irix6*)
   4803   # Find out which ABI we are using.
   4804   echo '#line 4804 "configure"' > conftest.$ac_ext
   4805   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4806   (eval $ac_compile) 2>&5
   4807   ac_status=$?
   4808   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4809   (exit $ac_status); }; then
   4810    if test "$lt_cv_prog_gnu_ld" = yes; then
   4811     case `/usr/bin/file conftest.$ac_objext` in
   4812     *32-bit*)
   4813       LD="${LD-ld} -melf32bsmip"
   4814       ;;
   4815     *N32*)
   4816       LD="${LD-ld} -melf32bmipn32"
   4817       ;;
   4818     *64-bit*)
   4819       LD="${LD-ld} -melf64bmip"
   4820       ;;
   4821     esac
   4822    else
   4823     case `/usr/bin/file conftest.$ac_objext` in
   4824     *32-bit*)
   4825       LD="${LD-ld} -32"
   4826       ;;
   4827     *N32*)
   4828       LD="${LD-ld} -n32"
   4829       ;;
   4830     *64-bit*)
   4831       LD="${LD-ld} -64"
   4832       ;;
   4833     esac
   4834    fi
   4835   fi
   4836   rm -rf conftest*
   4837   ;;
   4838 
   4839 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4840 s390*-*linux*|sparc*-*linux*)
   4841   # Find out which ABI we are using.
   4842   echo 'int i;' > conftest.$ac_ext
   4843   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4844   (eval $ac_compile) 2>&5
   4845   ac_status=$?
   4846   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4847   (exit $ac_status); }; then
   4848     case `/usr/bin/file conftest.o` in
   4849     *32-bit*)
   4850       case $host in
   4851         x86_64-*kfreebsd*-gnu)
   4852           LD="${LD-ld} -m elf_i386_fbsd"
   4853           ;;
   4854         x86_64-*linux*)
   4855           LD="${LD-ld} -m elf_i386"
   4856           ;;
   4857         ppc64-*linux*|powerpc64-*linux*)
   4858           LD="${LD-ld} -m elf32ppclinux"
   4859           ;;
   4860         s390x-*linux*)
   4861           LD="${LD-ld} -m elf_s390"
   4862           ;;
   4863         sparc64-*linux*)
   4864           LD="${LD-ld} -m elf32_sparc"
   4865           ;;
   4866       esac
   4867       ;;
   4868     *64-bit*)
   4869       case $host in
   4870         x86_64-*kfreebsd*-gnu)
   4871           LD="${LD-ld} -m elf_x86_64_fbsd"
   4872           ;;
   4873         x86_64-*linux*)
   4874           LD="${LD-ld} -m elf_x86_64"
   4875           ;;
   4876         ppc*-*linux*|powerpc*-*linux*)
   4877           LD="${LD-ld} -m elf64ppc"
   4878           ;;
   4879         s390*-*linux*)
   4880           LD="${LD-ld} -m elf64_s390"
   4881           ;;
   4882         sparc*-*linux*)
   4883           LD="${LD-ld} -m elf64_sparc"
   4884           ;;
   4885       esac
   4886       ;;
   4887     esac
   4888   fi
   4889   rm -rf conftest*
   4890   ;;
   4891 
   4892 *-*-sco3.2v5*)
   4893   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4894   SAVE_CFLAGS="$CFLAGS"
   4895   CFLAGS="$CFLAGS -belf"
   4896   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4897 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4898 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4899   $as_echo_n "(cached) " >&6
   4900 else
   4901   ac_ext=c
   4902 ac_cpp='$CPP $CPPFLAGS'
   4903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4906 
   4907      cat >conftest.$ac_ext <<_ACEOF
   4908 /* confdefs.h.  */
   4909 _ACEOF
   4910 cat confdefs.h >>conftest.$ac_ext
   4911 cat >>conftest.$ac_ext <<_ACEOF
   4912 /* end confdefs.h.  */
   4913 
   4914 int
   4915 main ()
   4916 {
   4917 
   4918   ;
   4919   return 0;
   4920 }
   4921 _ACEOF
   4922 rm -f conftest.$ac_objext conftest$ac_exeext
   4923 if { (ac_try="$ac_link"
   4924 case "(($ac_try" in
   4925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4926   *) ac_try_echo=$ac_try;;
   4927 esac
   4928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4929 $as_echo "$ac_try_echo") >&5
   4930   (eval "$ac_link") 2>conftest.er1
   4931   ac_status=$?
   4932   grep -v '^ *+' conftest.er1 >conftest.err
   4933   rm -f conftest.er1
   4934   cat conftest.err >&5
   4935   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4936   (exit $ac_status); } && {
   4937 	 test -z "$ac_c_werror_flag" ||
   4938 	 test ! -s conftest.err
   4939        } && test -s conftest$ac_exeext && {
   4940 	 test "$cross_compiling" = yes ||
   4941 	 $as_test_x conftest$ac_exeext
   4942        }; then
   4943   lt_cv_cc_needs_belf=yes
   4944 else
   4945   $as_echo "$as_me: failed program was:" >&5
   4946 sed 's/^/| /' conftest.$ac_ext >&5
   4947 
   4948 	lt_cv_cc_needs_belf=no
   4949 fi
   4950 
   4951 rm -rf conftest.dSYM
   4952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4953       conftest$ac_exeext conftest.$ac_ext
   4954      ac_ext=c
   4955 ac_cpp='$CPP $CPPFLAGS'
   4956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4959 
   4960 fi
   4961 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4962 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4963   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4964     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4965     CFLAGS="$SAVE_CFLAGS"
   4966   fi
   4967   ;;
   4968 sparc*-*solaris*)
   4969   # Find out which ABI we are using.
   4970   echo 'int i;' > conftest.$ac_ext
   4971   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4972   (eval $ac_compile) 2>&5
   4973   ac_status=$?
   4974   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4975   (exit $ac_status); }; then
   4976     case `/usr/bin/file conftest.o` in
   4977     *64-bit*)
   4978       case $lt_cv_prog_gnu_ld in
   4979       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4980       *)
   4981         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4982 	  LD="${LD-ld} -64"
   4983 	fi
   4984 	;;
   4985       esac
   4986       ;;
   4987     esac
   4988   fi
   4989   rm -rf conftest*
   4990   ;;
   4991 
   4992 
   4993 esac
   4994 
   4995 need_locks="$enable_libtool_lock"
   4996 
   4997 
   4998 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4999 $as_echo_n "checking for ANSI C header files... " >&6; }
   5000 if test "${ac_cv_header_stdc+set}" = set; then
   5001   $as_echo_n "(cached) " >&6
   5002 else
   5003   cat >conftest.$ac_ext <<_ACEOF
   5004 /* confdefs.h.  */
   5005 _ACEOF
   5006 cat confdefs.h >>conftest.$ac_ext
   5007 cat >>conftest.$ac_ext <<_ACEOF
   5008 /* end confdefs.h.  */
   5009 #include <stdlib.h>
   5010 #include <stdarg.h>
   5011 #include <string.h>
   5012 #include <float.h>
   5013 
   5014 int
   5015 main ()
   5016 {
   5017 
   5018   ;
   5019   return 0;
   5020 }
   5021 _ACEOF
   5022 rm -f conftest.$ac_objext
   5023 if { (ac_try="$ac_compile"
   5024 case "(($ac_try" in
   5025   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5026   *) ac_try_echo=$ac_try;;
   5027 esac
   5028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5029 $as_echo "$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   $as_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_cv_header_stdc=yes
   5041 else
   5042   $as_echo "$as_me: failed program was:" >&5
   5043 sed 's/^/| /' conftest.$ac_ext >&5
   5044 
   5045 	ac_cv_header_stdc=no
   5046 fi
   5047 
   5048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5049 
   5050 if test $ac_cv_header_stdc = yes; then
   5051   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5052   cat >conftest.$ac_ext <<_ACEOF
   5053 /* confdefs.h.  */
   5054 _ACEOF
   5055 cat confdefs.h >>conftest.$ac_ext
   5056 cat >>conftest.$ac_ext <<_ACEOF
   5057 /* end confdefs.h.  */
   5058 #include <string.h>
   5059 
   5060 _ACEOF
   5061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5062   $EGREP "memchr" >/dev/null 2>&1; then
   5063   :
   5064 else
   5065   ac_cv_header_stdc=no
   5066 fi
   5067 rm -f conftest*
   5068 
   5069 fi
   5070 
   5071 if test $ac_cv_header_stdc = yes; then
   5072   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5073   cat >conftest.$ac_ext <<_ACEOF
   5074 /* confdefs.h.  */
   5075 _ACEOF
   5076 cat confdefs.h >>conftest.$ac_ext
   5077 cat >>conftest.$ac_ext <<_ACEOF
   5078 /* end confdefs.h.  */
   5079 #include <stdlib.h>
   5080 
   5081 _ACEOF
   5082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5083   $EGREP "free" >/dev/null 2>&1; then
   5084   :
   5085 else
   5086   ac_cv_header_stdc=no
   5087 fi
   5088 rm -f conftest*
   5089 
   5090 fi
   5091 
   5092 if test $ac_cv_header_stdc = yes; then
   5093   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5094   if test "$cross_compiling" = yes; then
   5095   :
   5096 else
   5097   cat >conftest.$ac_ext <<_ACEOF
   5098 /* confdefs.h.  */
   5099 _ACEOF
   5100 cat confdefs.h >>conftest.$ac_ext
   5101 cat >>conftest.$ac_ext <<_ACEOF
   5102 /* end confdefs.h.  */
   5103 #include <ctype.h>
   5104 #include <stdlib.h>
   5105 #if ((' ' & 0x0FF) == 0x020)
   5106 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5107 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5108 #else
   5109 # define ISLOWER(c) \
   5110 		   (('a' <= (c) && (c) <= 'i') \
   5111 		     || ('j' <= (c) && (c) <= 'r') \
   5112 		     || ('s' <= (c) && (c) <= 'z'))
   5113 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5114 #endif
   5115 
   5116 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5117 int
   5118 main ()
   5119 {
   5120   int i;
   5121   for (i = 0; i < 256; i++)
   5122     if (XOR (islower (i), ISLOWER (i))
   5123 	|| toupper (i) != TOUPPER (i))
   5124       return 2;
   5125   return 0;
   5126 }
   5127 _ACEOF
   5128 rm -f conftest$ac_exeext
   5129 if { (ac_try="$ac_link"
   5130 case "(($ac_try" in
   5131   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5132   *) ac_try_echo=$ac_try;;
   5133 esac
   5134 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5135 $as_echo "$ac_try_echo") >&5
   5136   (eval "$ac_link") 2>&5
   5137   ac_status=$?
   5138   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5139   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5140   { (case "(($ac_try" in
   5141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5142   *) ac_try_echo=$ac_try;;
   5143 esac
   5144 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5145 $as_echo "$ac_try_echo") >&5
   5146   (eval "$ac_try") 2>&5
   5147   ac_status=$?
   5148   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5149   (exit $ac_status); }; }; then
   5150   :
   5151 else
   5152   $as_echo "$as_me: program exited with status $ac_status" >&5
   5153 $as_echo "$as_me: failed program was:" >&5
   5154 sed 's/^/| /' conftest.$ac_ext >&5
   5155 
   5156 ( exit $ac_status )
   5157 ac_cv_header_stdc=no
   5158 fi
   5159 rm -rf conftest.dSYM
   5160 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5161 fi
   5162 
   5163 
   5164 fi
   5165 fi
   5166 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5167 $as_echo "$ac_cv_header_stdc" >&6; }
   5168 if test $ac_cv_header_stdc = yes; then
   5169 
   5170 cat >>confdefs.h <<\_ACEOF
   5171 #define STDC_HEADERS 1
   5172 _ACEOF
   5173 
   5174 fi
   5175 
   5176 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5187 		  inttypes.h stdint.h unistd.h
   5188 do
   5189 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5190 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5191 $as_echo_n "checking for $ac_header... " >&6; }
   5192 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5193   $as_echo_n "(cached) " >&6
   5194 else
   5195   cat >conftest.$ac_ext <<_ACEOF
   5196 /* confdefs.h.  */
   5197 _ACEOF
   5198 cat confdefs.h >>conftest.$ac_ext
   5199 cat >>conftest.$ac_ext <<_ACEOF
   5200 /* end confdefs.h.  */
   5201 $ac_includes_default
   5202 
   5203 #include <$ac_header>
   5204 _ACEOF
   5205 rm -f conftest.$ac_objext
   5206 if { (ac_try="$ac_compile"
   5207 case "(($ac_try" in
   5208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5209   *) ac_try_echo=$ac_try;;
   5210 esac
   5211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5212 $as_echo "$ac_try_echo") >&5
   5213   (eval "$ac_compile") 2>conftest.er1
   5214   ac_status=$?
   5215   grep -v '^ *+' conftest.er1 >conftest.err
   5216   rm -f conftest.er1
   5217   cat conftest.err >&5
   5218   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5219   (exit $ac_status); } && {
   5220 	 test -z "$ac_c_werror_flag" ||
   5221 	 test ! -s conftest.err
   5222        } && test -s conftest.$ac_objext; then
   5223   eval "$as_ac_Header=yes"
   5224 else
   5225   $as_echo "$as_me: failed program was:" >&5
   5226 sed 's/^/| /' conftest.$ac_ext >&5
   5227 
   5228 	eval "$as_ac_Header=no"
   5229 fi
   5230 
   5231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5232 fi
   5233 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5234 		 $as_echo "$as_val"'`
   5235 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5236 $as_echo "$ac_res" >&6; }
   5237 as_val=`eval 'as_val=${'$as_ac_Header'}
   5238 		 $as_echo "$as_val"'`
   5239    if test "x$as_val" = x""yes; then
   5240   cat >>confdefs.h <<_ACEOF
   5241 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5242 _ACEOF
   5243 
   5244 fi
   5245 
   5246 done
   5247 
   5248 
   5249 
   5250 for ac_header in dlfcn.h
   5251 do
   5252 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5253 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5254   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5255 $as_echo_n "checking for $ac_header... " >&6; }
   5256 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5257   $as_echo_n "(cached) " >&6
   5258 fi
   5259 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5260 		 $as_echo "$as_val"'`
   5261 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5262 $as_echo "$ac_res" >&6; }
   5263 else
   5264   # Is the header compilable?
   5265 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5266 $as_echo_n "checking $ac_header usability... " >&6; }
   5267 cat >conftest.$ac_ext <<_ACEOF
   5268 /* confdefs.h.  */
   5269 _ACEOF
   5270 cat confdefs.h >>conftest.$ac_ext
   5271 cat >>conftest.$ac_ext <<_ACEOF
   5272 /* end confdefs.h.  */
   5273 $ac_includes_default
   5274 #include <$ac_header>
   5275 _ACEOF
   5276 rm -f conftest.$ac_objext
   5277 if { (ac_try="$ac_compile"
   5278 case "(($ac_try" in
   5279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5280   *) ac_try_echo=$ac_try;;
   5281 esac
   5282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5283 $as_echo "$ac_try_echo") >&5
   5284   (eval "$ac_compile") 2>conftest.er1
   5285   ac_status=$?
   5286   grep -v '^ *+' conftest.er1 >conftest.err
   5287   rm -f conftest.er1
   5288   cat conftest.err >&5
   5289   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5290   (exit $ac_status); } && {
   5291 	 test -z "$ac_c_werror_flag" ||
   5292 	 test ! -s conftest.err
   5293        } && test -s conftest.$ac_objext; then
   5294   ac_header_compiler=yes
   5295 else
   5296   $as_echo "$as_me: failed program was:" >&5
   5297 sed 's/^/| /' conftest.$ac_ext >&5
   5298 
   5299 	ac_header_compiler=no
   5300 fi
   5301 
   5302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5303 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5304 $as_echo "$ac_header_compiler" >&6; }
   5305 
   5306 # Is the header present?
   5307 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5308 $as_echo_n "checking $ac_header presence... " >&6; }
   5309 cat >conftest.$ac_ext <<_ACEOF
   5310 /* confdefs.h.  */
   5311 _ACEOF
   5312 cat confdefs.h >>conftest.$ac_ext
   5313 cat >>conftest.$ac_ext <<_ACEOF
   5314 /* end confdefs.h.  */
   5315 #include <$ac_header>
   5316 _ACEOF
   5317 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5318 case "(($ac_try" in
   5319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5320   *) ac_try_echo=$ac_try;;
   5321 esac
   5322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5323 $as_echo "$ac_try_echo") >&5
   5324   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5325   ac_status=$?
   5326   grep -v '^ *+' conftest.er1 >conftest.err
   5327   rm -f conftest.er1
   5328   cat conftest.err >&5
   5329   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5330   (exit $ac_status); } >/dev/null && {
   5331 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5332 	 test ! -s conftest.err
   5333        }; then
   5334   ac_header_preproc=yes
   5335 else
   5336   $as_echo "$as_me: failed program was:" >&5
   5337 sed 's/^/| /' conftest.$ac_ext >&5
   5338 
   5339   ac_header_preproc=no
   5340 fi
   5341 
   5342 rm -f conftest.err conftest.$ac_ext
   5343 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5344 $as_echo "$ac_header_preproc" >&6; }
   5345 
   5346 # So?  What about this header?
   5347 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5348   yes:no: )
   5349     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5350 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5351     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5352 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5353     ac_header_preproc=yes
   5354     ;;
   5355   no:yes:* )
   5356     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5357 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5358     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5359 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5360     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5361 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5362     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5363 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5364     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5365 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5366     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5367 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5368 
   5369     ;;
   5370 esac
   5371 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5372 $as_echo_n "checking for $ac_header... " >&6; }
   5373 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5374   $as_echo_n "(cached) " >&6
   5375 else
   5376   eval "$as_ac_Header=\$ac_header_preproc"
   5377 fi
   5378 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5379 		 $as_echo "$as_val"'`
   5380 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5381 $as_echo "$ac_res" >&6; }
   5382 
   5383 fi
   5384 as_val=`eval 'as_val=${'$as_ac_Header'}
   5385 		 $as_echo "$as_val"'`
   5386    if test "x$as_val" = x""yes; then
   5387   cat >>confdefs.h <<_ACEOF
   5388 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5389 _ACEOF
   5390 
   5391 fi
   5392 
   5393 done
   5394 
   5395 ac_ext=cpp
   5396 ac_cpp='$CXXCPP $CPPFLAGS'
   5397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5400 if test -z "$CXX"; then
   5401   if test -n "$CCC"; then
   5402     CXX=$CCC
   5403   else
   5404     if test -n "$ac_tool_prefix"; then
   5405   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5406   do
   5407     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5408 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5409 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5410 $as_echo_n "checking for $ac_word... " >&6; }
   5411 if test "${ac_cv_prog_CXX+set}" = set; then
   5412   $as_echo_n "(cached) " >&6
   5413 else
   5414   if test -n "$CXX"; then
   5415   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5416 else
   5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5418 for as_dir in $PATH
   5419 do
   5420   IFS=$as_save_IFS
   5421   test -z "$as_dir" && as_dir=.
   5422   for ac_exec_ext in '' $ac_executable_extensions; do
   5423   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5424     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5425     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5426     break 2
   5427   fi
   5428 done
   5429 done
   5430 IFS=$as_save_IFS
   5431 
   5432 fi
   5433 fi
   5434 CXX=$ac_cv_prog_CXX
   5435 if test -n "$CXX"; then
   5436   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5437 $as_echo "$CXX" >&6; }
   5438 else
   5439   { $as_echo "$as_me:$LINENO: result: no" >&5
   5440 $as_echo "no" >&6; }
   5441 fi
   5442 
   5443 
   5444     test -n "$CXX" && break
   5445   done
   5446 fi
   5447 if test -z "$CXX"; then
   5448   ac_ct_CXX=$CXX
   5449   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5450 do
   5451   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5452 set dummy $ac_prog; ac_word=$2
   5453 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5454 $as_echo_n "checking for $ac_word... " >&6; }
   5455 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5456   $as_echo_n "(cached) " >&6
   5457 else
   5458   if test -n "$ac_ct_CXX"; then
   5459   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5460 else
   5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5462 for as_dir in $PATH
   5463 do
   5464   IFS=$as_save_IFS
   5465   test -z "$as_dir" && as_dir=.
   5466   for ac_exec_ext in '' $ac_executable_extensions; do
   5467   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5468     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5469     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5470     break 2
   5471   fi
   5472 done
   5473 done
   5474 IFS=$as_save_IFS
   5475 
   5476 fi
   5477 fi
   5478 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5479 if test -n "$ac_ct_CXX"; then
   5480   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5481 $as_echo "$ac_ct_CXX" >&6; }
   5482 else
   5483   { $as_echo "$as_me:$LINENO: result: no" >&5
   5484 $as_echo "no" >&6; }
   5485 fi
   5486 
   5487 
   5488   test -n "$ac_ct_CXX" && break
   5489 done
   5490 
   5491   if test "x$ac_ct_CXX" = x; then
   5492     CXX="g++"
   5493   else
   5494     case $cross_compiling:$ac_tool_warned in
   5495 yes:)
   5496 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5498 ac_tool_warned=yes ;;
   5499 esac
   5500     CXX=$ac_ct_CXX
   5501   fi
   5502 fi
   5503 
   5504   fi
   5505 fi
   5506 # Provide some information about the compiler.
   5507 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5508 set X $ac_compile
   5509 ac_compiler=$2
   5510 { (ac_try="$ac_compiler --version >&5"
   5511 case "(($ac_try" in
   5512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5513   *) ac_try_echo=$ac_try;;
   5514 esac
   5515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5516 $as_echo "$ac_try_echo") >&5
   5517   (eval "$ac_compiler --version >&5") 2>&5
   5518   ac_status=$?
   5519   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5520   (exit $ac_status); }
   5521 { (ac_try="$ac_compiler -v >&5"
   5522 case "(($ac_try" in
   5523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5524   *) ac_try_echo=$ac_try;;
   5525 esac
   5526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5527 $as_echo "$ac_try_echo") >&5
   5528   (eval "$ac_compiler -v >&5") 2>&5
   5529   ac_status=$?
   5530   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5531   (exit $ac_status); }
   5532 { (ac_try="$ac_compiler -V >&5"
   5533 case "(($ac_try" in
   5534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5535   *) ac_try_echo=$ac_try;;
   5536 esac
   5537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5538 $as_echo "$ac_try_echo") >&5
   5539   (eval "$ac_compiler -V >&5") 2>&5
   5540   ac_status=$?
   5541   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5542   (exit $ac_status); }
   5543 
   5544 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5545 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5546 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5547   $as_echo_n "(cached) " >&6
   5548 else
   5549   cat >conftest.$ac_ext <<_ACEOF
   5550 /* confdefs.h.  */
   5551 _ACEOF
   5552 cat confdefs.h >>conftest.$ac_ext
   5553 cat >>conftest.$ac_ext <<_ACEOF
   5554 /* end confdefs.h.  */
   5555 
   5556 int
   5557 main ()
   5558 {
   5559 #ifndef __GNUC__
   5560        choke me
   5561 #endif
   5562 
   5563   ;
   5564   return 0;
   5565 }
   5566 _ACEOF
   5567 rm -f conftest.$ac_objext
   5568 if { (ac_try="$ac_compile"
   5569 case "(($ac_try" in
   5570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5571   *) ac_try_echo=$ac_try;;
   5572 esac
   5573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5574 $as_echo "$ac_try_echo") >&5
   5575   (eval "$ac_compile") 2>conftest.er1
   5576   ac_status=$?
   5577   grep -v '^ *+' conftest.er1 >conftest.err
   5578   rm -f conftest.er1
   5579   cat conftest.err >&5
   5580   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5581   (exit $ac_status); } && {
   5582 	 test -z "$ac_cxx_werror_flag" ||
   5583 	 test ! -s conftest.err
   5584        } && test -s conftest.$ac_objext; then
   5585   ac_compiler_gnu=yes
   5586 else
   5587   $as_echo "$as_me: failed program was:" >&5
   5588 sed 's/^/| /' conftest.$ac_ext >&5
   5589 
   5590 	ac_compiler_gnu=no
   5591 fi
   5592 
   5593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5594 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5595 
   5596 fi
   5597 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5598 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5599 if test $ac_compiler_gnu = yes; then
   5600   GXX=yes
   5601 else
   5602   GXX=
   5603 fi
   5604 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5605 ac_save_CXXFLAGS=$CXXFLAGS
   5606 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5607 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5608 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5609   $as_echo_n "(cached) " >&6
   5610 else
   5611   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5612    ac_cxx_werror_flag=yes
   5613    ac_cv_prog_cxx_g=no
   5614    CXXFLAGS="-g"
   5615    cat >conftest.$ac_ext <<_ACEOF
   5616 /* confdefs.h.  */
   5617 _ACEOF
   5618 cat confdefs.h >>conftest.$ac_ext
   5619 cat >>conftest.$ac_ext <<_ACEOF
   5620 /* end confdefs.h.  */
   5621 
   5622 int
   5623 main ()
   5624 {
   5625 
   5626   ;
   5627   return 0;
   5628 }
   5629 _ACEOF
   5630 rm -f conftest.$ac_objext
   5631 if { (ac_try="$ac_compile"
   5632 case "(($ac_try" in
   5633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5634   *) ac_try_echo=$ac_try;;
   5635 esac
   5636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5637 $as_echo "$ac_try_echo") >&5
   5638   (eval "$ac_compile") 2>conftest.er1
   5639   ac_status=$?
   5640   grep -v '^ *+' conftest.er1 >conftest.err
   5641   rm -f conftest.er1
   5642   cat conftest.err >&5
   5643   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5644   (exit $ac_status); } && {
   5645 	 test -z "$ac_cxx_werror_flag" ||
   5646 	 test ! -s conftest.err
   5647        } && test -s conftest.$ac_objext; then
   5648   ac_cv_prog_cxx_g=yes
   5649 else
   5650   $as_echo "$as_me: failed program was:" >&5
   5651 sed 's/^/| /' conftest.$ac_ext >&5
   5652 
   5653 	CXXFLAGS=""
   5654       cat >conftest.$ac_ext <<_ACEOF
   5655 /* confdefs.h.  */
   5656 _ACEOF
   5657 cat confdefs.h >>conftest.$ac_ext
   5658 cat >>conftest.$ac_ext <<_ACEOF
   5659 /* end confdefs.h.  */
   5660 
   5661 int
   5662 main ()
   5663 {
   5664 
   5665   ;
   5666   return 0;
   5667 }
   5668 _ACEOF
   5669 rm -f conftest.$ac_objext
   5670 if { (ac_try="$ac_compile"
   5671 case "(($ac_try" in
   5672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5673   *) ac_try_echo=$ac_try;;
   5674 esac
   5675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5676 $as_echo "$ac_try_echo") >&5
   5677   (eval "$ac_compile") 2>conftest.er1
   5678   ac_status=$?
   5679   grep -v '^ *+' conftest.er1 >conftest.err
   5680   rm -f conftest.er1
   5681   cat conftest.err >&5
   5682   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5683   (exit $ac_status); } && {
   5684 	 test -z "$ac_cxx_werror_flag" ||
   5685 	 test ! -s conftest.err
   5686        } && test -s conftest.$ac_objext; then
   5687   :
   5688 else
   5689   $as_echo "$as_me: failed program was:" >&5
   5690 sed 's/^/| /' conftest.$ac_ext >&5
   5691 
   5692 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5693 	 CXXFLAGS="-g"
   5694 	 cat >conftest.$ac_ext <<_ACEOF
   5695 /* confdefs.h.  */
   5696 _ACEOF
   5697 cat confdefs.h >>conftest.$ac_ext
   5698 cat >>conftest.$ac_ext <<_ACEOF
   5699 /* end confdefs.h.  */
   5700 
   5701 int
   5702 main ()
   5703 {
   5704 
   5705   ;
   5706   return 0;
   5707 }
   5708 _ACEOF
   5709 rm -f conftest.$ac_objext
   5710 if { (ac_try="$ac_compile"
   5711 case "(($ac_try" in
   5712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5713   *) ac_try_echo=$ac_try;;
   5714 esac
   5715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5716 $as_echo "$ac_try_echo") >&5
   5717   (eval "$ac_compile") 2>conftest.er1
   5718   ac_status=$?
   5719   grep -v '^ *+' conftest.er1 >conftest.err
   5720   rm -f conftest.er1
   5721   cat conftest.err >&5
   5722   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5723   (exit $ac_status); } && {
   5724 	 test -z "$ac_cxx_werror_flag" ||
   5725 	 test ! -s conftest.err
   5726        } && test -s conftest.$ac_objext; then
   5727   ac_cv_prog_cxx_g=yes
   5728 else
   5729   $as_echo "$as_me: failed program was:" >&5
   5730 sed 's/^/| /' conftest.$ac_ext >&5
   5731 
   5732 
   5733 fi
   5734 
   5735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5736 fi
   5737 
   5738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5739 fi
   5740 
   5741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5742    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5743 fi
   5744 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5745 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5746 if test "$ac_test_CXXFLAGS" = set; then
   5747   CXXFLAGS=$ac_save_CXXFLAGS
   5748 elif test $ac_cv_prog_cxx_g = yes; then
   5749   if test "$GXX" = yes; then
   5750     CXXFLAGS="-g -O2"
   5751   else
   5752     CXXFLAGS="-g"
   5753   fi
   5754 else
   5755   if test "$GXX" = yes; then
   5756     CXXFLAGS="-O2"
   5757   else
   5758     CXXFLAGS=
   5759   fi
   5760 fi
   5761 ac_ext=cpp
   5762 ac_cpp='$CXXCPP $CPPFLAGS'
   5763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5766 
   5767 depcc="$CXX"  am_compiler_list=
   5768 
   5769 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5770 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5771 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5772   $as_echo_n "(cached) " >&6
   5773 else
   5774   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5775   # We make a subdir and do the tests there.  Otherwise we can end up
   5776   # making bogus files that we don't know about and never remove.  For
   5777   # instance it was reported that on HP-UX the gcc test will end up
   5778   # making a dummy file named `D' -- because `-MD' means `put the output
   5779   # in D'.
   5780   mkdir conftest.dir
   5781   # Copy depcomp to subdir because otherwise we won't find it if we're
   5782   # using a relative directory.
   5783   cp "$am_depcomp" conftest.dir
   5784   cd conftest.dir
   5785   # We will build objects and dependencies in a subdirectory because
   5786   # it helps to detect inapplicable dependency modes.  For instance
   5787   # both Tru64's cc and ICC support -MD to output dependencies as a
   5788   # side effect of compilation, but ICC will put the dependencies in
   5789   # the current directory while Tru64 will put them in the object
   5790   # directory.
   5791   mkdir sub
   5792 
   5793   am_cv_CXX_dependencies_compiler_type=none
   5794   if test "$am_compiler_list" = ""; then
   5795      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5796   fi
   5797   for depmode in $am_compiler_list; do
   5798     # Setup a source with many dependencies, because some compilers
   5799     # like to wrap large dependency lists on column 80 (with \), and
   5800     # we should not choose a depcomp mode which is confused by this.
   5801     #
   5802     # We need to recreate these files for each test, as the compiler may
   5803     # overwrite some of them when testing with obscure command lines.
   5804     # This happens at least with the AIX C compiler.
   5805     : > sub/conftest.c
   5806     for i in 1 2 3 4 5 6; do
   5807       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5808       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5809       # Solaris 8's {/usr,}/bin/sh.
   5810       touch sub/conftst$i.h
   5811     done
   5812     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5813 
   5814     case $depmode in
   5815     nosideeffect)
   5816       # after this tag, mechanisms are not by side-effect, so they'll
   5817       # only be used when explicitly requested
   5818       if test "x$enable_dependency_tracking" = xyes; then
   5819 	continue
   5820       else
   5821 	break
   5822       fi
   5823       ;;
   5824     none) break ;;
   5825     esac
   5826     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5827     # mode.  It turns out that the SunPro C++ compiler does not properly
   5828     # handle `-M -o', and we need to detect this.
   5829     if depmode=$depmode \
   5830        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5831        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5832        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5833          >/dev/null 2>conftest.err &&
   5834        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5835        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5836        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5837        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5838       # icc doesn't choke on unknown options, it will just issue warnings
   5839       # or remarks (even with -Werror).  So we grep stderr for any message
   5840       # that says an option was ignored or not supported.
   5841       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5842       #   icc: Command line warning: ignoring option '-M'; no argument required
   5843       # The diagnosis changed in icc 8.0:
   5844       #   icc: Command line remark: option '-MP' not supported
   5845       if (grep 'ignoring option' conftest.err ||
   5846           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5847         am_cv_CXX_dependencies_compiler_type=$depmode
   5848         break
   5849       fi
   5850     fi
   5851   done
   5852 
   5853   cd ..
   5854   rm -rf conftest.dir
   5855 else
   5856   am_cv_CXX_dependencies_compiler_type=none
   5857 fi
   5858 
   5859 fi
   5860 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5861 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5862 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5863 
   5864  if
   5865   test "x$enable_dependency_tracking" != xno \
   5866   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5867   am__fastdepCXX_TRUE=
   5868   am__fastdepCXX_FALSE='#'
   5869 else
   5870   am__fastdepCXX_TRUE='#'
   5871   am__fastdepCXX_FALSE=
   5872 fi
   5873 
   5874 
   5875 
   5876 
   5877 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5878     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5879     (test "X$CXX" != "Xg++"))) ; then
   5880   ac_ext=cpp
   5881 ac_cpp='$CXXCPP $CPPFLAGS'
   5882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5885 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5886 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5887 if test -z "$CXXCPP"; then
   5888   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5889   $as_echo_n "(cached) " >&6
   5890 else
   5891       # Double quotes because CXXCPP needs to be expanded
   5892     for CXXCPP in "$CXX -E" "/lib/cpp"
   5893     do
   5894       ac_preproc_ok=false
   5895 for ac_cxx_preproc_warn_flag in '' yes
   5896 do
   5897   # Use a header file that comes with gcc, so configuring glibc
   5898   # with a fresh cross-compiler works.
   5899   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5900   # <limits.h> exists even on freestanding compilers.
   5901   # On the NeXT, cc -E runs the code through the compiler's parser,
   5902   # not just through cpp. "Syntax error" is here to catch this case.
   5903   cat >conftest.$ac_ext <<_ACEOF
   5904 /* confdefs.h.  */
   5905 _ACEOF
   5906 cat confdefs.h >>conftest.$ac_ext
   5907 cat >>conftest.$ac_ext <<_ACEOF
   5908 /* end confdefs.h.  */
   5909 #ifdef __STDC__
   5910 # include <limits.h>
   5911 #else
   5912 # include <assert.h>
   5913 #endif
   5914 		     Syntax error
   5915 _ACEOF
   5916 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5917 case "(($ac_try" in
   5918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5919   *) ac_try_echo=$ac_try;;
   5920 esac
   5921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5922 $as_echo "$ac_try_echo") >&5
   5923   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5924   ac_status=$?
   5925   grep -v '^ *+' conftest.er1 >conftest.err
   5926   rm -f conftest.er1
   5927   cat conftest.err >&5
   5928   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5929   (exit $ac_status); } >/dev/null && {
   5930 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5931 	 test ! -s conftest.err
   5932        }; then
   5933   :
   5934 else
   5935   $as_echo "$as_me: failed program was:" >&5
   5936 sed 's/^/| /' conftest.$ac_ext >&5
   5937 
   5938   # Broken: fails on valid input.
   5939 continue
   5940 fi
   5941 
   5942 rm -f conftest.err conftest.$ac_ext
   5943 
   5944   # OK, works on sane cases.  Now check whether nonexistent headers
   5945   # can be detected and how.
   5946   cat >conftest.$ac_ext <<_ACEOF
   5947 /* confdefs.h.  */
   5948 _ACEOF
   5949 cat confdefs.h >>conftest.$ac_ext
   5950 cat >>conftest.$ac_ext <<_ACEOF
   5951 /* end confdefs.h.  */
   5952 #include <ac_nonexistent.h>
   5953 _ACEOF
   5954 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5955 case "(($ac_try" in
   5956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5957   *) ac_try_echo=$ac_try;;
   5958 esac
   5959 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5960 $as_echo "$ac_try_echo") >&5
   5961   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5962   ac_status=$?
   5963   grep -v '^ *+' conftest.er1 >conftest.err
   5964   rm -f conftest.er1
   5965   cat conftest.err >&5
   5966   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5967   (exit $ac_status); } >/dev/null && {
   5968 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5969 	 test ! -s conftest.err
   5970        }; then
   5971   # Broken: success on invalid input.
   5972 continue
   5973 else
   5974   $as_echo "$as_me: failed program was:" >&5
   5975 sed 's/^/| /' conftest.$ac_ext >&5
   5976 
   5977   # Passes both tests.
   5978 ac_preproc_ok=:
   5979 break
   5980 fi
   5981 
   5982 rm -f conftest.err conftest.$ac_ext
   5983 
   5984 done
   5985 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5986 rm -f conftest.err conftest.$ac_ext
   5987 if $ac_preproc_ok; then
   5988   break
   5989 fi
   5990 
   5991     done
   5992     ac_cv_prog_CXXCPP=$CXXCPP
   5993 
   5994 fi
   5995   CXXCPP=$ac_cv_prog_CXXCPP
   5996 else
   5997   ac_cv_prog_CXXCPP=$CXXCPP
   5998 fi
   5999 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6000 $as_echo "$CXXCPP" >&6; }
   6001 ac_preproc_ok=false
   6002 for ac_cxx_preproc_warn_flag in '' yes
   6003 do
   6004   # Use a header file that comes with gcc, so configuring glibc
   6005   # with a fresh cross-compiler works.
   6006   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6007   # <limits.h> exists even on freestanding compilers.
   6008   # On the NeXT, cc -E runs the code through the compiler's parser,
   6009   # not just through cpp. "Syntax error" is here to catch this case.
   6010   cat >conftest.$ac_ext <<_ACEOF
   6011 /* confdefs.h.  */
   6012 _ACEOF
   6013 cat confdefs.h >>conftest.$ac_ext
   6014 cat >>conftest.$ac_ext <<_ACEOF
   6015 /* end confdefs.h.  */
   6016 #ifdef __STDC__
   6017 # include <limits.h>
   6018 #else
   6019 # include <assert.h>
   6020 #endif
   6021 		     Syntax error
   6022 _ACEOF
   6023 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6024 case "(($ac_try" in
   6025   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6026   *) ac_try_echo=$ac_try;;
   6027 esac
   6028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6029 $as_echo "$ac_try_echo") >&5
   6030   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6031   ac_status=$?
   6032   grep -v '^ *+' conftest.er1 >conftest.err
   6033   rm -f conftest.er1
   6034   cat conftest.err >&5
   6035   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6036   (exit $ac_status); } >/dev/null && {
   6037 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6038 	 test ! -s conftest.err
   6039        }; then
   6040   :
   6041 else
   6042   $as_echo "$as_me: failed program was:" >&5
   6043 sed 's/^/| /' conftest.$ac_ext >&5
   6044 
   6045   # Broken: fails on valid input.
   6046 continue
   6047 fi
   6048 
   6049 rm -f conftest.err conftest.$ac_ext
   6050 
   6051   # OK, works on sane cases.  Now check whether nonexistent headers
   6052   # can be detected and how.
   6053   cat >conftest.$ac_ext <<_ACEOF
   6054 /* confdefs.h.  */
   6055 _ACEOF
   6056 cat confdefs.h >>conftest.$ac_ext
   6057 cat >>conftest.$ac_ext <<_ACEOF
   6058 /* end confdefs.h.  */
   6059 #include <ac_nonexistent.h>
   6060 _ACEOF
   6061 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6062 case "(($ac_try" in
   6063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6064   *) ac_try_echo=$ac_try;;
   6065 esac
   6066 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6067 $as_echo "$ac_try_echo") >&5
   6068   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6069   ac_status=$?
   6070   grep -v '^ *+' conftest.er1 >conftest.err
   6071   rm -f conftest.er1
   6072   cat conftest.err >&5
   6073   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6074   (exit $ac_status); } >/dev/null && {
   6075 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6076 	 test ! -s conftest.err
   6077        }; then
   6078   # Broken: success on invalid input.
   6079 continue
   6080 else
   6081   $as_echo "$as_me: failed program was:" >&5
   6082 sed 's/^/| /' conftest.$ac_ext >&5
   6083 
   6084   # Passes both tests.
   6085 ac_preproc_ok=:
   6086 break
   6087 fi
   6088 
   6089 rm -f conftest.err conftest.$ac_ext
   6090 
   6091 done
   6092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6093 rm -f conftest.err conftest.$ac_ext
   6094 if $ac_preproc_ok; then
   6095   :
   6096 else
   6097   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6099 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6100 See \`config.log' for more details." >&5
   6101 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6102 See \`config.log' for more details." >&2;}
   6103    { (exit 1); exit 1; }; }; }
   6104 fi
   6105 
   6106 ac_ext=cpp
   6107 ac_cpp='$CXXCPP $CPPFLAGS'
   6108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6111 
   6112 fi
   6113 
   6114 
   6115 ac_ext=f
   6116 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6117 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6118 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6119 if test -n "$ac_tool_prefix"; then
   6120   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
   6121   do
   6122     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6124 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6125 $as_echo_n "checking for $ac_word... " >&6; }
   6126 if test "${ac_cv_prog_F77+set}" = set; then
   6127   $as_echo_n "(cached) " >&6
   6128 else
   6129   if test -n "$F77"; then
   6130   ac_cv_prog_F77="$F77" # Let the user override the test.
   6131 else
   6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6133 for as_dir in $PATH
   6134 do
   6135   IFS=$as_save_IFS
   6136   test -z "$as_dir" && as_dir=.
   6137   for ac_exec_ext in '' $ac_executable_extensions; do
   6138   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6139     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6140     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6141     break 2
   6142   fi
   6143 done
   6144 done
   6145 IFS=$as_save_IFS
   6146 
   6147 fi
   6148 fi
   6149 F77=$ac_cv_prog_F77
   6150 if test -n "$F77"; then
   6151   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6152 $as_echo "$F77" >&6; }
   6153 else
   6154   { $as_echo "$as_me:$LINENO: result: no" >&5
   6155 $as_echo "no" >&6; }
   6156 fi
   6157 
   6158 
   6159     test -n "$F77" && break
   6160   done
   6161 fi
   6162 if test -z "$F77"; then
   6163   ac_ct_F77=$F77
   6164   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
   6165 do
   6166   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6167 set dummy $ac_prog; ac_word=$2
   6168 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6169 $as_echo_n "checking for $ac_word... " >&6; }
   6170 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6171   $as_echo_n "(cached) " >&6
   6172 else
   6173   if test -n "$ac_ct_F77"; then
   6174   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6175 else
   6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6177 for as_dir in $PATH
   6178 do
   6179   IFS=$as_save_IFS
   6180   test -z "$as_dir" && as_dir=.
   6181   for ac_exec_ext in '' $ac_executable_extensions; do
   6182   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6183     ac_cv_prog_ac_ct_F77="$ac_prog"
   6184     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6185     break 2
   6186   fi
   6187 done
   6188 done
   6189 IFS=$as_save_IFS
   6190 
   6191 fi
   6192 fi
   6193 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6194 if test -n "$ac_ct_F77"; then
   6195   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6196 $as_echo "$ac_ct_F77" >&6; }
   6197 else
   6198   { $as_echo "$as_me:$LINENO: result: no" >&5
   6199 $as_echo "no" >&6; }
   6200 fi
   6201 
   6202 
   6203   test -n "$ac_ct_F77" && break
   6204 done
   6205 
   6206   if test "x$ac_ct_F77" = x; then
   6207     F77=""
   6208   else
   6209     case $cross_compiling:$ac_tool_warned in
   6210 yes:)
   6211 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6213 ac_tool_warned=yes ;;
   6214 esac
   6215     F77=$ac_ct_F77
   6216   fi
   6217 fi
   6218 
   6219 
   6220 # Provide some information about the compiler.
   6221 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6222 set X $ac_compile
   6223 ac_compiler=$2
   6224 { (ac_try="$ac_compiler --version >&5"
   6225 case "(($ac_try" in
   6226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6227   *) ac_try_echo=$ac_try;;
   6228 esac
   6229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6230 $as_echo "$ac_try_echo") >&5
   6231   (eval "$ac_compiler --version >&5") 2>&5
   6232   ac_status=$?
   6233   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6234   (exit $ac_status); }
   6235 { (ac_try="$ac_compiler -v >&5"
   6236 case "(($ac_try" in
   6237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6238   *) ac_try_echo=$ac_try;;
   6239 esac
   6240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6241 $as_echo "$ac_try_echo") >&5
   6242   (eval "$ac_compiler -v >&5") 2>&5
   6243   ac_status=$?
   6244   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6245   (exit $ac_status); }
   6246 { (ac_try="$ac_compiler -V >&5"
   6247 case "(($ac_try" in
   6248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6249   *) ac_try_echo=$ac_try;;
   6250 esac
   6251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6252 $as_echo "$ac_try_echo") >&5
   6253   (eval "$ac_compiler -V >&5") 2>&5
   6254   ac_status=$?
   6255   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6256   (exit $ac_status); }
   6257 rm -f a.out
   6258 
   6259 # If we don't use `.F' as extension, the preprocessor is not run on the
   6260 # input file.  (Note that this only needs to work for GNU compilers.)
   6261 ac_save_ext=$ac_ext
   6262 ac_ext=F
   6263 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6264 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6265 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6266   $as_echo_n "(cached) " >&6
   6267 else
   6268   cat >conftest.$ac_ext <<_ACEOF
   6269       program main
   6270 #ifndef __GNUC__
   6271        choke me
   6272 #endif
   6273 
   6274       end
   6275 _ACEOF
   6276 rm -f conftest.$ac_objext
   6277 if { (ac_try="$ac_compile"
   6278 case "(($ac_try" in
   6279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6280   *) ac_try_echo=$ac_try;;
   6281 esac
   6282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6283 $as_echo "$ac_try_echo") >&5
   6284   (eval "$ac_compile") 2>conftest.er1
   6285   ac_status=$?
   6286   grep -v '^ *+' conftest.er1 >conftest.err
   6287   rm -f conftest.er1
   6288   cat conftest.err >&5
   6289   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6290   (exit $ac_status); } && {
   6291 	 test -z "$ac_f77_werror_flag" ||
   6292 	 test ! -s conftest.err
   6293        } && test -s conftest.$ac_objext; then
   6294   ac_compiler_gnu=yes
   6295 else
   6296   $as_echo "$as_me: failed program was:" >&5
   6297 sed 's/^/| /' conftest.$ac_ext >&5
   6298 
   6299 	ac_compiler_gnu=no
   6300 fi
   6301 
   6302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6303 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6304 
   6305 fi
   6306 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6307 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6308 ac_ext=$ac_save_ext
   6309 ac_test_FFLAGS=${FFLAGS+set}
   6310 ac_save_FFLAGS=$FFLAGS
   6311 FFLAGS=
   6312 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6313 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6314 if test "${ac_cv_prog_f77_g+set}" = set; then
   6315   $as_echo_n "(cached) " >&6
   6316 else
   6317   FFLAGS=-g
   6318 cat >conftest.$ac_ext <<_ACEOF
   6319       program main
   6320 
   6321       end
   6322 _ACEOF
   6323 rm -f conftest.$ac_objext
   6324 if { (ac_try="$ac_compile"
   6325 case "(($ac_try" in
   6326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6327   *) ac_try_echo=$ac_try;;
   6328 esac
   6329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6330 $as_echo "$ac_try_echo") >&5
   6331   (eval "$ac_compile") 2>conftest.er1
   6332   ac_status=$?
   6333   grep -v '^ *+' conftest.er1 >conftest.err
   6334   rm -f conftest.er1
   6335   cat conftest.err >&5
   6336   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6337   (exit $ac_status); } && {
   6338 	 test -z "$ac_f77_werror_flag" ||
   6339 	 test ! -s conftest.err
   6340        } && test -s conftest.$ac_objext; then
   6341   ac_cv_prog_f77_g=yes
   6342 else
   6343   $as_echo "$as_me: failed program was:" >&5
   6344 sed 's/^/| /' conftest.$ac_ext >&5
   6345 
   6346 	ac_cv_prog_f77_g=no
   6347 fi
   6348 
   6349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6350 
   6351 fi
   6352 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6353 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6354 if test "$ac_test_FFLAGS" = set; then
   6355   FFLAGS=$ac_save_FFLAGS
   6356 elif test $ac_cv_prog_f77_g = yes; then
   6357   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6358     FFLAGS="-g -O2"
   6359   else
   6360     FFLAGS="-g"
   6361   fi
   6362 else
   6363   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6364     FFLAGS="-O2"
   6365   else
   6366     FFLAGS=
   6367   fi
   6368 fi
   6369 
   6370 if test $ac_compiler_gnu = yes; then
   6371   G77=yes
   6372 else
   6373   G77=
   6374 fi
   6375 ac_ext=c
   6376 ac_cpp='$CPP $CPPFLAGS'
   6377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6380 
   6381 
   6382 
   6383 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6384 # find the maximum length of command line arguments
   6385 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6386 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6387 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6388   $as_echo_n "(cached) " >&6
   6389 else
   6390     i=0
   6391   teststring="ABCD"
   6392 
   6393   case $build_os in
   6394   msdosdjgpp*)
   6395     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6396     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6397     # during glob expansion).  Even if it were fixed, the result of this
   6398     # check would be larger than it should be.
   6399     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6400     ;;
   6401 
   6402   gnu*)
   6403     # Under GNU Hurd, this test is not required because there is
   6404     # no limit to the length of command line arguments.
   6405     # Libtool will interpret -1 as no limit whatsoever
   6406     lt_cv_sys_max_cmd_len=-1;
   6407     ;;
   6408 
   6409   cygwin* | mingw*)
   6410     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6411     # about 5 minutes as the teststring grows exponentially.
   6412     # Worse, since 9x/ME are not pre-emptively multitasking,
   6413     # you end up with a "frozen" computer, even though with patience
   6414     # the test eventually succeeds (with a max line length of 256k).
   6415     # Instead, let's just punt: use the minimum linelength reported by
   6416     # all of the supported platforms: 8192 (on NT/2K/XP).
   6417     lt_cv_sys_max_cmd_len=8192;
   6418     ;;
   6419 
   6420   amigaos*)
   6421     # On AmigaOS with pdksh, this test takes hours, literally.
   6422     # So we just punt and use a minimum line length of 8192.
   6423     lt_cv_sys_max_cmd_len=8192;
   6424     ;;
   6425 
   6426   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6427     # This has been around since 386BSD, at least.  Likely further.
   6428     if test -x /sbin/sysctl; then
   6429       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6430     elif test -x /usr/sbin/sysctl; then
   6431       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6432     else
   6433       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6434     fi
   6435     # And add a safety zone
   6436     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6437     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6438     ;;
   6439 
   6440   interix*)
   6441     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6442     lt_cv_sys_max_cmd_len=196608
   6443     ;;
   6444 
   6445   osf*)
   6446     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6447     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6448     # nice to cause kernel panics so lets avoid the loop below.
   6449     # First set a reasonable default.
   6450     lt_cv_sys_max_cmd_len=16384
   6451     #
   6452     if test -x /sbin/sysconfig; then
   6453       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6454         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6455       esac
   6456     fi
   6457     ;;
   6458   sco3.2v5*)
   6459     lt_cv_sys_max_cmd_len=102400
   6460     ;;
   6461   sysv5* | sco5v6* | sysv4.2uw2*)
   6462     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6463     if test -n "$kargmax"; then
   6464       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6465     else
   6466       lt_cv_sys_max_cmd_len=32768
   6467     fi
   6468     ;;
   6469   *)
   6470     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6471     if test -n "$lt_cv_sys_max_cmd_len"; then
   6472       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6473       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6474     else
   6475       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6476       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6477 	       = "XX$teststring") >/dev/null 2>&1 &&
   6478 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6479 	      lt_cv_sys_max_cmd_len=$new_result &&
   6480 	      test $i != 17 # 1/2 MB should be enough
   6481       do
   6482         i=`expr $i + 1`
   6483         teststring=$teststring$teststring
   6484       done
   6485       teststring=
   6486       # Add a significant safety factor because C++ compilers can tack on massive
   6487       # amounts of additional arguments before passing them to the linker.
   6488       # It appears as though 1/2 is a usable value.
   6489       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6490     fi
   6491     ;;
   6492   esac
   6493 
   6494 fi
   6495 
   6496 if test -n $lt_cv_sys_max_cmd_len ; then
   6497   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6498 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6499 else
   6500   { $as_echo "$as_me:$LINENO: result: none" >&5
   6501 $as_echo "none" >&6; }
   6502 fi
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6509 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6510 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6511 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6512   $as_echo_n "(cached) " >&6
   6513 else
   6514 
   6515 # These are sane defaults that work on at least a few old systems.
   6516 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6517 
   6518 # Character class describing NM global symbol codes.
   6519 symcode='[BCDEGRST]'
   6520 
   6521 # Regexp to match symbols that can be accessed directly from C.
   6522 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6523 
   6524 # Transform an extracted symbol line into a proper C declaration
   6525 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6526 
   6527 # Transform an extracted symbol line into symbol name and symbol address
   6528 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'"
   6529 
   6530 # Define system-specific variables.
   6531 case $host_os in
   6532 aix*)
   6533   symcode='[BCDT]'
   6534   ;;
   6535 cygwin* | mingw* | pw32*)
   6536   symcode='[ABCDGISTW]'
   6537   ;;
   6538 hpux*) # Its linker distinguishes data from code symbols
   6539   if test "$host_cpu" = ia64; then
   6540     symcode='[ABCDEGRST]'
   6541   fi
   6542   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6543   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'"
   6544   ;;
   6545 linux* | k*bsd*-gnu)
   6546   if test "$host_cpu" = ia64; then
   6547     symcode='[ABCDGIRSTW]'
   6548     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6549     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'"
   6550   fi
   6551   ;;
   6552 irix* | nonstopux*)
   6553   symcode='[BCDEGRST]'
   6554   ;;
   6555 osf*)
   6556   symcode='[BCDEGQRST]'
   6557   ;;
   6558 solaris*)
   6559   symcode='[BDRT]'
   6560   ;;
   6561 sco3.2v5*)
   6562   symcode='[DT]'
   6563   ;;
   6564 sysv4.2uw2*)
   6565   symcode='[DT]'
   6566   ;;
   6567 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6568   symcode='[ABDT]'
   6569   ;;
   6570 sysv4)
   6571   symcode='[DFNSTU]'
   6572   ;;
   6573 esac
   6574 
   6575 # Handle CRLF in mingw tool chain
   6576 opt_cr=
   6577 case $build_os in
   6578 mingw*)
   6579   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6580   ;;
   6581 esac
   6582 
   6583 # If we're using GNU nm, then use its standard symbol codes.
   6584 case `$NM -V 2>&1` in
   6585 *GNU* | *'with BFD'*)
   6586   symcode='[ABCDGIRSTW]' ;;
   6587 esac
   6588 
   6589 # Try without a prefix undercore, then with it.
   6590 for ac_symprfx in "" "_"; do
   6591 
   6592   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6593   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6594 
   6595   # Write the raw and C identifiers.
   6596   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6597 
   6598   # Check to see that the pipe works correctly.
   6599   pipe_works=no
   6600 
   6601   rm -f conftest*
   6602   cat > conftest.$ac_ext <<EOF
   6603 #ifdef __cplusplus
   6604 extern "C" {
   6605 #endif
   6606 char nm_test_var;
   6607 void nm_test_func(){}
   6608 #ifdef __cplusplus
   6609 }
   6610 #endif
   6611 int main(){nm_test_var='a';nm_test_func();return(0);}
   6612 EOF
   6613 
   6614   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6615   (eval $ac_compile) 2>&5
   6616   ac_status=$?
   6617   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6618   (exit $ac_status); }; then
   6619     # Now try to grab the symbols.
   6620     nlist=conftest.nm
   6621     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6622   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6623   ac_status=$?
   6624   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6625   (exit $ac_status); } && test -s "$nlist"; then
   6626       # Try sorting and uniquifying the output.
   6627       if sort "$nlist" | uniq > "$nlist"T; then
   6628 	mv -f "$nlist"T "$nlist"
   6629       else
   6630 	rm -f "$nlist"T
   6631       fi
   6632 
   6633       # Make sure that we snagged all the symbols we need.
   6634       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6635 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6636 	  cat <<EOF > conftest.$ac_ext
   6637 #ifdef __cplusplus
   6638 extern "C" {
   6639 #endif
   6640 
   6641 EOF
   6642 	  # Now generate the symbol file.
   6643 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6644 
   6645 	  cat <<EOF >> conftest.$ac_ext
   6646 #if defined (__STDC__) && __STDC__
   6647 # define lt_ptr_t void *
   6648 #else
   6649 # define lt_ptr_t char *
   6650 # define const
   6651 #endif
   6652 
   6653 /* The mapping between symbol names and symbols. */
   6654 const struct {
   6655   const char *name;
   6656   lt_ptr_t address;
   6657 }
   6658 lt_preloaded_symbols[] =
   6659 {
   6660 EOF
   6661 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6662 	  cat <<\EOF >> conftest.$ac_ext
   6663   {0, (lt_ptr_t) 0}
   6664 };
   6665 
   6666 #ifdef __cplusplus
   6667 }
   6668 #endif
   6669 EOF
   6670 	  # Now try linking the two files.
   6671 	  mv conftest.$ac_objext conftstm.$ac_objext
   6672 	  lt_save_LIBS="$LIBS"
   6673 	  lt_save_CFLAGS="$CFLAGS"
   6674 	  LIBS="conftstm.$ac_objext"
   6675 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6676 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6677   (eval $ac_link) 2>&5
   6678   ac_status=$?
   6679   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6680   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6681 	    pipe_works=yes
   6682 	  fi
   6683 	  LIBS="$lt_save_LIBS"
   6684 	  CFLAGS="$lt_save_CFLAGS"
   6685 	else
   6686 	  echo "cannot find nm_test_func in $nlist" >&5
   6687 	fi
   6688       else
   6689 	echo "cannot find nm_test_var in $nlist" >&5
   6690       fi
   6691     else
   6692       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6693     fi
   6694   else
   6695     echo "$progname: failed program was:" >&5
   6696     cat conftest.$ac_ext >&5
   6697   fi
   6698   rm -rf conftest* conftst*
   6699 
   6700   # Do not use the global_symbol_pipe unless it works.
   6701   if test "$pipe_works" = yes; then
   6702     break
   6703   else
   6704     lt_cv_sys_global_symbol_pipe=
   6705   fi
   6706 done
   6707 
   6708 fi
   6709 
   6710 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6711   lt_cv_sys_global_symbol_to_cdecl=
   6712 fi
   6713 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6714   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6715 $as_echo "failed" >&6; }
   6716 else
   6717   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6718 $as_echo "ok" >&6; }
   6719 fi
   6720 
   6721 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6722 $as_echo_n "checking for objdir... " >&6; }
   6723 if test "${lt_cv_objdir+set}" = set; then
   6724   $as_echo_n "(cached) " >&6
   6725 else
   6726   rm -f .libs 2>/dev/null
   6727 mkdir .libs 2>/dev/null
   6728 if test -d .libs; then
   6729   lt_cv_objdir=.libs
   6730 else
   6731   # MS-DOS does not allow filenames that begin with a dot.
   6732   lt_cv_objdir=_libs
   6733 fi
   6734 rmdir .libs 2>/dev/null
   6735 fi
   6736 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6737 $as_echo "$lt_cv_objdir" >&6; }
   6738 objdir=$lt_cv_objdir
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 case $host_os in
   6745 aix3*)
   6746   # AIX sometimes has problems with the GCC collect2 program.  For some
   6747   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6748   # vanish in a puff of smoke.
   6749   if test "X${COLLECT_NAMES+set}" != Xset; then
   6750     COLLECT_NAMES=
   6751     export COLLECT_NAMES
   6752   fi
   6753   ;;
   6754 esac
   6755 
   6756 # Sed substitution that helps us do robust quoting.  It backslashifies
   6757 # metacharacters that are still active within double-quoted strings.
   6758 Xsed='sed -e 1s/^X//'
   6759 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6760 
   6761 # Same as above, but do not quote variable references.
   6762 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6763 
   6764 # Sed substitution to delay expansion of an escaped shell variable in a
   6765 # double_quote_subst'ed string.
   6766 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6767 
   6768 # Sed substitution to avoid accidental globbing in evaled expressions
   6769 no_glob_subst='s/\*/\\\*/g'
   6770 
   6771 # Constants:
   6772 rm="rm -f"
   6773 
   6774 # Global variables:
   6775 default_ofile=libtool
   6776 can_build_shared=yes
   6777 
   6778 # All known linkers require a `.a' archive for static linking (except MSVC,
   6779 # which needs '.lib').
   6780 libext=a
   6781 ltmain="$ac_aux_dir/ltmain.sh"
   6782 ofile="$default_ofile"
   6783 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6784 
   6785 if test -n "$ac_tool_prefix"; then
   6786   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6787 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6788 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6789 $as_echo_n "checking for $ac_word... " >&6; }
   6790 if test "${ac_cv_prog_AR+set}" = set; then
   6791   $as_echo_n "(cached) " >&6
   6792 else
   6793   if test -n "$AR"; then
   6794   ac_cv_prog_AR="$AR" # Let the user override the test.
   6795 else
   6796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6797 for as_dir in $PATH
   6798 do
   6799   IFS=$as_save_IFS
   6800   test -z "$as_dir" && as_dir=.
   6801   for ac_exec_ext in '' $ac_executable_extensions; do
   6802   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6803     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6804     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6805     break 2
   6806   fi
   6807 done
   6808 done
   6809 IFS=$as_save_IFS
   6810 
   6811 fi
   6812 fi
   6813 AR=$ac_cv_prog_AR
   6814 if test -n "$AR"; then
   6815   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6816 $as_echo "$AR" >&6; }
   6817 else
   6818   { $as_echo "$as_me:$LINENO: result: no" >&5
   6819 $as_echo "no" >&6; }
   6820 fi
   6821 
   6822 
   6823 fi
   6824 if test -z "$ac_cv_prog_AR"; then
   6825   ac_ct_AR=$AR
   6826   # Extract the first word of "ar", so it can be a program name with args.
   6827 set dummy ar; ac_word=$2
   6828 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6829 $as_echo_n "checking for $ac_word... " >&6; }
   6830 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6831   $as_echo_n "(cached) " >&6
   6832 else
   6833   if test -n "$ac_ct_AR"; then
   6834   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6835 else
   6836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6837 for as_dir in $PATH
   6838 do
   6839   IFS=$as_save_IFS
   6840   test -z "$as_dir" && as_dir=.
   6841   for ac_exec_ext in '' $ac_executable_extensions; do
   6842   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6843     ac_cv_prog_ac_ct_AR="ar"
   6844     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6845     break 2
   6846   fi
   6847 done
   6848 done
   6849 IFS=$as_save_IFS
   6850 
   6851 fi
   6852 fi
   6853 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6854 if test -n "$ac_ct_AR"; then
   6855   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6856 $as_echo "$ac_ct_AR" >&6; }
   6857 else
   6858   { $as_echo "$as_me:$LINENO: result: no" >&5
   6859 $as_echo "no" >&6; }
   6860 fi
   6861 
   6862   if test "x$ac_ct_AR" = x; then
   6863     AR="false"
   6864   else
   6865     case $cross_compiling:$ac_tool_warned in
   6866 yes:)
   6867 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6869 ac_tool_warned=yes ;;
   6870 esac
   6871     AR=$ac_ct_AR
   6872   fi
   6873 else
   6874   AR="$ac_cv_prog_AR"
   6875 fi
   6876 
   6877 if test -n "$ac_tool_prefix"; then
   6878   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6879 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6880 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6881 $as_echo_n "checking for $ac_word... " >&6; }
   6882 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6883   $as_echo_n "(cached) " >&6
   6884 else
   6885   if test -n "$RANLIB"; then
   6886   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6887 else
   6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6889 for as_dir in $PATH
   6890 do
   6891   IFS=$as_save_IFS
   6892   test -z "$as_dir" && as_dir=.
   6893   for ac_exec_ext in '' $ac_executable_extensions; do
   6894   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6895     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6896     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6897     break 2
   6898   fi
   6899 done
   6900 done
   6901 IFS=$as_save_IFS
   6902 
   6903 fi
   6904 fi
   6905 RANLIB=$ac_cv_prog_RANLIB
   6906 if test -n "$RANLIB"; then
   6907   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6908 $as_echo "$RANLIB" >&6; }
   6909 else
   6910   { $as_echo "$as_me:$LINENO: result: no" >&5
   6911 $as_echo "no" >&6; }
   6912 fi
   6913 
   6914 
   6915 fi
   6916 if test -z "$ac_cv_prog_RANLIB"; then
   6917   ac_ct_RANLIB=$RANLIB
   6918   # Extract the first word of "ranlib", so it can be a program name with args.
   6919 set dummy ranlib; ac_word=$2
   6920 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6921 $as_echo_n "checking for $ac_word... " >&6; }
   6922 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6923   $as_echo_n "(cached) " >&6
   6924 else
   6925   if test -n "$ac_ct_RANLIB"; then
   6926   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6927 else
   6928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6929 for as_dir in $PATH
   6930 do
   6931   IFS=$as_save_IFS
   6932   test -z "$as_dir" && as_dir=.
   6933   for ac_exec_ext in '' $ac_executable_extensions; do
   6934   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6935     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6936     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6937     break 2
   6938   fi
   6939 done
   6940 done
   6941 IFS=$as_save_IFS
   6942 
   6943 fi
   6944 fi
   6945 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6946 if test -n "$ac_ct_RANLIB"; then
   6947   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6948 $as_echo "$ac_ct_RANLIB" >&6; }
   6949 else
   6950   { $as_echo "$as_me:$LINENO: result: no" >&5
   6951 $as_echo "no" >&6; }
   6952 fi
   6953 
   6954   if test "x$ac_ct_RANLIB" = x; then
   6955     RANLIB=":"
   6956   else
   6957     case $cross_compiling:$ac_tool_warned in
   6958 yes:)
   6959 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6961 ac_tool_warned=yes ;;
   6962 esac
   6963     RANLIB=$ac_ct_RANLIB
   6964   fi
   6965 else
   6966   RANLIB="$ac_cv_prog_RANLIB"
   6967 fi
   6968 
   6969 if test -n "$ac_tool_prefix"; then
   6970   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6971 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6972 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6973 $as_echo_n "checking for $ac_word... " >&6; }
   6974 if test "${ac_cv_prog_STRIP+set}" = set; then
   6975   $as_echo_n "(cached) " >&6
   6976 else
   6977   if test -n "$STRIP"; then
   6978   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6979 else
   6980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6981 for as_dir in $PATH
   6982 do
   6983   IFS=$as_save_IFS
   6984   test -z "$as_dir" && as_dir=.
   6985   for ac_exec_ext in '' $ac_executable_extensions; do
   6986   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6987     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6988     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6989     break 2
   6990   fi
   6991 done
   6992 done
   6993 IFS=$as_save_IFS
   6994 
   6995 fi
   6996 fi
   6997 STRIP=$ac_cv_prog_STRIP
   6998 if test -n "$STRIP"; then
   6999   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7000 $as_echo "$STRIP" >&6; }
   7001 else
   7002   { $as_echo "$as_me:$LINENO: result: no" >&5
   7003 $as_echo "no" >&6; }
   7004 fi
   7005 
   7006 
   7007 fi
   7008 if test -z "$ac_cv_prog_STRIP"; then
   7009   ac_ct_STRIP=$STRIP
   7010   # Extract the first word of "strip", so it can be a program name with args.
   7011 set dummy strip; ac_word=$2
   7012 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7013 $as_echo_n "checking for $ac_word... " >&6; }
   7014 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7015   $as_echo_n "(cached) " >&6
   7016 else
   7017   if test -n "$ac_ct_STRIP"; then
   7018   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7019 else
   7020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7021 for as_dir in $PATH
   7022 do
   7023   IFS=$as_save_IFS
   7024   test -z "$as_dir" && as_dir=.
   7025   for ac_exec_ext in '' $ac_executable_extensions; do
   7026   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7027     ac_cv_prog_ac_ct_STRIP="strip"
   7028     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7029     break 2
   7030   fi
   7031 done
   7032 done
   7033 IFS=$as_save_IFS
   7034 
   7035 fi
   7036 fi
   7037 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7038 if test -n "$ac_ct_STRIP"; then
   7039   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7040 $as_echo "$ac_ct_STRIP" >&6; }
   7041 else
   7042   { $as_echo "$as_me:$LINENO: result: no" >&5
   7043 $as_echo "no" >&6; }
   7044 fi
   7045 
   7046   if test "x$ac_ct_STRIP" = x; then
   7047     STRIP=":"
   7048   else
   7049     case $cross_compiling:$ac_tool_warned in
   7050 yes:)
   7051 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7053 ac_tool_warned=yes ;;
   7054 esac
   7055     STRIP=$ac_ct_STRIP
   7056   fi
   7057 else
   7058   STRIP="$ac_cv_prog_STRIP"
   7059 fi
   7060 
   7061 
   7062 old_CC="$CC"
   7063 old_CFLAGS="$CFLAGS"
   7064 
   7065 # Set sane defaults for various variables
   7066 test -z "$AR" && AR=ar
   7067 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7068 test -z "$AS" && AS=as
   7069 test -z "$CC" && CC=cc
   7070 test -z "$LTCC" && LTCC=$CC
   7071 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7072 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7073 test -z "$LD" && LD=ld
   7074 test -z "$LN_S" && LN_S="ln -s"
   7075 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7076 test -z "$NM" && NM=nm
   7077 test -z "$SED" && SED=sed
   7078 test -z "$OBJDUMP" && OBJDUMP=objdump
   7079 test -z "$RANLIB" && RANLIB=:
   7080 test -z "$STRIP" && STRIP=:
   7081 test -z "$ac_objext" && ac_objext=o
   7082 
   7083 # Determine commands to create old-style static archives.
   7084 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7085 old_postinstall_cmds='chmod 644 $oldlib'
   7086 old_postuninstall_cmds=
   7087 
   7088 if test -n "$RANLIB"; then
   7089   case $host_os in
   7090   openbsd*)
   7091     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7092     ;;
   7093   *)
   7094     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7095     ;;
   7096   esac
   7097   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7098 fi
   7099 
   7100 for cc_temp in $compiler""; do
   7101   case $cc_temp in
   7102     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7103     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7104     \-*) ;;
   7105     *) break;;
   7106   esac
   7107 done
   7108 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7109 
   7110 
   7111 # Only perform the check for file, if the check method requires it
   7112 case $deplibs_check_method in
   7113 file_magic*)
   7114   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7115     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7116 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7117 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7118   $as_echo_n "(cached) " >&6
   7119 else
   7120   case $MAGIC_CMD in
   7121 [\\/*] |  ?:[\\/]*)
   7122   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7123   ;;
   7124 *)
   7125   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7126   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7127   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7128   for ac_dir in $ac_dummy; do
   7129     IFS="$lt_save_ifs"
   7130     test -z "$ac_dir" && ac_dir=.
   7131     if test -f $ac_dir/${ac_tool_prefix}file; then
   7132       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7133       if test -n "$file_magic_test_file"; then
   7134 	case $deplibs_check_method in
   7135 	"file_magic "*)
   7136 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7137 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7138 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7139 	    $EGREP "$file_magic_regex" > /dev/null; then
   7140 	    :
   7141 	  else
   7142 	    cat <<EOF 1>&2
   7143 
   7144 *** Warning: the command libtool uses to detect shared libraries,
   7145 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7146 *** The result is that libtool may fail to recognize shared libraries
   7147 *** as such.  This will affect the creation of libtool libraries that
   7148 *** depend on shared libraries, but programs linked with such libtool
   7149 *** libraries will work regardless of this problem.  Nevertheless, you
   7150 *** may want to report the problem to your system manager and/or to
   7151 *** bug-libtool@gnu.org
   7152 
   7153 EOF
   7154 	  fi ;;
   7155 	esac
   7156       fi
   7157       break
   7158     fi
   7159   done
   7160   IFS="$lt_save_ifs"
   7161   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7162   ;;
   7163 esac
   7164 fi
   7165 
   7166 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7167 if test -n "$MAGIC_CMD"; then
   7168   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7169 $as_echo "$MAGIC_CMD" >&6; }
   7170 else
   7171   { $as_echo "$as_me:$LINENO: result: no" >&5
   7172 $as_echo "no" >&6; }
   7173 fi
   7174 
   7175 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7176   if test -n "$ac_tool_prefix"; then
   7177     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7178 $as_echo_n "checking for file... " >&6; }
   7179 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7180   $as_echo_n "(cached) " >&6
   7181 else
   7182   case $MAGIC_CMD in
   7183 [\\/*] |  ?:[\\/]*)
   7184   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7185   ;;
   7186 *)
   7187   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7188   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7189   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7190   for ac_dir in $ac_dummy; do
   7191     IFS="$lt_save_ifs"
   7192     test -z "$ac_dir" && ac_dir=.
   7193     if test -f $ac_dir/file; then
   7194       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7195       if test -n "$file_magic_test_file"; then
   7196 	case $deplibs_check_method in
   7197 	"file_magic "*)
   7198 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7199 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7200 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7201 	    $EGREP "$file_magic_regex" > /dev/null; then
   7202 	    :
   7203 	  else
   7204 	    cat <<EOF 1>&2
   7205 
   7206 *** Warning: the command libtool uses to detect shared libraries,
   7207 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7208 *** The result is that libtool may fail to recognize shared libraries
   7209 *** as such.  This will affect the creation of libtool libraries that
   7210 *** depend on shared libraries, but programs linked with such libtool
   7211 *** libraries will work regardless of this problem.  Nevertheless, you
   7212 *** may want to report the problem to your system manager and/or to
   7213 *** bug-libtool@gnu.org
   7214 
   7215 EOF
   7216 	  fi ;;
   7217 	esac
   7218       fi
   7219       break
   7220     fi
   7221   done
   7222   IFS="$lt_save_ifs"
   7223   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7224   ;;
   7225 esac
   7226 fi
   7227 
   7228 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7229 if test -n "$MAGIC_CMD"; then
   7230   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7231 $as_echo "$MAGIC_CMD" >&6; }
   7232 else
   7233   { $as_echo "$as_me:$LINENO: result: no" >&5
   7234 $as_echo "no" >&6; }
   7235 fi
   7236 
   7237   else
   7238     MAGIC_CMD=:
   7239   fi
   7240 fi
   7241 
   7242   fi
   7243   ;;
   7244 esac
   7245 
   7246 
   7247   case $host_os in
   7248     rhapsody* | darwin*)
   7249     if test -n "$ac_tool_prefix"; then
   7250   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7251 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7252 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7253 $as_echo_n "checking for $ac_word... " >&6; }
   7254 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7255   $as_echo_n "(cached) " >&6
   7256 else
   7257   if test -n "$DSYMUTIL"; then
   7258   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7259 else
   7260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7261 for as_dir in $PATH
   7262 do
   7263   IFS=$as_save_IFS
   7264   test -z "$as_dir" && as_dir=.
   7265   for ac_exec_ext in '' $ac_executable_extensions; do
   7266   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7267     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7268     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7269     break 2
   7270   fi
   7271 done
   7272 done
   7273 IFS=$as_save_IFS
   7274 
   7275 fi
   7276 fi
   7277 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7278 if test -n "$DSYMUTIL"; then
   7279   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7280 $as_echo "$DSYMUTIL" >&6; }
   7281 else
   7282   { $as_echo "$as_me:$LINENO: result: no" >&5
   7283 $as_echo "no" >&6; }
   7284 fi
   7285 
   7286 
   7287 fi
   7288 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7289   ac_ct_DSYMUTIL=$DSYMUTIL
   7290   # Extract the first word of "dsymutil", so it can be a program name with args.
   7291 set dummy dsymutil; ac_word=$2
   7292 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7293 $as_echo_n "checking for $ac_word... " >&6; }
   7294 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7295   $as_echo_n "(cached) " >&6
   7296 else
   7297   if test -n "$ac_ct_DSYMUTIL"; then
   7298   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7299 else
   7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7301 for as_dir in $PATH
   7302 do
   7303   IFS=$as_save_IFS
   7304   test -z "$as_dir" && as_dir=.
   7305   for ac_exec_ext in '' $ac_executable_extensions; do
   7306   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7307     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7308     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7309     break 2
   7310   fi
   7311 done
   7312 done
   7313 IFS=$as_save_IFS
   7314 
   7315 fi
   7316 fi
   7317 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7318 if test -n "$ac_ct_DSYMUTIL"; then
   7319   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7320 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7321 else
   7322   { $as_echo "$as_me:$LINENO: result: no" >&5
   7323 $as_echo "no" >&6; }
   7324 fi
   7325 
   7326   if test "x$ac_ct_DSYMUTIL" = x; then
   7327     DSYMUTIL=":"
   7328   else
   7329     case $cross_compiling:$ac_tool_warned in
   7330 yes:)
   7331 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7333 ac_tool_warned=yes ;;
   7334 esac
   7335     DSYMUTIL=$ac_ct_DSYMUTIL
   7336   fi
   7337 else
   7338   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7339 fi
   7340 
   7341     if test -n "$ac_tool_prefix"; then
   7342   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7343 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7344 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7345 $as_echo_n "checking for $ac_word... " >&6; }
   7346 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7347   $as_echo_n "(cached) " >&6
   7348 else
   7349   if test -n "$NMEDIT"; then
   7350   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7351 else
   7352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7353 for as_dir in $PATH
   7354 do
   7355   IFS=$as_save_IFS
   7356   test -z "$as_dir" && as_dir=.
   7357   for ac_exec_ext in '' $ac_executable_extensions; do
   7358   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7359     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7360     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7361     break 2
   7362   fi
   7363 done
   7364 done
   7365 IFS=$as_save_IFS
   7366 
   7367 fi
   7368 fi
   7369 NMEDIT=$ac_cv_prog_NMEDIT
   7370 if test -n "$NMEDIT"; then
   7371   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7372 $as_echo "$NMEDIT" >&6; }
   7373 else
   7374   { $as_echo "$as_me:$LINENO: result: no" >&5
   7375 $as_echo "no" >&6; }
   7376 fi
   7377 
   7378 
   7379 fi
   7380 if test -z "$ac_cv_prog_NMEDIT"; then
   7381   ac_ct_NMEDIT=$NMEDIT
   7382   # Extract the first word of "nmedit", so it can be a program name with args.
   7383 set dummy nmedit; ac_word=$2
   7384 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7385 $as_echo_n "checking for $ac_word... " >&6; }
   7386 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7387   $as_echo_n "(cached) " >&6
   7388 else
   7389   if test -n "$ac_ct_NMEDIT"; then
   7390   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7391 else
   7392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7393 for as_dir in $PATH
   7394 do
   7395   IFS=$as_save_IFS
   7396   test -z "$as_dir" && as_dir=.
   7397   for ac_exec_ext in '' $ac_executable_extensions; do
   7398   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7399     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7400     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7401     break 2
   7402   fi
   7403 done
   7404 done
   7405 IFS=$as_save_IFS
   7406 
   7407 fi
   7408 fi
   7409 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7410 if test -n "$ac_ct_NMEDIT"; then
   7411   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7412 $as_echo "$ac_ct_NMEDIT" >&6; }
   7413 else
   7414   { $as_echo "$as_me:$LINENO: result: no" >&5
   7415 $as_echo "no" >&6; }
   7416 fi
   7417 
   7418   if test "x$ac_ct_NMEDIT" = x; then
   7419     NMEDIT=":"
   7420   else
   7421     case $cross_compiling:$ac_tool_warned in
   7422 yes:)
   7423 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7425 ac_tool_warned=yes ;;
   7426 esac
   7427     NMEDIT=$ac_ct_NMEDIT
   7428   fi
   7429 else
   7430   NMEDIT="$ac_cv_prog_NMEDIT"
   7431 fi
   7432 
   7433 
   7434     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7435 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7436 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7437   $as_echo_n "(cached) " >&6
   7438 else
   7439   lt_cv_apple_cc_single_mod=no
   7440       if test -z "${LT_MULTI_MODULE}"; then
   7441    # By default we will add the -single_module flag. You can override
   7442    # by either setting the environment variable LT_MULTI_MODULE
   7443    # non-empty at configure time, or by adding -multi_module to the
   7444    # link flags.
   7445    echo "int foo(void){return 1;}" > conftest.c
   7446    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7447      -dynamiclib ${wl}-single_module conftest.c
   7448    if test -f libconftest.dylib; then
   7449      lt_cv_apple_cc_single_mod=yes
   7450      rm -rf libconftest.dylib*
   7451    fi
   7452    rm conftest.c
   7453       fi
   7454 fi
   7455 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7456 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7457     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7458 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7459 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7460   $as_echo_n "(cached) " >&6
   7461 else
   7462   lt_cv_ld_exported_symbols_list=no
   7463       save_LDFLAGS=$LDFLAGS
   7464       echo "_main" > conftest.sym
   7465       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7466       cat >conftest.$ac_ext <<_ACEOF
   7467 /* confdefs.h.  */
   7468 _ACEOF
   7469 cat confdefs.h >>conftest.$ac_ext
   7470 cat >>conftest.$ac_ext <<_ACEOF
   7471 /* end confdefs.h.  */
   7472 
   7473 int
   7474 main ()
   7475 {
   7476 
   7477   ;
   7478   return 0;
   7479 }
   7480 _ACEOF
   7481 rm -f conftest.$ac_objext conftest$ac_exeext
   7482 if { (ac_try="$ac_link"
   7483 case "(($ac_try" in
   7484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7485   *) ac_try_echo=$ac_try;;
   7486 esac
   7487 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7488 $as_echo "$ac_try_echo") >&5
   7489   (eval "$ac_link") 2>conftest.er1
   7490   ac_status=$?
   7491   grep -v '^ *+' conftest.er1 >conftest.err
   7492   rm -f conftest.er1
   7493   cat conftest.err >&5
   7494   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7495   (exit $ac_status); } && {
   7496 	 test -z "$ac_c_werror_flag" ||
   7497 	 test ! -s conftest.err
   7498        } && test -s conftest$ac_exeext && {
   7499 	 test "$cross_compiling" = yes ||
   7500 	 $as_test_x conftest$ac_exeext
   7501        }; then
   7502   lt_cv_ld_exported_symbols_list=yes
   7503 else
   7504   $as_echo "$as_me: failed program was:" >&5
   7505 sed 's/^/| /' conftest.$ac_ext >&5
   7506 
   7507 	lt_cv_ld_exported_symbols_list=no
   7508 fi
   7509 
   7510 rm -rf conftest.dSYM
   7511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7512       conftest$ac_exeext conftest.$ac_ext
   7513    LDFLAGS="$save_LDFLAGS"
   7514 
   7515 fi
   7516 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7517 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7518     case $host_os in
   7519     rhapsody* | darwin1.[0123])
   7520       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7521     darwin1.*)
   7522      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7523     darwin*)
   7524       # if running on 10.5 or later, the deployment target defaults
   7525       # to the OS version, if on x86, and 10.4, the deployment
   7526       # target defaults to 10.4. Don't you love it?
   7527       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7528    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7529      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7530    10.[012]*)
   7531      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7532    10.*)
   7533      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7534       esac
   7535     ;;
   7536   esac
   7537     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7538       _lt_dar_single_mod='$single_module'
   7539     fi
   7540     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7541       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7542     else
   7543       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7544     fi
   7545     if test "$DSYMUTIL" != ":"; then
   7546       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7547     else
   7548       _lt_dsymutil=
   7549     fi
   7550     ;;
   7551   esac
   7552 
   7553 
   7554 enable_dlopen=no
   7555 enable_win32_dll=no
   7556 
   7557 # Check whether --enable-libtool-lock was given.
   7558 if test "${enable_libtool_lock+set}" = set; then
   7559   enableval=$enable_libtool_lock;
   7560 fi
   7561 
   7562 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7563 
   7564 
   7565 # Check whether --with-pic was given.
   7566 if test "${with_pic+set}" = set; then
   7567   withval=$with_pic; pic_mode="$withval"
   7568 else
   7569   pic_mode=default
   7570 fi
   7571 
   7572 test -z "$pic_mode" && pic_mode=default
   7573 
   7574 # Use C for the default configuration in the libtool script
   7575 tagname=
   7576 lt_save_CC="$CC"
   7577 ac_ext=c
   7578 ac_cpp='$CPP $CPPFLAGS'
   7579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7582 
   7583 
   7584 # Source file extension for C test sources.
   7585 ac_ext=c
   7586 
   7587 # Object file extension for compiled C test sources.
   7588 objext=o
   7589 objext=$objext
   7590 
   7591 # Code to be used in simple compile tests
   7592 lt_simple_compile_test_code="int some_variable = 0;"
   7593 
   7594 # Code to be used in simple link tests
   7595 lt_simple_link_test_code='int main(){return(0);}'
   7596 
   7597 
   7598 # If no C compiler was specified, use CC.
   7599 LTCC=${LTCC-"$CC"}
   7600 
   7601 # If no C compiler flags were specified, use CFLAGS.
   7602 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7603 
   7604 # Allow CC to be a program name with arguments.
   7605 compiler=$CC
   7606 
   7607 
   7608 # save warnings/boilerplate of simple test code
   7609 ac_outfile=conftest.$ac_objext
   7610 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7611 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7612 _lt_compiler_boilerplate=`cat conftest.err`
   7613 $rm conftest*
   7614 
   7615 ac_outfile=conftest.$ac_objext
   7616 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7617 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7618 _lt_linker_boilerplate=`cat conftest.err`
   7619 $rm -r conftest*
   7620 
   7621 
   7622 
   7623 lt_prog_compiler_no_builtin_flag=
   7624 
   7625 if test "$GCC" = yes; then
   7626   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7627 
   7628 
   7629 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7630 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7631 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7632   $as_echo_n "(cached) " >&6
   7633 else
   7634   lt_cv_prog_compiler_rtti_exceptions=no
   7635   ac_outfile=conftest.$ac_objext
   7636    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7637    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7638    # Insert the option either (1) after the last *FLAGS variable, or
   7639    # (2) before a word containing "conftest.", or (3) at the end.
   7640    # Note that $ac_compile itself does not contain backslashes and begins
   7641    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7642    # The option is referenced via a variable to avoid confusing sed.
   7643    lt_compile=`echo "$ac_compile" | $SED \
   7644    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7645    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7646    -e 's:$: $lt_compiler_flag:'`
   7647    (eval echo "\"\$as_me:7647: $lt_compile\"" >&5)
   7648    (eval "$lt_compile" 2>conftest.err)
   7649    ac_status=$?
   7650    cat conftest.err >&5
   7651    echo "$as_me:7651: \$? = $ac_status" >&5
   7652    if (exit $ac_status) && test -s "$ac_outfile"; then
   7653      # The compiler can only warn and ignore the option if not recognized
   7654      # So say no if there are warnings other than the usual output.
   7655      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7656      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7657      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7658        lt_cv_prog_compiler_rtti_exceptions=yes
   7659      fi
   7660    fi
   7661    $rm conftest*
   7662 
   7663 fi
   7664 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7665 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7666 
   7667 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7668     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7669 else
   7670     :
   7671 fi
   7672 
   7673 fi
   7674 
   7675 lt_prog_compiler_wl=
   7676 lt_prog_compiler_pic=
   7677 lt_prog_compiler_static=
   7678 
   7679 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7680 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7681 
   7682   if test "$GCC" = yes; then
   7683     lt_prog_compiler_wl='-Wl,'
   7684     lt_prog_compiler_static='-static'
   7685 
   7686     case $host_os in
   7687       aix*)
   7688       # All AIX code is PIC.
   7689       if test "$host_cpu" = ia64; then
   7690 	# AIX 5 now supports IA64 processor
   7691 	lt_prog_compiler_static='-Bstatic'
   7692       fi
   7693       ;;
   7694 
   7695     amigaos*)
   7696       # FIXME: we need at least 68020 code to build shared libraries, but
   7697       # adding the `-m68020' flag to GCC prevents building anything better,
   7698       # like `-m68040'.
   7699       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7700       ;;
   7701 
   7702     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7703       # PIC is the default for these OSes.
   7704       ;;
   7705 
   7706     mingw* | cygwin* | pw32* | os2*)
   7707       # This hack is so that the source file can tell whether it is being
   7708       # built for inclusion in a dll (and should export symbols for example).
   7709       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7710       # (--disable-auto-import) libraries
   7711       lt_prog_compiler_pic='-DDLL_EXPORT'
   7712       ;;
   7713 
   7714     darwin* | rhapsody*)
   7715       # PIC is the default on this platform
   7716       # Common symbols not allowed in MH_DYLIB files
   7717       lt_prog_compiler_pic='-fno-common'
   7718       ;;
   7719 
   7720     interix[3-9]*)
   7721       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7722       # Instead, we relocate shared libraries at runtime.
   7723       ;;
   7724 
   7725     msdosdjgpp*)
   7726       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7727       # on systems that don't support them.
   7728       lt_prog_compiler_can_build_shared=no
   7729       enable_shared=no
   7730       ;;
   7731 
   7732     sysv4*MP*)
   7733       if test -d /usr/nec; then
   7734 	lt_prog_compiler_pic=-Kconform_pic
   7735       fi
   7736       ;;
   7737 
   7738     hpux*)
   7739       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7740       # not for PA HP-UX.
   7741       case $host_cpu in
   7742       hppa*64*|ia64*)
   7743 	# +Z the default
   7744 	;;
   7745       *)
   7746 	lt_prog_compiler_pic='-fPIC'
   7747 	;;
   7748       esac
   7749       ;;
   7750 
   7751     *)
   7752       lt_prog_compiler_pic='-fPIC'
   7753       ;;
   7754     esac
   7755   else
   7756     # PORTME Check for flag to pass linker flags through the system compiler.
   7757     case $host_os in
   7758     aix*)
   7759       lt_prog_compiler_wl='-Wl,'
   7760       if test "$host_cpu" = ia64; then
   7761 	# AIX 5 now supports IA64 processor
   7762 	lt_prog_compiler_static='-Bstatic'
   7763       else
   7764 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7765       fi
   7766       ;;
   7767       darwin*)
   7768         # PIC is the default on this platform
   7769         # Common symbols not allowed in MH_DYLIB files
   7770        case $cc_basename in
   7771          xlc*)
   7772          lt_prog_compiler_pic='-qnocommon'
   7773          lt_prog_compiler_wl='-Wl,'
   7774          ;;
   7775        esac
   7776        ;;
   7777 
   7778     mingw* | cygwin* | pw32* | os2*)
   7779       # This hack is so that the source file can tell whether it is being
   7780       # built for inclusion in a dll (and should export symbols for example).
   7781       lt_prog_compiler_pic='-DDLL_EXPORT'
   7782       ;;
   7783 
   7784     hpux9* | hpux10* | hpux11*)
   7785       lt_prog_compiler_wl='-Wl,'
   7786       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7787       # not for PA HP-UX.
   7788       case $host_cpu in
   7789       hppa*64*|ia64*)
   7790 	# +Z the default
   7791 	;;
   7792       *)
   7793 	lt_prog_compiler_pic='+Z'
   7794 	;;
   7795       esac
   7796       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7797       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7798       ;;
   7799 
   7800     irix5* | irix6* | nonstopux*)
   7801       lt_prog_compiler_wl='-Wl,'
   7802       # PIC (with -KPIC) is the default.
   7803       lt_prog_compiler_static='-non_shared'
   7804       ;;
   7805 
   7806     newsos6)
   7807       lt_prog_compiler_pic='-KPIC'
   7808       lt_prog_compiler_static='-Bstatic'
   7809       ;;
   7810 
   7811     linux* | k*bsd*-gnu)
   7812       case $cc_basename in
   7813       icc* | ecc*)
   7814 	lt_prog_compiler_wl='-Wl,'
   7815 	lt_prog_compiler_pic='-KPIC'
   7816 	lt_prog_compiler_static='-static'
   7817         ;;
   7818       pgcc* | pgf77* | pgf90* | pgf95*)
   7819         # Portland Group compilers (*not* the Pentium gcc compiler,
   7820 	# which looks to be a dead project)
   7821 	lt_prog_compiler_wl='-Wl,'
   7822 	lt_prog_compiler_pic='-fpic'
   7823 	lt_prog_compiler_static='-Bstatic'
   7824         ;;
   7825       ccc*)
   7826         lt_prog_compiler_wl='-Wl,'
   7827         # All Alpha code is PIC.
   7828         lt_prog_compiler_static='-non_shared'
   7829         ;;
   7830       *)
   7831         case `$CC -V 2>&1 | sed 5q` in
   7832 	*Sun\ C*)
   7833 	  # Sun C 5.9
   7834 	  lt_prog_compiler_pic='-KPIC'
   7835 	  lt_prog_compiler_static='-Bstatic'
   7836 	  lt_prog_compiler_wl='-Wl,'
   7837 	  ;;
   7838 	*Sun\ F*)
   7839 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7840 	  lt_prog_compiler_pic='-KPIC'
   7841 	  lt_prog_compiler_static='-Bstatic'
   7842 	  lt_prog_compiler_wl=''
   7843 	  ;;
   7844 	esac
   7845 	;;
   7846       esac
   7847       ;;
   7848 
   7849     osf3* | osf4* | osf5*)
   7850       lt_prog_compiler_wl='-Wl,'
   7851       # All OSF/1 code is PIC.
   7852       lt_prog_compiler_static='-non_shared'
   7853       ;;
   7854 
   7855     rdos*)
   7856       lt_prog_compiler_static='-non_shared'
   7857       ;;
   7858 
   7859     solaris*)
   7860       lt_prog_compiler_pic='-KPIC'
   7861       lt_prog_compiler_static='-Bstatic'
   7862       case $cc_basename in
   7863       f77* | f90* | f95*)
   7864 	lt_prog_compiler_wl='-Qoption ld ';;
   7865       *)
   7866 	lt_prog_compiler_wl='-Wl,';;
   7867       esac
   7868       ;;
   7869 
   7870     sunos4*)
   7871       lt_prog_compiler_wl='-Qoption ld '
   7872       lt_prog_compiler_pic='-PIC'
   7873       lt_prog_compiler_static='-Bstatic'
   7874       ;;
   7875 
   7876     sysv4 | sysv4.2uw2* | sysv4.3*)
   7877       lt_prog_compiler_wl='-Wl,'
   7878       lt_prog_compiler_pic='-KPIC'
   7879       lt_prog_compiler_static='-Bstatic'
   7880       ;;
   7881 
   7882     sysv4*MP*)
   7883       if test -d /usr/nec ;then
   7884 	lt_prog_compiler_pic='-Kconform_pic'
   7885 	lt_prog_compiler_static='-Bstatic'
   7886       fi
   7887       ;;
   7888 
   7889     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7890       lt_prog_compiler_wl='-Wl,'
   7891       lt_prog_compiler_pic='-KPIC'
   7892       lt_prog_compiler_static='-Bstatic'
   7893       ;;
   7894 
   7895     unicos*)
   7896       lt_prog_compiler_wl='-Wl,'
   7897       lt_prog_compiler_can_build_shared=no
   7898       ;;
   7899 
   7900     uts4*)
   7901       lt_prog_compiler_pic='-pic'
   7902       lt_prog_compiler_static='-Bstatic'
   7903       ;;
   7904 
   7905     *)
   7906       lt_prog_compiler_can_build_shared=no
   7907       ;;
   7908     esac
   7909   fi
   7910 
   7911 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7912 $as_echo "$lt_prog_compiler_pic" >&6; }
   7913 
   7914 #
   7915 # Check to make sure the PIC flag actually works.
   7916 #
   7917 if test -n "$lt_prog_compiler_pic"; then
   7918 
   7919 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7920 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7921 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7922   $as_echo_n "(cached) " >&6
   7923 else
   7924   lt_cv_prog_compiler_pic_works=no
   7925   ac_outfile=conftest.$ac_objext
   7926    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7927    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7928    # Insert the option either (1) after the last *FLAGS variable, or
   7929    # (2) before a word containing "conftest.", or (3) at the end.
   7930    # Note that $ac_compile itself does not contain backslashes and begins
   7931    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7932    # The option is referenced via a variable to avoid confusing sed.
   7933    lt_compile=`echo "$ac_compile" | $SED \
   7934    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7935    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7936    -e 's:$: $lt_compiler_flag:'`
   7937    (eval echo "\"\$as_me:7937: $lt_compile\"" >&5)
   7938    (eval "$lt_compile" 2>conftest.err)
   7939    ac_status=$?
   7940    cat conftest.err >&5
   7941    echo "$as_me:7941: \$? = $ac_status" >&5
   7942    if (exit $ac_status) && test -s "$ac_outfile"; then
   7943      # The compiler can only warn and ignore the option if not recognized
   7944      # So say no if there are warnings other than the usual output.
   7945      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7946      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7947      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7948        lt_cv_prog_compiler_pic_works=yes
   7949      fi
   7950    fi
   7951    $rm conftest*
   7952 
   7953 fi
   7954 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7955 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7956 
   7957 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7958     case $lt_prog_compiler_pic in
   7959      "" | " "*) ;;
   7960      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7961      esac
   7962 else
   7963     lt_prog_compiler_pic=
   7964      lt_prog_compiler_can_build_shared=no
   7965 fi
   7966 
   7967 fi
   7968 case $host_os in
   7969   # For platforms which do not support PIC, -DPIC is meaningless:
   7970   *djgpp*)
   7971     lt_prog_compiler_pic=
   7972     ;;
   7973   *)
   7974     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7975     ;;
   7976 esac
   7977 
   7978 #
   7979 # Check to make sure the static flag actually works.
   7980 #
   7981 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7982 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7983 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7984 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7985   $as_echo_n "(cached) " >&6
   7986 else
   7987   lt_cv_prog_compiler_static_works=no
   7988    save_LDFLAGS="$LDFLAGS"
   7989    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7990    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7991    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7992      # The linker can only warn and ignore the option if not recognized
   7993      # So say no if there are warnings
   7994      if test -s conftest.err; then
   7995        # Append any errors to the config.log.
   7996        cat conftest.err 1>&5
   7997        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7998        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7999        if diff conftest.exp conftest.er2 >/dev/null; then
   8000          lt_cv_prog_compiler_static_works=yes
   8001        fi
   8002      else
   8003        lt_cv_prog_compiler_static_works=yes
   8004      fi
   8005    fi
   8006    $rm -r conftest*
   8007    LDFLAGS="$save_LDFLAGS"
   8008 
   8009 fi
   8010 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8011 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8012 
   8013 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8014     :
   8015 else
   8016     lt_prog_compiler_static=
   8017 fi
   8018 
   8019 
   8020 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8021 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8022 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8023   $as_echo_n "(cached) " >&6
   8024 else
   8025   lt_cv_prog_compiler_c_o=no
   8026    $rm -r conftest 2>/dev/null
   8027    mkdir conftest
   8028    cd conftest
   8029    mkdir out
   8030    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8031 
   8032    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8033    # Insert the option either (1) after the last *FLAGS variable, or
   8034    # (2) before a word containing "conftest.", or (3) at the end.
   8035    # Note that $ac_compile itself does not contain backslashes and begins
   8036    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8037    lt_compile=`echo "$ac_compile" | $SED \
   8038    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8039    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8040    -e 's:$: $lt_compiler_flag:'`
   8041    (eval echo "\"\$as_me:8041: $lt_compile\"" >&5)
   8042    (eval "$lt_compile" 2>out/conftest.err)
   8043    ac_status=$?
   8044    cat out/conftest.err >&5
   8045    echo "$as_me:8045: \$? = $ac_status" >&5
   8046    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8047    then
   8048      # The compiler can only warn and ignore the option if not recognized
   8049      # So say no if there are warnings
   8050      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8051      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8052      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8053        lt_cv_prog_compiler_c_o=yes
   8054      fi
   8055    fi
   8056    chmod u+w . 2>&5
   8057    $rm conftest*
   8058    # SGI C++ compiler will create directory out/ii_files/ for
   8059    # template instantiation
   8060    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8061    $rm out/* && rmdir out
   8062    cd ..
   8063    rmdir conftest
   8064    $rm conftest*
   8065 
   8066 fi
   8067 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8068 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8069 
   8070 
   8071 hard_links="nottested"
   8072 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8073   # do not overwrite the value of need_locks provided by the user
   8074   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8075 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8076   hard_links=yes
   8077   $rm conftest*
   8078   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8079   touch conftest.a
   8080   ln conftest.a conftest.b 2>&5 || hard_links=no
   8081   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8082   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8083 $as_echo "$hard_links" >&6; }
   8084   if test "$hard_links" = no; then
   8085     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8086 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8087     need_locks=warn
   8088   fi
   8089 else
   8090   need_locks=no
   8091 fi
   8092 
   8093 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8094 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8095 
   8096   runpath_var=
   8097   allow_undefined_flag=
   8098   enable_shared_with_static_runtimes=no
   8099   archive_cmds=
   8100   archive_expsym_cmds=
   8101   old_archive_From_new_cmds=
   8102   old_archive_from_expsyms_cmds=
   8103   export_dynamic_flag_spec=
   8104   whole_archive_flag_spec=
   8105   thread_safe_flag_spec=
   8106   hardcode_libdir_flag_spec=
   8107   hardcode_libdir_flag_spec_ld=
   8108   hardcode_libdir_separator=
   8109   hardcode_direct=no
   8110   hardcode_minus_L=no
   8111   hardcode_shlibpath_var=unsupported
   8112   link_all_deplibs=unknown
   8113   hardcode_automatic=no
   8114   module_cmds=
   8115   module_expsym_cmds=
   8116   always_export_symbols=no
   8117   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8118   # include_expsyms should be a list of space-separated symbols to be *always*
   8119   # included in the symbol list
   8120   include_expsyms=
   8121   # exclude_expsyms can be an extended regexp of symbols to exclude
   8122   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8123   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8124   # as well as any symbol that contains `d'.
   8125   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8126   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8127   # platforms (ab)use it in PIC code, but their linkers get confused if
   8128   # the symbol is explicitly referenced.  Since portable code cannot
   8129   # rely on this symbol name, it's probably fine to never include it in
   8130   # preloaded symbol tables.
   8131   # Exclude shared library initialization/finalization symbols.
   8132   extract_expsyms_cmds=
   8133   # Just being paranoid about ensuring that cc_basename is set.
   8134   for cc_temp in $compiler""; do
   8135   case $cc_temp in
   8136     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8137     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8138     \-*) ;;
   8139     *) break;;
   8140   esac
   8141 done
   8142 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8143 
   8144   case $host_os in
   8145   cygwin* | mingw* | pw32*)
   8146     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8147     # When not using gcc, we currently assume that we are using
   8148     # Microsoft Visual C++.
   8149     if test "$GCC" != yes; then
   8150       with_gnu_ld=no
   8151     fi
   8152     ;;
   8153   interix*)
   8154     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8155     with_gnu_ld=yes
   8156     ;;
   8157   openbsd*)
   8158     with_gnu_ld=no
   8159     ;;
   8160   esac
   8161 
   8162   ld_shlibs=yes
   8163   if test "$with_gnu_ld" = yes; then
   8164     # If archive_cmds runs LD, not CC, wlarc should be empty
   8165     wlarc='${wl}'
   8166 
   8167     # Set some defaults for GNU ld with shared library support. These
   8168     # are reset later if shared libraries are not supported. Putting them
   8169     # here allows them to be overridden if necessary.
   8170     runpath_var=LD_RUN_PATH
   8171     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8172     export_dynamic_flag_spec='${wl}--export-dynamic'
   8173     # ancient GNU ld didn't support --whole-archive et. al.
   8174     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8175 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8176       else
   8177   	whole_archive_flag_spec=
   8178     fi
   8179     supports_anon_versioning=no
   8180     case `$LD -v 2>/dev/null` in
   8181       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8182       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8183       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8184       *\ 2.11.*) ;; # other 2.11 versions
   8185       *) supports_anon_versioning=yes ;;
   8186     esac
   8187 
   8188     # See if GNU ld supports shared libraries.
   8189     case $host_os in
   8190     aix[3-9]*)
   8191       # On AIX/PPC, the GNU linker is very broken
   8192       if test "$host_cpu" != ia64; then
   8193 	ld_shlibs=no
   8194 	cat <<EOF 1>&2
   8195 
   8196 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8197 *** to be unable to reliably create shared libraries on AIX.
   8198 *** Therefore, libtool is disabling shared libraries support.  If you
   8199 *** really care for shared libraries, you may want to modify your PATH
   8200 *** so that a non-GNU linker is found, and then restart.
   8201 
   8202 EOF
   8203       fi
   8204       ;;
   8205 
   8206     amigaos*)
   8207       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)'
   8208       hardcode_libdir_flag_spec='-L$libdir'
   8209       hardcode_minus_L=yes
   8210 
   8211       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8212       # that the semantics of dynamic libraries on AmigaOS, at least up
   8213       # to version 4, is to share data among multiple programs linked
   8214       # with the same dynamic library.  Since this doesn't match the
   8215       # behavior of shared libraries on other platforms, we can't use
   8216       # them.
   8217       ld_shlibs=no
   8218       ;;
   8219 
   8220     beos*)
   8221       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8222 	allow_undefined_flag=unsupported
   8223 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8224 	# support --undefined.  This deserves some investigation.  FIXME
   8225 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8226       else
   8227 	ld_shlibs=no
   8228       fi
   8229       ;;
   8230 
   8231     cygwin* | mingw* | pw32*)
   8232       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8233       # as there is no search path for DLLs.
   8234       hardcode_libdir_flag_spec='-L$libdir'
   8235       allow_undefined_flag=unsupported
   8236       always_export_symbols=no
   8237       enable_shared_with_static_runtimes=yes
   8238       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8239 
   8240       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8241         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8242 	# If the export-symbols file already is a .def file (1st line
   8243 	# is EXPORTS), use it as is; otherwise, prepend...
   8244 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8245 	  cp $export_symbols $output_objdir/$soname.def;
   8246 	else
   8247 	  echo EXPORTS > $output_objdir/$soname.def;
   8248 	  cat $export_symbols >> $output_objdir/$soname.def;
   8249 	fi~
   8250 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8251       else
   8252 	ld_shlibs=no
   8253       fi
   8254       ;;
   8255 
   8256     interix[3-9]*)
   8257       hardcode_direct=no
   8258       hardcode_shlibpath_var=no
   8259       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8260       export_dynamic_flag_spec='${wl}-E'
   8261       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8262       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8263       # default) and relocated if they conflict, which is a slow very memory
   8264       # consuming and fragmenting process.  To avoid this, we pick a random,
   8265       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8266       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8267       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8268       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'
   8269       ;;
   8270 
   8271     gnu* | linux* | k*bsd*-gnu)
   8272       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8273 	tmp_addflag=
   8274 	case $cc_basename,$host_cpu in
   8275 	pgcc*)				# Portland Group C compiler
   8276 	  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'
   8277 	  tmp_addflag=' $pic_flag'
   8278 	  ;;
   8279 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8280 	  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'
   8281 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8282 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8283 	  tmp_addflag=' -i_dynamic' ;;
   8284 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8285 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8286 	ifc* | ifort*)			# Intel Fortran compiler
   8287 	  tmp_addflag=' -nofor_main' ;;
   8288 	esac
   8289 	case `$CC -V 2>&1 | sed 5q` in
   8290 	*Sun\ C*)			# Sun C 5.9
   8291 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   8292 	  tmp_sharedflag='-G' ;;
   8293 	*Sun\ F*)			# Sun Fortran 8.3
   8294 	  tmp_sharedflag='-G' ;;
   8295 	*)
   8296 	  tmp_sharedflag='-shared' ;;
   8297 	esac
   8298 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8299 
   8300 	if test $supports_anon_versioning = yes; then
   8301 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8302   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8303   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8304 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8305 	fi
   8306       else
   8307 	ld_shlibs=no
   8308       fi
   8309       ;;
   8310 
   8311     netbsd*)
   8312       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8313 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8314 	wlarc=
   8315       else
   8316 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8317 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8318       fi
   8319       ;;
   8320 
   8321     solaris*)
   8322       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8323 	ld_shlibs=no
   8324 	cat <<EOF 1>&2
   8325 
   8326 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8327 *** create shared libraries on Solaris systems.  Therefore, libtool
   8328 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8329 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8330 *** your PATH or compiler configuration so that the native linker is
   8331 *** used, and then restart.
   8332 
   8333 EOF
   8334       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8335 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8336 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8337       else
   8338 	ld_shlibs=no
   8339       fi
   8340       ;;
   8341 
   8342     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8343       case `$LD -v 2>&1` in
   8344         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8345 	ld_shlibs=no
   8346 	cat <<_LT_EOF 1>&2
   8347 
   8348 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8349 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8350 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8351 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8352 *** your PATH or compiler configuration so that the native linker is
   8353 *** used, and then restart.
   8354 
   8355 _LT_EOF
   8356 	;;
   8357 	*)
   8358 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8359 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8360 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8361 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8362 	  else
   8363 	    ld_shlibs=no
   8364 	  fi
   8365 	;;
   8366       esac
   8367       ;;
   8368 
   8369     sunos4*)
   8370       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8371       wlarc=
   8372       hardcode_direct=yes
   8373       hardcode_shlibpath_var=no
   8374       ;;
   8375 
   8376     *)
   8377       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8378 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8379 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8380       else
   8381 	ld_shlibs=no
   8382       fi
   8383       ;;
   8384     esac
   8385 
   8386     if test "$ld_shlibs" = no; then
   8387       runpath_var=
   8388       hardcode_libdir_flag_spec=
   8389       export_dynamic_flag_spec=
   8390       whole_archive_flag_spec=
   8391     fi
   8392   else
   8393     # PORTME fill in a description of your system's linker (not GNU ld)
   8394     case $host_os in
   8395     aix3*)
   8396       allow_undefined_flag=unsupported
   8397       always_export_symbols=yes
   8398       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'
   8399       # Note: this linker hardcodes the directories in LIBPATH if there
   8400       # are no directories specified by -L.
   8401       hardcode_minus_L=yes
   8402       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8403 	# Neither direct hardcoding nor static linking is supported with a
   8404 	# broken collect2.
   8405 	hardcode_direct=unsupported
   8406       fi
   8407       ;;
   8408 
   8409     aix[4-9]*)
   8410       if test "$host_cpu" = ia64; then
   8411 	# On IA64, the linker does run time linking by default, so we don't
   8412 	# have to do anything special.
   8413 	aix_use_runtimelinking=no
   8414 	exp_sym_flag='-Bexport'
   8415 	no_entry_flag=""
   8416       else
   8417 	# If we're using GNU nm, then we don't want the "-C" option.
   8418 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8419 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8420 	  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'
   8421 	else
   8422 	  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'
   8423 	fi
   8424 	aix_use_runtimelinking=no
   8425 
   8426 	# Test if we are trying to use run time linking or normal
   8427 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8428 	# need to do runtime linking.
   8429 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8430 	  for ld_flag in $LDFLAGS; do
   8431   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8432   	    aix_use_runtimelinking=yes
   8433   	    break
   8434   	  fi
   8435 	  done
   8436 	  ;;
   8437 	esac
   8438 
   8439 	exp_sym_flag='-bexport'
   8440 	no_entry_flag='-bnoentry'
   8441       fi
   8442 
   8443       # When large executables or shared objects are built, AIX ld can
   8444       # have problems creating the table of contents.  If linking a library
   8445       # or program results in "error TOC overflow" add -mminimal-toc to
   8446       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8447       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8448 
   8449       archive_cmds=''
   8450       hardcode_direct=yes
   8451       hardcode_libdir_separator=':'
   8452       link_all_deplibs=yes
   8453 
   8454       if test "$GCC" = yes; then
   8455 	case $host_os in aix4.[012]|aix4.[012].*)
   8456 	# We only want to do this on AIX 4.2 and lower, the check
   8457 	# below for broken collect2 doesn't work under 4.3+
   8458 	  collect2name=`${CC} -print-prog-name=collect2`
   8459 	  if test -f "$collect2name" && \
   8460   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8461 	  then
   8462   	  # We have reworked collect2
   8463   	  :
   8464 	  else
   8465   	  # We have old collect2
   8466   	  hardcode_direct=unsupported
   8467   	  # It fails to find uninstalled libraries when the uninstalled
   8468   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8469   	  # to unsupported forces relinking
   8470   	  hardcode_minus_L=yes
   8471   	  hardcode_libdir_flag_spec='-L$libdir'
   8472   	  hardcode_libdir_separator=
   8473 	  fi
   8474 	  ;;
   8475 	esac
   8476 	shared_flag='-shared'
   8477 	if test "$aix_use_runtimelinking" = yes; then
   8478 	  shared_flag="$shared_flag "'${wl}-G'
   8479 	fi
   8480       else
   8481 	# not using gcc
   8482 	if test "$host_cpu" = ia64; then
   8483   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8484   	# chokes on -Wl,-G. The following line is correct:
   8485 	  shared_flag='-G'
   8486 	else
   8487 	  if test "$aix_use_runtimelinking" = yes; then
   8488 	    shared_flag='${wl}-G'
   8489 	  else
   8490 	    shared_flag='${wl}-bM:SRE'
   8491 	  fi
   8492 	fi
   8493       fi
   8494 
   8495       # It seems that -bexpall does not export symbols beginning with
   8496       # underscore (_), so it is better to generate a list of symbols to export.
   8497       always_export_symbols=yes
   8498       if test "$aix_use_runtimelinking" = yes; then
   8499 	# Warning - without using the other runtime loading flags (-brtl),
   8500 	# -berok will link without error, but may produce a broken library.
   8501 	allow_undefined_flag='-berok'
   8502        # Determine the default libpath from the value encoded in an empty executable.
   8503        cat >conftest.$ac_ext <<_ACEOF
   8504 /* confdefs.h.  */
   8505 _ACEOF
   8506 cat confdefs.h >>conftest.$ac_ext
   8507 cat >>conftest.$ac_ext <<_ACEOF
   8508 /* end confdefs.h.  */
   8509 
   8510 int
   8511 main ()
   8512 {
   8513 
   8514   ;
   8515   return 0;
   8516 }
   8517 _ACEOF
   8518 rm -f conftest.$ac_objext conftest$ac_exeext
   8519 if { (ac_try="$ac_link"
   8520 case "(($ac_try" in
   8521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8522   *) ac_try_echo=$ac_try;;
   8523 esac
   8524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8525 $as_echo "$ac_try_echo") >&5
   8526   (eval "$ac_link") 2>conftest.er1
   8527   ac_status=$?
   8528   grep -v '^ *+' conftest.er1 >conftest.err
   8529   rm -f conftest.er1
   8530   cat conftest.err >&5
   8531   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8532   (exit $ac_status); } && {
   8533 	 test -z "$ac_c_werror_flag" ||
   8534 	 test ! -s conftest.err
   8535        } && test -s conftest$ac_exeext && {
   8536 	 test "$cross_compiling" = yes ||
   8537 	 $as_test_x conftest$ac_exeext
   8538        }; then
   8539 
   8540 lt_aix_libpath_sed='
   8541     /Import File Strings/,/^$/ {
   8542 	/^0/ {
   8543 	    s/^0  *\(.*\)$/\1/
   8544 	    p
   8545 	}
   8546     }'
   8547 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8548 # Check for a 64-bit object if we didn't find anything.
   8549 if test -z "$aix_libpath"; then
   8550   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8551 fi
   8552 else
   8553   $as_echo "$as_me: failed program was:" >&5
   8554 sed 's/^/| /' conftest.$ac_ext >&5
   8555 
   8556 
   8557 fi
   8558 
   8559 rm -rf conftest.dSYM
   8560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8561       conftest$ac_exeext conftest.$ac_ext
   8562 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8563 
   8564        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8565 	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"
   8566        else
   8567 	if test "$host_cpu" = ia64; then
   8568 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8569 	  allow_undefined_flag="-z nodefs"
   8570 	  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"
   8571 	else
   8572 	 # Determine the default libpath from the value encoded in an empty executable.
   8573 	 cat >conftest.$ac_ext <<_ACEOF
   8574 /* confdefs.h.  */
   8575 _ACEOF
   8576 cat confdefs.h >>conftest.$ac_ext
   8577 cat >>conftest.$ac_ext <<_ACEOF
   8578 /* end confdefs.h.  */
   8579 
   8580 int
   8581 main ()
   8582 {
   8583 
   8584   ;
   8585   return 0;
   8586 }
   8587 _ACEOF
   8588 rm -f conftest.$ac_objext conftest$ac_exeext
   8589 if { (ac_try="$ac_link"
   8590 case "(($ac_try" in
   8591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8592   *) ac_try_echo=$ac_try;;
   8593 esac
   8594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8595 $as_echo "$ac_try_echo") >&5
   8596   (eval "$ac_link") 2>conftest.er1
   8597   ac_status=$?
   8598   grep -v '^ *+' conftest.er1 >conftest.err
   8599   rm -f conftest.er1
   8600   cat conftest.err >&5
   8601   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8602   (exit $ac_status); } && {
   8603 	 test -z "$ac_c_werror_flag" ||
   8604 	 test ! -s conftest.err
   8605        } && test -s conftest$ac_exeext && {
   8606 	 test "$cross_compiling" = yes ||
   8607 	 $as_test_x conftest$ac_exeext
   8608        }; then
   8609 
   8610 lt_aix_libpath_sed='
   8611     /Import File Strings/,/^$/ {
   8612 	/^0/ {
   8613 	    s/^0  *\(.*\)$/\1/
   8614 	    p
   8615 	}
   8616     }'
   8617 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8618 # Check for a 64-bit object if we didn't find anything.
   8619 if test -z "$aix_libpath"; then
   8620   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8621 fi
   8622 else
   8623   $as_echo "$as_me: failed program was:" >&5
   8624 sed 's/^/| /' conftest.$ac_ext >&5
   8625 
   8626 
   8627 fi
   8628 
   8629 rm -rf conftest.dSYM
   8630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8631       conftest$ac_exeext conftest.$ac_ext
   8632 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8633 
   8634 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8635 	  # Warning - without using the other run time loading flags,
   8636 	  # -berok will link without error, but may produce a broken library.
   8637 	  no_undefined_flag=' ${wl}-bernotok'
   8638 	  allow_undefined_flag=' ${wl}-berok'
   8639 	  # Exported symbols can be pulled into shared objects from archives
   8640 	  whole_archive_flag_spec='$convenience'
   8641 	  archive_cmds_need_lc=yes
   8642 	  # This is similar to how AIX traditionally builds its shared libraries.
   8643 	  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'
   8644 	fi
   8645       fi
   8646       ;;
   8647 
   8648     amigaos*)
   8649       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)'
   8650       hardcode_libdir_flag_spec='-L$libdir'
   8651       hardcode_minus_L=yes
   8652       # see comment about different semantics on the GNU ld section
   8653       ld_shlibs=no
   8654       ;;
   8655 
   8656     bsdi[45]*)
   8657       export_dynamic_flag_spec=-rdynamic
   8658       ;;
   8659 
   8660     cygwin* | mingw* | pw32*)
   8661       # When not using gcc, we currently assume that we are using
   8662       # Microsoft Visual C++.
   8663       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8664       # no search path for DLLs.
   8665       hardcode_libdir_flag_spec=' '
   8666       allow_undefined_flag=unsupported
   8667       # Tell ltmain to make .lib files, not .a files.
   8668       libext=lib
   8669       # Tell ltmain to make .dll files, not .so files.
   8670       shrext_cmds=".dll"
   8671       # FIXME: Setting linknames here is a bad hack.
   8672       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8673       # The linker will automatically build a .lib file if we build a DLL.
   8674       old_archive_From_new_cmds='true'
   8675       # FIXME: Should let the user specify the lib program.
   8676       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8677       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8678       enable_shared_with_static_runtimes=yes
   8679       ;;
   8680 
   8681     darwin* | rhapsody*)
   8682       allow_undefined_flag="$_lt_dar_allow_undefined"
   8683       archive_cmds_need_lc=no
   8684       hardcode_direct=no
   8685       hardcode_automatic=yes
   8686       hardcode_shlibpath_var=unsupported
   8687       whole_archive_flag_spec=''
   8688       link_all_deplibs=yes
   8689     if test "$GCC" = yes ; then
   8690     	output_verbose_link_cmd='echo'
   8691         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8692         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8693         archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   8694         module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   8695     else
   8696       case $cc_basename in
   8697         xlc*)
   8698          output_verbose_link_cmd='echo'
   8699          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8700          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8701           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8702          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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8703           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}'
   8704           ;;
   8705        *)
   8706          ld_shlibs=no
   8707           ;;
   8708       esac
   8709     fi
   8710       ;;
   8711 
   8712     dgux*)
   8713       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8714       hardcode_libdir_flag_spec='-L$libdir'
   8715       hardcode_shlibpath_var=no
   8716       ;;
   8717 
   8718     freebsd1*)
   8719       ld_shlibs=no
   8720       ;;
   8721 
   8722     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8723     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8724     # does not break anything, and helps significantly (at the cost of a little
   8725     # extra space).
   8726     freebsd2.2*)
   8727       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8728       hardcode_libdir_flag_spec='-R$libdir'
   8729       hardcode_direct=yes
   8730       hardcode_shlibpath_var=no
   8731       ;;
   8732 
   8733     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8734     freebsd2*)
   8735       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8736       hardcode_direct=yes
   8737       hardcode_minus_L=yes
   8738       hardcode_shlibpath_var=no
   8739       ;;
   8740 
   8741     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8742     freebsd* | dragonfly*)
   8743       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8744       hardcode_libdir_flag_spec='-R$libdir'
   8745       hardcode_direct=yes
   8746       hardcode_shlibpath_var=no
   8747       ;;
   8748 
   8749     hpux9*)
   8750       if test "$GCC" = yes; then
   8751 	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'
   8752       else
   8753 	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'
   8754       fi
   8755       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8756       hardcode_libdir_separator=:
   8757       hardcode_direct=yes
   8758 
   8759       # hardcode_minus_L: Not really in the search PATH,
   8760       # but as the default location of the library.
   8761       hardcode_minus_L=yes
   8762       export_dynamic_flag_spec='${wl}-E'
   8763       ;;
   8764 
   8765     hpux10*)
   8766       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8767 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8768       else
   8769 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8770       fi
   8771       if test "$with_gnu_ld" = no; then
   8772 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8773 	hardcode_libdir_separator=:
   8774 
   8775 	hardcode_direct=yes
   8776 	export_dynamic_flag_spec='${wl}-E'
   8777 
   8778 	# hardcode_minus_L: Not really in the search PATH,
   8779 	# but as the default location of the library.
   8780 	hardcode_minus_L=yes
   8781       fi
   8782       ;;
   8783 
   8784     hpux11*)
   8785       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8786 	case $host_cpu in
   8787 	hppa*64*)
   8788 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8789 	  ;;
   8790 	ia64*)
   8791 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8792 	  ;;
   8793 	*)
   8794 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8795 	  ;;
   8796 	esac
   8797       else
   8798 	case $host_cpu in
   8799 	hppa*64*)
   8800 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8801 	  ;;
   8802 	ia64*)
   8803 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8804 	  ;;
   8805 	*)
   8806 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8807 	  ;;
   8808 	esac
   8809       fi
   8810       if test "$with_gnu_ld" = no; then
   8811 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8812 	hardcode_libdir_separator=:
   8813 
   8814 	case $host_cpu in
   8815 	hppa*64*|ia64*)
   8816 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8817 	  hardcode_direct=no
   8818 	  hardcode_shlibpath_var=no
   8819 	  ;;
   8820 	*)
   8821 	  hardcode_direct=yes
   8822 	  export_dynamic_flag_spec='${wl}-E'
   8823 
   8824 	  # hardcode_minus_L: Not really in the search PATH,
   8825 	  # but as the default location of the library.
   8826 	  hardcode_minus_L=yes
   8827 	  ;;
   8828 	esac
   8829       fi
   8830       ;;
   8831 
   8832     irix5* | irix6* | nonstopux*)
   8833       if test "$GCC" = yes; then
   8834 	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'
   8835       else
   8836 	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'
   8837 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8838       fi
   8839       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8840       hardcode_libdir_separator=:
   8841       link_all_deplibs=yes
   8842       ;;
   8843 
   8844     netbsd*)
   8845       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8846 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8847       else
   8848 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8849       fi
   8850       hardcode_libdir_flag_spec='-R$libdir'
   8851       hardcode_direct=yes
   8852       hardcode_shlibpath_var=no
   8853       ;;
   8854 
   8855     newsos6)
   8856       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8857       hardcode_direct=yes
   8858       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8859       hardcode_libdir_separator=:
   8860       hardcode_shlibpath_var=no
   8861       ;;
   8862 
   8863     openbsd*)
   8864       if test -f /usr/libexec/ld.so; then
   8865 	hardcode_direct=yes
   8866 	hardcode_shlibpath_var=no
   8867 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8868 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8869 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8870 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8871 	  export_dynamic_flag_spec='${wl}-E'
   8872 	else
   8873 	  case $host_os in
   8874 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8875 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8876 	     hardcode_libdir_flag_spec='-R$libdir'
   8877 	     ;;
   8878 	   *)
   8879 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8880 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8881 	     ;;
   8882 	  esac
   8883         fi
   8884       else
   8885 	ld_shlibs=no
   8886       fi
   8887       ;;
   8888 
   8889     os2*)
   8890       hardcode_libdir_flag_spec='-L$libdir'
   8891       hardcode_minus_L=yes
   8892       allow_undefined_flag=unsupported
   8893       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'
   8894       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8895       ;;
   8896 
   8897     osf3*)
   8898       if test "$GCC" = yes; then
   8899 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8900 	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'
   8901       else
   8902 	allow_undefined_flag=' -expect_unresolved \*'
   8903 	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'
   8904       fi
   8905       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8906       hardcode_libdir_separator=:
   8907       ;;
   8908 
   8909     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8910       if test "$GCC" = yes; then
   8911 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8912 	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'
   8913 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8914       else
   8915 	allow_undefined_flag=' -expect_unresolved \*'
   8916 	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'
   8917 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8918 	$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'
   8919 
   8920 	# Both c and cxx compiler support -rpath directly
   8921 	hardcode_libdir_flag_spec='-rpath $libdir'
   8922       fi
   8923       hardcode_libdir_separator=:
   8924       ;;
   8925 
   8926     solaris*)
   8927       no_undefined_flag=' -z text'
   8928       if test "$GCC" = yes; then
   8929 	wlarc='${wl}'
   8930 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8931 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8932 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8933       else
   8934 	wlarc=''
   8935 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8936 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8937   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8938       fi
   8939       hardcode_libdir_flag_spec='-R$libdir'
   8940       hardcode_shlibpath_var=no
   8941       case $host_os in
   8942       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8943       *)
   8944 	# The compiler driver will combine and reorder linker options,
   8945 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8946 	# but is careful enough not to reorder.
   8947  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8948 	if test "$GCC" = yes; then
   8949 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8950 	else
   8951 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8952 	fi
   8953 	;;
   8954       esac
   8955       link_all_deplibs=yes
   8956       ;;
   8957 
   8958     sunos4*)
   8959       if test "x$host_vendor" = xsequent; then
   8960 	# Use $CC to link under sequent, because it throws in some extra .o
   8961 	# files that make .init and .fini sections work.
   8962 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8963       else
   8964 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8965       fi
   8966       hardcode_libdir_flag_spec='-L$libdir'
   8967       hardcode_direct=yes
   8968       hardcode_minus_L=yes
   8969       hardcode_shlibpath_var=no
   8970       ;;
   8971 
   8972     sysv4)
   8973       case $host_vendor in
   8974 	sni)
   8975 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8976 	  hardcode_direct=yes # is this really true???
   8977 	;;
   8978 	siemens)
   8979 	  ## LD is ld it makes a PLAMLIB
   8980 	  ## CC just makes a GrossModule.
   8981 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8982 	  reload_cmds='$CC -r -o $output$reload_objs'
   8983 	  hardcode_direct=no
   8984         ;;
   8985 	motorola)
   8986 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8987 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8988 	;;
   8989       esac
   8990       runpath_var='LD_RUN_PATH'
   8991       hardcode_shlibpath_var=no
   8992       ;;
   8993 
   8994     sysv4.3*)
   8995       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8996       hardcode_shlibpath_var=no
   8997       export_dynamic_flag_spec='-Bexport'
   8998       ;;
   8999 
   9000     sysv4*MP*)
   9001       if test -d /usr/nec; then
   9002 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9003 	hardcode_shlibpath_var=no
   9004 	runpath_var=LD_RUN_PATH
   9005 	hardcode_runpath_var=yes
   9006 	ld_shlibs=yes
   9007       fi
   9008       ;;
   9009 
   9010     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9011       no_undefined_flag='${wl}-z,text'
   9012       archive_cmds_need_lc=no
   9013       hardcode_shlibpath_var=no
   9014       runpath_var='LD_RUN_PATH'
   9015 
   9016       if test "$GCC" = yes; then
   9017 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9018 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9019       else
   9020 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9021 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9022       fi
   9023       ;;
   9024 
   9025     sysv5* | sco3.2v5* | sco5v6*)
   9026       # Note: We can NOT use -z defs as we might desire, because we do not
   9027       # link with -lc, and that would cause any symbols used from libc to
   9028       # always be unresolved, which means just about no library would
   9029       # ever link correctly.  If we're not using GNU ld we use -z text
   9030       # though, which does catch some bad symbols but isn't as heavy-handed
   9031       # as -z defs.
   9032       no_undefined_flag='${wl}-z,text'
   9033       allow_undefined_flag='${wl}-z,nodefs'
   9034       archive_cmds_need_lc=no
   9035       hardcode_shlibpath_var=no
   9036       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9037       hardcode_libdir_separator=':'
   9038       link_all_deplibs=yes
   9039       export_dynamic_flag_spec='${wl}-Bexport'
   9040       runpath_var='LD_RUN_PATH'
   9041 
   9042       if test "$GCC" = yes; then
   9043 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9044 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9045       else
   9046 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9047 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9048       fi
   9049       ;;
   9050 
   9051     uts4*)
   9052       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9053       hardcode_libdir_flag_spec='-L$libdir'
   9054       hardcode_shlibpath_var=no
   9055       ;;
   9056 
   9057     *)
   9058       ld_shlibs=no
   9059       ;;
   9060     esac
   9061   fi
   9062 
   9063 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9064 $as_echo "$ld_shlibs" >&6; }
   9065 test "$ld_shlibs" = no && can_build_shared=no
   9066 
   9067 #
   9068 # Do we need to explicitly link libc?
   9069 #
   9070 case "x$archive_cmds_need_lc" in
   9071 x|xyes)
   9072   # Assume -lc should be added
   9073   archive_cmds_need_lc=yes
   9074 
   9075   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9076     case $archive_cmds in
   9077     *'~'*)
   9078       # FIXME: we may have to deal with multi-command sequences.
   9079       ;;
   9080     '$CC '*)
   9081       # Test whether the compiler implicitly links with -lc since on some
   9082       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9083       # to ld, don't add -lc before -lgcc.
   9084       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9085 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9086       $rm conftest*
   9087       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9088 
   9089       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9090   (eval $ac_compile) 2>&5
   9091   ac_status=$?
   9092   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9093   (exit $ac_status); } 2>conftest.err; then
   9094         soname=conftest
   9095         lib=conftest
   9096         libobjs=conftest.$ac_objext
   9097         deplibs=
   9098         wl=$lt_prog_compiler_wl
   9099 	pic_flag=$lt_prog_compiler_pic
   9100         compiler_flags=-v
   9101         linker_flags=-v
   9102         verstring=
   9103         output_objdir=.
   9104         libname=conftest
   9105         lt_save_allow_undefined_flag=$allow_undefined_flag
   9106         allow_undefined_flag=
   9107         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9108   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9109   ac_status=$?
   9110   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9111   (exit $ac_status); }
   9112         then
   9113 	  archive_cmds_need_lc=no
   9114         else
   9115 	  archive_cmds_need_lc=yes
   9116         fi
   9117         allow_undefined_flag=$lt_save_allow_undefined_flag
   9118       else
   9119         cat conftest.err 1>&5
   9120       fi
   9121       $rm conftest*
   9122       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9123 $as_echo "$archive_cmds_need_lc" >&6; }
   9124       ;;
   9125     esac
   9126   fi
   9127   ;;
   9128 esac
   9129 
   9130 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9131 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9132 library_names_spec=
   9133 libname_spec='lib$name'
   9134 soname_spec=
   9135 shrext_cmds=".so"
   9136 postinstall_cmds=
   9137 postuninstall_cmds=
   9138 finish_cmds=
   9139 finish_eval=
   9140 shlibpath_var=
   9141 shlibpath_overrides_runpath=unknown
   9142 version_type=none
   9143 dynamic_linker="$host_os ld.so"
   9144 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9145 
   9146 if test "$GCC" = yes; then
   9147   case $host_os in
   9148     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9149     *) lt_awk_arg="/^libraries:/" ;;
   9150   esac
   9151   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9152   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9153     # if the path contains ";" then we assume it to be the separator
   9154     # otherwise default to the standard path separator (i.e. ":") - it is
   9155     # assumed that no part of a normal pathname contains ";" but that should
   9156     # okay in the real world where ";" in dirpaths is itself problematic.
   9157     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9158   else
   9159     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9160   fi
   9161   # Ok, now we have the path, separated by spaces, we can step through it
   9162   # and add multilib dir if necessary.
   9163   lt_tmp_lt_search_path_spec=
   9164   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9165   for lt_sys_path in $lt_search_path_spec; do
   9166     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9167       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9168     else
   9169       test -d "$lt_sys_path" && \
   9170 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9171     fi
   9172   done
   9173   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9174 BEGIN {RS=" "; FS="/|\n";} {
   9175   lt_foo="";
   9176   lt_count=0;
   9177   for (lt_i = NF; lt_i > 0; lt_i--) {
   9178     if ($lt_i != "" && $lt_i != ".") {
   9179       if ($lt_i == "..") {
   9180         lt_count++;
   9181       } else {
   9182         if (lt_count == 0) {
   9183           lt_foo="/" $lt_i lt_foo;
   9184         } else {
   9185           lt_count--;
   9186         }
   9187       }
   9188     }
   9189   }
   9190   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9191   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9192 }'`
   9193   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9194 else
   9195   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9196 fi
   9197 need_lib_prefix=unknown
   9198 hardcode_into_libs=no
   9199 
   9200 # when you set need_version to no, make sure it does not cause -set_version
   9201 # flags to be left without arguments
   9202 need_version=unknown
   9203 
   9204 case $host_os in
   9205 aix3*)
   9206   version_type=linux
   9207   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9208   shlibpath_var=LIBPATH
   9209 
   9210   # AIX 3 has no versioning support, so we append a major version to the name.
   9211   soname_spec='${libname}${release}${shared_ext}$major'
   9212   ;;
   9213 
   9214 aix[4-9]*)
   9215   version_type=linux
   9216   need_lib_prefix=no
   9217   need_version=no
   9218   hardcode_into_libs=yes
   9219   if test "$host_cpu" = ia64; then
   9220     # AIX 5 supports IA64
   9221     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9222     shlibpath_var=LD_LIBRARY_PATH
   9223   else
   9224     # With GCC up to 2.95.x, collect2 would create an import file
   9225     # for dependence libraries.  The import file would start with
   9226     # the line `#! .'.  This would cause the generated library to
   9227     # depend on `.', always an invalid library.  This was fixed in
   9228     # development snapshots of GCC prior to 3.0.
   9229     case $host_os in
   9230       aix4 | aix4.[01] | aix4.[01].*)
   9231       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9232 	   echo ' yes '
   9233 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9234 	:
   9235       else
   9236 	can_build_shared=no
   9237       fi
   9238       ;;
   9239     esac
   9240     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9241     # soname into executable. Probably we can add versioning support to
   9242     # collect2, so additional links can be useful in future.
   9243     if test "$aix_use_runtimelinking" = yes; then
   9244       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9245       # instead of lib<name>.a to let people know that these are not
   9246       # typical AIX shared libraries.
   9247       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9248     else
   9249       # We preserve .a as extension for shared libraries through AIX4.2
   9250       # and later when we are not doing run time linking.
   9251       library_names_spec='${libname}${release}.a $libname.a'
   9252       soname_spec='${libname}${release}${shared_ext}$major'
   9253     fi
   9254     shlibpath_var=LIBPATH
   9255   fi
   9256   ;;
   9257 
   9258 amigaos*)
   9259   library_names_spec='$libname.ixlibrary $libname.a'
   9260   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9261   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'
   9262   ;;
   9263 
   9264 beos*)
   9265   library_names_spec='${libname}${shared_ext}'
   9266   dynamic_linker="$host_os ld.so"
   9267   shlibpath_var=LIBRARY_PATH
   9268   ;;
   9269 
   9270 bsdi[45]*)
   9271   version_type=linux
   9272   need_version=no
   9273   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9274   soname_spec='${libname}${release}${shared_ext}$major'
   9275   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9276   shlibpath_var=LD_LIBRARY_PATH
   9277   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9278   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9279   # the default ld.so.conf also contains /usr/contrib/lib and
   9280   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9281   # libtool to hard-code these into programs
   9282   ;;
   9283 
   9284 cygwin* | mingw* | pw32*)
   9285   version_type=windows
   9286   shrext_cmds=".dll"
   9287   need_version=no
   9288   need_lib_prefix=no
   9289 
   9290   case $GCC,$host_os in
   9291   yes,cygwin* | yes,mingw* | yes,pw32*)
   9292     library_names_spec='$libname.dll.a'
   9293     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9294     postinstall_cmds='base_file=`basename \${file}`~
   9295       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9296       dldir=$destdir/`dirname \$dlpath`~
   9297       test -d \$dldir || mkdir -p \$dldir~
   9298       $install_prog $dir/$dlname \$dldir/$dlname~
   9299       chmod a+x \$dldir/$dlname'
   9300     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9301       dlpath=$dir/\$dldll~
   9302        $rm \$dlpath'
   9303     shlibpath_overrides_runpath=yes
   9304 
   9305     case $host_os in
   9306     cygwin*)
   9307       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9308       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9309       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9310       ;;
   9311     mingw*)
   9312       # MinGW DLLs use traditional 'lib' prefix
   9313       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9314       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9315       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9316         # It is most probably a Windows format PATH printed by
   9317         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9318         # path with ; separators, and with drive letters. We can handle the
   9319         # drive letters (cygwin fileutils understands them), so leave them,
   9320         # especially as we might pass files found there to a mingw objdump,
   9321         # which wouldn't understand a cygwinified path. Ahh.
   9322         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9323       else
   9324         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9325       fi
   9326       ;;
   9327     pw32*)
   9328       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9329       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9330       ;;
   9331     esac
   9332     ;;
   9333 
   9334   *)
   9335     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9336     ;;
   9337   esac
   9338   dynamic_linker='Win32 ld.exe'
   9339   # FIXME: first we should search . and the directory the executable is in
   9340   shlibpath_var=PATH
   9341   ;;
   9342 
   9343 darwin* | rhapsody*)
   9344   dynamic_linker="$host_os dyld"
   9345   version_type=darwin
   9346   need_lib_prefix=no
   9347   need_version=no
   9348   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9349   soname_spec='${libname}${release}${major}$shared_ext'
   9350   shlibpath_overrides_runpath=yes
   9351   shlibpath_var=DYLD_LIBRARY_PATH
   9352   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9353 
   9354   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9355   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9356   ;;
   9357 
   9358 dgux*)
   9359   version_type=linux
   9360   need_lib_prefix=no
   9361   need_version=no
   9362   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9363   soname_spec='${libname}${release}${shared_ext}$major'
   9364   shlibpath_var=LD_LIBRARY_PATH
   9365   ;;
   9366 
   9367 freebsd1*)
   9368   dynamic_linker=no
   9369   ;;
   9370 
   9371 freebsd* | dragonfly*)
   9372   # DragonFly does not have aout.  When/if they implement a new
   9373   # versioning mechanism, adjust this.
   9374   if test -x /usr/bin/objformat; then
   9375     objformat=`/usr/bin/objformat`
   9376   else
   9377     case $host_os in
   9378     freebsd[123]*) objformat=aout ;;
   9379     *) objformat=elf ;;
   9380     esac
   9381   fi
   9382   version_type=freebsd-$objformat
   9383   case $version_type in
   9384     freebsd-elf*)
   9385       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9386       need_version=no
   9387       need_lib_prefix=no
   9388       ;;
   9389     freebsd-*)
   9390       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9391       need_version=yes
   9392       ;;
   9393   esac
   9394   shlibpath_var=LD_LIBRARY_PATH
   9395   case $host_os in
   9396   freebsd2*)
   9397     shlibpath_overrides_runpath=yes
   9398     ;;
   9399   freebsd3.[01]* | freebsdelf3.[01]*)
   9400     shlibpath_overrides_runpath=yes
   9401     hardcode_into_libs=yes
   9402     ;;
   9403   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9404   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9405     shlibpath_overrides_runpath=no
   9406     hardcode_into_libs=yes
   9407     ;;
   9408   *) # from 4.6 on, and DragonFly
   9409     shlibpath_overrides_runpath=yes
   9410     hardcode_into_libs=yes
   9411     ;;
   9412   esac
   9413   ;;
   9414 
   9415 gnu*)
   9416   version_type=linux
   9417   need_lib_prefix=no
   9418   need_version=no
   9419   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9420   soname_spec='${libname}${release}${shared_ext}$major'
   9421   shlibpath_var=LD_LIBRARY_PATH
   9422   hardcode_into_libs=yes
   9423   ;;
   9424 
   9425 hpux9* | hpux10* | hpux11*)
   9426   # Give a soname corresponding to the major version so that dld.sl refuses to
   9427   # link against other versions.
   9428   version_type=sunos
   9429   need_lib_prefix=no
   9430   need_version=no
   9431   case $host_cpu in
   9432   ia64*)
   9433     shrext_cmds='.so'
   9434     hardcode_into_libs=yes
   9435     dynamic_linker="$host_os dld.so"
   9436     shlibpath_var=LD_LIBRARY_PATH
   9437     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9438     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9439     soname_spec='${libname}${release}${shared_ext}$major'
   9440     if test "X$HPUX_IA64_MODE" = X32; then
   9441       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9442     else
   9443       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9444     fi
   9445     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9446     ;;
   9447    hppa*64*)
   9448      shrext_cmds='.sl'
   9449      hardcode_into_libs=yes
   9450      dynamic_linker="$host_os dld.sl"
   9451      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9452      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9453      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9454      soname_spec='${libname}${release}${shared_ext}$major'
   9455      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9456      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9457      ;;
   9458    *)
   9459     shrext_cmds='.sl'
   9460     dynamic_linker="$host_os dld.sl"
   9461     shlibpath_var=SHLIB_PATH
   9462     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9463     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9464     soname_spec='${libname}${release}${shared_ext}$major'
   9465     ;;
   9466   esac
   9467   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9468   postinstall_cmds='chmod 555 $lib'
   9469   ;;
   9470 
   9471 interix[3-9]*)
   9472   version_type=linux
   9473   need_lib_prefix=no
   9474   need_version=no
   9475   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9476   soname_spec='${libname}${release}${shared_ext}$major'
   9477   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9478   shlibpath_var=LD_LIBRARY_PATH
   9479   shlibpath_overrides_runpath=no
   9480   hardcode_into_libs=yes
   9481   ;;
   9482 
   9483 irix5* | irix6* | nonstopux*)
   9484   case $host_os in
   9485     nonstopux*) version_type=nonstopux ;;
   9486     *)
   9487 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9488 		version_type=linux
   9489 	else
   9490 		version_type=irix
   9491 	fi ;;
   9492   esac
   9493   need_lib_prefix=no
   9494   need_version=no
   9495   soname_spec='${libname}${release}${shared_ext}$major'
   9496   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9497   case $host_os in
   9498   irix5* | nonstopux*)
   9499     libsuff= shlibsuff=
   9500     ;;
   9501   *)
   9502     case $LD in # libtool.m4 will add one of these switches to LD
   9503     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9504       libsuff= shlibsuff= libmagic=32-bit;;
   9505     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9506       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9507     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9508       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9509     *) libsuff= shlibsuff= libmagic=never-match;;
   9510     esac
   9511     ;;
   9512   esac
   9513   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9514   shlibpath_overrides_runpath=no
   9515   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9516   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9517   hardcode_into_libs=yes
   9518   ;;
   9519 
   9520 # No shared lib support for Linux oldld, aout, or coff.
   9521 linux*oldld* | linux*aout* | linux*coff*)
   9522   dynamic_linker=no
   9523   ;;
   9524 
   9525 # This must be Linux ELF.
   9526 linux* | k*bsd*-gnu)
   9527   version_type=linux
   9528   need_lib_prefix=no
   9529   need_version=no
   9530   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9531   soname_spec='${libname}${release}${shared_ext}$major'
   9532   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9533   shlibpath_var=LD_LIBRARY_PATH
   9534   shlibpath_overrides_runpath=no
   9535   # This implies no fast_install, which is unacceptable.
   9536   # Some rework will be needed to allow for fast_install
   9537   # before this can be enabled.
   9538   hardcode_into_libs=yes
   9539 
   9540   # Append ld.so.conf contents to the search path
   9541   if test -f /etc/ld.so.conf; then
   9542     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   9543     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9544   fi
   9545 
   9546   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9547   # powerpc, because MkLinux only supported shared libraries with the
   9548   # GNU dynamic linker.  Since this was broken with cross compilers,
   9549   # most powerpc-linux boxes support dynamic linking these days and
   9550   # people can always --disable-shared, the test was removed, and we
   9551   # assume the GNU/Linux dynamic linker is in use.
   9552   dynamic_linker='GNU/Linux ld.so'
   9553   ;;
   9554 
   9555 netbsd*)
   9556   version_type=sunos
   9557   need_lib_prefix=no
   9558   need_version=no
   9559   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9560     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9561     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9562     dynamic_linker='NetBSD (a.out) ld.so'
   9563   else
   9564     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9565     soname_spec='${libname}${release}${shared_ext}$major'
   9566     dynamic_linker='NetBSD ld.elf_so'
   9567   fi
   9568   shlibpath_var=LD_LIBRARY_PATH
   9569   shlibpath_overrides_runpath=yes
   9570   hardcode_into_libs=yes
   9571   ;;
   9572 
   9573 newsos6)
   9574   version_type=linux
   9575   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9576   shlibpath_var=LD_LIBRARY_PATH
   9577   shlibpath_overrides_runpath=yes
   9578   ;;
   9579 
   9580 nto-qnx*)
   9581   version_type=linux
   9582   need_lib_prefix=no
   9583   need_version=no
   9584   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9585   soname_spec='${libname}${release}${shared_ext}$major'
   9586   shlibpath_var=LD_LIBRARY_PATH
   9587   shlibpath_overrides_runpath=yes
   9588   ;;
   9589 
   9590 openbsd*)
   9591   version_type=sunos
   9592   sys_lib_dlsearch_path_spec="/usr/lib"
   9593   need_lib_prefix=no
   9594   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9595   case $host_os in
   9596     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9597     *)                         need_version=no  ;;
   9598   esac
   9599   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9600   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9601   shlibpath_var=LD_LIBRARY_PATH
   9602   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9603     case $host_os in
   9604       openbsd2.[89] | openbsd2.[89].*)
   9605 	shlibpath_overrides_runpath=no
   9606 	;;
   9607       *)
   9608 	shlibpath_overrides_runpath=yes
   9609 	;;
   9610       esac
   9611   else
   9612     shlibpath_overrides_runpath=yes
   9613   fi
   9614   ;;
   9615 
   9616 os2*)
   9617   libname_spec='$name'
   9618   shrext_cmds=".dll"
   9619   need_lib_prefix=no
   9620   library_names_spec='$libname${shared_ext} $libname.a'
   9621   dynamic_linker='OS/2 ld.exe'
   9622   shlibpath_var=LIBPATH
   9623   ;;
   9624 
   9625 osf3* | osf4* | osf5*)
   9626   version_type=osf
   9627   need_lib_prefix=no
   9628   need_version=no
   9629   soname_spec='${libname}${release}${shared_ext}$major'
   9630   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9631   shlibpath_var=LD_LIBRARY_PATH
   9632   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9633   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9634   ;;
   9635 
   9636 rdos*)
   9637   dynamic_linker=no
   9638   ;;
   9639 
   9640 solaris*)
   9641   version_type=linux
   9642   need_lib_prefix=no
   9643   need_version=no
   9644   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9645   soname_spec='${libname}${release}${shared_ext}$major'
   9646   shlibpath_var=LD_LIBRARY_PATH
   9647   shlibpath_overrides_runpath=yes
   9648   hardcode_into_libs=yes
   9649   # ldd complains unless libraries are executable
   9650   postinstall_cmds='chmod +x $lib'
   9651   ;;
   9652 
   9653 sunos4*)
   9654   version_type=sunos
   9655   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9656   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9657   shlibpath_var=LD_LIBRARY_PATH
   9658   shlibpath_overrides_runpath=yes
   9659   if test "$with_gnu_ld" = yes; then
   9660     need_lib_prefix=no
   9661   fi
   9662   need_version=yes
   9663   ;;
   9664 
   9665 sysv4 | sysv4.3*)
   9666   version_type=linux
   9667   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9668   soname_spec='${libname}${release}${shared_ext}$major'
   9669   shlibpath_var=LD_LIBRARY_PATH
   9670   case $host_vendor in
   9671     sni)
   9672       shlibpath_overrides_runpath=no
   9673       need_lib_prefix=no
   9674       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9675       runpath_var=LD_RUN_PATH
   9676       ;;
   9677     siemens)
   9678       need_lib_prefix=no
   9679       ;;
   9680     motorola)
   9681       need_lib_prefix=no
   9682       need_version=no
   9683       shlibpath_overrides_runpath=no
   9684       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9685       ;;
   9686   esac
   9687   ;;
   9688 
   9689 sysv4*MP*)
   9690   if test -d /usr/nec ;then
   9691     version_type=linux
   9692     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9693     soname_spec='$libname${shared_ext}.$major'
   9694     shlibpath_var=LD_LIBRARY_PATH
   9695   fi
   9696   ;;
   9697 
   9698 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9699   version_type=freebsd-elf
   9700   need_lib_prefix=no
   9701   need_version=no
   9702   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9703   soname_spec='${libname}${release}${shared_ext}$major'
   9704   shlibpath_var=LD_LIBRARY_PATH
   9705   hardcode_into_libs=yes
   9706   if test "$with_gnu_ld" = yes; then
   9707     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9708     shlibpath_overrides_runpath=no
   9709   else
   9710     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9711     shlibpath_overrides_runpath=yes
   9712     case $host_os in
   9713       sco3.2v5*)
   9714         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9715 	;;
   9716     esac
   9717   fi
   9718   sys_lib_dlsearch_path_spec='/usr/lib'
   9719   ;;
   9720 
   9721 uts4*)
   9722   version_type=linux
   9723   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9724   soname_spec='${libname}${release}${shared_ext}$major'
   9725   shlibpath_var=LD_LIBRARY_PATH
   9726   ;;
   9727 
   9728 *)
   9729   dynamic_linker=no
   9730   ;;
   9731 esac
   9732 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9733 $as_echo "$dynamic_linker" >&6; }
   9734 test "$dynamic_linker" = no && can_build_shared=no
   9735 
   9736 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9737   $as_echo_n "(cached) " >&6
   9738 else
   9739   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9740 fi
   9741 
   9742 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9743 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9744   $as_echo_n "(cached) " >&6
   9745 else
   9746   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9747 fi
   9748 
   9749 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9750 
   9751 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9752 if test "$GCC" = yes; then
   9753   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9754 fi
   9755 
   9756 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9757 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9758 hardcode_action=
   9759 if test -n "$hardcode_libdir_flag_spec" || \
   9760    test -n "$runpath_var" || \
   9761    test "X$hardcode_automatic" = "Xyes" ; then
   9762 
   9763   # We can hardcode non-existant directories.
   9764   if test "$hardcode_direct" != no &&
   9765      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9766      # have to relink, otherwise we might link with an installed library
   9767      # when we should be linking with a yet-to-be-installed one
   9768      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9769      test "$hardcode_minus_L" != no; then
   9770     # Linking always hardcodes the temporary library directory.
   9771     hardcode_action=relink
   9772   else
   9773     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9774     hardcode_action=immediate
   9775   fi
   9776 else
   9777   # We cannot hardcode anything, or else we can only hardcode existing
   9778   # directories.
   9779   hardcode_action=unsupported
   9780 fi
   9781 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9782 $as_echo "$hardcode_action" >&6; }
   9783 
   9784 if test "$hardcode_action" = relink; then
   9785   # Fast installation is not supported
   9786   enable_fast_install=no
   9787 elif test "$shlibpath_overrides_runpath" = yes ||
   9788      test "$enable_shared" = no; then
   9789   # Fast installation is not necessary
   9790   enable_fast_install=needless
   9791 fi
   9792 
   9793 striplib=
   9794 old_striplib=
   9795 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9796 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9797 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9798   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9799   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9800   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9801 $as_echo "yes" >&6; }
   9802 else
   9803 # FIXME - insert some real tests, host_os isn't really good enough
   9804   case $host_os in
   9805    darwin*)
   9806        if test -n "$STRIP" ; then
   9807          striplib="$STRIP -x"
   9808          old_striplib="$STRIP -S"
   9809          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9810 $as_echo "yes" >&6; }
   9811        else
   9812   { $as_echo "$as_me:$LINENO: result: no" >&5
   9813 $as_echo "no" >&6; }
   9814 fi
   9815        ;;
   9816    *)
   9817   { $as_echo "$as_me:$LINENO: result: no" >&5
   9818 $as_echo "no" >&6; }
   9819     ;;
   9820   esac
   9821 fi
   9822 
   9823 if test "x$enable_dlopen" != xyes; then
   9824   enable_dlopen=unknown
   9825   enable_dlopen_self=unknown
   9826   enable_dlopen_self_static=unknown
   9827 else
   9828   lt_cv_dlopen=no
   9829   lt_cv_dlopen_libs=
   9830 
   9831   case $host_os in
   9832   beos*)
   9833     lt_cv_dlopen="load_add_on"
   9834     lt_cv_dlopen_libs=
   9835     lt_cv_dlopen_self=yes
   9836     ;;
   9837 
   9838   mingw* | pw32*)
   9839     lt_cv_dlopen="LoadLibrary"
   9840     lt_cv_dlopen_libs=
   9841    ;;
   9842 
   9843   cygwin*)
   9844     lt_cv_dlopen="dlopen"
   9845     lt_cv_dlopen_libs=
   9846    ;;
   9847 
   9848   darwin*)
   9849   # if libdl is installed we need to link against it
   9850     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9851 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9852 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9853   $as_echo_n "(cached) " >&6
   9854 else
   9855   ac_check_lib_save_LIBS=$LIBS
   9856 LIBS="-ldl  $LIBS"
   9857 cat >conftest.$ac_ext <<_ACEOF
   9858 /* confdefs.h.  */
   9859 _ACEOF
   9860 cat confdefs.h >>conftest.$ac_ext
   9861 cat >>conftest.$ac_ext <<_ACEOF
   9862 /* end confdefs.h.  */
   9863 
   9864 /* Override any GCC internal prototype to avoid an error.
   9865    Use char because int might match the return type of a GCC
   9866    builtin and then its argument prototype would still apply.  */
   9867 #ifdef __cplusplus
   9868 extern "C"
   9869 #endif
   9870 char dlopen ();
   9871 int
   9872 main ()
   9873 {
   9874 return dlopen ();
   9875   ;
   9876   return 0;
   9877 }
   9878 _ACEOF
   9879 rm -f conftest.$ac_objext conftest$ac_exeext
   9880 if { (ac_try="$ac_link"
   9881 case "(($ac_try" in
   9882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9883   *) ac_try_echo=$ac_try;;
   9884 esac
   9885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9886 $as_echo "$ac_try_echo") >&5
   9887   (eval "$ac_link") 2>conftest.er1
   9888   ac_status=$?
   9889   grep -v '^ *+' conftest.er1 >conftest.err
   9890   rm -f conftest.er1
   9891   cat conftest.err >&5
   9892   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9893   (exit $ac_status); } && {
   9894 	 test -z "$ac_c_werror_flag" ||
   9895 	 test ! -s conftest.err
   9896        } && test -s conftest$ac_exeext && {
   9897 	 test "$cross_compiling" = yes ||
   9898 	 $as_test_x conftest$ac_exeext
   9899        }; then
   9900   ac_cv_lib_dl_dlopen=yes
   9901 else
   9902   $as_echo "$as_me: failed program was:" >&5
   9903 sed 's/^/| /' conftest.$ac_ext >&5
   9904 
   9905 	ac_cv_lib_dl_dlopen=no
   9906 fi
   9907 
   9908 rm -rf conftest.dSYM
   9909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9910       conftest$ac_exeext conftest.$ac_ext
   9911 LIBS=$ac_check_lib_save_LIBS
   9912 fi
   9913 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9914 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9915 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9916   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9917 else
   9918 
   9919     lt_cv_dlopen="dyld"
   9920     lt_cv_dlopen_libs=
   9921     lt_cv_dlopen_self=yes
   9922 
   9923 fi
   9924 
   9925    ;;
   9926 
   9927   *)
   9928     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9929 $as_echo_n "checking for shl_load... " >&6; }
   9930 if test "${ac_cv_func_shl_load+set}" = set; then
   9931   $as_echo_n "(cached) " >&6
   9932 else
   9933   cat >conftest.$ac_ext <<_ACEOF
   9934 /* confdefs.h.  */
   9935 _ACEOF
   9936 cat confdefs.h >>conftest.$ac_ext
   9937 cat >>conftest.$ac_ext <<_ACEOF
   9938 /* end confdefs.h.  */
   9939 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9941 #define shl_load innocuous_shl_load
   9942 
   9943 /* System header to define __stub macros and hopefully few prototypes,
   9944     which can conflict with char shl_load (); below.
   9945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9946     <limits.h> exists even on freestanding compilers.  */
   9947 
   9948 #ifdef __STDC__
   9949 # include <limits.h>
   9950 #else
   9951 # include <assert.h>
   9952 #endif
   9953 
   9954 #undef shl_load
   9955 
   9956 /* Override any GCC internal prototype to avoid an error.
   9957    Use char because int might match the return type of a GCC
   9958    builtin and then its argument prototype would still apply.  */
   9959 #ifdef __cplusplus
   9960 extern "C"
   9961 #endif
   9962 char shl_load ();
   9963 /* The GNU C library defines this for functions which it implements
   9964     to always fail with ENOSYS.  Some functions are actually named
   9965     something starting with __ and the normal name is an alias.  */
   9966 #if defined __stub_shl_load || defined __stub___shl_load
   9967 choke me
   9968 #endif
   9969 
   9970 int
   9971 main ()
   9972 {
   9973 return shl_load ();
   9974   ;
   9975   return 0;
   9976 }
   9977 _ACEOF
   9978 rm -f conftest.$ac_objext conftest$ac_exeext
   9979 if { (ac_try="$ac_link"
   9980 case "(($ac_try" in
   9981   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9982   *) ac_try_echo=$ac_try;;
   9983 esac
   9984 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9985 $as_echo "$ac_try_echo") >&5
   9986   (eval "$ac_link") 2>conftest.er1
   9987   ac_status=$?
   9988   grep -v '^ *+' conftest.er1 >conftest.err
   9989   rm -f conftest.er1
   9990   cat conftest.err >&5
   9991   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9992   (exit $ac_status); } && {
   9993 	 test -z "$ac_c_werror_flag" ||
   9994 	 test ! -s conftest.err
   9995        } && test -s conftest$ac_exeext && {
   9996 	 test "$cross_compiling" = yes ||
   9997 	 $as_test_x conftest$ac_exeext
   9998        }; then
   9999   ac_cv_func_shl_load=yes
   10000 else
   10001   $as_echo "$as_me: failed program was:" >&5
   10002 sed 's/^/| /' conftest.$ac_ext >&5
   10003 
   10004 	ac_cv_func_shl_load=no
   10005 fi
   10006 
   10007 rm -rf conftest.dSYM
   10008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10009       conftest$ac_exeext conftest.$ac_ext
   10010 fi
   10011 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10012 $as_echo "$ac_cv_func_shl_load" >&6; }
   10013 if test "x$ac_cv_func_shl_load" = x""yes; then
   10014   lt_cv_dlopen="shl_load"
   10015 else
   10016   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10017 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10018 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10019   $as_echo_n "(cached) " >&6
   10020 else
   10021   ac_check_lib_save_LIBS=$LIBS
   10022 LIBS="-ldld  $LIBS"
   10023 cat >conftest.$ac_ext <<_ACEOF
   10024 /* confdefs.h.  */
   10025 _ACEOF
   10026 cat confdefs.h >>conftest.$ac_ext
   10027 cat >>conftest.$ac_ext <<_ACEOF
   10028 /* end confdefs.h.  */
   10029 
   10030 /* Override any GCC internal prototype to avoid an error.
   10031    Use char because int might match the return type of a GCC
   10032    builtin and then its argument prototype would still apply.  */
   10033 #ifdef __cplusplus
   10034 extern "C"
   10035 #endif
   10036 char shl_load ();
   10037 int
   10038 main ()
   10039 {
   10040 return shl_load ();
   10041   ;
   10042   return 0;
   10043 }
   10044 _ACEOF
   10045 rm -f conftest.$ac_objext conftest$ac_exeext
   10046 if { (ac_try="$ac_link"
   10047 case "(($ac_try" in
   10048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10049   *) ac_try_echo=$ac_try;;
   10050 esac
   10051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10052 $as_echo "$ac_try_echo") >&5
   10053   (eval "$ac_link") 2>conftest.er1
   10054   ac_status=$?
   10055   grep -v '^ *+' conftest.er1 >conftest.err
   10056   rm -f conftest.er1
   10057   cat conftest.err >&5
   10058   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10059   (exit $ac_status); } && {
   10060 	 test -z "$ac_c_werror_flag" ||
   10061 	 test ! -s conftest.err
   10062        } && test -s conftest$ac_exeext && {
   10063 	 test "$cross_compiling" = yes ||
   10064 	 $as_test_x conftest$ac_exeext
   10065        }; then
   10066   ac_cv_lib_dld_shl_load=yes
   10067 else
   10068   $as_echo "$as_me: failed program was:" >&5
   10069 sed 's/^/| /' conftest.$ac_ext >&5
   10070 
   10071 	ac_cv_lib_dld_shl_load=no
   10072 fi
   10073 
   10074 rm -rf conftest.dSYM
   10075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10076       conftest$ac_exeext conftest.$ac_ext
   10077 LIBS=$ac_check_lib_save_LIBS
   10078 fi
   10079 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10080 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10081 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10082   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10083 else
   10084   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10085 $as_echo_n "checking for dlopen... " >&6; }
   10086 if test "${ac_cv_func_dlopen+set}" = set; then
   10087   $as_echo_n "(cached) " >&6
   10088 else
   10089   cat >conftest.$ac_ext <<_ACEOF
   10090 /* confdefs.h.  */
   10091 _ACEOF
   10092 cat confdefs.h >>conftest.$ac_ext
   10093 cat >>conftest.$ac_ext <<_ACEOF
   10094 /* end confdefs.h.  */
   10095 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10096    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10097 #define dlopen innocuous_dlopen
   10098 
   10099 /* System header to define __stub macros and hopefully few prototypes,
   10100     which can conflict with char dlopen (); below.
   10101     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10102     <limits.h> exists even on freestanding compilers.  */
   10103 
   10104 #ifdef __STDC__
   10105 # include <limits.h>
   10106 #else
   10107 # include <assert.h>
   10108 #endif
   10109 
   10110 #undef dlopen
   10111 
   10112 /* Override any GCC internal prototype to avoid an error.
   10113    Use char because int might match the return type of a GCC
   10114    builtin and then its argument prototype would still apply.  */
   10115 #ifdef __cplusplus
   10116 extern "C"
   10117 #endif
   10118 char dlopen ();
   10119 /* The GNU C library defines this for functions which it implements
   10120     to always fail with ENOSYS.  Some functions are actually named
   10121     something starting with __ and the normal name is an alias.  */
   10122 #if defined __stub_dlopen || defined __stub___dlopen
   10123 choke me
   10124 #endif
   10125 
   10126 int
   10127 main ()
   10128 {
   10129 return dlopen ();
   10130   ;
   10131   return 0;
   10132 }
   10133 _ACEOF
   10134 rm -f conftest.$ac_objext conftest$ac_exeext
   10135 if { (ac_try="$ac_link"
   10136 case "(($ac_try" in
   10137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10138   *) ac_try_echo=$ac_try;;
   10139 esac
   10140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10141 $as_echo "$ac_try_echo") >&5
   10142   (eval "$ac_link") 2>conftest.er1
   10143   ac_status=$?
   10144   grep -v '^ *+' conftest.er1 >conftest.err
   10145   rm -f conftest.er1
   10146   cat conftest.err >&5
   10147   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10148   (exit $ac_status); } && {
   10149 	 test -z "$ac_c_werror_flag" ||
   10150 	 test ! -s conftest.err
   10151        } && test -s conftest$ac_exeext && {
   10152 	 test "$cross_compiling" = yes ||
   10153 	 $as_test_x conftest$ac_exeext
   10154        }; then
   10155   ac_cv_func_dlopen=yes
   10156 else
   10157   $as_echo "$as_me: failed program was:" >&5
   10158 sed 's/^/| /' conftest.$ac_ext >&5
   10159 
   10160 	ac_cv_func_dlopen=no
   10161 fi
   10162 
   10163 rm -rf conftest.dSYM
   10164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10165       conftest$ac_exeext conftest.$ac_ext
   10166 fi
   10167 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10168 $as_echo "$ac_cv_func_dlopen" >&6; }
   10169 if test "x$ac_cv_func_dlopen" = x""yes; then
   10170   lt_cv_dlopen="dlopen"
   10171 else
   10172   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10173 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10174 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10175   $as_echo_n "(cached) " >&6
   10176 else
   10177   ac_check_lib_save_LIBS=$LIBS
   10178 LIBS="-ldl  $LIBS"
   10179 cat >conftest.$ac_ext <<_ACEOF
   10180 /* confdefs.h.  */
   10181 _ACEOF
   10182 cat confdefs.h >>conftest.$ac_ext
   10183 cat >>conftest.$ac_ext <<_ACEOF
   10184 /* end confdefs.h.  */
   10185 
   10186 /* Override any GCC internal prototype to avoid an error.
   10187    Use char because int might match the return type of a GCC
   10188    builtin and then its argument prototype would still apply.  */
   10189 #ifdef __cplusplus
   10190 extern "C"
   10191 #endif
   10192 char dlopen ();
   10193 int
   10194 main ()
   10195 {
   10196 return dlopen ();
   10197   ;
   10198   return 0;
   10199 }
   10200 _ACEOF
   10201 rm -f conftest.$ac_objext conftest$ac_exeext
   10202 if { (ac_try="$ac_link"
   10203 case "(($ac_try" in
   10204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10205   *) ac_try_echo=$ac_try;;
   10206 esac
   10207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10208 $as_echo "$ac_try_echo") >&5
   10209   (eval "$ac_link") 2>conftest.er1
   10210   ac_status=$?
   10211   grep -v '^ *+' conftest.er1 >conftest.err
   10212   rm -f conftest.er1
   10213   cat conftest.err >&5
   10214   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10215   (exit $ac_status); } && {
   10216 	 test -z "$ac_c_werror_flag" ||
   10217 	 test ! -s conftest.err
   10218        } && test -s conftest$ac_exeext && {
   10219 	 test "$cross_compiling" = yes ||
   10220 	 $as_test_x conftest$ac_exeext
   10221        }; then
   10222   ac_cv_lib_dl_dlopen=yes
   10223 else
   10224   $as_echo "$as_me: failed program was:" >&5
   10225 sed 's/^/| /' conftest.$ac_ext >&5
   10226 
   10227 	ac_cv_lib_dl_dlopen=no
   10228 fi
   10229 
   10230 rm -rf conftest.dSYM
   10231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10232       conftest$ac_exeext conftest.$ac_ext
   10233 LIBS=$ac_check_lib_save_LIBS
   10234 fi
   10235 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10236 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10237 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10238   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10239 else
   10240   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10241 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10242 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10243   $as_echo_n "(cached) " >&6
   10244 else
   10245   ac_check_lib_save_LIBS=$LIBS
   10246 LIBS="-lsvld  $LIBS"
   10247 cat >conftest.$ac_ext <<_ACEOF
   10248 /* confdefs.h.  */
   10249 _ACEOF
   10250 cat confdefs.h >>conftest.$ac_ext
   10251 cat >>conftest.$ac_ext <<_ACEOF
   10252 /* end confdefs.h.  */
   10253 
   10254 /* Override any GCC internal prototype to avoid an error.
   10255    Use char because int might match the return type of a GCC
   10256    builtin and then its argument prototype would still apply.  */
   10257 #ifdef __cplusplus
   10258 extern "C"
   10259 #endif
   10260 char dlopen ();
   10261 int
   10262 main ()
   10263 {
   10264 return dlopen ();
   10265   ;
   10266   return 0;
   10267 }
   10268 _ACEOF
   10269 rm -f conftest.$ac_objext conftest$ac_exeext
   10270 if { (ac_try="$ac_link"
   10271 case "(($ac_try" in
   10272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10273   *) ac_try_echo=$ac_try;;
   10274 esac
   10275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10276 $as_echo "$ac_try_echo") >&5
   10277   (eval "$ac_link") 2>conftest.er1
   10278   ac_status=$?
   10279   grep -v '^ *+' conftest.er1 >conftest.err
   10280   rm -f conftest.er1
   10281   cat conftest.err >&5
   10282   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10283   (exit $ac_status); } && {
   10284 	 test -z "$ac_c_werror_flag" ||
   10285 	 test ! -s conftest.err
   10286        } && test -s conftest$ac_exeext && {
   10287 	 test "$cross_compiling" = yes ||
   10288 	 $as_test_x conftest$ac_exeext
   10289        }; then
   10290   ac_cv_lib_svld_dlopen=yes
   10291 else
   10292   $as_echo "$as_me: failed program was:" >&5
   10293 sed 's/^/| /' conftest.$ac_ext >&5
   10294 
   10295 	ac_cv_lib_svld_dlopen=no
   10296 fi
   10297 
   10298 rm -rf conftest.dSYM
   10299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10300       conftest$ac_exeext conftest.$ac_ext
   10301 LIBS=$ac_check_lib_save_LIBS
   10302 fi
   10303 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10304 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10305 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10306   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10307 else
   10308   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10309 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10310 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10311   $as_echo_n "(cached) " >&6
   10312 else
   10313   ac_check_lib_save_LIBS=$LIBS
   10314 LIBS="-ldld  $LIBS"
   10315 cat >conftest.$ac_ext <<_ACEOF
   10316 /* confdefs.h.  */
   10317 _ACEOF
   10318 cat confdefs.h >>conftest.$ac_ext
   10319 cat >>conftest.$ac_ext <<_ACEOF
   10320 /* end confdefs.h.  */
   10321 
   10322 /* Override any GCC internal prototype to avoid an error.
   10323    Use char because int might match the return type of a GCC
   10324    builtin and then its argument prototype would still apply.  */
   10325 #ifdef __cplusplus
   10326 extern "C"
   10327 #endif
   10328 char dld_link ();
   10329 int
   10330 main ()
   10331 {
   10332 return dld_link ();
   10333   ;
   10334   return 0;
   10335 }
   10336 _ACEOF
   10337 rm -f conftest.$ac_objext conftest$ac_exeext
   10338 if { (ac_try="$ac_link"
   10339 case "(($ac_try" in
   10340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10341   *) ac_try_echo=$ac_try;;
   10342 esac
   10343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10344 $as_echo "$ac_try_echo") >&5
   10345   (eval "$ac_link") 2>conftest.er1
   10346   ac_status=$?
   10347   grep -v '^ *+' conftest.er1 >conftest.err
   10348   rm -f conftest.er1
   10349   cat conftest.err >&5
   10350   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10351   (exit $ac_status); } && {
   10352 	 test -z "$ac_c_werror_flag" ||
   10353 	 test ! -s conftest.err
   10354        } && test -s conftest$ac_exeext && {
   10355 	 test "$cross_compiling" = yes ||
   10356 	 $as_test_x conftest$ac_exeext
   10357        }; then
   10358   ac_cv_lib_dld_dld_link=yes
   10359 else
   10360   $as_echo "$as_me: failed program was:" >&5
   10361 sed 's/^/| /' conftest.$ac_ext >&5
   10362 
   10363 	ac_cv_lib_dld_dld_link=no
   10364 fi
   10365 
   10366 rm -rf conftest.dSYM
   10367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10368       conftest$ac_exeext conftest.$ac_ext
   10369 LIBS=$ac_check_lib_save_LIBS
   10370 fi
   10371 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10372 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10373 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10374   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10375 fi
   10376 
   10377 
   10378 fi
   10379 
   10380 
   10381 fi
   10382 
   10383 
   10384 fi
   10385 
   10386 
   10387 fi
   10388 
   10389 
   10390 fi
   10391 
   10392     ;;
   10393   esac
   10394 
   10395   if test "x$lt_cv_dlopen" != xno; then
   10396     enable_dlopen=yes
   10397   else
   10398     enable_dlopen=no
   10399   fi
   10400 
   10401   case $lt_cv_dlopen in
   10402   dlopen)
   10403     save_CPPFLAGS="$CPPFLAGS"
   10404     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10405 
   10406     save_LDFLAGS="$LDFLAGS"
   10407     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10408 
   10409     save_LIBS="$LIBS"
   10410     LIBS="$lt_cv_dlopen_libs $LIBS"
   10411 
   10412     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10413 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10414 if test "${lt_cv_dlopen_self+set}" = set; then
   10415   $as_echo_n "(cached) " >&6
   10416 else
   10417   	  if test "$cross_compiling" = yes; then :
   10418   lt_cv_dlopen_self=cross
   10419 else
   10420   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10421   lt_status=$lt_dlunknown
   10422   cat > conftest.$ac_ext <<EOF
   10423 #line 10423 "configure"
   10424 #include "confdefs.h"
   10425 
   10426 #if HAVE_DLFCN_H
   10427 #include <dlfcn.h>
   10428 #endif
   10429 
   10430 #include <stdio.h>
   10431 
   10432 #ifdef RTLD_GLOBAL
   10433 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10434 #else
   10435 #  ifdef DL_GLOBAL
   10436 #    define LT_DLGLOBAL		DL_GLOBAL
   10437 #  else
   10438 #    define LT_DLGLOBAL		0
   10439 #  endif
   10440 #endif
   10441 
   10442 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10443    find out it does not work in some platform. */
   10444 #ifndef LT_DLLAZY_OR_NOW
   10445 #  ifdef RTLD_LAZY
   10446 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10447 #  else
   10448 #    ifdef DL_LAZY
   10449 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10450 #    else
   10451 #      ifdef RTLD_NOW
   10452 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10453 #      else
   10454 #        ifdef DL_NOW
   10455 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10456 #        else
   10457 #          define LT_DLLAZY_OR_NOW	0
   10458 #        endif
   10459 #      endif
   10460 #    endif
   10461 #  endif
   10462 #endif
   10463 
   10464 #ifdef __cplusplus
   10465 extern "C" void exit (int);
   10466 #endif
   10467 
   10468 void fnord() { int i=42;}
   10469 int main ()
   10470 {
   10471   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10472   int status = $lt_dlunknown;
   10473 
   10474   if (self)
   10475     {
   10476       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10477       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10478       /* dlclose (self); */
   10479     }
   10480   else
   10481     puts (dlerror ());
   10482 
   10483     exit (status);
   10484 }
   10485 EOF
   10486   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10487   (eval $ac_link) 2>&5
   10488   ac_status=$?
   10489   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10490   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10491     (./conftest; exit; ) >&5 2>/dev/null
   10492     lt_status=$?
   10493     case x$lt_status in
   10494       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10495       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10496       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10497     esac
   10498   else :
   10499     # compilation failed
   10500     lt_cv_dlopen_self=no
   10501   fi
   10502 fi
   10503 rm -fr conftest*
   10504 
   10505 
   10506 fi
   10507 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10508 $as_echo "$lt_cv_dlopen_self" >&6; }
   10509 
   10510     if test "x$lt_cv_dlopen_self" = xyes; then
   10511       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10512       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10513 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10514 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10515   $as_echo_n "(cached) " >&6
   10516 else
   10517   	  if test "$cross_compiling" = yes; then :
   10518   lt_cv_dlopen_self_static=cross
   10519 else
   10520   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10521   lt_status=$lt_dlunknown
   10522   cat > conftest.$ac_ext <<EOF
   10523 #line 10523 "configure"
   10524 #include "confdefs.h"
   10525 
   10526 #if HAVE_DLFCN_H
   10527 #include <dlfcn.h>
   10528 #endif
   10529 
   10530 #include <stdio.h>
   10531 
   10532 #ifdef RTLD_GLOBAL
   10533 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10534 #else
   10535 #  ifdef DL_GLOBAL
   10536 #    define LT_DLGLOBAL		DL_GLOBAL
   10537 #  else
   10538 #    define LT_DLGLOBAL		0
   10539 #  endif
   10540 #endif
   10541 
   10542 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10543    find out it does not work in some platform. */
   10544 #ifndef LT_DLLAZY_OR_NOW
   10545 #  ifdef RTLD_LAZY
   10546 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10547 #  else
   10548 #    ifdef DL_LAZY
   10549 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10550 #    else
   10551 #      ifdef RTLD_NOW
   10552 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10553 #      else
   10554 #        ifdef DL_NOW
   10555 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10556 #        else
   10557 #          define LT_DLLAZY_OR_NOW	0
   10558 #        endif
   10559 #      endif
   10560 #    endif
   10561 #  endif
   10562 #endif
   10563 
   10564 #ifdef __cplusplus
   10565 extern "C" void exit (int);
   10566 #endif
   10567 
   10568 void fnord() { int i=42;}
   10569 int main ()
   10570 {
   10571   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10572   int status = $lt_dlunknown;
   10573 
   10574   if (self)
   10575     {
   10576       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10577       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10578       /* dlclose (self); */
   10579     }
   10580   else
   10581     puts (dlerror ());
   10582 
   10583     exit (status);
   10584 }
   10585 EOF
   10586   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10587   (eval $ac_link) 2>&5
   10588   ac_status=$?
   10589   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10590   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10591     (./conftest; exit; ) >&5 2>/dev/null
   10592     lt_status=$?
   10593     case x$lt_status in
   10594       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10595       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10596       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10597     esac
   10598   else :
   10599     # compilation failed
   10600     lt_cv_dlopen_self_static=no
   10601   fi
   10602 fi
   10603 rm -fr conftest*
   10604 
   10605 
   10606 fi
   10607 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10608 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10609     fi
   10610 
   10611     CPPFLAGS="$save_CPPFLAGS"
   10612     LDFLAGS="$save_LDFLAGS"
   10613     LIBS="$save_LIBS"
   10614     ;;
   10615   esac
   10616 
   10617   case $lt_cv_dlopen_self in
   10618   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10619   *) enable_dlopen_self=unknown ;;
   10620   esac
   10621 
   10622   case $lt_cv_dlopen_self_static in
   10623   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10624   *) enable_dlopen_self_static=unknown ;;
   10625   esac
   10626 fi
   10627 
   10628 
   10629 # Report which library types will actually be built
   10630 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10631 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10632 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10633 $as_echo "$can_build_shared" >&6; }
   10634 
   10635 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10636 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10637 test "$can_build_shared" = "no" && enable_shared=no
   10638 
   10639 # On AIX, shared libraries and static libraries use the same namespace, and
   10640 # are all built from PIC.
   10641 case $host_os in
   10642 aix3*)
   10643   test "$enable_shared" = yes && enable_static=no
   10644   if test -n "$RANLIB"; then
   10645     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10646     postinstall_cmds='$RANLIB $lib'
   10647   fi
   10648   ;;
   10649 
   10650 aix[4-9]*)
   10651   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10652     test "$enable_shared" = yes && enable_static=no
   10653   fi
   10654     ;;
   10655 esac
   10656 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10657 $as_echo "$enable_shared" >&6; }
   10658 
   10659 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10660 $as_echo_n "checking whether to build static libraries... " >&6; }
   10661 # Make sure either enable_shared or enable_static is yes.
   10662 test "$enable_shared" = yes || enable_static=yes
   10663 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10664 $as_echo "$enable_static" >&6; }
   10665 
   10666 # The else clause should only fire when bootstrapping the
   10667 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10668 # with your package, and you will get complaints that there are
   10669 # no rules to generate ltmain.sh.
   10670 if test -f "$ltmain"; then
   10671   # See if we are running on zsh, and set the options which allow our commands through
   10672   # without removal of \ escapes.
   10673   if test -n "${ZSH_VERSION+set}" ; then
   10674     setopt NO_GLOB_SUBST
   10675   fi
   10676   # Now quote all the things that may contain metacharacters while being
   10677   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10678   # variables and quote the copies for generation of the libtool script.
   10679   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10680     SED SHELL STRIP \
   10681     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10682     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10683     deplibs_check_method reload_flag reload_cmds need_locks \
   10684     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10685     lt_cv_sys_global_symbol_to_c_name_address \
   10686     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10687     old_postinstall_cmds old_postuninstall_cmds \
   10688     compiler \
   10689     CC \
   10690     LD \
   10691     lt_prog_compiler_wl \
   10692     lt_prog_compiler_pic \
   10693     lt_prog_compiler_static \
   10694     lt_prog_compiler_no_builtin_flag \
   10695     export_dynamic_flag_spec \
   10696     thread_safe_flag_spec \
   10697     whole_archive_flag_spec \
   10698     enable_shared_with_static_runtimes \
   10699     old_archive_cmds \
   10700     old_archive_from_new_cmds \
   10701     predep_objects \
   10702     postdep_objects \
   10703     predeps \
   10704     postdeps \
   10705     compiler_lib_search_path \
   10706     compiler_lib_search_dirs \
   10707     archive_cmds \
   10708     archive_expsym_cmds \
   10709     postinstall_cmds \
   10710     postuninstall_cmds \
   10711     old_archive_from_expsyms_cmds \
   10712     allow_undefined_flag \
   10713     no_undefined_flag \
   10714     export_symbols_cmds \
   10715     hardcode_libdir_flag_spec \
   10716     hardcode_libdir_flag_spec_ld \
   10717     hardcode_libdir_separator \
   10718     hardcode_automatic \
   10719     module_cmds \
   10720     module_expsym_cmds \
   10721     lt_cv_prog_compiler_c_o \
   10722     fix_srcfile_path \
   10723     exclude_expsyms \
   10724     include_expsyms; do
   10725 
   10726     case $var in
   10727     old_archive_cmds | \
   10728     old_archive_from_new_cmds | \
   10729     archive_cmds | \
   10730     archive_expsym_cmds | \
   10731     module_cmds | \
   10732     module_expsym_cmds | \
   10733     old_archive_from_expsyms_cmds | \
   10734     export_symbols_cmds | \
   10735     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10736     postinstall_cmds | postuninstall_cmds | \
   10737     old_postinstall_cmds | old_postuninstall_cmds | \
   10738     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10739       # Double-quote double-evaled strings.
   10740       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10741       ;;
   10742     *)
   10743       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10744       ;;
   10745     esac
   10746   done
   10747 
   10748   case $lt_echo in
   10749   *'\$0 --fallback-echo"')
   10750     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10751     ;;
   10752   esac
   10753 
   10754 cfgfile="${ofile}T"
   10755   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10756   $rm -f "$cfgfile"
   10757   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10758 $as_echo "$as_me: creating $ofile" >&6;}
   10759 
   10760   cat <<__EOF__ >> "$cfgfile"
   10761 #! $SHELL
   10762 
   10763 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10764 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10765 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10766 #
   10767 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10768 # Free Software Foundation, Inc.
   10769 #
   10770 # This file is part of GNU Libtool:
   10771 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10772 #
   10773 # This program is free software; you can redistribute it and/or modify
   10774 # it under the terms of the GNU General Public License as published by
   10775 # the Free Software Foundation; either version 2 of the License, or
   10776 # (at your option) any later version.
   10777 #
   10778 # This program is distributed in the hope that it will be useful, but
   10779 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10780 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10781 # General Public License for more details.
   10782 #
   10783 # You should have received a copy of the GNU General Public License
   10784 # along with this program; if not, write to the Free Software
   10785 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10786 #
   10787 # As a special exception to the GNU General Public License, if you
   10788 # distribute this file as part of a program that contains a
   10789 # configuration script generated by Autoconf, you may include it under
   10790 # the same distribution terms that you use for the rest of that program.
   10791 
   10792 # A sed program that does not truncate output.
   10793 SED=$lt_SED
   10794 
   10795 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10796 Xsed="$SED -e 1s/^X//"
   10797 
   10798 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10799 # if CDPATH is set.
   10800 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10801 
   10802 # The names of the tagged configurations supported by this script.
   10803 available_tags=
   10804 
   10805 # ### BEGIN LIBTOOL CONFIG
   10806 
   10807 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10808 
   10809 # Shell to use when invoking shell scripts.
   10810 SHELL=$lt_SHELL
   10811 
   10812 # Whether or not to build shared libraries.
   10813 build_libtool_libs=$enable_shared
   10814 
   10815 # Whether or not to build static libraries.
   10816 build_old_libs=$enable_static
   10817 
   10818 # Whether or not to add -lc for building shared libraries.
   10819 build_libtool_need_lc=$archive_cmds_need_lc
   10820 
   10821 # Whether or not to disallow shared libs when runtime libs are static
   10822 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10823 
   10824 # Whether or not to optimize for fast installation.
   10825 fast_install=$enable_fast_install
   10826 
   10827 # The host system.
   10828 host_alias=$host_alias
   10829 host=$host
   10830 host_os=$host_os
   10831 
   10832 # The build system.
   10833 build_alias=$build_alias
   10834 build=$build
   10835 build_os=$build_os
   10836 
   10837 # An echo program that does not interpret backslashes.
   10838 echo=$lt_echo
   10839 
   10840 # The archiver.
   10841 AR=$lt_AR
   10842 AR_FLAGS=$lt_AR_FLAGS
   10843 
   10844 # A C compiler.
   10845 LTCC=$lt_LTCC
   10846 
   10847 # LTCC compiler flags.
   10848 LTCFLAGS=$lt_LTCFLAGS
   10849 
   10850 # A language-specific compiler.
   10851 CC=$lt_compiler
   10852 
   10853 # Is the compiler the GNU C compiler?
   10854 with_gcc=$GCC
   10855 
   10856 # An ERE matcher.
   10857 EGREP=$lt_EGREP
   10858 
   10859 # The linker used to build libraries.
   10860 LD=$lt_LD
   10861 
   10862 # Whether we need hard or soft links.
   10863 LN_S=$lt_LN_S
   10864 
   10865 # A BSD-compatible nm program.
   10866 NM=$lt_NM
   10867 
   10868 # A symbol stripping program
   10869 STRIP=$lt_STRIP
   10870 
   10871 # Used to examine libraries when file_magic_cmd begins "file"
   10872 MAGIC_CMD=$MAGIC_CMD
   10873 
   10874 # Used on cygwin: DLL creation program.
   10875 DLLTOOL="$DLLTOOL"
   10876 
   10877 # Used on cygwin: object dumper.
   10878 OBJDUMP="$OBJDUMP"
   10879 
   10880 # Used on cygwin: assembler.
   10881 AS="$AS"
   10882 
   10883 # The name of the directory that contains temporary libtool files.
   10884 objdir=$objdir
   10885 
   10886 # How to create reloadable object files.
   10887 reload_flag=$lt_reload_flag
   10888 reload_cmds=$lt_reload_cmds
   10889 
   10890 # How to pass a linker flag through the compiler.
   10891 wl=$lt_lt_prog_compiler_wl
   10892 
   10893 # Object file suffix (normally "o").
   10894 objext="$ac_objext"
   10895 
   10896 # Old archive suffix (normally "a").
   10897 libext="$libext"
   10898 
   10899 # Shared library suffix (normally ".so").
   10900 shrext_cmds='$shrext_cmds'
   10901 
   10902 # Executable file suffix (normally "").
   10903 exeext="$exeext"
   10904 
   10905 # Additional compiler flags for building library objects.
   10906 pic_flag=$lt_lt_prog_compiler_pic
   10907 pic_mode=$pic_mode
   10908 
   10909 # What is the maximum length of a command?
   10910 max_cmd_len=$lt_cv_sys_max_cmd_len
   10911 
   10912 # Does compiler simultaneously support -c and -o options?
   10913 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10914 
   10915 # Must we lock files when doing compilation?
   10916 need_locks=$lt_need_locks
   10917 
   10918 # Do we need the lib prefix for modules?
   10919 need_lib_prefix=$need_lib_prefix
   10920 
   10921 # Do we need a version for libraries?
   10922 need_version=$need_version
   10923 
   10924 # Whether dlopen is supported.
   10925 dlopen_support=$enable_dlopen
   10926 
   10927 # Whether dlopen of programs is supported.
   10928 dlopen_self=$enable_dlopen_self
   10929 
   10930 # Whether dlopen of statically linked programs is supported.
   10931 dlopen_self_static=$enable_dlopen_self_static
   10932 
   10933 # Compiler flag to prevent dynamic linking.
   10934 link_static_flag=$lt_lt_prog_compiler_static
   10935 
   10936 # Compiler flag to turn off builtin functions.
   10937 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10938 
   10939 # Compiler flag to allow reflexive dlopens.
   10940 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10941 
   10942 # Compiler flag to generate shared objects directly from archives.
   10943 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10944 
   10945 # Compiler flag to generate thread-safe objects.
   10946 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10947 
   10948 # Library versioning type.
   10949 version_type=$version_type
   10950 
   10951 # Format of library name prefix.
   10952 libname_spec=$lt_libname_spec
   10953 
   10954 # List of archive names.  First name is the real one, the rest are links.
   10955 # The last name is the one that the linker finds with -lNAME.
   10956 library_names_spec=$lt_library_names_spec
   10957 
   10958 # The coded name of the library, if different from the real name.
   10959 soname_spec=$lt_soname_spec
   10960 
   10961 # Commands used to build and install an old-style archive.
   10962 RANLIB=$lt_RANLIB
   10963 old_archive_cmds=$lt_old_archive_cmds
   10964 old_postinstall_cmds=$lt_old_postinstall_cmds
   10965 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10966 
   10967 # Create an old-style archive from a shared archive.
   10968 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10969 
   10970 # Create a temporary old-style archive to link instead of a shared archive.
   10971 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10972 
   10973 # Commands used to build and install a shared archive.
   10974 archive_cmds=$lt_archive_cmds
   10975 archive_expsym_cmds=$lt_archive_expsym_cmds
   10976 postinstall_cmds=$lt_postinstall_cmds
   10977 postuninstall_cmds=$lt_postuninstall_cmds
   10978 
   10979 # Commands used to build a loadable module (assumed same as above if empty)
   10980 module_cmds=$lt_module_cmds
   10981 module_expsym_cmds=$lt_module_expsym_cmds
   10982 
   10983 # Commands to strip libraries.
   10984 old_striplib=$lt_old_striplib
   10985 striplib=$lt_striplib
   10986 
   10987 # Dependencies to place before the objects being linked to create a
   10988 # shared library.
   10989 predep_objects=$lt_predep_objects
   10990 
   10991 # Dependencies to place after the objects being linked to create a
   10992 # shared library.
   10993 postdep_objects=$lt_postdep_objects
   10994 
   10995 # Dependencies to place before the objects being linked to create a
   10996 # shared library.
   10997 predeps=$lt_predeps
   10998 
   10999 # Dependencies to place after the objects being linked to create a
   11000 # shared library.
   11001 postdeps=$lt_postdeps
   11002 
   11003 # The directories searched by this compiler when creating a shared
   11004 # library
   11005 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11006 
   11007 # The library search path used internally by the compiler when linking
   11008 # a shared library.
   11009 compiler_lib_search_path=$lt_compiler_lib_search_path
   11010 
   11011 # Method to check whether dependent libraries are shared objects.
   11012 deplibs_check_method=$lt_deplibs_check_method
   11013 
   11014 # Command to use when deplibs_check_method == file_magic.
   11015 file_magic_cmd=$lt_file_magic_cmd
   11016 
   11017 # Flag that allows shared libraries with undefined symbols to be built.
   11018 allow_undefined_flag=$lt_allow_undefined_flag
   11019 
   11020 # Flag that forces no undefined symbols.
   11021 no_undefined_flag=$lt_no_undefined_flag
   11022 
   11023 # Commands used to finish a libtool library installation in a directory.
   11024 finish_cmds=$lt_finish_cmds
   11025 
   11026 # Same as above, but a single script fragment to be evaled but not shown.
   11027 finish_eval=$lt_finish_eval
   11028 
   11029 # Take the output of nm and produce a listing of raw symbols and C names.
   11030 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11031 
   11032 # Transform the output of nm in a proper C declaration
   11033 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11034 
   11035 # Transform the output of nm in a C name address pair
   11036 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11037 
   11038 # This is the shared library runtime path variable.
   11039 runpath_var=$runpath_var
   11040 
   11041 # This is the shared library path variable.
   11042 shlibpath_var=$shlibpath_var
   11043 
   11044 # Is shlibpath searched before the hard-coded library search path?
   11045 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11046 
   11047 # How to hardcode a shared library path into an executable.
   11048 hardcode_action=$hardcode_action
   11049 
   11050 # Whether we should hardcode library paths into libraries.
   11051 hardcode_into_libs=$hardcode_into_libs
   11052 
   11053 # Flag to hardcode \$libdir into a binary during linking.
   11054 # This must work even if \$libdir does not exist.
   11055 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11056 
   11057 # If ld is used when linking, flag to hardcode \$libdir into
   11058 # a binary during linking. This must work even if \$libdir does
   11059 # not exist.
   11060 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11061 
   11062 # Whether we need a single -rpath flag with a separated argument.
   11063 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11064 
   11065 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11066 # resulting binary.
   11067 hardcode_direct=$hardcode_direct
   11068 
   11069 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11070 # resulting binary.
   11071 hardcode_minus_L=$hardcode_minus_L
   11072 
   11073 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11074 # the resulting binary.
   11075 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11076 
   11077 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11078 # and all subsequent libraries and executables linked against it.
   11079 hardcode_automatic=$hardcode_automatic
   11080 
   11081 # Variables whose values should be saved in libtool wrapper scripts and
   11082 # restored at relink time.
   11083 variables_saved_for_relink="$variables_saved_for_relink"
   11084 
   11085 # Whether libtool must link a program against all its dependency libraries.
   11086 link_all_deplibs=$link_all_deplibs
   11087 
   11088 # Compile-time system search path for libraries
   11089 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11090 
   11091 # Run-time system search path for libraries
   11092 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11093 
   11094 # Fix the shell variable \$srcfile for the compiler.
   11095 fix_srcfile_path=$lt_fix_srcfile_path
   11096 
   11097 # Set to yes if exported symbols are required.
   11098 always_export_symbols=$always_export_symbols
   11099 
   11100 # The commands to list exported symbols.
   11101 export_symbols_cmds=$lt_export_symbols_cmds
   11102 
   11103 # The commands to extract the exported symbol list from a shared archive.
   11104 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11105 
   11106 # Symbols that should not be listed in the preloaded symbols.
   11107 exclude_expsyms=$lt_exclude_expsyms
   11108 
   11109 # Symbols that must always be exported.
   11110 include_expsyms=$lt_include_expsyms
   11111 
   11112 # ### END LIBTOOL CONFIG
   11113 
   11114 __EOF__
   11115 
   11116 
   11117   case $host_os in
   11118   aix3*)
   11119     cat <<\EOF >> "$cfgfile"
   11120 
   11121 # AIX sometimes has problems with the GCC collect2 program.  For some
   11122 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11123 # vanish in a puff of smoke.
   11124 if test "X${COLLECT_NAMES+set}" != Xset; then
   11125   COLLECT_NAMES=
   11126   export COLLECT_NAMES
   11127 fi
   11128 EOF
   11129     ;;
   11130   esac
   11131 
   11132   # We use sed instead of cat because bash on DJGPP gets confused if
   11133   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11134   # text mode, it properly converts lines to CR/LF.  This bash problem
   11135   # is reportedly fixed, but why not run on old versions too?
   11136   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11137 
   11138   mv -f "$cfgfile" "$ofile" || \
   11139     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11140   chmod +x "$ofile"
   11141 
   11142 else
   11143   # If there is no Makefile yet, we rely on a make rule to execute
   11144   # `config.status --recheck' to rerun these tests and create the
   11145   # libtool script then.
   11146   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11147   if test -f "$ltmain_in"; then
   11148     test -f Makefile && make "$ltmain"
   11149   fi
   11150 fi
   11151 
   11152 
   11153 ac_ext=c
   11154 ac_cpp='$CPP $CPPFLAGS'
   11155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11158 
   11159 CC="$lt_save_CC"
   11160 
   11161 
   11162 # Check whether --with-tags was given.
   11163 if test "${with_tags+set}" = set; then
   11164   withval=$with_tags; tagnames="$withval"
   11165 fi
   11166 
   11167 
   11168 if test -f "$ltmain" && test -n "$tagnames"; then
   11169   if test ! -f "${ofile}"; then
   11170     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11171 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11172   fi
   11173 
   11174   if test -z "$LTCC"; then
   11175     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11176     if test -z "$LTCC"; then
   11177       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11178 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11179     else
   11180       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11181 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11182     fi
   11183   fi
   11184   if test -z "$LTCFLAGS"; then
   11185     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11186   fi
   11187 
   11188   # Extract list of available tagged configurations in $ofile.
   11189   # Note that this assumes the entire list is on one line.
   11190   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11191 
   11192   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11193   for tagname in $tagnames; do
   11194     IFS="$lt_save_ifs"
   11195     # Check whether tagname contains only valid characters
   11196     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11197     "") ;;
   11198     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11199 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11200    { (exit 1); exit 1; }; }
   11201 	;;
   11202     esac
   11203 
   11204     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11205     then
   11206       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11207 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11208    { (exit 1); exit 1; }; }
   11209     fi
   11210 
   11211     # Update the list of available tags.
   11212     if test -n "$tagname"; then
   11213       echo appending configuration tag \"$tagname\" to $ofile
   11214 
   11215       case $tagname in
   11216       CXX)
   11217 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11218 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11219 	    (test "X$CXX" != "Xg++"))) ; then
   11220 	  ac_ext=cpp
   11221 ac_cpp='$CXXCPP $CPPFLAGS'
   11222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11225 
   11226 
   11227 
   11228 
   11229 archive_cmds_need_lc_CXX=no
   11230 allow_undefined_flag_CXX=
   11231 always_export_symbols_CXX=no
   11232 archive_expsym_cmds_CXX=
   11233 export_dynamic_flag_spec_CXX=
   11234 hardcode_direct_CXX=no
   11235 hardcode_libdir_flag_spec_CXX=
   11236 hardcode_libdir_flag_spec_ld_CXX=
   11237 hardcode_libdir_separator_CXX=
   11238 hardcode_minus_L_CXX=no
   11239 hardcode_shlibpath_var_CXX=unsupported
   11240 hardcode_automatic_CXX=no
   11241 module_cmds_CXX=
   11242 module_expsym_cmds_CXX=
   11243 link_all_deplibs_CXX=unknown
   11244 old_archive_cmds_CXX=$old_archive_cmds
   11245 no_undefined_flag_CXX=
   11246 whole_archive_flag_spec_CXX=
   11247 enable_shared_with_static_runtimes_CXX=no
   11248 
   11249 # Dependencies to place before and after the object being linked:
   11250 predep_objects_CXX=
   11251 postdep_objects_CXX=
   11252 predeps_CXX=
   11253 postdeps_CXX=
   11254 compiler_lib_search_path_CXX=
   11255 compiler_lib_search_dirs_CXX=
   11256 
   11257 # Source file extension for C++ test sources.
   11258 ac_ext=cpp
   11259 
   11260 # Object file extension for compiled C++ test sources.
   11261 objext=o
   11262 objext_CXX=$objext
   11263 
   11264 # Code to be used in simple compile tests
   11265 lt_simple_compile_test_code="int some_variable = 0;"
   11266 
   11267 # Code to be used in simple link tests
   11268 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11269 
   11270 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11271 
   11272 # If no C compiler was specified, use CC.
   11273 LTCC=${LTCC-"$CC"}
   11274 
   11275 # If no C compiler flags were specified, use CFLAGS.
   11276 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11277 
   11278 # Allow CC to be a program name with arguments.
   11279 compiler=$CC
   11280 
   11281 
   11282 # save warnings/boilerplate of simple test code
   11283 ac_outfile=conftest.$ac_objext
   11284 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11285 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11286 _lt_compiler_boilerplate=`cat conftest.err`
   11287 $rm conftest*
   11288 
   11289 ac_outfile=conftest.$ac_objext
   11290 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11291 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11292 _lt_linker_boilerplate=`cat conftest.err`
   11293 $rm -r conftest*
   11294 
   11295 
   11296 # Allow CC to be a program name with arguments.
   11297 lt_save_CC=$CC
   11298 lt_save_LD=$LD
   11299 lt_save_GCC=$GCC
   11300 GCC=$GXX
   11301 lt_save_with_gnu_ld=$with_gnu_ld
   11302 lt_save_path_LD=$lt_cv_path_LD
   11303 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11304   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11305 else
   11306   $as_unset lt_cv_prog_gnu_ld
   11307 fi
   11308 if test -n "${lt_cv_path_LDCXX+set}"; then
   11309   lt_cv_path_LD=$lt_cv_path_LDCXX
   11310 else
   11311   $as_unset lt_cv_path_LD
   11312 fi
   11313 test -z "${LDCXX+set}" || LD=$LDCXX
   11314 CC=${CXX-"c++"}
   11315 compiler=$CC
   11316 compiler_CXX=$CC
   11317 for cc_temp in $compiler""; do
   11318   case $cc_temp in
   11319     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11320     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11321     \-*) ;;
   11322     *) break;;
   11323   esac
   11324 done
   11325 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11326 
   11327 
   11328 # We don't want -fno-exception wen compiling C++ code, so set the
   11329 # no_builtin_flag separately
   11330 if test "$GXX" = yes; then
   11331   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11332 else
   11333   lt_prog_compiler_no_builtin_flag_CXX=
   11334 fi
   11335 
   11336 if test "$GXX" = yes; then
   11337   # Set up default GNU C++ configuration
   11338 
   11339 
   11340 # Check whether --with-gnu-ld was given.
   11341 if test "${with_gnu_ld+set}" = set; then
   11342   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11343 else
   11344   with_gnu_ld=no
   11345 fi
   11346 
   11347 ac_prog=ld
   11348 if test "$GCC" = yes; then
   11349   # Check if gcc -print-prog-name=ld gives a path.
   11350   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11351 $as_echo_n "checking for ld used by $CC... " >&6; }
   11352   case $host in
   11353   *-*-mingw*)
   11354     # gcc leaves a trailing carriage return which upsets mingw
   11355     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11356   *)
   11357     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11358   esac
   11359   case $ac_prog in
   11360     # Accept absolute paths.
   11361     [\\/]* | ?:[\\/]*)
   11362       re_direlt='/[^/][^/]*/\.\./'
   11363       # Canonicalize the pathname of ld
   11364       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11365       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11366 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11367       done
   11368       test -z "$LD" && LD="$ac_prog"
   11369       ;;
   11370   "")
   11371     # If it fails, then pretend we aren't using GCC.
   11372     ac_prog=ld
   11373     ;;
   11374   *)
   11375     # If it is relative, then search for the first ld in PATH.
   11376     with_gnu_ld=unknown
   11377     ;;
   11378   esac
   11379 elif test "$with_gnu_ld" = yes; then
   11380   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11381 $as_echo_n "checking for GNU ld... " >&6; }
   11382 else
   11383   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11384 $as_echo_n "checking for non-GNU ld... " >&6; }
   11385 fi
   11386 if test "${lt_cv_path_LD+set}" = set; then
   11387   $as_echo_n "(cached) " >&6
   11388 else
   11389   if test -z "$LD"; then
   11390   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11391   for ac_dir in $PATH; do
   11392     IFS="$lt_save_ifs"
   11393     test -z "$ac_dir" && ac_dir=.
   11394     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11395       lt_cv_path_LD="$ac_dir/$ac_prog"
   11396       # Check to see if the program is GNU ld.  I'd rather use --version,
   11397       # but apparently some variants of GNU ld only accept -v.
   11398       # Break only if it was the GNU/non-GNU ld that we prefer.
   11399       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11400       *GNU* | *'with BFD'*)
   11401 	test "$with_gnu_ld" != no && break
   11402 	;;
   11403       *)
   11404 	test "$with_gnu_ld" != yes && break
   11405 	;;
   11406       esac
   11407     fi
   11408   done
   11409   IFS="$lt_save_ifs"
   11410 else
   11411   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11412 fi
   11413 fi
   11414 
   11415 LD="$lt_cv_path_LD"
   11416 if test -n "$LD"; then
   11417   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11418 $as_echo "$LD" >&6; }
   11419 else
   11420   { $as_echo "$as_me:$LINENO: result: no" >&5
   11421 $as_echo "no" >&6; }
   11422 fi
   11423 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11424 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11425    { (exit 1); exit 1; }; }
   11426 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11427 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11428 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11429   $as_echo_n "(cached) " >&6
   11430 else
   11431   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11432 case `$LD -v 2>&1 </dev/null` in
   11433 *GNU* | *'with BFD'*)
   11434   lt_cv_prog_gnu_ld=yes
   11435   ;;
   11436 *)
   11437   lt_cv_prog_gnu_ld=no
   11438   ;;
   11439 esac
   11440 fi
   11441 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11442 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11443 with_gnu_ld=$lt_cv_prog_gnu_ld
   11444 
   11445 
   11446 
   11447   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11448   # archiving commands below assume that GNU ld is being used.
   11449   if test "$with_gnu_ld" = yes; then
   11450     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11451     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'
   11452 
   11453     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11454     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11455 
   11456     # If archive_cmds runs LD, not CC, wlarc should be empty
   11457     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11458     #     investigate it a little bit more. (MM)
   11459     wlarc='${wl}'
   11460 
   11461     # ancient GNU ld didn't support --whole-archive et. al.
   11462     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11463 	grep 'no-whole-archive' > /dev/null; then
   11464       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11465     else
   11466       whole_archive_flag_spec_CXX=
   11467     fi
   11468   else
   11469     with_gnu_ld=no
   11470     wlarc=
   11471 
   11472     # A generic and very simple default shared library creation
   11473     # command for GNU C++ for the case where it uses the native
   11474     # linker, instead of GNU ld.  If possible, this setting should
   11475     # overridden to take advantage of the native linker features on
   11476     # the platform it is being used on.
   11477     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11478   fi
   11479 
   11480   # Commands to make compiler produce verbose output that lists
   11481   # what "hidden" libraries, object files and flags are used when
   11482   # linking a shared library.
   11483   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11484 
   11485 else
   11486   GXX=no
   11487   with_gnu_ld=no
   11488   wlarc=
   11489 fi
   11490 
   11491 # PORTME: fill in a description of your system's C++ link characteristics
   11492 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11493 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11494 ld_shlibs_CXX=yes
   11495 case $host_os in
   11496   aix3*)
   11497     # FIXME: insert proper C++ library support
   11498     ld_shlibs_CXX=no
   11499     ;;
   11500   aix[4-9]*)
   11501     if test "$host_cpu" = ia64; then
   11502       # On IA64, the linker does run time linking by default, so we don't
   11503       # have to do anything special.
   11504       aix_use_runtimelinking=no
   11505       exp_sym_flag='-Bexport'
   11506       no_entry_flag=""
   11507     else
   11508       aix_use_runtimelinking=no
   11509 
   11510       # Test if we are trying to use run time linking or normal
   11511       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11512       # need to do runtime linking.
   11513       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11514 	for ld_flag in $LDFLAGS; do
   11515 	  case $ld_flag in
   11516 	  *-brtl*)
   11517 	    aix_use_runtimelinking=yes
   11518 	    break
   11519 	    ;;
   11520 	  esac
   11521 	done
   11522 	;;
   11523       esac
   11524 
   11525       exp_sym_flag='-bexport'
   11526       no_entry_flag='-bnoentry'
   11527     fi
   11528 
   11529     # When large executables or shared objects are built, AIX ld can
   11530     # have problems creating the table of contents.  If linking a library
   11531     # or program results in "error TOC overflow" add -mminimal-toc to
   11532     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11533     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11534 
   11535     archive_cmds_CXX=''
   11536     hardcode_direct_CXX=yes
   11537     hardcode_libdir_separator_CXX=':'
   11538     link_all_deplibs_CXX=yes
   11539 
   11540     if test "$GXX" = yes; then
   11541       case $host_os in aix4.[012]|aix4.[012].*)
   11542       # We only want to do this on AIX 4.2 and lower, the check
   11543       # below for broken collect2 doesn't work under 4.3+
   11544 	collect2name=`${CC} -print-prog-name=collect2`
   11545 	if test -f "$collect2name" && \
   11546 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11547 	then
   11548 	  # We have reworked collect2
   11549 	  :
   11550 	else
   11551 	  # We have old collect2
   11552 	  hardcode_direct_CXX=unsupported
   11553 	  # It fails to find uninstalled libraries when the uninstalled
   11554 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11555 	  # to unsupported forces relinking
   11556 	  hardcode_minus_L_CXX=yes
   11557 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11558 	  hardcode_libdir_separator_CXX=
   11559 	fi
   11560 	;;
   11561       esac
   11562       shared_flag='-shared'
   11563       if test "$aix_use_runtimelinking" = yes; then
   11564 	shared_flag="$shared_flag "'${wl}-G'
   11565       fi
   11566     else
   11567       # not using gcc
   11568       if test "$host_cpu" = ia64; then
   11569 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11570 	# chokes on -Wl,-G. The following line is correct:
   11571 	shared_flag='-G'
   11572       else
   11573 	if test "$aix_use_runtimelinking" = yes; then
   11574 	  shared_flag='${wl}-G'
   11575 	else
   11576 	  shared_flag='${wl}-bM:SRE'
   11577 	fi
   11578       fi
   11579     fi
   11580 
   11581     # It seems that -bexpall does not export symbols beginning with
   11582     # underscore (_), so it is better to generate a list of symbols to export.
   11583     always_export_symbols_CXX=yes
   11584     if test "$aix_use_runtimelinking" = yes; then
   11585       # Warning - without using the other runtime loading flags (-brtl),
   11586       # -berok will link without error, but may produce a broken library.
   11587       allow_undefined_flag_CXX='-berok'
   11588       # Determine the default libpath from the value encoded in an empty executable.
   11589       cat >conftest.$ac_ext <<_ACEOF
   11590 /* confdefs.h.  */
   11591 _ACEOF
   11592 cat confdefs.h >>conftest.$ac_ext
   11593 cat >>conftest.$ac_ext <<_ACEOF
   11594 /* end confdefs.h.  */
   11595 
   11596 int
   11597 main ()
   11598 {
   11599 
   11600   ;
   11601   return 0;
   11602 }
   11603 _ACEOF
   11604 rm -f conftest.$ac_objext conftest$ac_exeext
   11605 if { (ac_try="$ac_link"
   11606 case "(($ac_try" in
   11607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11608   *) ac_try_echo=$ac_try;;
   11609 esac
   11610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11611 $as_echo "$ac_try_echo") >&5
   11612   (eval "$ac_link") 2>conftest.er1
   11613   ac_status=$?
   11614   grep -v '^ *+' conftest.er1 >conftest.err
   11615   rm -f conftest.er1
   11616   cat conftest.err >&5
   11617   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11618   (exit $ac_status); } && {
   11619 	 test -z "$ac_cxx_werror_flag" ||
   11620 	 test ! -s conftest.err
   11621        } && test -s conftest$ac_exeext && {
   11622 	 test "$cross_compiling" = yes ||
   11623 	 $as_test_x conftest$ac_exeext
   11624        }; then
   11625 
   11626 lt_aix_libpath_sed='
   11627     /Import File Strings/,/^$/ {
   11628 	/^0/ {
   11629 	    s/^0  *\(.*\)$/\1/
   11630 	    p
   11631 	}
   11632     }'
   11633 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11634 # Check for a 64-bit object if we didn't find anything.
   11635 if test -z "$aix_libpath"; then
   11636   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11637 fi
   11638 else
   11639   $as_echo "$as_me: failed program was:" >&5
   11640 sed 's/^/| /' conftest.$ac_ext >&5
   11641 
   11642 
   11643 fi
   11644 
   11645 rm -rf conftest.dSYM
   11646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11647       conftest$ac_exeext conftest.$ac_ext
   11648 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11649 
   11650       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11651 
   11652       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"
   11653      else
   11654       if test "$host_cpu" = ia64; then
   11655 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11656 	allow_undefined_flag_CXX="-z nodefs"
   11657 	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"
   11658       else
   11659 	# Determine the default libpath from the value encoded in an empty executable.
   11660 	cat >conftest.$ac_ext <<_ACEOF
   11661 /* confdefs.h.  */
   11662 _ACEOF
   11663 cat confdefs.h >>conftest.$ac_ext
   11664 cat >>conftest.$ac_ext <<_ACEOF
   11665 /* end confdefs.h.  */
   11666 
   11667 int
   11668 main ()
   11669 {
   11670 
   11671   ;
   11672   return 0;
   11673 }
   11674 _ACEOF
   11675 rm -f conftest.$ac_objext conftest$ac_exeext
   11676 if { (ac_try="$ac_link"
   11677 case "(($ac_try" in
   11678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11679   *) ac_try_echo=$ac_try;;
   11680 esac
   11681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11682 $as_echo "$ac_try_echo") >&5
   11683   (eval "$ac_link") 2>conftest.er1
   11684   ac_status=$?
   11685   grep -v '^ *+' conftest.er1 >conftest.err
   11686   rm -f conftest.er1
   11687   cat conftest.err >&5
   11688   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11689   (exit $ac_status); } && {
   11690 	 test -z "$ac_cxx_werror_flag" ||
   11691 	 test ! -s conftest.err
   11692        } && test -s conftest$ac_exeext && {
   11693 	 test "$cross_compiling" = yes ||
   11694 	 $as_test_x conftest$ac_exeext
   11695        }; then
   11696 
   11697 lt_aix_libpath_sed='
   11698     /Import File Strings/,/^$/ {
   11699 	/^0/ {
   11700 	    s/^0  *\(.*\)$/\1/
   11701 	    p
   11702 	}
   11703     }'
   11704 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11705 # Check for a 64-bit object if we didn't find anything.
   11706 if test -z "$aix_libpath"; then
   11707   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11708 fi
   11709 else
   11710   $as_echo "$as_me: failed program was:" >&5
   11711 sed 's/^/| /' conftest.$ac_ext >&5
   11712 
   11713 
   11714 fi
   11715 
   11716 rm -rf conftest.dSYM
   11717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11718       conftest$ac_exeext conftest.$ac_ext
   11719 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11720 
   11721 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11722 	# Warning - without using the other run time loading flags,
   11723 	# -berok will link without error, but may produce a broken library.
   11724 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11725 	allow_undefined_flag_CXX=' ${wl}-berok'
   11726 	# Exported symbols can be pulled into shared objects from archives
   11727 	whole_archive_flag_spec_CXX='$convenience'
   11728 	archive_cmds_need_lc_CXX=yes
   11729 	# This is similar to how AIX traditionally builds its shared libraries.
   11730 	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'
   11731       fi
   11732     fi
   11733     ;;
   11734 
   11735   beos*)
   11736     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11737       allow_undefined_flag_CXX=unsupported
   11738       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11739       # support --undefined.  This deserves some investigation.  FIXME
   11740       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11741     else
   11742       ld_shlibs_CXX=no
   11743     fi
   11744     ;;
   11745 
   11746   chorus*)
   11747     case $cc_basename in
   11748       *)
   11749 	# FIXME: insert proper C++ library support
   11750 	ld_shlibs_CXX=no
   11751 	;;
   11752     esac
   11753     ;;
   11754 
   11755   cygwin* | mingw* | pw32*)
   11756     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11757     # as there is no search path for DLLs.
   11758     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11759     allow_undefined_flag_CXX=unsupported
   11760     always_export_symbols_CXX=no
   11761     enable_shared_with_static_runtimes_CXX=yes
   11762 
   11763     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11764       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'
   11765       # If the export-symbols file already is a .def file (1st line
   11766       # is EXPORTS), use it as is; otherwise, prepend...
   11767       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11768 	cp $export_symbols $output_objdir/$soname.def;
   11769       else
   11770 	echo EXPORTS > $output_objdir/$soname.def;
   11771 	cat $export_symbols >> $output_objdir/$soname.def;
   11772       fi~
   11773       $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'
   11774     else
   11775       ld_shlibs_CXX=no
   11776     fi
   11777   ;;
   11778       darwin* | rhapsody*)
   11779       archive_cmds_need_lc_CXX=no
   11780       hardcode_direct_CXX=no
   11781       hardcode_automatic_CXX=yes
   11782       hardcode_shlibpath_var_CXX=unsupported
   11783       whole_archive_flag_spec_CXX=''
   11784       link_all_deplibs_CXX=yes
   11785       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11786       if test "$GXX" = yes ; then
   11787       output_verbose_link_cmd='echo'
   11788       archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   11789       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11790       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   11791       module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   11792       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11793         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${_lt_dsymutil}"
   11794         archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
   11795       fi
   11796       else
   11797       case $cc_basename in
   11798         xlc*)
   11799          output_verbose_link_cmd='echo'
   11800           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   11801           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11802           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11803           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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11804           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}'
   11805           ;;
   11806        *)
   11807          ld_shlibs_CXX=no
   11808           ;;
   11809       esac
   11810       fi
   11811         ;;
   11812 
   11813   dgux*)
   11814     case $cc_basename in
   11815       ec++*)
   11816 	# FIXME: insert proper C++ library support
   11817 	ld_shlibs_CXX=no
   11818 	;;
   11819       ghcx*)
   11820 	# Green Hills C++ Compiler
   11821 	# FIXME: insert proper C++ library support
   11822 	ld_shlibs_CXX=no
   11823 	;;
   11824       *)
   11825 	# FIXME: insert proper C++ library support
   11826 	ld_shlibs_CXX=no
   11827 	;;
   11828     esac
   11829     ;;
   11830   freebsd[12]*)
   11831     # C++ shared libraries reported to be fairly broken before switch to ELF
   11832     ld_shlibs_CXX=no
   11833     ;;
   11834   freebsd-elf*)
   11835     archive_cmds_need_lc_CXX=no
   11836     ;;
   11837   freebsd* | dragonfly*)
   11838     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11839     # conventions
   11840     ld_shlibs_CXX=yes
   11841     ;;
   11842   gnu*)
   11843     ;;
   11844   hpux9*)
   11845     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11846     hardcode_libdir_separator_CXX=:
   11847     export_dynamic_flag_spec_CXX='${wl}-E'
   11848     hardcode_direct_CXX=yes
   11849     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11850 				# but as the default
   11851 				# location of the library.
   11852 
   11853     case $cc_basename in
   11854     CC*)
   11855       # FIXME: insert proper C++ library support
   11856       ld_shlibs_CXX=no
   11857       ;;
   11858     aCC*)
   11859       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'
   11860       # Commands to make compiler produce verbose output that lists
   11861       # what "hidden" libraries, object files and flags are used when
   11862       # linking a shared library.
   11863       #
   11864       # There doesn't appear to be a way to prevent this compiler from
   11865       # explicitly linking system object files so we need to strip them
   11866       # from the output so that they don't get included in the library
   11867       # dependencies.
   11868       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'
   11869       ;;
   11870     *)
   11871       if test "$GXX" = yes; then
   11872         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'
   11873       else
   11874         # FIXME: insert proper C++ library support
   11875         ld_shlibs_CXX=no
   11876       fi
   11877       ;;
   11878     esac
   11879     ;;
   11880   hpux10*|hpux11*)
   11881     if test $with_gnu_ld = no; then
   11882       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11883       hardcode_libdir_separator_CXX=:
   11884 
   11885       case $host_cpu in
   11886       hppa*64*|ia64*) ;;
   11887       *)
   11888 	export_dynamic_flag_spec_CXX='${wl}-E'
   11889         ;;
   11890       esac
   11891     fi
   11892     case $host_cpu in
   11893     hppa*64*|ia64*)
   11894       hardcode_direct_CXX=no
   11895       hardcode_shlibpath_var_CXX=no
   11896       ;;
   11897     *)
   11898       hardcode_direct_CXX=yes
   11899       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11900 					      # but as the default
   11901 					      # location of the library.
   11902       ;;
   11903     esac
   11904 
   11905     case $cc_basename in
   11906       CC*)
   11907 	# FIXME: insert proper C++ library support
   11908 	ld_shlibs_CXX=no
   11909 	;;
   11910       aCC*)
   11911 	case $host_cpu in
   11912 	hppa*64*)
   11913 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11914 	  ;;
   11915 	ia64*)
   11916 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11917 	  ;;
   11918 	*)
   11919 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11920 	  ;;
   11921 	esac
   11922 	# Commands to make compiler produce verbose output that lists
   11923 	# what "hidden" libraries, object files and flags are used when
   11924 	# linking a shared library.
   11925 	#
   11926 	# There doesn't appear to be a way to prevent this compiler from
   11927 	# explicitly linking system object files so we need to strip them
   11928 	# from the output so that they don't get included in the library
   11929 	# dependencies.
   11930 	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'
   11931 	;;
   11932       *)
   11933 	if test "$GXX" = yes; then
   11934 	  if test $with_gnu_ld = no; then
   11935 	    case $host_cpu in
   11936 	    hppa*64*)
   11937 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11938 	      ;;
   11939 	    ia64*)
   11940 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11941 	      ;;
   11942 	    *)
   11943 	      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'
   11944 	      ;;
   11945 	    esac
   11946 	  fi
   11947 	else
   11948 	  # FIXME: insert proper C++ library support
   11949 	  ld_shlibs_CXX=no
   11950 	fi
   11951 	;;
   11952     esac
   11953     ;;
   11954   interix[3-9]*)
   11955     hardcode_direct_CXX=no
   11956     hardcode_shlibpath_var_CXX=no
   11957     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11958     export_dynamic_flag_spec_CXX='${wl}-E'
   11959     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11960     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11961     # default) and relocated if they conflict, which is a slow very memory
   11962     # consuming and fragmenting process.  To avoid this, we pick a random,
   11963     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11964     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11965     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'
   11966     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'
   11967     ;;
   11968   irix5* | irix6*)
   11969     case $cc_basename in
   11970       CC*)
   11971 	# SGI C++
   11972 	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'
   11973 
   11974 	# Archives containing C++ object files must be created using
   11975 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11976 	# necessary to make sure instantiated templates are included
   11977 	# in the archive.
   11978 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11979 	;;
   11980       *)
   11981 	if test "$GXX" = yes; then
   11982 	  if test "$with_gnu_ld" = no; then
   11983 	    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'
   11984 	  else
   11985 	    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'
   11986 	  fi
   11987 	fi
   11988 	link_all_deplibs_CXX=yes
   11989 	;;
   11990     esac
   11991     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11992     hardcode_libdir_separator_CXX=:
   11993     ;;
   11994   linux* | k*bsd*-gnu)
   11995     case $cc_basename in
   11996       KCC*)
   11997 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11998 
   11999 	# KCC will only create a shared library if the output file
   12000 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12001 	# to its proper name (with version) after linking.
   12002 	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'
   12003 	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'
   12004 	# Commands to make compiler produce verbose output that lists
   12005 	# what "hidden" libraries, object files and flags are used when
   12006 	# linking a shared library.
   12007 	#
   12008 	# There doesn't appear to be a way to prevent this compiler from
   12009 	# explicitly linking system object files so we need to strip them
   12010 	# from the output so that they don't get included in the library
   12011 	# dependencies.
   12012 	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'
   12013 
   12014 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12015 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12016 
   12017 	# Archives containing C++ object files must be created using
   12018 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12019 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12020 	;;
   12021       icpc*)
   12022 	# Intel C++
   12023 	with_gnu_ld=yes
   12024 	# version 8.0 and above of icpc choke on multiply defined symbols
   12025 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12026 	# earlier do not add the objects themselves.
   12027 	case `$CC -V 2>&1` in
   12028 	*"Version 7."*)
   12029   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12030   	  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'
   12031 	  ;;
   12032 	*)  # Version 8.0 or newer
   12033 	  tmp_idyn=
   12034 	  case $host_cpu in
   12035 	    ia64*) tmp_idyn=' -i_dynamic';;
   12036 	  esac
   12037   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12038 	  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'
   12039 	  ;;
   12040 	esac
   12041 	archive_cmds_need_lc_CXX=no
   12042 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12043 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12044 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12045 	;;
   12046       pgCC* | pgcpp*)
   12047         # Portland Group C++ compiler
   12048 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12049   	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'
   12050 
   12051 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12052 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12053 	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'
   12054         ;;
   12055       cxx*)
   12056 	# Compaq C++
   12057 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12058 	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'
   12059 
   12060 	runpath_var=LD_RUN_PATH
   12061 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12062 	hardcode_libdir_separator_CXX=:
   12063 
   12064 	# Commands to make compiler produce verbose output that lists
   12065 	# what "hidden" libraries, object files and flags are used when
   12066 	# linking a shared library.
   12067 	#
   12068 	# There doesn't appear to be a way to prevent this compiler from
   12069 	# explicitly linking system object files so we need to strip them
   12070 	# from the output so that they don't get included in the library
   12071 	# dependencies.
   12072 	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'
   12073 	;;
   12074       *)
   12075 	case `$CC -V 2>&1 | sed 5q` in
   12076 	*Sun\ C*)
   12077 	  # Sun C++ 5.9
   12078 	  no_undefined_flag_CXX=' -zdefs'
   12079 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12080 	  archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
   12081 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12082 	  whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   12083 
   12084 	  # Not sure whether something based on
   12085 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12086 	  # would be better.
   12087 	  output_verbose_link_cmd='echo'
   12088 
   12089 	  # Archives containing C++ object files must be created using
   12090 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12091 	  # necessary to make sure instantiated templates are included
   12092 	  # in the archive.
   12093 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12094 	  ;;
   12095 	esac
   12096 	;;
   12097     esac
   12098     ;;
   12099   lynxos*)
   12100     # FIXME: insert proper C++ library support
   12101     ld_shlibs_CXX=no
   12102     ;;
   12103   m88k*)
   12104     # FIXME: insert proper C++ library support
   12105     ld_shlibs_CXX=no
   12106     ;;
   12107   mvs*)
   12108     case $cc_basename in
   12109       cxx*)
   12110 	# FIXME: insert proper C++ library support
   12111 	ld_shlibs_CXX=no
   12112 	;;
   12113       *)
   12114 	# FIXME: insert proper C++ library support
   12115 	ld_shlibs_CXX=no
   12116 	;;
   12117     esac
   12118     ;;
   12119   netbsd*)
   12120     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12121       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12122       wlarc=
   12123       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12124       hardcode_direct_CXX=yes
   12125       hardcode_shlibpath_var_CXX=no
   12126     fi
   12127     # Workaround some broken pre-1.5 toolchains
   12128     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12129     ;;
   12130   openbsd2*)
   12131     # C++ shared libraries are fairly broken
   12132     ld_shlibs_CXX=no
   12133     ;;
   12134   openbsd*)
   12135     if test -f /usr/libexec/ld.so; then
   12136       hardcode_direct_CXX=yes
   12137       hardcode_shlibpath_var_CXX=no
   12138       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12139       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12140       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12141 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12142 	export_dynamic_flag_spec_CXX='${wl}-E'
   12143 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12144       fi
   12145       output_verbose_link_cmd='echo'
   12146     else
   12147       ld_shlibs_CXX=no
   12148     fi
   12149     ;;
   12150   osf3*)
   12151     case $cc_basename in
   12152       KCC*)
   12153 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12154 
   12155 	# KCC will only create a shared library if the output file
   12156 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12157 	# to its proper name (with version) after linking.
   12158 	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'
   12159 
   12160 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12161 	hardcode_libdir_separator_CXX=:
   12162 
   12163 	# Archives containing C++ object files must be created using
   12164 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12165 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12166 
   12167 	;;
   12168       RCC*)
   12169 	# Rational C++ 2.4.1
   12170 	# FIXME: insert proper C++ library support
   12171 	ld_shlibs_CXX=no
   12172 	;;
   12173       cxx*)
   12174 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12175 	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'
   12176 
   12177 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12178 	hardcode_libdir_separator_CXX=:
   12179 
   12180 	# Commands to make compiler produce verbose output that lists
   12181 	# what "hidden" libraries, object files and flags are used when
   12182 	# linking a shared library.
   12183 	#
   12184 	# There doesn't appear to be a way to prevent this compiler from
   12185 	# explicitly linking system object files so we need to strip them
   12186 	# from the output so that they don't get included in the library
   12187 	# dependencies.
   12188 	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'
   12189 	;;
   12190       *)
   12191 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12192 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12193 	  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'
   12194 
   12195 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12196 	  hardcode_libdir_separator_CXX=:
   12197 
   12198 	  # Commands to make compiler produce verbose output that lists
   12199 	  # what "hidden" libraries, object files and flags are used when
   12200 	  # linking a shared library.
   12201 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12202 
   12203 	else
   12204 	  # FIXME: insert proper C++ library support
   12205 	  ld_shlibs_CXX=no
   12206 	fi
   12207 	;;
   12208     esac
   12209     ;;
   12210   osf4* | osf5*)
   12211     case $cc_basename in
   12212       KCC*)
   12213 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12214 
   12215 	# KCC will only create a shared library if the output file
   12216 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12217 	# to its proper name (with version) after linking.
   12218 	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'
   12219 
   12220 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12221 	hardcode_libdir_separator_CXX=:
   12222 
   12223 	# Archives containing C++ object files must be created using
   12224 	# the KAI C++ compiler.
   12225 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12226 	;;
   12227       RCC*)
   12228 	# Rational C++ 2.4.1
   12229 	# FIXME: insert proper C++ library support
   12230 	ld_shlibs_CXX=no
   12231 	;;
   12232       cxx*)
   12233 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12234 	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'
   12235 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12236 	  echo "-hidden">> $lib.exp~
   12237 	  $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~
   12238 	  $rm $lib.exp'
   12239 
   12240 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12241 	hardcode_libdir_separator_CXX=:
   12242 
   12243 	# Commands to make compiler produce verbose output that lists
   12244 	# what "hidden" libraries, object files and flags are used when
   12245 	# linking a shared library.
   12246 	#
   12247 	# There doesn't appear to be a way to prevent this compiler from
   12248 	# explicitly linking system object files so we need to strip them
   12249 	# from the output so that they don't get included in the library
   12250 	# dependencies.
   12251 	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'
   12252 	;;
   12253       *)
   12254 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12255 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12256 	 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'
   12257 
   12258 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12259 	  hardcode_libdir_separator_CXX=:
   12260 
   12261 	  # Commands to make compiler produce verbose output that lists
   12262 	  # what "hidden" libraries, object files and flags are used when
   12263 	  # linking a shared library.
   12264 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12265 
   12266 	else
   12267 	  # FIXME: insert proper C++ library support
   12268 	  ld_shlibs_CXX=no
   12269 	fi
   12270 	;;
   12271     esac
   12272     ;;
   12273   psos*)
   12274     # FIXME: insert proper C++ library support
   12275     ld_shlibs_CXX=no
   12276     ;;
   12277   sunos4*)
   12278     case $cc_basename in
   12279       CC*)
   12280 	# Sun C++ 4.x
   12281 	# FIXME: insert proper C++ library support
   12282 	ld_shlibs_CXX=no
   12283 	;;
   12284       lcc*)
   12285 	# Lucid
   12286 	# FIXME: insert proper C++ library support
   12287 	ld_shlibs_CXX=no
   12288 	;;
   12289       *)
   12290 	# FIXME: insert proper C++ library support
   12291 	ld_shlibs_CXX=no
   12292 	;;
   12293     esac
   12294     ;;
   12295   solaris*)
   12296     case $cc_basename in
   12297       CC*)
   12298 	# Sun C++ 4.2, 5.x and Centerline C++
   12299         archive_cmds_need_lc_CXX=yes
   12300 	no_undefined_flag_CXX=' -zdefs'
   12301 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12302 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12303 	$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'
   12304 
   12305 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12306 	hardcode_shlibpath_var_CXX=no
   12307 	case $host_os in
   12308 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12309 	  *)
   12310 	    # The compiler driver will combine and reorder linker options,
   12311 	    # but understands `-z linker_flag'.
   12312 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12313 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12314 	    ;;
   12315 	esac
   12316 	link_all_deplibs_CXX=yes
   12317 
   12318 	output_verbose_link_cmd='echo'
   12319 
   12320 	# Archives containing C++ object files must be created using
   12321 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12322 	# necessary to make sure instantiated templates are included
   12323 	# in the archive.
   12324 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12325 	;;
   12326       gcx*)
   12327 	# Green Hills C++ Compiler
   12328 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12329 
   12330 	# The C++ compiler must be used to create the archive.
   12331 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12332 	;;
   12333       *)
   12334 	# GNU C++ compiler with Solaris linker
   12335 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12336 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12337 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12338 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12339 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12340 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12341 
   12342 	    # Commands to make compiler produce verbose output that lists
   12343 	    # what "hidden" libraries, object files and flags are used when
   12344 	    # linking a shared library.
   12345 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12346 	  else
   12347 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12348 	    # platform.
   12349 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12350 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12351 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12352 
   12353 	    # Commands to make compiler produce verbose output that lists
   12354 	    # what "hidden" libraries, object files and flags are used when
   12355 	    # linking a shared library.
   12356 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12357 	  fi
   12358 
   12359 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12360 	  case $host_os in
   12361 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12362 	  *)
   12363 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12364 	    ;;
   12365 	  esac
   12366 	fi
   12367 	;;
   12368     esac
   12369     ;;
   12370   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12371     no_undefined_flag_CXX='${wl}-z,text'
   12372     archive_cmds_need_lc_CXX=no
   12373     hardcode_shlibpath_var_CXX=no
   12374     runpath_var='LD_RUN_PATH'
   12375 
   12376     case $cc_basename in
   12377       CC*)
   12378 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12379 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12380 	;;
   12381       *)
   12382 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12383 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12384 	;;
   12385     esac
   12386     ;;
   12387   sysv5* | sco3.2v5* | sco5v6*)
   12388     # Note: We can NOT use -z defs as we might desire, because we do not
   12389     # link with -lc, and that would cause any symbols used from libc to
   12390     # always be unresolved, which means just about no library would
   12391     # ever link correctly.  If we're not using GNU ld we use -z text
   12392     # though, which does catch some bad symbols but isn't as heavy-handed
   12393     # as -z defs.
   12394     # For security reasons, it is highly recommended that you always
   12395     # use absolute paths for naming shared libraries, and exclude the
   12396     # DT_RUNPATH tag from executables and libraries.  But doing so
   12397     # requires that you compile everything twice, which is a pain.
   12398     # So that behaviour is only enabled if SCOABSPATH is set to a
   12399     # non-empty value in the environment.  Most likely only useful for
   12400     # creating official distributions of packages.
   12401     # This is a hack until libtool officially supports absolute path
   12402     # names for shared libraries.
   12403     no_undefined_flag_CXX='${wl}-z,text'
   12404     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12405     archive_cmds_need_lc_CXX=no
   12406     hardcode_shlibpath_var_CXX=no
   12407     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12408     hardcode_libdir_separator_CXX=':'
   12409     link_all_deplibs_CXX=yes
   12410     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12411     runpath_var='LD_RUN_PATH'
   12412 
   12413     case $cc_basename in
   12414       CC*)
   12415 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12416 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12417 	;;
   12418       *)
   12419 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12420 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12421 	;;
   12422     esac
   12423     ;;
   12424   tandem*)
   12425     case $cc_basename in
   12426       NCC*)
   12427 	# NonStop-UX NCC 3.20
   12428 	# FIXME: insert proper C++ library support
   12429 	ld_shlibs_CXX=no
   12430 	;;
   12431       *)
   12432 	# FIXME: insert proper C++ library support
   12433 	ld_shlibs_CXX=no
   12434 	;;
   12435     esac
   12436     ;;
   12437   vxworks*)
   12438     # FIXME: insert proper C++ library support
   12439     ld_shlibs_CXX=no
   12440     ;;
   12441   *)
   12442     # FIXME: insert proper C++ library support
   12443     ld_shlibs_CXX=no
   12444     ;;
   12445 esac
   12446 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12447 $as_echo "$ld_shlibs_CXX" >&6; }
   12448 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12449 
   12450 GCC_CXX="$GXX"
   12451 LD_CXX="$LD"
   12452 
   12453 cat > conftest.$ac_ext <<EOF
   12454 class Foo
   12455 {
   12456 public:
   12457   Foo (void) { a = 0; }
   12458 private:
   12459   int a;
   12460 };
   12461 EOF
   12462 
   12463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12464   (eval $ac_compile) 2>&5
   12465   ac_status=$?
   12466   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12467   (exit $ac_status); }; then
   12468   # Parse the compiler output and extract the necessary
   12469   # objects, libraries and library flags.
   12470 
   12471   # Sentinel used to keep track of whether or not we are before
   12472   # the conftest object file.
   12473   pre_test_object_deps_done=no
   12474 
   12475   # The `*' in the case matches for architectures that use `case' in
   12476   # $output_verbose_cmd can trigger glob expansion during the loop
   12477   # eval without this substitution.
   12478   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12479 
   12480   for p in `eval $output_verbose_link_cmd`; do
   12481     case $p in
   12482 
   12483     -L* | -R* | -l*)
   12484        # Some compilers place space between "-{L,R}" and the path.
   12485        # Remove the space.
   12486        if test $p = "-L" \
   12487 	  || test $p = "-R"; then
   12488 	 prev=$p
   12489 	 continue
   12490        else
   12491 	 prev=
   12492        fi
   12493 
   12494        if test "$pre_test_object_deps_done" = no; then
   12495 	 case $p in
   12496 	 -L* | -R*)
   12497 	   # Internal compiler library paths should come after those
   12498 	   # provided the user.  The postdeps already come after the
   12499 	   # user supplied libs so there is no need to process them.
   12500 	   if test -z "$compiler_lib_search_path_CXX"; then
   12501 	     compiler_lib_search_path_CXX="${prev}${p}"
   12502 	   else
   12503 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12504 	   fi
   12505 	   ;;
   12506 	 # The "-l" case would never come before the object being
   12507 	 # linked, so don't bother handling this case.
   12508 	 esac
   12509        else
   12510 	 if test -z "$postdeps_CXX"; then
   12511 	   postdeps_CXX="${prev}${p}"
   12512 	 else
   12513 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12514 	 fi
   12515        fi
   12516        ;;
   12517 
   12518     *.$objext)
   12519        # This assumes that the test object file only shows up
   12520        # once in the compiler output.
   12521        if test "$p" = "conftest.$objext"; then
   12522 	 pre_test_object_deps_done=yes
   12523 	 continue
   12524        fi
   12525 
   12526        if test "$pre_test_object_deps_done" = no; then
   12527 	 if test -z "$predep_objects_CXX"; then
   12528 	   predep_objects_CXX="$p"
   12529 	 else
   12530 	   predep_objects_CXX="$predep_objects_CXX $p"
   12531 	 fi
   12532        else
   12533 	 if test -z "$postdep_objects_CXX"; then
   12534 	   postdep_objects_CXX="$p"
   12535 	 else
   12536 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12537 	 fi
   12538        fi
   12539        ;;
   12540 
   12541     *) ;; # Ignore the rest.
   12542 
   12543     esac
   12544   done
   12545 
   12546   # Clean up.
   12547   rm -f a.out a.exe
   12548 else
   12549   echo "libtool.m4: error: problem compiling CXX test program"
   12550 fi
   12551 
   12552 $rm -f confest.$objext
   12553 
   12554 compiler_lib_search_dirs_CXX=
   12555 if test -n "$compiler_lib_search_path_CXX"; then
   12556   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12557 fi
   12558 
   12559 # PORTME: override above test on systems where it is broken
   12560 case $host_os in
   12561 interix[3-9]*)
   12562   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12563   # hack all around it, let's just trust "g++" to DTRT.
   12564   predep_objects_CXX=
   12565   postdep_objects_CXX=
   12566   postdeps_CXX=
   12567   ;;
   12568 
   12569 linux*)
   12570   case `$CC -V 2>&1 | sed 5q` in
   12571   *Sun\ C*)
   12572     # Sun C++ 5.9
   12573     #
   12574     # The more standards-conforming stlport4 library is
   12575     # incompatible with the Cstd library. Avoid specifying
   12576     # it if it's in CXXFLAGS. Ignore libCrun as
   12577     # -library=stlport4 depends on it.
   12578     case " $CXX $CXXFLAGS " in
   12579     *" -library=stlport4 "*)
   12580       solaris_use_stlport4=yes
   12581       ;;
   12582     esac
   12583     if test "$solaris_use_stlport4" != yes; then
   12584       postdeps_CXX='-library=Cstd -library=Crun'
   12585     fi
   12586     ;;
   12587   esac
   12588   ;;
   12589 
   12590 solaris*)
   12591   case $cc_basename in
   12592   CC*)
   12593     # The more standards-conforming stlport4 library is
   12594     # incompatible with the Cstd library. Avoid specifying
   12595     # it if it's in CXXFLAGS. Ignore libCrun as
   12596     # -library=stlport4 depends on it.
   12597     case " $CXX $CXXFLAGS " in
   12598     *" -library=stlport4 "*)
   12599       solaris_use_stlport4=yes
   12600       ;;
   12601     esac
   12602 
   12603     # Adding this requires a known-good setup of shared libraries for
   12604     # Sun compiler versions before 5.6, else PIC objects from an old
   12605     # archive will be linked into the output, leading to subtle bugs.
   12606     if test "$solaris_use_stlport4" != yes; then
   12607       postdeps_CXX='-library=Cstd -library=Crun'
   12608     fi
   12609     ;;
   12610   esac
   12611   ;;
   12612 esac
   12613 
   12614 case " $postdeps_CXX " in
   12615 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12616 esac
   12617 
   12618 lt_prog_compiler_wl_CXX=
   12619 lt_prog_compiler_pic_CXX=
   12620 lt_prog_compiler_static_CXX=
   12621 
   12622 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12623 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12624 
   12625   # C++ specific cases for pic, static, wl, etc.
   12626   if test "$GXX" = yes; then
   12627     lt_prog_compiler_wl_CXX='-Wl,'
   12628     lt_prog_compiler_static_CXX='-static'
   12629 
   12630     case $host_os in
   12631     aix*)
   12632       # All AIX code is PIC.
   12633       if test "$host_cpu" = ia64; then
   12634 	# AIX 5 now supports IA64 processor
   12635 	lt_prog_compiler_static_CXX='-Bstatic'
   12636       fi
   12637       ;;
   12638     amigaos*)
   12639       # FIXME: we need at least 68020 code to build shared libraries, but
   12640       # adding the `-m68020' flag to GCC prevents building anything better,
   12641       # like `-m68040'.
   12642       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12643       ;;
   12644     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12645       # PIC is the default for these OSes.
   12646       ;;
   12647     mingw* | cygwin* | os2* | pw32*)
   12648       # This hack is so that the source file can tell whether it is being
   12649       # built for inclusion in a dll (and should export symbols for example).
   12650       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12651       # (--disable-auto-import) libraries
   12652       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12653       ;;
   12654     darwin* | rhapsody*)
   12655       # PIC is the default on this platform
   12656       # Common symbols not allowed in MH_DYLIB files
   12657       lt_prog_compiler_pic_CXX='-fno-common'
   12658       ;;
   12659     *djgpp*)
   12660       # DJGPP does not support shared libraries at all
   12661       lt_prog_compiler_pic_CXX=
   12662       ;;
   12663     interix[3-9]*)
   12664       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12665       # Instead, we relocate shared libraries at runtime.
   12666       ;;
   12667     sysv4*MP*)
   12668       if test -d /usr/nec; then
   12669 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12670       fi
   12671       ;;
   12672     hpux*)
   12673       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12674       # not for PA HP-UX.
   12675       case $host_cpu in
   12676       hppa*64*|ia64*)
   12677 	;;
   12678       *)
   12679 	lt_prog_compiler_pic_CXX='-fPIC'
   12680 	;;
   12681       esac
   12682       ;;
   12683     *)
   12684       lt_prog_compiler_pic_CXX='-fPIC'
   12685       ;;
   12686     esac
   12687   else
   12688     case $host_os in
   12689       aix[4-9]*)
   12690 	# All AIX code is PIC.
   12691 	if test "$host_cpu" = ia64; then
   12692 	  # AIX 5 now supports IA64 processor
   12693 	  lt_prog_compiler_static_CXX='-Bstatic'
   12694 	else
   12695 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12696 	fi
   12697 	;;
   12698       chorus*)
   12699 	case $cc_basename in
   12700 	cxch68*)
   12701 	  # Green Hills C++ Compiler
   12702 	  # _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"
   12703 	  ;;
   12704 	esac
   12705 	;;
   12706        darwin*)
   12707          # PIC is the default on this platform
   12708          # Common symbols not allowed in MH_DYLIB files
   12709          case $cc_basename in
   12710            xlc*)
   12711            lt_prog_compiler_pic_CXX='-qnocommon'
   12712            lt_prog_compiler_wl_CXX='-Wl,'
   12713            ;;
   12714          esac
   12715        ;;
   12716       dgux*)
   12717 	case $cc_basename in
   12718 	  ec++*)
   12719 	    lt_prog_compiler_pic_CXX='-KPIC'
   12720 	    ;;
   12721 	  ghcx*)
   12722 	    # Green Hills C++ Compiler
   12723 	    lt_prog_compiler_pic_CXX='-pic'
   12724 	    ;;
   12725 	  *)
   12726 	    ;;
   12727 	esac
   12728 	;;
   12729       freebsd* | dragonfly*)
   12730 	# FreeBSD uses GNU C++
   12731 	;;
   12732       hpux9* | hpux10* | hpux11*)
   12733 	case $cc_basename in
   12734 	  CC*)
   12735 	    lt_prog_compiler_wl_CXX='-Wl,'
   12736 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12737 	    if test "$host_cpu" != ia64; then
   12738 	      lt_prog_compiler_pic_CXX='+Z'
   12739 	    fi
   12740 	    ;;
   12741 	  aCC*)
   12742 	    lt_prog_compiler_wl_CXX='-Wl,'
   12743 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12744 	    case $host_cpu in
   12745 	    hppa*64*|ia64*)
   12746 	      # +Z the default
   12747 	      ;;
   12748 	    *)
   12749 	      lt_prog_compiler_pic_CXX='+Z'
   12750 	      ;;
   12751 	    esac
   12752 	    ;;
   12753 	  *)
   12754 	    ;;
   12755 	esac
   12756 	;;
   12757       interix*)
   12758 	# This is c89, which is MS Visual C++ (no shared libs)
   12759 	# Anyone wants to do a port?
   12760 	;;
   12761       irix5* | irix6* | nonstopux*)
   12762 	case $cc_basename in
   12763 	  CC*)
   12764 	    lt_prog_compiler_wl_CXX='-Wl,'
   12765 	    lt_prog_compiler_static_CXX='-non_shared'
   12766 	    # CC pic flag -KPIC is the default.
   12767 	    ;;
   12768 	  *)
   12769 	    ;;
   12770 	esac
   12771 	;;
   12772       linux* | k*bsd*-gnu)
   12773 	case $cc_basename in
   12774 	  KCC*)
   12775 	    # KAI C++ Compiler
   12776 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12777 	    lt_prog_compiler_pic_CXX='-fPIC'
   12778 	    ;;
   12779 	  icpc* | ecpc*)
   12780 	    # Intel C++
   12781 	    lt_prog_compiler_wl_CXX='-Wl,'
   12782 	    lt_prog_compiler_pic_CXX='-KPIC'
   12783 	    lt_prog_compiler_static_CXX='-static'
   12784 	    ;;
   12785 	  pgCC* | pgcpp*)
   12786 	    # Portland Group C++ compiler.
   12787 	    lt_prog_compiler_wl_CXX='-Wl,'
   12788 	    lt_prog_compiler_pic_CXX='-fpic'
   12789 	    lt_prog_compiler_static_CXX='-Bstatic'
   12790 	    ;;
   12791 	  cxx*)
   12792 	    # Compaq C++
   12793 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12794 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12795 	    lt_prog_compiler_pic_CXX=
   12796 	    lt_prog_compiler_static_CXX='-non_shared'
   12797 	    ;;
   12798 	  *)
   12799 	    case `$CC -V 2>&1 | sed 5q` in
   12800 	    *Sun\ C*)
   12801 	      # Sun C++ 5.9
   12802 	      lt_prog_compiler_pic_CXX='-KPIC'
   12803 	      lt_prog_compiler_static_CXX='-Bstatic'
   12804 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12805 	      ;;
   12806 	    esac
   12807 	    ;;
   12808 	esac
   12809 	;;
   12810       lynxos*)
   12811 	;;
   12812       m88k*)
   12813 	;;
   12814       mvs*)
   12815 	case $cc_basename in
   12816 	  cxx*)
   12817 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12818 	    ;;
   12819 	  *)
   12820 	    ;;
   12821 	esac
   12822 	;;
   12823       netbsd*)
   12824 	;;
   12825       osf3* | osf4* | osf5*)
   12826 	case $cc_basename in
   12827 	  KCC*)
   12828 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12829 	    ;;
   12830 	  RCC*)
   12831 	    # Rational C++ 2.4.1
   12832 	    lt_prog_compiler_pic_CXX='-pic'
   12833 	    ;;
   12834 	  cxx*)
   12835 	    # Digital/Compaq C++
   12836 	    lt_prog_compiler_wl_CXX='-Wl,'
   12837 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12838 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12839 	    lt_prog_compiler_pic_CXX=
   12840 	    lt_prog_compiler_static_CXX='-non_shared'
   12841 	    ;;
   12842 	  *)
   12843 	    ;;
   12844 	esac
   12845 	;;
   12846       psos*)
   12847 	;;
   12848       solaris*)
   12849 	case $cc_basename in
   12850 	  CC*)
   12851 	    # Sun C++ 4.2, 5.x and Centerline C++
   12852 	    lt_prog_compiler_pic_CXX='-KPIC'
   12853 	    lt_prog_compiler_static_CXX='-Bstatic'
   12854 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12855 	    ;;
   12856 	  gcx*)
   12857 	    # Green Hills C++ Compiler
   12858 	    lt_prog_compiler_pic_CXX='-PIC'
   12859 	    ;;
   12860 	  *)
   12861 	    ;;
   12862 	esac
   12863 	;;
   12864       sunos4*)
   12865 	case $cc_basename in
   12866 	  CC*)
   12867 	    # Sun C++ 4.x
   12868 	    lt_prog_compiler_pic_CXX='-pic'
   12869 	    lt_prog_compiler_static_CXX='-Bstatic'
   12870 	    ;;
   12871 	  lcc*)
   12872 	    # Lucid
   12873 	    lt_prog_compiler_pic_CXX='-pic'
   12874 	    ;;
   12875 	  *)
   12876 	    ;;
   12877 	esac
   12878 	;;
   12879       tandem*)
   12880 	case $cc_basename in
   12881 	  NCC*)
   12882 	    # NonStop-UX NCC 3.20
   12883 	    lt_prog_compiler_pic_CXX='-KPIC'
   12884 	    ;;
   12885 	  *)
   12886 	    ;;
   12887 	esac
   12888 	;;
   12889       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12890 	case $cc_basename in
   12891 	  CC*)
   12892 	    lt_prog_compiler_wl_CXX='-Wl,'
   12893 	    lt_prog_compiler_pic_CXX='-KPIC'
   12894 	    lt_prog_compiler_static_CXX='-Bstatic'
   12895 	    ;;
   12896 	esac
   12897 	;;
   12898       vxworks*)
   12899 	;;
   12900       *)
   12901 	lt_prog_compiler_can_build_shared_CXX=no
   12902 	;;
   12903     esac
   12904   fi
   12905 
   12906 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12907 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12908 
   12909 #
   12910 # Check to make sure the PIC flag actually works.
   12911 #
   12912 if test -n "$lt_prog_compiler_pic_CXX"; then
   12913 
   12914 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12915 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12916 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12917   $as_echo_n "(cached) " >&6
   12918 else
   12919   lt_cv_prog_compiler_pic_works_CXX=no
   12920   ac_outfile=conftest.$ac_objext
   12921    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12922    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12923    # Insert the option either (1) after the last *FLAGS variable, or
   12924    # (2) before a word containing "conftest.", or (3) at the end.
   12925    # Note that $ac_compile itself does not contain backslashes and begins
   12926    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12927    # The option is referenced via a variable to avoid confusing sed.
   12928    lt_compile=`echo "$ac_compile" | $SED \
   12929    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12930    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12931    -e 's:$: $lt_compiler_flag:'`
   12932    (eval echo "\"\$as_me:12932: $lt_compile\"" >&5)
   12933    (eval "$lt_compile" 2>conftest.err)
   12934    ac_status=$?
   12935    cat conftest.err >&5
   12936    echo "$as_me:12936: \$? = $ac_status" >&5
   12937    if (exit $ac_status) && test -s "$ac_outfile"; then
   12938      # The compiler can only warn and ignore the option if not recognized
   12939      # So say no if there are warnings other than the usual output.
   12940      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12941      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12942      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12943        lt_cv_prog_compiler_pic_works_CXX=yes
   12944      fi
   12945    fi
   12946    $rm conftest*
   12947 
   12948 fi
   12949 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12950 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12951 
   12952 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12953     case $lt_prog_compiler_pic_CXX in
   12954      "" | " "*) ;;
   12955      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12956      esac
   12957 else
   12958     lt_prog_compiler_pic_CXX=
   12959      lt_prog_compiler_can_build_shared_CXX=no
   12960 fi
   12961 
   12962 fi
   12963 case $host_os in
   12964   # For platforms which do not support PIC, -DPIC is meaningless:
   12965   *djgpp*)
   12966     lt_prog_compiler_pic_CXX=
   12967     ;;
   12968   *)
   12969     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12970     ;;
   12971 esac
   12972 
   12973 #
   12974 # Check to make sure the static flag actually works.
   12975 #
   12976 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12977 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12978 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   12979 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   12980   $as_echo_n "(cached) " >&6
   12981 else
   12982   lt_cv_prog_compiler_static_works_CXX=no
   12983    save_LDFLAGS="$LDFLAGS"
   12984    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12985    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12986    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12987      # The linker can only warn and ignore the option if not recognized
   12988      # So say no if there are warnings
   12989      if test -s conftest.err; then
   12990        # Append any errors to the config.log.
   12991        cat conftest.err 1>&5
   12992        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12993        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12994        if diff conftest.exp conftest.er2 >/dev/null; then
   12995          lt_cv_prog_compiler_static_works_CXX=yes
   12996        fi
   12997      else
   12998        lt_cv_prog_compiler_static_works_CXX=yes
   12999      fi
   13000    fi
   13001    $rm -r conftest*
   13002    LDFLAGS="$save_LDFLAGS"
   13003 
   13004 fi
   13005 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13006 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13007 
   13008 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13009     :
   13010 else
   13011     lt_prog_compiler_static_CXX=
   13012 fi
   13013 
   13014 
   13015 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13016 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13017 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13018   $as_echo_n "(cached) " >&6
   13019 else
   13020   lt_cv_prog_compiler_c_o_CXX=no
   13021    $rm -r conftest 2>/dev/null
   13022    mkdir conftest
   13023    cd conftest
   13024    mkdir out
   13025    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13026 
   13027    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13028    # Insert the option either (1) after the last *FLAGS variable, or
   13029    # (2) before a word containing "conftest.", or (3) at the end.
   13030    # Note that $ac_compile itself does not contain backslashes and begins
   13031    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13032    lt_compile=`echo "$ac_compile" | $SED \
   13033    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13034    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13035    -e 's:$: $lt_compiler_flag:'`
   13036    (eval echo "\"\$as_me:13036: $lt_compile\"" >&5)
   13037    (eval "$lt_compile" 2>out/conftest.err)
   13038    ac_status=$?
   13039    cat out/conftest.err >&5
   13040    echo "$as_me:13040: \$? = $ac_status" >&5
   13041    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13042    then
   13043      # The compiler can only warn and ignore the option if not recognized
   13044      # So say no if there are warnings
   13045      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13046      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13047      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13048        lt_cv_prog_compiler_c_o_CXX=yes
   13049      fi
   13050    fi
   13051    chmod u+w . 2>&5
   13052    $rm conftest*
   13053    # SGI C++ compiler will create directory out/ii_files/ for
   13054    # template instantiation
   13055    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13056    $rm out/* && rmdir out
   13057    cd ..
   13058    rmdir conftest
   13059    $rm conftest*
   13060 
   13061 fi
   13062 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13063 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13064 
   13065 
   13066 hard_links="nottested"
   13067 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13068   # do not overwrite the value of need_locks provided by the user
   13069   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13070 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13071   hard_links=yes
   13072   $rm conftest*
   13073   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13074   touch conftest.a
   13075   ln conftest.a conftest.b 2>&5 || hard_links=no
   13076   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13077   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13078 $as_echo "$hard_links" >&6; }
   13079   if test "$hard_links" = no; then
   13080     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13081 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13082     need_locks=warn
   13083   fi
   13084 else
   13085   need_locks=no
   13086 fi
   13087 
   13088 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13089 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13090 
   13091   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13092   case $host_os in
   13093   aix[4-9]*)
   13094     # If we're using GNU nm, then we don't want the "-C" option.
   13095     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13096     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13097       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'
   13098     else
   13099       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'
   13100     fi
   13101     ;;
   13102   pw32*)
   13103     export_symbols_cmds_CXX="$ltdll_cmds"
   13104   ;;
   13105   cygwin* | mingw*)
   13106     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'
   13107   ;;
   13108   *)
   13109     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13110   ;;
   13111   esac
   13112   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13113 
   13114 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13115 $as_echo "$ld_shlibs_CXX" >&6; }
   13116 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13117 
   13118 #
   13119 # Do we need to explicitly link libc?
   13120 #
   13121 case "x$archive_cmds_need_lc_CXX" in
   13122 x|xyes)
   13123   # Assume -lc should be added
   13124   archive_cmds_need_lc_CXX=yes
   13125 
   13126   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13127     case $archive_cmds_CXX in
   13128     *'~'*)
   13129       # FIXME: we may have to deal with multi-command sequences.
   13130       ;;
   13131     '$CC '*)
   13132       # Test whether the compiler implicitly links with -lc since on some
   13133       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13134       # to ld, don't add -lc before -lgcc.
   13135       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13136 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13137       $rm conftest*
   13138       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13139 
   13140       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13141   (eval $ac_compile) 2>&5
   13142   ac_status=$?
   13143   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13144   (exit $ac_status); } 2>conftest.err; then
   13145         soname=conftest
   13146         lib=conftest
   13147         libobjs=conftest.$ac_objext
   13148         deplibs=
   13149         wl=$lt_prog_compiler_wl_CXX
   13150 	pic_flag=$lt_prog_compiler_pic_CXX
   13151         compiler_flags=-v
   13152         linker_flags=-v
   13153         verstring=
   13154         output_objdir=.
   13155         libname=conftest
   13156         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13157         allow_undefined_flag_CXX=
   13158         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13159   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13160   ac_status=$?
   13161   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13162   (exit $ac_status); }
   13163         then
   13164 	  archive_cmds_need_lc_CXX=no
   13165         else
   13166 	  archive_cmds_need_lc_CXX=yes
   13167         fi
   13168         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13169       else
   13170         cat conftest.err 1>&5
   13171       fi
   13172       $rm conftest*
   13173       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13174 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13175       ;;
   13176     esac
   13177   fi
   13178   ;;
   13179 esac
   13180 
   13181 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13182 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13183 library_names_spec=
   13184 libname_spec='lib$name'
   13185 soname_spec=
   13186 shrext_cmds=".so"
   13187 postinstall_cmds=
   13188 postuninstall_cmds=
   13189 finish_cmds=
   13190 finish_eval=
   13191 shlibpath_var=
   13192 shlibpath_overrides_runpath=unknown
   13193 version_type=none
   13194 dynamic_linker="$host_os ld.so"
   13195 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13196 
   13197 need_lib_prefix=unknown
   13198 hardcode_into_libs=no
   13199 
   13200 # when you set need_version to no, make sure it does not cause -set_version
   13201 # flags to be left without arguments
   13202 need_version=unknown
   13203 
   13204 case $host_os in
   13205 aix3*)
   13206   version_type=linux
   13207   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13208   shlibpath_var=LIBPATH
   13209 
   13210   # AIX 3 has no versioning support, so we append a major version to the name.
   13211   soname_spec='${libname}${release}${shared_ext}$major'
   13212   ;;
   13213 
   13214 aix[4-9]*)
   13215   version_type=linux
   13216   need_lib_prefix=no
   13217   need_version=no
   13218   hardcode_into_libs=yes
   13219   if test "$host_cpu" = ia64; then
   13220     # AIX 5 supports IA64
   13221     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13222     shlibpath_var=LD_LIBRARY_PATH
   13223   else
   13224     # With GCC up to 2.95.x, collect2 would create an import file
   13225     # for dependence libraries.  The import file would start with
   13226     # the line `#! .'.  This would cause the generated library to
   13227     # depend on `.', always an invalid library.  This was fixed in
   13228     # development snapshots of GCC prior to 3.0.
   13229     case $host_os in
   13230       aix4 | aix4.[01] | aix4.[01].*)
   13231       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13232 	   echo ' yes '
   13233 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13234 	:
   13235       else
   13236 	can_build_shared=no
   13237       fi
   13238       ;;
   13239     esac
   13240     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13241     # soname into executable. Probably we can add versioning support to
   13242     # collect2, so additional links can be useful in future.
   13243     if test "$aix_use_runtimelinking" = yes; then
   13244       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13245       # instead of lib<name>.a to let people know that these are not
   13246       # typical AIX shared libraries.
   13247       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13248     else
   13249       # We preserve .a as extension for shared libraries through AIX4.2
   13250       # and later when we are not doing run time linking.
   13251       library_names_spec='${libname}${release}.a $libname.a'
   13252       soname_spec='${libname}${release}${shared_ext}$major'
   13253     fi
   13254     shlibpath_var=LIBPATH
   13255   fi
   13256   ;;
   13257 
   13258 amigaos*)
   13259   library_names_spec='$libname.ixlibrary $libname.a'
   13260   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13261   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'
   13262   ;;
   13263 
   13264 beos*)
   13265   library_names_spec='${libname}${shared_ext}'
   13266   dynamic_linker="$host_os ld.so"
   13267   shlibpath_var=LIBRARY_PATH
   13268   ;;
   13269 
   13270 bsdi[45]*)
   13271   version_type=linux
   13272   need_version=no
   13273   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13274   soname_spec='${libname}${release}${shared_ext}$major'
   13275   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13276   shlibpath_var=LD_LIBRARY_PATH
   13277   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13278   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13279   # the default ld.so.conf also contains /usr/contrib/lib and
   13280   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13281   # libtool to hard-code these into programs
   13282   ;;
   13283 
   13284 cygwin* | mingw* | pw32*)
   13285   version_type=windows
   13286   shrext_cmds=".dll"
   13287   need_version=no
   13288   need_lib_prefix=no
   13289 
   13290   case $GCC,$host_os in
   13291   yes,cygwin* | yes,mingw* | yes,pw32*)
   13292     library_names_spec='$libname.dll.a'
   13293     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13294     postinstall_cmds='base_file=`basename \${file}`~
   13295       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13296       dldir=$destdir/`dirname \$dlpath`~
   13297       test -d \$dldir || mkdir -p \$dldir~
   13298       $install_prog $dir/$dlname \$dldir/$dlname~
   13299       chmod a+x \$dldir/$dlname'
   13300     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13301       dlpath=$dir/\$dldll~
   13302        $rm \$dlpath'
   13303     shlibpath_overrides_runpath=yes
   13304 
   13305     case $host_os in
   13306     cygwin*)
   13307       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13308       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13309       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13310       ;;
   13311     mingw*)
   13312       # MinGW DLLs use traditional 'lib' prefix
   13313       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13314       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13315       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13316         # It is most probably a Windows format PATH printed by
   13317         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13318         # path with ; separators, and with drive letters. We can handle the
   13319         # drive letters (cygwin fileutils understands them), so leave them,
   13320         # especially as we might pass files found there to a mingw objdump,
   13321         # which wouldn't understand a cygwinified path. Ahh.
   13322         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13323       else
   13324         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13325       fi
   13326       ;;
   13327     pw32*)
   13328       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13329       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13330       ;;
   13331     esac
   13332     ;;
   13333 
   13334   *)
   13335     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13336     ;;
   13337   esac
   13338   dynamic_linker='Win32 ld.exe'
   13339   # FIXME: first we should search . and the directory the executable is in
   13340   shlibpath_var=PATH
   13341   ;;
   13342 
   13343 darwin* | rhapsody*)
   13344   dynamic_linker="$host_os dyld"
   13345   version_type=darwin
   13346   need_lib_prefix=no
   13347   need_version=no
   13348   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13349   soname_spec='${libname}${release}${major}$shared_ext'
   13350   shlibpath_overrides_runpath=yes
   13351   shlibpath_var=DYLD_LIBRARY_PATH
   13352   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13353 
   13354   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13355   ;;
   13356 
   13357 dgux*)
   13358   version_type=linux
   13359   need_lib_prefix=no
   13360   need_version=no
   13361   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13362   soname_spec='${libname}${release}${shared_ext}$major'
   13363   shlibpath_var=LD_LIBRARY_PATH
   13364   ;;
   13365 
   13366 freebsd1*)
   13367   dynamic_linker=no
   13368   ;;
   13369 
   13370 freebsd* | dragonfly*)
   13371   # DragonFly does not have aout.  When/if they implement a new
   13372   # versioning mechanism, adjust this.
   13373   if test -x /usr/bin/objformat; then
   13374     objformat=`/usr/bin/objformat`
   13375   else
   13376     case $host_os in
   13377     freebsd[123]*) objformat=aout ;;
   13378     *) objformat=elf ;;
   13379     esac
   13380   fi
   13381   version_type=freebsd-$objformat
   13382   case $version_type in
   13383     freebsd-elf*)
   13384       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13385       need_version=no
   13386       need_lib_prefix=no
   13387       ;;
   13388     freebsd-*)
   13389       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13390       need_version=yes
   13391       ;;
   13392   esac
   13393   shlibpath_var=LD_LIBRARY_PATH
   13394   case $host_os in
   13395   freebsd2*)
   13396     shlibpath_overrides_runpath=yes
   13397     ;;
   13398   freebsd3.[01]* | freebsdelf3.[01]*)
   13399     shlibpath_overrides_runpath=yes
   13400     hardcode_into_libs=yes
   13401     ;;
   13402   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13403   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13404     shlibpath_overrides_runpath=no
   13405     hardcode_into_libs=yes
   13406     ;;
   13407   *) # from 4.6 on, and DragonFly
   13408     shlibpath_overrides_runpath=yes
   13409     hardcode_into_libs=yes
   13410     ;;
   13411   esac
   13412   ;;
   13413 
   13414 gnu*)
   13415   version_type=linux
   13416   need_lib_prefix=no
   13417   need_version=no
   13418   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13419   soname_spec='${libname}${release}${shared_ext}$major'
   13420   shlibpath_var=LD_LIBRARY_PATH
   13421   hardcode_into_libs=yes
   13422   ;;
   13423 
   13424 hpux9* | hpux10* | hpux11*)
   13425   # Give a soname corresponding to the major version so that dld.sl refuses to
   13426   # link against other versions.
   13427   version_type=sunos
   13428   need_lib_prefix=no
   13429   need_version=no
   13430   case $host_cpu in
   13431   ia64*)
   13432     shrext_cmds='.so'
   13433     hardcode_into_libs=yes
   13434     dynamic_linker="$host_os dld.so"
   13435     shlibpath_var=LD_LIBRARY_PATH
   13436     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13437     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13438     soname_spec='${libname}${release}${shared_ext}$major'
   13439     if test "X$HPUX_IA64_MODE" = X32; then
   13440       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13441     else
   13442       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13443     fi
   13444     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13445     ;;
   13446    hppa*64*)
   13447      shrext_cmds='.sl'
   13448      hardcode_into_libs=yes
   13449      dynamic_linker="$host_os dld.sl"
   13450      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13451      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13452      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13453      soname_spec='${libname}${release}${shared_ext}$major'
   13454      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13455      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13456      ;;
   13457    *)
   13458     shrext_cmds='.sl'
   13459     dynamic_linker="$host_os dld.sl"
   13460     shlibpath_var=SHLIB_PATH
   13461     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13462     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13463     soname_spec='${libname}${release}${shared_ext}$major'
   13464     ;;
   13465   esac
   13466   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13467   postinstall_cmds='chmod 555 $lib'
   13468   ;;
   13469 
   13470 interix[3-9]*)
   13471   version_type=linux
   13472   need_lib_prefix=no
   13473   need_version=no
   13474   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13475   soname_spec='${libname}${release}${shared_ext}$major'
   13476   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13477   shlibpath_var=LD_LIBRARY_PATH
   13478   shlibpath_overrides_runpath=no
   13479   hardcode_into_libs=yes
   13480   ;;
   13481 
   13482 irix5* | irix6* | nonstopux*)
   13483   case $host_os in
   13484     nonstopux*) version_type=nonstopux ;;
   13485     *)
   13486 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13487 		version_type=linux
   13488 	else
   13489 		version_type=irix
   13490 	fi ;;
   13491   esac
   13492   need_lib_prefix=no
   13493   need_version=no
   13494   soname_spec='${libname}${release}${shared_ext}$major'
   13495   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13496   case $host_os in
   13497   irix5* | nonstopux*)
   13498     libsuff= shlibsuff=
   13499     ;;
   13500   *)
   13501     case $LD in # libtool.m4 will add one of these switches to LD
   13502     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13503       libsuff= shlibsuff= libmagic=32-bit;;
   13504     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13505       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13506     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13507       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13508     *) libsuff= shlibsuff= libmagic=never-match;;
   13509     esac
   13510     ;;
   13511   esac
   13512   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13513   shlibpath_overrides_runpath=no
   13514   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13515   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13516   hardcode_into_libs=yes
   13517   ;;
   13518 
   13519 # No shared lib support for Linux oldld, aout, or coff.
   13520 linux*oldld* | linux*aout* | linux*coff*)
   13521   dynamic_linker=no
   13522   ;;
   13523 
   13524 # This must be Linux ELF.
   13525 linux* | k*bsd*-gnu)
   13526   version_type=linux
   13527   need_lib_prefix=no
   13528   need_version=no
   13529   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13530   soname_spec='${libname}${release}${shared_ext}$major'
   13531   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13532   shlibpath_var=LD_LIBRARY_PATH
   13533   shlibpath_overrides_runpath=no
   13534   # This implies no fast_install, which is unacceptable.
   13535   # Some rework will be needed to allow for fast_install
   13536   # before this can be enabled.
   13537   hardcode_into_libs=yes
   13538 
   13539   # Append ld.so.conf contents to the search path
   13540   if test -f /etc/ld.so.conf; then
   13541     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   13542     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13543   fi
   13544 
   13545   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13546   # powerpc, because MkLinux only supported shared libraries with the
   13547   # GNU dynamic linker.  Since this was broken with cross compilers,
   13548   # most powerpc-linux boxes support dynamic linking these days and
   13549   # people can always --disable-shared, the test was removed, and we
   13550   # assume the GNU/Linux dynamic linker is in use.
   13551   dynamic_linker='GNU/Linux ld.so'
   13552   ;;
   13553 
   13554 netbsd*)
   13555   version_type=sunos
   13556   need_lib_prefix=no
   13557   need_version=no
   13558   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13559     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13560     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13561     dynamic_linker='NetBSD (a.out) ld.so'
   13562   else
   13563     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13564     soname_spec='${libname}${release}${shared_ext}$major'
   13565     dynamic_linker='NetBSD ld.elf_so'
   13566   fi
   13567   shlibpath_var=LD_LIBRARY_PATH
   13568   shlibpath_overrides_runpath=yes
   13569   hardcode_into_libs=yes
   13570   ;;
   13571 
   13572 newsos6)
   13573   version_type=linux
   13574   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13575   shlibpath_var=LD_LIBRARY_PATH
   13576   shlibpath_overrides_runpath=yes
   13577   ;;
   13578 
   13579 nto-qnx*)
   13580   version_type=linux
   13581   need_lib_prefix=no
   13582   need_version=no
   13583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13584   soname_spec='${libname}${release}${shared_ext}$major'
   13585   shlibpath_var=LD_LIBRARY_PATH
   13586   shlibpath_overrides_runpath=yes
   13587   ;;
   13588 
   13589 openbsd*)
   13590   version_type=sunos
   13591   sys_lib_dlsearch_path_spec="/usr/lib"
   13592   need_lib_prefix=no
   13593   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13594   case $host_os in
   13595     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13596     *)                         need_version=no  ;;
   13597   esac
   13598   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13599   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13600   shlibpath_var=LD_LIBRARY_PATH
   13601   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13602     case $host_os in
   13603       openbsd2.[89] | openbsd2.[89].*)
   13604 	shlibpath_overrides_runpath=no
   13605 	;;
   13606       *)
   13607 	shlibpath_overrides_runpath=yes
   13608 	;;
   13609       esac
   13610   else
   13611     shlibpath_overrides_runpath=yes
   13612   fi
   13613   ;;
   13614 
   13615 os2*)
   13616   libname_spec='$name'
   13617   shrext_cmds=".dll"
   13618   need_lib_prefix=no
   13619   library_names_spec='$libname${shared_ext} $libname.a'
   13620   dynamic_linker='OS/2 ld.exe'
   13621   shlibpath_var=LIBPATH
   13622   ;;
   13623 
   13624 osf3* | osf4* | osf5*)
   13625   version_type=osf
   13626   need_lib_prefix=no
   13627   need_version=no
   13628   soname_spec='${libname}${release}${shared_ext}$major'
   13629   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13630   shlibpath_var=LD_LIBRARY_PATH
   13631   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13632   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13633   ;;
   13634 
   13635 rdos*)
   13636   dynamic_linker=no
   13637   ;;
   13638 
   13639 solaris*)
   13640   version_type=linux
   13641   need_lib_prefix=no
   13642   need_version=no
   13643   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13644   soname_spec='${libname}${release}${shared_ext}$major'
   13645   shlibpath_var=LD_LIBRARY_PATH
   13646   shlibpath_overrides_runpath=yes
   13647   hardcode_into_libs=yes
   13648   # ldd complains unless libraries are executable
   13649   postinstall_cmds='chmod +x $lib'
   13650   ;;
   13651 
   13652 sunos4*)
   13653   version_type=sunos
   13654   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13655   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13656   shlibpath_var=LD_LIBRARY_PATH
   13657   shlibpath_overrides_runpath=yes
   13658   if test "$with_gnu_ld" = yes; then
   13659     need_lib_prefix=no
   13660   fi
   13661   need_version=yes
   13662   ;;
   13663 
   13664 sysv4 | sysv4.3*)
   13665   version_type=linux
   13666   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13667   soname_spec='${libname}${release}${shared_ext}$major'
   13668   shlibpath_var=LD_LIBRARY_PATH
   13669   case $host_vendor in
   13670     sni)
   13671       shlibpath_overrides_runpath=no
   13672       need_lib_prefix=no
   13673       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13674       runpath_var=LD_RUN_PATH
   13675       ;;
   13676     siemens)
   13677       need_lib_prefix=no
   13678       ;;
   13679     motorola)
   13680       need_lib_prefix=no
   13681       need_version=no
   13682       shlibpath_overrides_runpath=no
   13683       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13684       ;;
   13685   esac
   13686   ;;
   13687 
   13688 sysv4*MP*)
   13689   if test -d /usr/nec ;then
   13690     version_type=linux
   13691     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13692     soname_spec='$libname${shared_ext}.$major'
   13693     shlibpath_var=LD_LIBRARY_PATH
   13694   fi
   13695   ;;
   13696 
   13697 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13698   version_type=freebsd-elf
   13699   need_lib_prefix=no
   13700   need_version=no
   13701   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13702   soname_spec='${libname}${release}${shared_ext}$major'
   13703   shlibpath_var=LD_LIBRARY_PATH
   13704   hardcode_into_libs=yes
   13705   if test "$with_gnu_ld" = yes; then
   13706     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13707     shlibpath_overrides_runpath=no
   13708   else
   13709     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13710     shlibpath_overrides_runpath=yes
   13711     case $host_os in
   13712       sco3.2v5*)
   13713         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13714 	;;
   13715     esac
   13716   fi
   13717   sys_lib_dlsearch_path_spec='/usr/lib'
   13718   ;;
   13719 
   13720 uts4*)
   13721   version_type=linux
   13722   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13723   soname_spec='${libname}${release}${shared_ext}$major'
   13724   shlibpath_var=LD_LIBRARY_PATH
   13725   ;;
   13726 
   13727 *)
   13728   dynamic_linker=no
   13729   ;;
   13730 esac
   13731 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13732 $as_echo "$dynamic_linker" >&6; }
   13733 test "$dynamic_linker" = no && can_build_shared=no
   13734 
   13735 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13736   $as_echo_n "(cached) " >&6
   13737 else
   13738   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13739 fi
   13740 
   13741 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13742 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13743   $as_echo_n "(cached) " >&6
   13744 else
   13745   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13746 fi
   13747 
   13748 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13749 
   13750 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13751 if test "$GCC" = yes; then
   13752   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13753 fi
   13754 
   13755 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13756 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13757 hardcode_action_CXX=
   13758 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13759    test -n "$runpath_var_CXX" || \
   13760    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13761 
   13762   # We can hardcode non-existant directories.
   13763   if test "$hardcode_direct_CXX" != no &&
   13764      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13765      # have to relink, otherwise we might link with an installed library
   13766      # when we should be linking with a yet-to-be-installed one
   13767      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13768      test "$hardcode_minus_L_CXX" != no; then
   13769     # Linking always hardcodes the temporary library directory.
   13770     hardcode_action_CXX=relink
   13771   else
   13772     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13773     hardcode_action_CXX=immediate
   13774   fi
   13775 else
   13776   # We cannot hardcode anything, or else we can only hardcode existing
   13777   # directories.
   13778   hardcode_action_CXX=unsupported
   13779 fi
   13780 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13781 $as_echo "$hardcode_action_CXX" >&6; }
   13782 
   13783 if test "$hardcode_action_CXX" = relink; then
   13784   # Fast installation is not supported
   13785   enable_fast_install=no
   13786 elif test "$shlibpath_overrides_runpath" = yes ||
   13787      test "$enable_shared" = no; then
   13788   # Fast installation is not necessary
   13789   enable_fast_install=needless
   13790 fi
   13791 
   13792 
   13793 # The else clause should only fire when bootstrapping the
   13794 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13795 # with your package, and you will get complaints that there are
   13796 # no rules to generate ltmain.sh.
   13797 if test -f "$ltmain"; then
   13798   # See if we are running on zsh, and set the options which allow our commands through
   13799   # without removal of \ escapes.
   13800   if test -n "${ZSH_VERSION+set}" ; then
   13801     setopt NO_GLOB_SUBST
   13802   fi
   13803   # Now quote all the things that may contain metacharacters while being
   13804   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13805   # variables and quote the copies for generation of the libtool script.
   13806   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13807     SED SHELL STRIP \
   13808     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13809     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13810     deplibs_check_method reload_flag reload_cmds need_locks \
   13811     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13812     lt_cv_sys_global_symbol_to_c_name_address \
   13813     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13814     old_postinstall_cmds old_postuninstall_cmds \
   13815     compiler_CXX \
   13816     CC_CXX \
   13817     LD_CXX \
   13818     lt_prog_compiler_wl_CXX \
   13819     lt_prog_compiler_pic_CXX \
   13820     lt_prog_compiler_static_CXX \
   13821     lt_prog_compiler_no_builtin_flag_CXX \
   13822     export_dynamic_flag_spec_CXX \
   13823     thread_safe_flag_spec_CXX \
   13824     whole_archive_flag_spec_CXX \
   13825     enable_shared_with_static_runtimes_CXX \
   13826     old_archive_cmds_CXX \
   13827     old_archive_from_new_cmds_CXX \
   13828     predep_objects_CXX \
   13829     postdep_objects_CXX \
   13830     predeps_CXX \
   13831     postdeps_CXX \
   13832     compiler_lib_search_path_CXX \
   13833     compiler_lib_search_dirs_CXX \
   13834     archive_cmds_CXX \
   13835     archive_expsym_cmds_CXX \
   13836     postinstall_cmds_CXX \
   13837     postuninstall_cmds_CXX \
   13838     old_archive_from_expsyms_cmds_CXX \
   13839     allow_undefined_flag_CXX \
   13840     no_undefined_flag_CXX \
   13841     export_symbols_cmds_CXX \
   13842     hardcode_libdir_flag_spec_CXX \
   13843     hardcode_libdir_flag_spec_ld_CXX \
   13844     hardcode_libdir_separator_CXX \
   13845     hardcode_automatic_CXX \
   13846     module_cmds_CXX \
   13847     module_expsym_cmds_CXX \
   13848     lt_cv_prog_compiler_c_o_CXX \
   13849     fix_srcfile_path_CXX \
   13850     exclude_expsyms_CXX \
   13851     include_expsyms_CXX; do
   13852 
   13853     case $var in
   13854     old_archive_cmds_CXX | \
   13855     old_archive_from_new_cmds_CXX | \
   13856     archive_cmds_CXX | \
   13857     archive_expsym_cmds_CXX | \
   13858     module_cmds_CXX | \
   13859     module_expsym_cmds_CXX | \
   13860     old_archive_from_expsyms_cmds_CXX | \
   13861     export_symbols_cmds_CXX | \
   13862     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13863     postinstall_cmds | postuninstall_cmds | \
   13864     old_postinstall_cmds | old_postuninstall_cmds | \
   13865     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13866       # Double-quote double-evaled strings.
   13867       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13868       ;;
   13869     *)
   13870       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13871       ;;
   13872     esac
   13873   done
   13874 
   13875   case $lt_echo in
   13876   *'\$0 --fallback-echo"')
   13877     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13878     ;;
   13879   esac
   13880 
   13881 cfgfile="$ofile"
   13882 
   13883   cat <<__EOF__ >> "$cfgfile"
   13884 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13885 
   13886 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13887 
   13888 # Shell to use when invoking shell scripts.
   13889 SHELL=$lt_SHELL
   13890 
   13891 # Whether or not to build shared libraries.
   13892 build_libtool_libs=$enable_shared
   13893 
   13894 # Whether or not to build static libraries.
   13895 build_old_libs=$enable_static
   13896 
   13897 # Whether or not to add -lc for building shared libraries.
   13898 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13899 
   13900 # Whether or not to disallow shared libs when runtime libs are static
   13901 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13902 
   13903 # Whether or not to optimize for fast installation.
   13904 fast_install=$enable_fast_install
   13905 
   13906 # The host system.
   13907 host_alias=$host_alias
   13908 host=$host
   13909 host_os=$host_os
   13910 
   13911 # The build system.
   13912 build_alias=$build_alias
   13913 build=$build
   13914 build_os=$build_os
   13915 
   13916 # An echo program that does not interpret backslashes.
   13917 echo=$lt_echo
   13918 
   13919 # The archiver.
   13920 AR=$lt_AR
   13921 AR_FLAGS=$lt_AR_FLAGS
   13922 
   13923 # A C compiler.
   13924 LTCC=$lt_LTCC
   13925 
   13926 # LTCC compiler flags.
   13927 LTCFLAGS=$lt_LTCFLAGS
   13928 
   13929 # A language-specific compiler.
   13930 CC=$lt_compiler_CXX
   13931 
   13932 # Is the compiler the GNU C compiler?
   13933 with_gcc=$GCC_CXX
   13934 
   13935 # An ERE matcher.
   13936 EGREP=$lt_EGREP
   13937 
   13938 # The linker used to build libraries.
   13939 LD=$lt_LD_CXX
   13940 
   13941 # Whether we need hard or soft links.
   13942 LN_S=$lt_LN_S
   13943 
   13944 # A BSD-compatible nm program.
   13945 NM=$lt_NM
   13946 
   13947 # A symbol stripping program
   13948 STRIP=$lt_STRIP
   13949 
   13950 # Used to examine libraries when file_magic_cmd begins "file"
   13951 MAGIC_CMD=$MAGIC_CMD
   13952 
   13953 # Used on cygwin: DLL creation program.
   13954 DLLTOOL="$DLLTOOL"
   13955 
   13956 # Used on cygwin: object dumper.
   13957 OBJDUMP="$OBJDUMP"
   13958 
   13959 # Used on cygwin: assembler.
   13960 AS="$AS"
   13961 
   13962 # The name of the directory that contains temporary libtool files.
   13963 objdir=$objdir
   13964 
   13965 # How to create reloadable object files.
   13966 reload_flag=$lt_reload_flag
   13967 reload_cmds=$lt_reload_cmds
   13968 
   13969 # How to pass a linker flag through the compiler.
   13970 wl=$lt_lt_prog_compiler_wl_CXX
   13971 
   13972 # Object file suffix (normally "o").
   13973 objext="$ac_objext"
   13974 
   13975 # Old archive suffix (normally "a").
   13976 libext="$libext"
   13977 
   13978 # Shared library suffix (normally ".so").
   13979 shrext_cmds='$shrext_cmds'
   13980 
   13981 # Executable file suffix (normally "").
   13982 exeext="$exeext"
   13983 
   13984 # Additional compiler flags for building library objects.
   13985 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13986 pic_mode=$pic_mode
   13987 
   13988 # What is the maximum length of a command?
   13989 max_cmd_len=$lt_cv_sys_max_cmd_len
   13990 
   13991 # Does compiler simultaneously support -c and -o options?
   13992 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13993 
   13994 # Must we lock files when doing compilation?
   13995 need_locks=$lt_need_locks
   13996 
   13997 # Do we need the lib prefix for modules?
   13998 need_lib_prefix=$need_lib_prefix
   13999 
   14000 # Do we need a version for libraries?
   14001 need_version=$need_version
   14002 
   14003 # Whether dlopen is supported.
   14004 dlopen_support=$enable_dlopen
   14005 
   14006 # Whether dlopen of programs is supported.
   14007 dlopen_self=$enable_dlopen_self
   14008 
   14009 # Whether dlopen of statically linked programs is supported.
   14010 dlopen_self_static=$enable_dlopen_self_static
   14011 
   14012 # Compiler flag to prevent dynamic linking.
   14013 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14014 
   14015 # Compiler flag to turn off builtin functions.
   14016 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14017 
   14018 # Compiler flag to allow reflexive dlopens.
   14019 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14020 
   14021 # Compiler flag to generate shared objects directly from archives.
   14022 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14023 
   14024 # Compiler flag to generate thread-safe objects.
   14025 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14026 
   14027 # Library versioning type.
   14028 version_type=$version_type
   14029 
   14030 # Format of library name prefix.
   14031 libname_spec=$lt_libname_spec
   14032 
   14033 # List of archive names.  First name is the real one, the rest are links.
   14034 # The last name is the one that the linker finds with -lNAME.
   14035 library_names_spec=$lt_library_names_spec
   14036 
   14037 # The coded name of the library, if different from the real name.
   14038 soname_spec=$lt_soname_spec
   14039 
   14040 # Commands used to build and install an old-style archive.
   14041 RANLIB=$lt_RANLIB
   14042 old_archive_cmds=$lt_old_archive_cmds_CXX
   14043 old_postinstall_cmds=$lt_old_postinstall_cmds
   14044 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14045 
   14046 # Create an old-style archive from a shared archive.
   14047 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14048 
   14049 # Create a temporary old-style archive to link instead of a shared archive.
   14050 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14051 
   14052 # Commands used to build and install a shared archive.
   14053 archive_cmds=$lt_archive_cmds_CXX
   14054 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14055 postinstall_cmds=$lt_postinstall_cmds
   14056 postuninstall_cmds=$lt_postuninstall_cmds
   14057 
   14058 # Commands used to build a loadable module (assumed same as above if empty)
   14059 module_cmds=$lt_module_cmds_CXX
   14060 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14061 
   14062 # Commands to strip libraries.
   14063 old_striplib=$lt_old_striplib
   14064 striplib=$lt_striplib
   14065 
   14066 # Dependencies to place before the objects being linked to create a
   14067 # shared library.
   14068 predep_objects=$lt_predep_objects_CXX
   14069 
   14070 # Dependencies to place after the objects being linked to create a
   14071 # shared library.
   14072 postdep_objects=$lt_postdep_objects_CXX
   14073 
   14074 # Dependencies to place before the objects being linked to create a
   14075 # shared library.
   14076 predeps=$lt_predeps_CXX
   14077 
   14078 # Dependencies to place after the objects being linked to create a
   14079 # shared library.
   14080 postdeps=$lt_postdeps_CXX
   14081 
   14082 # The directories searched by this compiler when creating a shared
   14083 # library
   14084 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14085 
   14086 # The library search path used internally by the compiler when linking
   14087 # a shared library.
   14088 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14089 
   14090 # Method to check whether dependent libraries are shared objects.
   14091 deplibs_check_method=$lt_deplibs_check_method
   14092 
   14093 # Command to use when deplibs_check_method == file_magic.
   14094 file_magic_cmd=$lt_file_magic_cmd
   14095 
   14096 # Flag that allows shared libraries with undefined symbols to be built.
   14097 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14098 
   14099 # Flag that forces no undefined symbols.
   14100 no_undefined_flag=$lt_no_undefined_flag_CXX
   14101 
   14102 # Commands used to finish a libtool library installation in a directory.
   14103 finish_cmds=$lt_finish_cmds
   14104 
   14105 # Same as above, but a single script fragment to be evaled but not shown.
   14106 finish_eval=$lt_finish_eval
   14107 
   14108 # Take the output of nm and produce a listing of raw symbols and C names.
   14109 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14110 
   14111 # Transform the output of nm in a proper C declaration
   14112 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14113 
   14114 # Transform the output of nm in a C name address pair
   14115 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14116 
   14117 # This is the shared library runtime path variable.
   14118 runpath_var=$runpath_var
   14119 
   14120 # This is the shared library path variable.
   14121 shlibpath_var=$shlibpath_var
   14122 
   14123 # Is shlibpath searched before the hard-coded library search path?
   14124 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14125 
   14126 # How to hardcode a shared library path into an executable.
   14127 hardcode_action=$hardcode_action_CXX
   14128 
   14129 # Whether we should hardcode library paths into libraries.
   14130 hardcode_into_libs=$hardcode_into_libs
   14131 
   14132 # Flag to hardcode \$libdir into a binary during linking.
   14133 # This must work even if \$libdir does not exist.
   14134 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14135 
   14136 # If ld is used when linking, flag to hardcode \$libdir into
   14137 # a binary during linking. This must work even if \$libdir does
   14138 # not exist.
   14139 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14140 
   14141 # Whether we need a single -rpath flag with a separated argument.
   14142 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14143 
   14144 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14145 # resulting binary.
   14146 hardcode_direct=$hardcode_direct_CXX
   14147 
   14148 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14149 # resulting binary.
   14150 hardcode_minus_L=$hardcode_minus_L_CXX
   14151 
   14152 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14153 # the resulting binary.
   14154 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14155 
   14156 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14157 # and all subsequent libraries and executables linked against it.
   14158 hardcode_automatic=$hardcode_automatic_CXX
   14159 
   14160 # Variables whose values should be saved in libtool wrapper scripts and
   14161 # restored at relink time.
   14162 variables_saved_for_relink="$variables_saved_for_relink"
   14163 
   14164 # Whether libtool must link a program against all its dependency libraries.
   14165 link_all_deplibs=$link_all_deplibs_CXX
   14166 
   14167 # Compile-time system search path for libraries
   14168 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14169 
   14170 # Run-time system search path for libraries
   14171 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14172 
   14173 # Fix the shell variable \$srcfile for the compiler.
   14174 fix_srcfile_path=$lt_fix_srcfile_path
   14175 
   14176 # Set to yes if exported symbols are required.
   14177 always_export_symbols=$always_export_symbols_CXX
   14178 
   14179 # The commands to list exported symbols.
   14180 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14181 
   14182 # The commands to extract the exported symbol list from a shared archive.
   14183 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14184 
   14185 # Symbols that should not be listed in the preloaded symbols.
   14186 exclude_expsyms=$lt_exclude_expsyms_CXX
   14187 
   14188 # Symbols that must always be exported.
   14189 include_expsyms=$lt_include_expsyms_CXX
   14190 
   14191 # ### END LIBTOOL TAG CONFIG: $tagname
   14192 
   14193 __EOF__
   14194 
   14195 
   14196 else
   14197   # If there is no Makefile yet, we rely on a make rule to execute
   14198   # `config.status --recheck' to rerun these tests and create the
   14199   # libtool script then.
   14200   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14201   if test -f "$ltmain_in"; then
   14202     test -f Makefile && make "$ltmain"
   14203   fi
   14204 fi
   14205 
   14206 
   14207 ac_ext=c
   14208 ac_cpp='$CPP $CPPFLAGS'
   14209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14212 
   14213 CC=$lt_save_CC
   14214 LDCXX=$LD
   14215 LD=$lt_save_LD
   14216 GCC=$lt_save_GCC
   14217 with_gnu_ldcxx=$with_gnu_ld
   14218 with_gnu_ld=$lt_save_with_gnu_ld
   14219 lt_cv_path_LDCXX=$lt_cv_path_LD
   14220 lt_cv_path_LD=$lt_save_path_LD
   14221 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14222 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14223 
   14224 	else
   14225 	  tagname=""
   14226 	fi
   14227 	;;
   14228 
   14229       F77)
   14230 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14231 
   14232 ac_ext=f
   14233 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14234 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14235 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14236 
   14237 
   14238 archive_cmds_need_lc_F77=no
   14239 allow_undefined_flag_F77=
   14240 always_export_symbols_F77=no
   14241 archive_expsym_cmds_F77=
   14242 export_dynamic_flag_spec_F77=
   14243 hardcode_direct_F77=no
   14244 hardcode_libdir_flag_spec_F77=
   14245 hardcode_libdir_flag_spec_ld_F77=
   14246 hardcode_libdir_separator_F77=
   14247 hardcode_minus_L_F77=no
   14248 hardcode_automatic_F77=no
   14249 module_cmds_F77=
   14250 module_expsym_cmds_F77=
   14251 link_all_deplibs_F77=unknown
   14252 old_archive_cmds_F77=$old_archive_cmds
   14253 no_undefined_flag_F77=
   14254 whole_archive_flag_spec_F77=
   14255 enable_shared_with_static_runtimes_F77=no
   14256 
   14257 # Source file extension for f77 test sources.
   14258 ac_ext=f
   14259 
   14260 # Object file extension for compiled f77 test sources.
   14261 objext=o
   14262 objext_F77=$objext
   14263 
   14264 # Code to be used in simple compile tests
   14265 lt_simple_compile_test_code="\
   14266       subroutine t
   14267       return
   14268       end
   14269 "
   14270 
   14271 # Code to be used in simple link tests
   14272 lt_simple_link_test_code="\
   14273       program t
   14274       end
   14275 "
   14276 
   14277 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14278 
   14279 # If no C compiler was specified, use CC.
   14280 LTCC=${LTCC-"$CC"}
   14281 
   14282 # If no C compiler flags were specified, use CFLAGS.
   14283 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14284 
   14285 # Allow CC to be a program name with arguments.
   14286 compiler=$CC
   14287 
   14288 
   14289 # save warnings/boilerplate of simple test code
   14290 ac_outfile=conftest.$ac_objext
   14291 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14292 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14293 _lt_compiler_boilerplate=`cat conftest.err`
   14294 $rm conftest*
   14295 
   14296 ac_outfile=conftest.$ac_objext
   14297 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14298 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14299 _lt_linker_boilerplate=`cat conftest.err`
   14300 $rm -r conftest*
   14301 
   14302 
   14303 # Allow CC to be a program name with arguments.
   14304 lt_save_CC="$CC"
   14305 CC=${F77-"f77"}
   14306 compiler=$CC
   14307 compiler_F77=$CC
   14308 for cc_temp in $compiler""; do
   14309   case $cc_temp in
   14310     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14311     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14312     \-*) ;;
   14313     *) break;;
   14314   esac
   14315 done
   14316 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14317 
   14318 
   14319 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14320 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14321 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14322 $as_echo "$can_build_shared" >&6; }
   14323 
   14324 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14325 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14326 test "$can_build_shared" = "no" && enable_shared=no
   14327 
   14328 # On AIX, shared libraries and static libraries use the same namespace, and
   14329 # are all built from PIC.
   14330 case $host_os in
   14331 aix3*)
   14332   test "$enable_shared" = yes && enable_static=no
   14333   if test -n "$RANLIB"; then
   14334     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14335     postinstall_cmds='$RANLIB $lib'
   14336   fi
   14337   ;;
   14338 aix[4-9]*)
   14339   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14340     test "$enable_shared" = yes && enable_static=no
   14341   fi
   14342   ;;
   14343 esac
   14344 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14345 $as_echo "$enable_shared" >&6; }
   14346 
   14347 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14348 $as_echo_n "checking whether to build static libraries... " >&6; }
   14349 # Make sure either enable_shared or enable_static is yes.
   14350 test "$enable_shared" = yes || enable_static=yes
   14351 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14352 $as_echo "$enable_static" >&6; }
   14353 
   14354 GCC_F77="$G77"
   14355 LD_F77="$LD"
   14356 
   14357 lt_prog_compiler_wl_F77=
   14358 lt_prog_compiler_pic_F77=
   14359 lt_prog_compiler_static_F77=
   14360 
   14361 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14362 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14363 
   14364   if test "$GCC" = yes; then
   14365     lt_prog_compiler_wl_F77='-Wl,'
   14366     lt_prog_compiler_static_F77='-static'
   14367 
   14368     case $host_os in
   14369       aix*)
   14370       # All AIX code is PIC.
   14371       if test "$host_cpu" = ia64; then
   14372 	# AIX 5 now supports IA64 processor
   14373 	lt_prog_compiler_static_F77='-Bstatic'
   14374       fi
   14375       ;;
   14376 
   14377     amigaos*)
   14378       # FIXME: we need at least 68020 code to build shared libraries, but
   14379       # adding the `-m68020' flag to GCC prevents building anything better,
   14380       # like `-m68040'.
   14381       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14382       ;;
   14383 
   14384     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14385       # PIC is the default for these OSes.
   14386       ;;
   14387 
   14388     mingw* | cygwin* | pw32* | os2*)
   14389       # This hack is so that the source file can tell whether it is being
   14390       # built for inclusion in a dll (and should export symbols for example).
   14391       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14392       # (--disable-auto-import) libraries
   14393       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14394       ;;
   14395 
   14396     darwin* | rhapsody*)
   14397       # PIC is the default on this platform
   14398       # Common symbols not allowed in MH_DYLIB files
   14399       lt_prog_compiler_pic_F77='-fno-common'
   14400       ;;
   14401 
   14402     interix[3-9]*)
   14403       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14404       # Instead, we relocate shared libraries at runtime.
   14405       ;;
   14406 
   14407     msdosdjgpp*)
   14408       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14409       # on systems that don't support them.
   14410       lt_prog_compiler_can_build_shared_F77=no
   14411       enable_shared=no
   14412       ;;
   14413 
   14414     sysv4*MP*)
   14415       if test -d /usr/nec; then
   14416 	lt_prog_compiler_pic_F77=-Kconform_pic
   14417       fi
   14418       ;;
   14419 
   14420     hpux*)
   14421       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14422       # not for PA HP-UX.
   14423       case $host_cpu in
   14424       hppa*64*|ia64*)
   14425 	# +Z the default
   14426 	;;
   14427       *)
   14428 	lt_prog_compiler_pic_F77='-fPIC'
   14429 	;;
   14430       esac
   14431       ;;
   14432 
   14433     *)
   14434       lt_prog_compiler_pic_F77='-fPIC'
   14435       ;;
   14436     esac
   14437   else
   14438     # PORTME Check for flag to pass linker flags through the system compiler.
   14439     case $host_os in
   14440     aix*)
   14441       lt_prog_compiler_wl_F77='-Wl,'
   14442       if test "$host_cpu" = ia64; then
   14443 	# AIX 5 now supports IA64 processor
   14444 	lt_prog_compiler_static_F77='-Bstatic'
   14445       else
   14446 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14447       fi
   14448       ;;
   14449       darwin*)
   14450         # PIC is the default on this platform
   14451         # Common symbols not allowed in MH_DYLIB files
   14452        case $cc_basename in
   14453          xlc*)
   14454          lt_prog_compiler_pic_F77='-qnocommon'
   14455          lt_prog_compiler_wl_F77='-Wl,'
   14456          ;;
   14457        esac
   14458        ;;
   14459 
   14460     mingw* | cygwin* | pw32* | os2*)
   14461       # This hack is so that the source file can tell whether it is being
   14462       # built for inclusion in a dll (and should export symbols for example).
   14463       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14464       ;;
   14465 
   14466     hpux9* | hpux10* | hpux11*)
   14467       lt_prog_compiler_wl_F77='-Wl,'
   14468       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14469       # not for PA HP-UX.
   14470       case $host_cpu in
   14471       hppa*64*|ia64*)
   14472 	# +Z the default
   14473 	;;
   14474       *)
   14475 	lt_prog_compiler_pic_F77='+Z'
   14476 	;;
   14477       esac
   14478       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14479       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14480       ;;
   14481 
   14482     irix5* | irix6* | nonstopux*)
   14483       lt_prog_compiler_wl_F77='-Wl,'
   14484       # PIC (with -KPIC) is the default.
   14485       lt_prog_compiler_static_F77='-non_shared'
   14486       ;;
   14487 
   14488     newsos6)
   14489       lt_prog_compiler_pic_F77='-KPIC'
   14490       lt_prog_compiler_static_F77='-Bstatic'
   14491       ;;
   14492 
   14493     linux* | k*bsd*-gnu)
   14494       case $cc_basename in
   14495       icc* | ecc*)
   14496 	lt_prog_compiler_wl_F77='-Wl,'
   14497 	lt_prog_compiler_pic_F77='-KPIC'
   14498 	lt_prog_compiler_static_F77='-static'
   14499         ;;
   14500       pgcc* | pgf77* | pgf90* | pgf95*)
   14501         # Portland Group compilers (*not* the Pentium gcc compiler,
   14502 	# which looks to be a dead project)
   14503 	lt_prog_compiler_wl_F77='-Wl,'
   14504 	lt_prog_compiler_pic_F77='-fpic'
   14505 	lt_prog_compiler_static_F77='-Bstatic'
   14506         ;;
   14507       ccc*)
   14508         lt_prog_compiler_wl_F77='-Wl,'
   14509         # All Alpha code is PIC.
   14510         lt_prog_compiler_static_F77='-non_shared'
   14511         ;;
   14512       *)
   14513         case `$CC -V 2>&1 | sed 5q` in
   14514 	*Sun\ C*)
   14515 	  # Sun C 5.9
   14516 	  lt_prog_compiler_pic_F77='-KPIC'
   14517 	  lt_prog_compiler_static_F77='-Bstatic'
   14518 	  lt_prog_compiler_wl_F77='-Wl,'
   14519 	  ;;
   14520 	*Sun\ F*)
   14521 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14522 	  lt_prog_compiler_pic_F77='-KPIC'
   14523 	  lt_prog_compiler_static_F77='-Bstatic'
   14524 	  lt_prog_compiler_wl_F77=''
   14525 	  ;;
   14526 	esac
   14527 	;;
   14528       esac
   14529       ;;
   14530 
   14531     osf3* | osf4* | osf5*)
   14532       lt_prog_compiler_wl_F77='-Wl,'
   14533       # All OSF/1 code is PIC.
   14534       lt_prog_compiler_static_F77='-non_shared'
   14535       ;;
   14536 
   14537     rdos*)
   14538       lt_prog_compiler_static_F77='-non_shared'
   14539       ;;
   14540 
   14541     solaris*)
   14542       lt_prog_compiler_pic_F77='-KPIC'
   14543       lt_prog_compiler_static_F77='-Bstatic'
   14544       case $cc_basename in
   14545       f77* | f90* | f95*)
   14546 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14547       *)
   14548 	lt_prog_compiler_wl_F77='-Wl,';;
   14549       esac
   14550       ;;
   14551 
   14552     sunos4*)
   14553       lt_prog_compiler_wl_F77='-Qoption ld '
   14554       lt_prog_compiler_pic_F77='-PIC'
   14555       lt_prog_compiler_static_F77='-Bstatic'
   14556       ;;
   14557 
   14558     sysv4 | sysv4.2uw2* | sysv4.3*)
   14559       lt_prog_compiler_wl_F77='-Wl,'
   14560       lt_prog_compiler_pic_F77='-KPIC'
   14561       lt_prog_compiler_static_F77='-Bstatic'
   14562       ;;
   14563 
   14564     sysv4*MP*)
   14565       if test -d /usr/nec ;then
   14566 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14567 	lt_prog_compiler_static_F77='-Bstatic'
   14568       fi
   14569       ;;
   14570 
   14571     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14572       lt_prog_compiler_wl_F77='-Wl,'
   14573       lt_prog_compiler_pic_F77='-KPIC'
   14574       lt_prog_compiler_static_F77='-Bstatic'
   14575       ;;
   14576 
   14577     unicos*)
   14578       lt_prog_compiler_wl_F77='-Wl,'
   14579       lt_prog_compiler_can_build_shared_F77=no
   14580       ;;
   14581 
   14582     uts4*)
   14583       lt_prog_compiler_pic_F77='-pic'
   14584       lt_prog_compiler_static_F77='-Bstatic'
   14585       ;;
   14586 
   14587     *)
   14588       lt_prog_compiler_can_build_shared_F77=no
   14589       ;;
   14590     esac
   14591   fi
   14592 
   14593 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14594 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14595 
   14596 #
   14597 # Check to make sure the PIC flag actually works.
   14598 #
   14599 if test -n "$lt_prog_compiler_pic_F77"; then
   14600 
   14601 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14602 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14603 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14604   $as_echo_n "(cached) " >&6
   14605 else
   14606   lt_cv_prog_compiler_pic_works_F77=no
   14607   ac_outfile=conftest.$ac_objext
   14608    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14609    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14610    # Insert the option either (1) after the last *FLAGS variable, or
   14611    # (2) before a word containing "conftest.", or (3) at the end.
   14612    # Note that $ac_compile itself does not contain backslashes and begins
   14613    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14614    # The option is referenced via a variable to avoid confusing sed.
   14615    lt_compile=`echo "$ac_compile" | $SED \
   14616    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14617    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14618    -e 's:$: $lt_compiler_flag:'`
   14619    (eval echo "\"\$as_me:14619: $lt_compile\"" >&5)
   14620    (eval "$lt_compile" 2>conftest.err)
   14621    ac_status=$?
   14622    cat conftest.err >&5
   14623    echo "$as_me:14623: \$? = $ac_status" >&5
   14624    if (exit $ac_status) && test -s "$ac_outfile"; then
   14625      # The compiler can only warn and ignore the option if not recognized
   14626      # So say no if there are warnings other than the usual output.
   14627      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14628      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14629      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14630        lt_cv_prog_compiler_pic_works_F77=yes
   14631      fi
   14632    fi
   14633    $rm conftest*
   14634 
   14635 fi
   14636 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14637 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14638 
   14639 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14640     case $lt_prog_compiler_pic_F77 in
   14641      "" | " "*) ;;
   14642      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14643      esac
   14644 else
   14645     lt_prog_compiler_pic_F77=
   14646      lt_prog_compiler_can_build_shared_F77=no
   14647 fi
   14648 
   14649 fi
   14650 case $host_os in
   14651   # For platforms which do not support PIC, -DPIC is meaningless:
   14652   *djgpp*)
   14653     lt_prog_compiler_pic_F77=
   14654     ;;
   14655   *)
   14656     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14657     ;;
   14658 esac
   14659 
   14660 #
   14661 # Check to make sure the static flag actually works.
   14662 #
   14663 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14664 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14665 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14666 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14667   $as_echo_n "(cached) " >&6
   14668 else
   14669   lt_cv_prog_compiler_static_works_F77=no
   14670    save_LDFLAGS="$LDFLAGS"
   14671    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14672    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14673    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14674      # The linker can only warn and ignore the option if not recognized
   14675      # So say no if there are warnings
   14676      if test -s conftest.err; then
   14677        # Append any errors to the config.log.
   14678        cat conftest.err 1>&5
   14679        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14680        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14681        if diff conftest.exp conftest.er2 >/dev/null; then
   14682          lt_cv_prog_compiler_static_works_F77=yes
   14683        fi
   14684      else
   14685        lt_cv_prog_compiler_static_works_F77=yes
   14686      fi
   14687    fi
   14688    $rm -r conftest*
   14689    LDFLAGS="$save_LDFLAGS"
   14690 
   14691 fi
   14692 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14693 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14694 
   14695 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14696     :
   14697 else
   14698     lt_prog_compiler_static_F77=
   14699 fi
   14700 
   14701 
   14702 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14703 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14704 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14705   $as_echo_n "(cached) " >&6
   14706 else
   14707   lt_cv_prog_compiler_c_o_F77=no
   14708    $rm -r conftest 2>/dev/null
   14709    mkdir conftest
   14710    cd conftest
   14711    mkdir out
   14712    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14713 
   14714    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14715    # Insert the option either (1) after the last *FLAGS variable, or
   14716    # (2) before a word containing "conftest.", or (3) at the end.
   14717    # Note that $ac_compile itself does not contain backslashes and begins
   14718    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14719    lt_compile=`echo "$ac_compile" | $SED \
   14720    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14721    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14722    -e 's:$: $lt_compiler_flag:'`
   14723    (eval echo "\"\$as_me:14723: $lt_compile\"" >&5)
   14724    (eval "$lt_compile" 2>out/conftest.err)
   14725    ac_status=$?
   14726    cat out/conftest.err >&5
   14727    echo "$as_me:14727: \$? = $ac_status" >&5
   14728    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14729    then
   14730      # The compiler can only warn and ignore the option if not recognized
   14731      # So say no if there are warnings
   14732      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14733      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14734      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14735        lt_cv_prog_compiler_c_o_F77=yes
   14736      fi
   14737    fi
   14738    chmod u+w . 2>&5
   14739    $rm conftest*
   14740    # SGI C++ compiler will create directory out/ii_files/ for
   14741    # template instantiation
   14742    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14743    $rm out/* && rmdir out
   14744    cd ..
   14745    rmdir conftest
   14746    $rm conftest*
   14747 
   14748 fi
   14749 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14750 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14751 
   14752 
   14753 hard_links="nottested"
   14754 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14755   # do not overwrite the value of need_locks provided by the user
   14756   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14757 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14758   hard_links=yes
   14759   $rm conftest*
   14760   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14761   touch conftest.a
   14762   ln conftest.a conftest.b 2>&5 || hard_links=no
   14763   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14764   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14765 $as_echo "$hard_links" >&6; }
   14766   if test "$hard_links" = no; then
   14767     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14768 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14769     need_locks=warn
   14770   fi
   14771 else
   14772   need_locks=no
   14773 fi
   14774 
   14775 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14776 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14777 
   14778   runpath_var=
   14779   allow_undefined_flag_F77=
   14780   enable_shared_with_static_runtimes_F77=no
   14781   archive_cmds_F77=
   14782   archive_expsym_cmds_F77=
   14783   old_archive_From_new_cmds_F77=
   14784   old_archive_from_expsyms_cmds_F77=
   14785   export_dynamic_flag_spec_F77=
   14786   whole_archive_flag_spec_F77=
   14787   thread_safe_flag_spec_F77=
   14788   hardcode_libdir_flag_spec_F77=
   14789   hardcode_libdir_flag_spec_ld_F77=
   14790   hardcode_libdir_separator_F77=
   14791   hardcode_direct_F77=no
   14792   hardcode_minus_L_F77=no
   14793   hardcode_shlibpath_var_F77=unsupported
   14794   link_all_deplibs_F77=unknown
   14795   hardcode_automatic_F77=no
   14796   module_cmds_F77=
   14797   module_expsym_cmds_F77=
   14798   always_export_symbols_F77=no
   14799   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14800   # include_expsyms should be a list of space-separated symbols to be *always*
   14801   # included in the symbol list
   14802   include_expsyms_F77=
   14803   # exclude_expsyms can be an extended regexp of symbols to exclude
   14804   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14805   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14806   # as well as any symbol that contains `d'.
   14807   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14808   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14809   # platforms (ab)use it in PIC code, but their linkers get confused if
   14810   # the symbol is explicitly referenced.  Since portable code cannot
   14811   # rely on this symbol name, it's probably fine to never include it in
   14812   # preloaded symbol tables.
   14813   # Exclude shared library initialization/finalization symbols.
   14814   extract_expsyms_cmds=
   14815   # Just being paranoid about ensuring that cc_basename is set.
   14816   for cc_temp in $compiler""; do
   14817   case $cc_temp in
   14818     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14819     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14820     \-*) ;;
   14821     *) break;;
   14822   esac
   14823 done
   14824 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14825 
   14826   case $host_os in
   14827   cygwin* | mingw* | pw32*)
   14828     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14829     # When not using gcc, we currently assume that we are using
   14830     # Microsoft Visual C++.
   14831     if test "$GCC" != yes; then
   14832       with_gnu_ld=no
   14833     fi
   14834     ;;
   14835   interix*)
   14836     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14837     with_gnu_ld=yes
   14838     ;;
   14839   openbsd*)
   14840     with_gnu_ld=no
   14841     ;;
   14842   esac
   14843 
   14844   ld_shlibs_F77=yes
   14845   if test "$with_gnu_ld" = yes; then
   14846     # If archive_cmds runs LD, not CC, wlarc should be empty
   14847     wlarc='${wl}'
   14848 
   14849     # Set some defaults for GNU ld with shared library support. These
   14850     # are reset later if shared libraries are not supported. Putting them
   14851     # here allows them to be overridden if necessary.
   14852     runpath_var=LD_RUN_PATH
   14853     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14854     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14855     # ancient GNU ld didn't support --whole-archive et. al.
   14856     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14857 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14858       else
   14859   	whole_archive_flag_spec_F77=
   14860     fi
   14861     supports_anon_versioning=no
   14862     case `$LD -v 2>/dev/null` in
   14863       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14864       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14865       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14866       *\ 2.11.*) ;; # other 2.11 versions
   14867       *) supports_anon_versioning=yes ;;
   14868     esac
   14869 
   14870     # See if GNU ld supports shared libraries.
   14871     case $host_os in
   14872     aix[3-9]*)
   14873       # On AIX/PPC, the GNU linker is very broken
   14874       if test "$host_cpu" != ia64; then
   14875 	ld_shlibs_F77=no
   14876 	cat <<EOF 1>&2
   14877 
   14878 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14879 *** to be unable to reliably create shared libraries on AIX.
   14880 *** Therefore, libtool is disabling shared libraries support.  If you
   14881 *** really care for shared libraries, you may want to modify your PATH
   14882 *** so that a non-GNU linker is found, and then restart.
   14883 
   14884 EOF
   14885       fi
   14886       ;;
   14887 
   14888     amigaos*)
   14889       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)'
   14890       hardcode_libdir_flag_spec_F77='-L$libdir'
   14891       hardcode_minus_L_F77=yes
   14892 
   14893       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14894       # that the semantics of dynamic libraries on AmigaOS, at least up
   14895       # to version 4, is to share data among multiple programs linked
   14896       # with the same dynamic library.  Since this doesn't match the
   14897       # behavior of shared libraries on other platforms, we can't use
   14898       # them.
   14899       ld_shlibs_F77=no
   14900       ;;
   14901 
   14902     beos*)
   14903       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14904 	allow_undefined_flag_F77=unsupported
   14905 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14906 	# support --undefined.  This deserves some investigation.  FIXME
   14907 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14908       else
   14909 	ld_shlibs_F77=no
   14910       fi
   14911       ;;
   14912 
   14913     cygwin* | mingw* | pw32*)
   14914       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14915       # as there is no search path for DLLs.
   14916       hardcode_libdir_flag_spec_F77='-L$libdir'
   14917       allow_undefined_flag_F77=unsupported
   14918       always_export_symbols_F77=no
   14919       enable_shared_with_static_runtimes_F77=yes
   14920       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14921 
   14922       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14923         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14924 	# If the export-symbols file already is a .def file (1st line
   14925 	# is EXPORTS), use it as is; otherwise, prepend...
   14926 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14927 	  cp $export_symbols $output_objdir/$soname.def;
   14928 	else
   14929 	  echo EXPORTS > $output_objdir/$soname.def;
   14930 	  cat $export_symbols >> $output_objdir/$soname.def;
   14931 	fi~
   14932 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14933       else
   14934 	ld_shlibs_F77=no
   14935       fi
   14936       ;;
   14937 
   14938     interix[3-9]*)
   14939       hardcode_direct_F77=no
   14940       hardcode_shlibpath_var_F77=no
   14941       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14942       export_dynamic_flag_spec_F77='${wl}-E'
   14943       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14944       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14945       # default) and relocated if they conflict, which is a slow very memory
   14946       # consuming and fragmenting process.  To avoid this, we pick a random,
   14947       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14948       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14949       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'
   14950       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'
   14951       ;;
   14952 
   14953     gnu* | linux* | k*bsd*-gnu)
   14954       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14955 	tmp_addflag=
   14956 	case $cc_basename,$host_cpu in
   14957 	pgcc*)				# Portland Group C compiler
   14958 	  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'
   14959 	  tmp_addflag=' $pic_flag'
   14960 	  ;;
   14961 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14962 	  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'
   14963 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14964 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14965 	  tmp_addflag=' -i_dynamic' ;;
   14966 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14967 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14968 	ifc* | ifort*)			# Intel Fortran compiler
   14969 	  tmp_addflag=' -nofor_main' ;;
   14970 	esac
   14971 	case `$CC -V 2>&1 | sed 5q` in
   14972 	*Sun\ C*)			# Sun C 5.9
   14973 	  whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   14974 	  tmp_sharedflag='-G' ;;
   14975 	*Sun\ F*)			# Sun Fortran 8.3
   14976 	  tmp_sharedflag='-G' ;;
   14977 	*)
   14978 	  tmp_sharedflag='-shared' ;;
   14979 	esac
   14980 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14981 
   14982 	if test $supports_anon_versioning = yes; then
   14983 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14984   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14985   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14986 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14987 	fi
   14988       else
   14989 	ld_shlibs_F77=no
   14990       fi
   14991       ;;
   14992 
   14993     netbsd*)
   14994       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14995 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14996 	wlarc=
   14997       else
   14998 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14999 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15000       fi
   15001       ;;
   15002 
   15003     solaris*)
   15004       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15005 	ld_shlibs_F77=no
   15006 	cat <<EOF 1>&2
   15007 
   15008 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15009 *** create shared libraries on Solaris systems.  Therefore, libtool
   15010 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15011 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15012 *** your PATH or compiler configuration so that the native linker is
   15013 *** used, and then restart.
   15014 
   15015 EOF
   15016       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15017 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15018 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15019       else
   15020 	ld_shlibs_F77=no
   15021       fi
   15022       ;;
   15023 
   15024     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15025       case `$LD -v 2>&1` in
   15026         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15027 	ld_shlibs_F77=no
   15028 	cat <<_LT_EOF 1>&2
   15029 
   15030 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15031 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15032 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15033 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15034 *** your PATH or compiler configuration so that the native linker is
   15035 *** used, and then restart.
   15036 
   15037 _LT_EOF
   15038 	;;
   15039 	*)
   15040 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15041 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15042 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15043 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15044 	  else
   15045 	    ld_shlibs_F77=no
   15046 	  fi
   15047 	;;
   15048       esac
   15049       ;;
   15050 
   15051     sunos4*)
   15052       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15053       wlarc=
   15054       hardcode_direct_F77=yes
   15055       hardcode_shlibpath_var_F77=no
   15056       ;;
   15057 
   15058     *)
   15059       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15060 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15061 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15062       else
   15063 	ld_shlibs_F77=no
   15064       fi
   15065       ;;
   15066     esac
   15067 
   15068     if test "$ld_shlibs_F77" = no; then
   15069       runpath_var=
   15070       hardcode_libdir_flag_spec_F77=
   15071       export_dynamic_flag_spec_F77=
   15072       whole_archive_flag_spec_F77=
   15073     fi
   15074   else
   15075     # PORTME fill in a description of your system's linker (not GNU ld)
   15076     case $host_os in
   15077     aix3*)
   15078       allow_undefined_flag_F77=unsupported
   15079       always_export_symbols_F77=yes
   15080       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'
   15081       # Note: this linker hardcodes the directories in LIBPATH if there
   15082       # are no directories specified by -L.
   15083       hardcode_minus_L_F77=yes
   15084       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15085 	# Neither direct hardcoding nor static linking is supported with a
   15086 	# broken collect2.
   15087 	hardcode_direct_F77=unsupported
   15088       fi
   15089       ;;
   15090 
   15091     aix[4-9]*)
   15092       if test "$host_cpu" = ia64; then
   15093 	# On IA64, the linker does run time linking by default, so we don't
   15094 	# have to do anything special.
   15095 	aix_use_runtimelinking=no
   15096 	exp_sym_flag='-Bexport'
   15097 	no_entry_flag=""
   15098       else
   15099 	# If we're using GNU nm, then we don't want the "-C" option.
   15100 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15101 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15102 	  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'
   15103 	else
   15104 	  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'
   15105 	fi
   15106 	aix_use_runtimelinking=no
   15107 
   15108 	# Test if we are trying to use run time linking or normal
   15109 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15110 	# need to do runtime linking.
   15111 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15112 	  for ld_flag in $LDFLAGS; do
   15113   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15114   	    aix_use_runtimelinking=yes
   15115   	    break
   15116   	  fi
   15117 	  done
   15118 	  ;;
   15119 	esac
   15120 
   15121 	exp_sym_flag='-bexport'
   15122 	no_entry_flag='-bnoentry'
   15123       fi
   15124 
   15125       # When large executables or shared objects are built, AIX ld can
   15126       # have problems creating the table of contents.  If linking a library
   15127       # or program results in "error TOC overflow" add -mminimal-toc to
   15128       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15129       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15130 
   15131       archive_cmds_F77=''
   15132       hardcode_direct_F77=yes
   15133       hardcode_libdir_separator_F77=':'
   15134       link_all_deplibs_F77=yes
   15135 
   15136       if test "$GCC" = yes; then
   15137 	case $host_os in aix4.[012]|aix4.[012].*)
   15138 	# We only want to do this on AIX 4.2 and lower, the check
   15139 	# below for broken collect2 doesn't work under 4.3+
   15140 	  collect2name=`${CC} -print-prog-name=collect2`
   15141 	  if test -f "$collect2name" && \
   15142   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15143 	  then
   15144   	  # We have reworked collect2
   15145   	  :
   15146 	  else
   15147   	  # We have old collect2
   15148   	  hardcode_direct_F77=unsupported
   15149   	  # It fails to find uninstalled libraries when the uninstalled
   15150   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15151   	  # to unsupported forces relinking
   15152   	  hardcode_minus_L_F77=yes
   15153   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15154   	  hardcode_libdir_separator_F77=
   15155 	  fi
   15156 	  ;;
   15157 	esac
   15158 	shared_flag='-shared'
   15159 	if test "$aix_use_runtimelinking" = yes; then
   15160 	  shared_flag="$shared_flag "'${wl}-G'
   15161 	fi
   15162       else
   15163 	# not using gcc
   15164 	if test "$host_cpu" = ia64; then
   15165   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15166   	# chokes on -Wl,-G. The following line is correct:
   15167 	  shared_flag='-G'
   15168 	else
   15169 	  if test "$aix_use_runtimelinking" = yes; then
   15170 	    shared_flag='${wl}-G'
   15171 	  else
   15172 	    shared_flag='${wl}-bM:SRE'
   15173 	  fi
   15174 	fi
   15175       fi
   15176 
   15177       # It seems that -bexpall does not export symbols beginning with
   15178       # underscore (_), so it is better to generate a list of symbols to export.
   15179       always_export_symbols_F77=yes
   15180       if test "$aix_use_runtimelinking" = yes; then
   15181 	# Warning - without using the other runtime loading flags (-brtl),
   15182 	# -berok will link without error, but may produce a broken library.
   15183 	allow_undefined_flag_F77='-berok'
   15184        # Determine the default libpath from the value encoded in an empty executable.
   15185        cat >conftest.$ac_ext <<_ACEOF
   15186       program main
   15187 
   15188       end
   15189 _ACEOF
   15190 rm -f conftest.$ac_objext conftest$ac_exeext
   15191 if { (ac_try="$ac_link"
   15192 case "(($ac_try" in
   15193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15194   *) ac_try_echo=$ac_try;;
   15195 esac
   15196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15197 $as_echo "$ac_try_echo") >&5
   15198   (eval "$ac_link") 2>conftest.er1
   15199   ac_status=$?
   15200   grep -v '^ *+' conftest.er1 >conftest.err
   15201   rm -f conftest.er1
   15202   cat conftest.err >&5
   15203   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15204   (exit $ac_status); } && {
   15205 	 test -z "$ac_f77_werror_flag" ||
   15206 	 test ! -s conftest.err
   15207        } && test -s conftest$ac_exeext && {
   15208 	 test "$cross_compiling" = yes ||
   15209 	 $as_test_x conftest$ac_exeext
   15210        }; then
   15211 
   15212 lt_aix_libpath_sed='
   15213     /Import File Strings/,/^$/ {
   15214 	/^0/ {
   15215 	    s/^0  *\(.*\)$/\1/
   15216 	    p
   15217 	}
   15218     }'
   15219 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15220 # Check for a 64-bit object if we didn't find anything.
   15221 if test -z "$aix_libpath"; then
   15222   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15223 fi
   15224 else
   15225   $as_echo "$as_me: failed program was:" >&5
   15226 sed 's/^/| /' conftest.$ac_ext >&5
   15227 
   15228 
   15229 fi
   15230 
   15231 rm -rf conftest.dSYM
   15232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15233       conftest$ac_exeext conftest.$ac_ext
   15234 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15235 
   15236        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15237 	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"
   15238        else
   15239 	if test "$host_cpu" = ia64; then
   15240 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15241 	  allow_undefined_flag_F77="-z nodefs"
   15242 	  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"
   15243 	else
   15244 	 # Determine the default libpath from the value encoded in an empty executable.
   15245 	 cat >conftest.$ac_ext <<_ACEOF
   15246       program main
   15247 
   15248       end
   15249 _ACEOF
   15250 rm -f conftest.$ac_objext conftest$ac_exeext
   15251 if { (ac_try="$ac_link"
   15252 case "(($ac_try" in
   15253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15254   *) ac_try_echo=$ac_try;;
   15255 esac
   15256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15257 $as_echo "$ac_try_echo") >&5
   15258   (eval "$ac_link") 2>conftest.er1
   15259   ac_status=$?
   15260   grep -v '^ *+' conftest.er1 >conftest.err
   15261   rm -f conftest.er1
   15262   cat conftest.err >&5
   15263   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15264   (exit $ac_status); } && {
   15265 	 test -z "$ac_f77_werror_flag" ||
   15266 	 test ! -s conftest.err
   15267        } && test -s conftest$ac_exeext && {
   15268 	 test "$cross_compiling" = yes ||
   15269 	 $as_test_x conftest$ac_exeext
   15270        }; then
   15271 
   15272 lt_aix_libpath_sed='
   15273     /Import File Strings/,/^$/ {
   15274 	/^0/ {
   15275 	    s/^0  *\(.*\)$/\1/
   15276 	    p
   15277 	}
   15278     }'
   15279 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15280 # Check for a 64-bit object if we didn't find anything.
   15281 if test -z "$aix_libpath"; then
   15282   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15283 fi
   15284 else
   15285   $as_echo "$as_me: failed program was:" >&5
   15286 sed 's/^/| /' conftest.$ac_ext >&5
   15287 
   15288 
   15289 fi
   15290 
   15291 rm -rf conftest.dSYM
   15292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15293       conftest$ac_exeext conftest.$ac_ext
   15294 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15295 
   15296 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15297 	  # Warning - without using the other run time loading flags,
   15298 	  # -berok will link without error, but may produce a broken library.
   15299 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15300 	  allow_undefined_flag_F77=' ${wl}-berok'
   15301 	  # Exported symbols can be pulled into shared objects from archives
   15302 	  whole_archive_flag_spec_F77='$convenience'
   15303 	  archive_cmds_need_lc_F77=yes
   15304 	  # This is similar to how AIX traditionally builds its shared libraries.
   15305 	  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'
   15306 	fi
   15307       fi
   15308       ;;
   15309 
   15310     amigaos*)
   15311       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)'
   15312       hardcode_libdir_flag_spec_F77='-L$libdir'
   15313       hardcode_minus_L_F77=yes
   15314       # see comment about different semantics on the GNU ld section
   15315       ld_shlibs_F77=no
   15316       ;;
   15317 
   15318     bsdi[45]*)
   15319       export_dynamic_flag_spec_F77=-rdynamic
   15320       ;;
   15321 
   15322     cygwin* | mingw* | pw32*)
   15323       # When not using gcc, we currently assume that we are using
   15324       # Microsoft Visual C++.
   15325       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15326       # no search path for DLLs.
   15327       hardcode_libdir_flag_spec_F77=' '
   15328       allow_undefined_flag_F77=unsupported
   15329       # Tell ltmain to make .lib files, not .a files.
   15330       libext=lib
   15331       # Tell ltmain to make .dll files, not .so files.
   15332       shrext_cmds=".dll"
   15333       # FIXME: Setting linknames here is a bad hack.
   15334       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15335       # The linker will automatically build a .lib file if we build a DLL.
   15336       old_archive_From_new_cmds_F77='true'
   15337       # FIXME: Should let the user specify the lib program.
   15338       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15339       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15340       enable_shared_with_static_runtimes_F77=yes
   15341       ;;
   15342 
   15343     darwin* | rhapsody*)
   15344       allow_undefined_flag_F77="$_lt_dar_allow_undefined"
   15345       archive_cmds_need_lc_F77=no
   15346       hardcode_direct_F77=no
   15347       hardcode_automatic_F77=yes
   15348       hardcode_shlibpath_var_F77=unsupported
   15349       whole_archive_flag_spec_F77=''
   15350       link_all_deplibs_F77=yes
   15351     if test "$GCC" = yes ; then
   15352     	output_verbose_link_cmd='echo'
   15353         archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15354         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15355         archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   15356         module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   15357     else
   15358       case $cc_basename in
   15359         xlc*)
   15360          output_verbose_link_cmd='echo'
   15361          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15362          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15363           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15364          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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15365           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}'
   15366           ;;
   15367        *)
   15368          ld_shlibs_F77=no
   15369           ;;
   15370       esac
   15371     fi
   15372       ;;
   15373 
   15374     dgux*)
   15375       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15376       hardcode_libdir_flag_spec_F77='-L$libdir'
   15377       hardcode_shlibpath_var_F77=no
   15378       ;;
   15379 
   15380     freebsd1*)
   15381       ld_shlibs_F77=no
   15382       ;;
   15383 
   15384     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15385     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15386     # does not break anything, and helps significantly (at the cost of a little
   15387     # extra space).
   15388     freebsd2.2*)
   15389       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15390       hardcode_libdir_flag_spec_F77='-R$libdir'
   15391       hardcode_direct_F77=yes
   15392       hardcode_shlibpath_var_F77=no
   15393       ;;
   15394 
   15395     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15396     freebsd2*)
   15397       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15398       hardcode_direct_F77=yes
   15399       hardcode_minus_L_F77=yes
   15400       hardcode_shlibpath_var_F77=no
   15401       ;;
   15402 
   15403     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15404     freebsd* | dragonfly*)
   15405       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15406       hardcode_libdir_flag_spec_F77='-R$libdir'
   15407       hardcode_direct_F77=yes
   15408       hardcode_shlibpath_var_F77=no
   15409       ;;
   15410 
   15411     hpux9*)
   15412       if test "$GCC" = yes; then
   15413 	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'
   15414       else
   15415 	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'
   15416       fi
   15417       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15418       hardcode_libdir_separator_F77=:
   15419       hardcode_direct_F77=yes
   15420 
   15421       # hardcode_minus_L: Not really in the search PATH,
   15422       # but as the default location of the library.
   15423       hardcode_minus_L_F77=yes
   15424       export_dynamic_flag_spec_F77='${wl}-E'
   15425       ;;
   15426 
   15427     hpux10*)
   15428       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15429 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15430       else
   15431 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15432       fi
   15433       if test "$with_gnu_ld" = no; then
   15434 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15435 	hardcode_libdir_separator_F77=:
   15436 
   15437 	hardcode_direct_F77=yes
   15438 	export_dynamic_flag_spec_F77='${wl}-E'
   15439 
   15440 	# hardcode_minus_L: Not really in the search PATH,
   15441 	# but as the default location of the library.
   15442 	hardcode_minus_L_F77=yes
   15443       fi
   15444       ;;
   15445 
   15446     hpux11*)
   15447       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15448 	case $host_cpu in
   15449 	hppa*64*)
   15450 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15451 	  ;;
   15452 	ia64*)
   15453 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15454 	  ;;
   15455 	*)
   15456 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15457 	  ;;
   15458 	esac
   15459       else
   15460 	case $host_cpu in
   15461 	hppa*64*)
   15462 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15463 	  ;;
   15464 	ia64*)
   15465 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15466 	  ;;
   15467 	*)
   15468 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15469 	  ;;
   15470 	esac
   15471       fi
   15472       if test "$with_gnu_ld" = no; then
   15473 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15474 	hardcode_libdir_separator_F77=:
   15475 
   15476 	case $host_cpu in
   15477 	hppa*64*|ia64*)
   15478 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15479 	  hardcode_direct_F77=no
   15480 	  hardcode_shlibpath_var_F77=no
   15481 	  ;;
   15482 	*)
   15483 	  hardcode_direct_F77=yes
   15484 	  export_dynamic_flag_spec_F77='${wl}-E'
   15485 
   15486 	  # hardcode_minus_L: Not really in the search PATH,
   15487 	  # but as the default location of the library.
   15488 	  hardcode_minus_L_F77=yes
   15489 	  ;;
   15490 	esac
   15491       fi
   15492       ;;
   15493 
   15494     irix5* | irix6* | nonstopux*)
   15495       if test "$GCC" = yes; then
   15496 	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'
   15497       else
   15498 	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'
   15499 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15500       fi
   15501       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15502       hardcode_libdir_separator_F77=:
   15503       link_all_deplibs_F77=yes
   15504       ;;
   15505 
   15506     netbsd*)
   15507       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15508 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15509       else
   15510 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15511       fi
   15512       hardcode_libdir_flag_spec_F77='-R$libdir'
   15513       hardcode_direct_F77=yes
   15514       hardcode_shlibpath_var_F77=no
   15515       ;;
   15516 
   15517     newsos6)
   15518       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15519       hardcode_direct_F77=yes
   15520       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15521       hardcode_libdir_separator_F77=:
   15522       hardcode_shlibpath_var_F77=no
   15523       ;;
   15524 
   15525     openbsd*)
   15526       if test -f /usr/libexec/ld.so; then
   15527 	hardcode_direct_F77=yes
   15528 	hardcode_shlibpath_var_F77=no
   15529 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15530 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15531 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15532 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15533 	  export_dynamic_flag_spec_F77='${wl}-E'
   15534 	else
   15535 	  case $host_os in
   15536 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15537 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15538 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15539 	     ;;
   15540 	   *)
   15541 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15542 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15543 	     ;;
   15544 	  esac
   15545         fi
   15546       else
   15547 	ld_shlibs_F77=no
   15548       fi
   15549       ;;
   15550 
   15551     os2*)
   15552       hardcode_libdir_flag_spec_F77='-L$libdir'
   15553       hardcode_minus_L_F77=yes
   15554       allow_undefined_flag_F77=unsupported
   15555       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'
   15556       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15557       ;;
   15558 
   15559     osf3*)
   15560       if test "$GCC" = yes; then
   15561 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15562 	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'
   15563       else
   15564 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15565 	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'
   15566       fi
   15567       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15568       hardcode_libdir_separator_F77=:
   15569       ;;
   15570 
   15571     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15572       if test "$GCC" = yes; then
   15573 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15574 	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'
   15575 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15576       else
   15577 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15578 	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'
   15579 	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~
   15580 	$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'
   15581 
   15582 	# Both c and cxx compiler support -rpath directly
   15583 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15584       fi
   15585       hardcode_libdir_separator_F77=:
   15586       ;;
   15587 
   15588     solaris*)
   15589       no_undefined_flag_F77=' -z text'
   15590       if test "$GCC" = yes; then
   15591 	wlarc='${wl}'
   15592 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15593 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15594 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15595       else
   15596 	wlarc=''
   15597 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15598 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15599   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15600       fi
   15601       hardcode_libdir_flag_spec_F77='-R$libdir'
   15602       hardcode_shlibpath_var_F77=no
   15603       case $host_os in
   15604       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15605       *)
   15606 	# The compiler driver will combine and reorder linker options,
   15607 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15608 	# but is careful enough not to reorder.
   15609  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15610 	if test "$GCC" = yes; then
   15611 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15612 	else
   15613 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15614 	fi
   15615 	;;
   15616       esac
   15617       link_all_deplibs_F77=yes
   15618       ;;
   15619 
   15620     sunos4*)
   15621       if test "x$host_vendor" = xsequent; then
   15622 	# Use $CC to link under sequent, because it throws in some extra .o
   15623 	# files that make .init and .fini sections work.
   15624 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15625       else
   15626 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15627       fi
   15628       hardcode_libdir_flag_spec_F77='-L$libdir'
   15629       hardcode_direct_F77=yes
   15630       hardcode_minus_L_F77=yes
   15631       hardcode_shlibpath_var_F77=no
   15632       ;;
   15633 
   15634     sysv4)
   15635       case $host_vendor in
   15636 	sni)
   15637 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15638 	  hardcode_direct_F77=yes # is this really true???
   15639 	;;
   15640 	siemens)
   15641 	  ## LD is ld it makes a PLAMLIB
   15642 	  ## CC just makes a GrossModule.
   15643 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15644 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15645 	  hardcode_direct_F77=no
   15646         ;;
   15647 	motorola)
   15648 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15649 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15650 	;;
   15651       esac
   15652       runpath_var='LD_RUN_PATH'
   15653       hardcode_shlibpath_var_F77=no
   15654       ;;
   15655 
   15656     sysv4.3*)
   15657       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15658       hardcode_shlibpath_var_F77=no
   15659       export_dynamic_flag_spec_F77='-Bexport'
   15660       ;;
   15661 
   15662     sysv4*MP*)
   15663       if test -d /usr/nec; then
   15664 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15665 	hardcode_shlibpath_var_F77=no
   15666 	runpath_var=LD_RUN_PATH
   15667 	hardcode_runpath_var=yes
   15668 	ld_shlibs_F77=yes
   15669       fi
   15670       ;;
   15671 
   15672     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15673       no_undefined_flag_F77='${wl}-z,text'
   15674       archive_cmds_need_lc_F77=no
   15675       hardcode_shlibpath_var_F77=no
   15676       runpath_var='LD_RUN_PATH'
   15677 
   15678       if test "$GCC" = yes; then
   15679 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15680 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15681       else
   15682 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15683 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15684       fi
   15685       ;;
   15686 
   15687     sysv5* | sco3.2v5* | sco5v6*)
   15688       # Note: We can NOT use -z defs as we might desire, because we do not
   15689       # link with -lc, and that would cause any symbols used from libc to
   15690       # always be unresolved, which means just about no library would
   15691       # ever link correctly.  If we're not using GNU ld we use -z text
   15692       # though, which does catch some bad symbols but isn't as heavy-handed
   15693       # as -z defs.
   15694       no_undefined_flag_F77='${wl}-z,text'
   15695       allow_undefined_flag_F77='${wl}-z,nodefs'
   15696       archive_cmds_need_lc_F77=no
   15697       hardcode_shlibpath_var_F77=no
   15698       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15699       hardcode_libdir_separator_F77=':'
   15700       link_all_deplibs_F77=yes
   15701       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15702       runpath_var='LD_RUN_PATH'
   15703 
   15704       if test "$GCC" = yes; then
   15705 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15706 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15707       else
   15708 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15709 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15710       fi
   15711       ;;
   15712 
   15713     uts4*)
   15714       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15715       hardcode_libdir_flag_spec_F77='-L$libdir'
   15716       hardcode_shlibpath_var_F77=no
   15717       ;;
   15718 
   15719     *)
   15720       ld_shlibs_F77=no
   15721       ;;
   15722     esac
   15723   fi
   15724 
   15725 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15726 $as_echo "$ld_shlibs_F77" >&6; }
   15727 test "$ld_shlibs_F77" = no && can_build_shared=no
   15728 
   15729 #
   15730 # Do we need to explicitly link libc?
   15731 #
   15732 case "x$archive_cmds_need_lc_F77" in
   15733 x|xyes)
   15734   # Assume -lc should be added
   15735   archive_cmds_need_lc_F77=yes
   15736 
   15737   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15738     case $archive_cmds_F77 in
   15739     *'~'*)
   15740       # FIXME: we may have to deal with multi-command sequences.
   15741       ;;
   15742     '$CC '*)
   15743       # Test whether the compiler implicitly links with -lc since on some
   15744       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15745       # to ld, don't add -lc before -lgcc.
   15746       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15747 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15748       $rm conftest*
   15749       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15750 
   15751       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15752   (eval $ac_compile) 2>&5
   15753   ac_status=$?
   15754   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15755   (exit $ac_status); } 2>conftest.err; then
   15756         soname=conftest
   15757         lib=conftest
   15758         libobjs=conftest.$ac_objext
   15759         deplibs=
   15760         wl=$lt_prog_compiler_wl_F77
   15761 	pic_flag=$lt_prog_compiler_pic_F77
   15762         compiler_flags=-v
   15763         linker_flags=-v
   15764         verstring=
   15765         output_objdir=.
   15766         libname=conftest
   15767         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15768         allow_undefined_flag_F77=
   15769         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15770   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15771   ac_status=$?
   15772   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15773   (exit $ac_status); }
   15774         then
   15775 	  archive_cmds_need_lc_F77=no
   15776         else
   15777 	  archive_cmds_need_lc_F77=yes
   15778         fi
   15779         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15780       else
   15781         cat conftest.err 1>&5
   15782       fi
   15783       $rm conftest*
   15784       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15785 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15786       ;;
   15787     esac
   15788   fi
   15789   ;;
   15790 esac
   15791 
   15792 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15793 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15794 library_names_spec=
   15795 libname_spec='lib$name'
   15796 soname_spec=
   15797 shrext_cmds=".so"
   15798 postinstall_cmds=
   15799 postuninstall_cmds=
   15800 finish_cmds=
   15801 finish_eval=
   15802 shlibpath_var=
   15803 shlibpath_overrides_runpath=unknown
   15804 version_type=none
   15805 dynamic_linker="$host_os ld.so"
   15806 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15807 
   15808 need_lib_prefix=unknown
   15809 hardcode_into_libs=no
   15810 
   15811 # when you set need_version to no, make sure it does not cause -set_version
   15812 # flags to be left without arguments
   15813 need_version=unknown
   15814 
   15815 case $host_os in
   15816 aix3*)
   15817   version_type=linux
   15818   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15819   shlibpath_var=LIBPATH
   15820 
   15821   # AIX 3 has no versioning support, so we append a major version to the name.
   15822   soname_spec='${libname}${release}${shared_ext}$major'
   15823   ;;
   15824 
   15825 aix[4-9]*)
   15826   version_type=linux
   15827   need_lib_prefix=no
   15828   need_version=no
   15829   hardcode_into_libs=yes
   15830   if test "$host_cpu" = ia64; then
   15831     # AIX 5 supports IA64
   15832     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15833     shlibpath_var=LD_LIBRARY_PATH
   15834   else
   15835     # With GCC up to 2.95.x, collect2 would create an import file
   15836     # for dependence libraries.  The import file would start with
   15837     # the line `#! .'.  This would cause the generated library to
   15838     # depend on `.', always an invalid library.  This was fixed in
   15839     # development snapshots of GCC prior to 3.0.
   15840     case $host_os in
   15841       aix4 | aix4.[01] | aix4.[01].*)
   15842       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15843 	   echo ' yes '
   15844 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15845 	:
   15846       else
   15847 	can_build_shared=no
   15848       fi
   15849       ;;
   15850     esac
   15851     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15852     # soname into executable. Probably we can add versioning support to
   15853     # collect2, so additional links can be useful in future.
   15854     if test "$aix_use_runtimelinking" = yes; then
   15855       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15856       # instead of lib<name>.a to let people know that these are not
   15857       # typical AIX shared libraries.
   15858       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15859     else
   15860       # We preserve .a as extension for shared libraries through AIX4.2
   15861       # and later when we are not doing run time linking.
   15862       library_names_spec='${libname}${release}.a $libname.a'
   15863       soname_spec='${libname}${release}${shared_ext}$major'
   15864     fi
   15865     shlibpath_var=LIBPATH
   15866   fi
   15867   ;;
   15868 
   15869 amigaos*)
   15870   library_names_spec='$libname.ixlibrary $libname.a'
   15871   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15872   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'
   15873   ;;
   15874 
   15875 beos*)
   15876   library_names_spec='${libname}${shared_ext}'
   15877   dynamic_linker="$host_os ld.so"
   15878   shlibpath_var=LIBRARY_PATH
   15879   ;;
   15880 
   15881 bsdi[45]*)
   15882   version_type=linux
   15883   need_version=no
   15884   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15885   soname_spec='${libname}${release}${shared_ext}$major'
   15886   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15887   shlibpath_var=LD_LIBRARY_PATH
   15888   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15889   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15890   # the default ld.so.conf also contains /usr/contrib/lib and
   15891   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15892   # libtool to hard-code these into programs
   15893   ;;
   15894 
   15895 cygwin* | mingw* | pw32*)
   15896   version_type=windows
   15897   shrext_cmds=".dll"
   15898   need_version=no
   15899   need_lib_prefix=no
   15900 
   15901   case $GCC,$host_os in
   15902   yes,cygwin* | yes,mingw* | yes,pw32*)
   15903     library_names_spec='$libname.dll.a'
   15904     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15905     postinstall_cmds='base_file=`basename \${file}`~
   15906       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15907       dldir=$destdir/`dirname \$dlpath`~
   15908       test -d \$dldir || mkdir -p \$dldir~
   15909       $install_prog $dir/$dlname \$dldir/$dlname~
   15910       chmod a+x \$dldir/$dlname'
   15911     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15912       dlpath=$dir/\$dldll~
   15913        $rm \$dlpath'
   15914     shlibpath_overrides_runpath=yes
   15915 
   15916     case $host_os in
   15917     cygwin*)
   15918       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15919       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15920       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15921       ;;
   15922     mingw*)
   15923       # MinGW DLLs use traditional 'lib' prefix
   15924       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15925       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15926       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15927         # It is most probably a Windows format PATH printed by
   15928         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15929         # path with ; separators, and with drive letters. We can handle the
   15930         # drive letters (cygwin fileutils understands them), so leave them,
   15931         # especially as we might pass files found there to a mingw objdump,
   15932         # which wouldn't understand a cygwinified path. Ahh.
   15933         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15934       else
   15935         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15936       fi
   15937       ;;
   15938     pw32*)
   15939       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15940       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15941       ;;
   15942     esac
   15943     ;;
   15944 
   15945   *)
   15946     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15947     ;;
   15948   esac
   15949   dynamic_linker='Win32 ld.exe'
   15950   # FIXME: first we should search . and the directory the executable is in
   15951   shlibpath_var=PATH
   15952   ;;
   15953 
   15954 darwin* | rhapsody*)
   15955   dynamic_linker="$host_os dyld"
   15956   version_type=darwin
   15957   need_lib_prefix=no
   15958   need_version=no
   15959   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15960   soname_spec='${libname}${release}${major}$shared_ext'
   15961   shlibpath_overrides_runpath=yes
   15962   shlibpath_var=DYLD_LIBRARY_PATH
   15963   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15964 
   15965   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15966   ;;
   15967 
   15968 dgux*)
   15969   version_type=linux
   15970   need_lib_prefix=no
   15971   need_version=no
   15972   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15973   soname_spec='${libname}${release}${shared_ext}$major'
   15974   shlibpath_var=LD_LIBRARY_PATH
   15975   ;;
   15976 
   15977 freebsd1*)
   15978   dynamic_linker=no
   15979   ;;
   15980 
   15981 freebsd* | dragonfly*)
   15982   # DragonFly does not have aout.  When/if they implement a new
   15983   # versioning mechanism, adjust this.
   15984   if test -x /usr/bin/objformat; then
   15985     objformat=`/usr/bin/objformat`
   15986   else
   15987     case $host_os in
   15988     freebsd[123]*) objformat=aout ;;
   15989     *) objformat=elf ;;
   15990     esac
   15991   fi
   15992   version_type=freebsd-$objformat
   15993   case $version_type in
   15994     freebsd-elf*)
   15995       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15996       need_version=no
   15997       need_lib_prefix=no
   15998       ;;
   15999     freebsd-*)
   16000       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16001       need_version=yes
   16002       ;;
   16003   esac
   16004   shlibpath_var=LD_LIBRARY_PATH
   16005   case $host_os in
   16006   freebsd2*)
   16007     shlibpath_overrides_runpath=yes
   16008     ;;
   16009   freebsd3.[01]* | freebsdelf3.[01]*)
   16010     shlibpath_overrides_runpath=yes
   16011     hardcode_into_libs=yes
   16012     ;;
   16013   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16014   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16015     shlibpath_overrides_runpath=no
   16016     hardcode_into_libs=yes
   16017     ;;
   16018   *) # from 4.6 on, and DragonFly
   16019     shlibpath_overrides_runpath=yes
   16020     hardcode_into_libs=yes
   16021     ;;
   16022   esac
   16023   ;;
   16024 
   16025 gnu*)
   16026   version_type=linux
   16027   need_lib_prefix=no
   16028   need_version=no
   16029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16030   soname_spec='${libname}${release}${shared_ext}$major'
   16031   shlibpath_var=LD_LIBRARY_PATH
   16032   hardcode_into_libs=yes
   16033   ;;
   16034 
   16035 hpux9* | hpux10* | hpux11*)
   16036   # Give a soname corresponding to the major version so that dld.sl refuses to
   16037   # link against other versions.
   16038   version_type=sunos
   16039   need_lib_prefix=no
   16040   need_version=no
   16041   case $host_cpu in
   16042   ia64*)
   16043     shrext_cmds='.so'
   16044     hardcode_into_libs=yes
   16045     dynamic_linker="$host_os dld.so"
   16046     shlibpath_var=LD_LIBRARY_PATH
   16047     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16048     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16049     soname_spec='${libname}${release}${shared_ext}$major'
   16050     if test "X$HPUX_IA64_MODE" = X32; then
   16051       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16052     else
   16053       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16054     fi
   16055     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16056     ;;
   16057    hppa*64*)
   16058      shrext_cmds='.sl'
   16059      hardcode_into_libs=yes
   16060      dynamic_linker="$host_os dld.sl"
   16061      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16062      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16063      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16064      soname_spec='${libname}${release}${shared_ext}$major'
   16065      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16066      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16067      ;;
   16068    *)
   16069     shrext_cmds='.sl'
   16070     dynamic_linker="$host_os dld.sl"
   16071     shlibpath_var=SHLIB_PATH
   16072     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16073     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16074     soname_spec='${libname}${release}${shared_ext}$major'
   16075     ;;
   16076   esac
   16077   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16078   postinstall_cmds='chmod 555 $lib'
   16079   ;;
   16080 
   16081 interix[3-9]*)
   16082   version_type=linux
   16083   need_lib_prefix=no
   16084   need_version=no
   16085   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16086   soname_spec='${libname}${release}${shared_ext}$major'
   16087   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16088   shlibpath_var=LD_LIBRARY_PATH
   16089   shlibpath_overrides_runpath=no
   16090   hardcode_into_libs=yes
   16091   ;;
   16092 
   16093 irix5* | irix6* | nonstopux*)
   16094   case $host_os in
   16095     nonstopux*) version_type=nonstopux ;;
   16096     *)
   16097 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16098 		version_type=linux
   16099 	else
   16100 		version_type=irix
   16101 	fi ;;
   16102   esac
   16103   need_lib_prefix=no
   16104   need_version=no
   16105   soname_spec='${libname}${release}${shared_ext}$major'
   16106   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16107   case $host_os in
   16108   irix5* | nonstopux*)
   16109     libsuff= shlibsuff=
   16110     ;;
   16111   *)
   16112     case $LD in # libtool.m4 will add one of these switches to LD
   16113     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16114       libsuff= shlibsuff= libmagic=32-bit;;
   16115     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16116       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16117     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16118       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16119     *) libsuff= shlibsuff= libmagic=never-match;;
   16120     esac
   16121     ;;
   16122   esac
   16123   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16124   shlibpath_overrides_runpath=no
   16125   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16126   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16127   hardcode_into_libs=yes
   16128   ;;
   16129 
   16130 # No shared lib support for Linux oldld, aout, or coff.
   16131 linux*oldld* | linux*aout* | linux*coff*)
   16132   dynamic_linker=no
   16133   ;;
   16134 
   16135 # This must be Linux ELF.
   16136 linux* | k*bsd*-gnu)
   16137   version_type=linux
   16138   need_lib_prefix=no
   16139   need_version=no
   16140   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16141   soname_spec='${libname}${release}${shared_ext}$major'
   16142   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16143   shlibpath_var=LD_LIBRARY_PATH
   16144   shlibpath_overrides_runpath=no
   16145   # This implies no fast_install, which is unacceptable.
   16146   # Some rework will be needed to allow for fast_install
   16147   # before this can be enabled.
   16148   hardcode_into_libs=yes
   16149 
   16150   # Append ld.so.conf contents to the search path
   16151   if test -f /etc/ld.so.conf; then
   16152     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   16153     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16154   fi
   16155 
   16156   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16157   # powerpc, because MkLinux only supported shared libraries with the
   16158   # GNU dynamic linker.  Since this was broken with cross compilers,
   16159   # most powerpc-linux boxes support dynamic linking these days and
   16160   # people can always --disable-shared, the test was removed, and we
   16161   # assume the GNU/Linux dynamic linker is in use.
   16162   dynamic_linker='GNU/Linux ld.so'
   16163   ;;
   16164 
   16165 netbsd*)
   16166   version_type=sunos
   16167   need_lib_prefix=no
   16168   need_version=no
   16169   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16170     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16171     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16172     dynamic_linker='NetBSD (a.out) ld.so'
   16173   else
   16174     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16175     soname_spec='${libname}${release}${shared_ext}$major'
   16176     dynamic_linker='NetBSD ld.elf_so'
   16177   fi
   16178   shlibpath_var=LD_LIBRARY_PATH
   16179   shlibpath_overrides_runpath=yes
   16180   hardcode_into_libs=yes
   16181   ;;
   16182 
   16183 newsos6)
   16184   version_type=linux
   16185   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16186   shlibpath_var=LD_LIBRARY_PATH
   16187   shlibpath_overrides_runpath=yes
   16188   ;;
   16189 
   16190 nto-qnx*)
   16191   version_type=linux
   16192   need_lib_prefix=no
   16193   need_version=no
   16194   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16195   soname_spec='${libname}${release}${shared_ext}$major'
   16196   shlibpath_var=LD_LIBRARY_PATH
   16197   shlibpath_overrides_runpath=yes
   16198   ;;
   16199 
   16200 openbsd*)
   16201   version_type=sunos
   16202   sys_lib_dlsearch_path_spec="/usr/lib"
   16203   need_lib_prefix=no
   16204   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16205   case $host_os in
   16206     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16207     *)                         need_version=no  ;;
   16208   esac
   16209   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16210   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16211   shlibpath_var=LD_LIBRARY_PATH
   16212   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16213     case $host_os in
   16214       openbsd2.[89] | openbsd2.[89].*)
   16215 	shlibpath_overrides_runpath=no
   16216 	;;
   16217       *)
   16218 	shlibpath_overrides_runpath=yes
   16219 	;;
   16220       esac
   16221   else
   16222     shlibpath_overrides_runpath=yes
   16223   fi
   16224   ;;
   16225 
   16226 os2*)
   16227   libname_spec='$name'
   16228   shrext_cmds=".dll"
   16229   need_lib_prefix=no
   16230   library_names_spec='$libname${shared_ext} $libname.a'
   16231   dynamic_linker='OS/2 ld.exe'
   16232   shlibpath_var=LIBPATH
   16233   ;;
   16234 
   16235 osf3* | osf4* | osf5*)
   16236   version_type=osf
   16237   need_lib_prefix=no
   16238   need_version=no
   16239   soname_spec='${libname}${release}${shared_ext}$major'
   16240   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16241   shlibpath_var=LD_LIBRARY_PATH
   16242   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16243   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16244   ;;
   16245 
   16246 rdos*)
   16247   dynamic_linker=no
   16248   ;;
   16249 
   16250 solaris*)
   16251   version_type=linux
   16252   need_lib_prefix=no
   16253   need_version=no
   16254   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16255   soname_spec='${libname}${release}${shared_ext}$major'
   16256   shlibpath_var=LD_LIBRARY_PATH
   16257   shlibpath_overrides_runpath=yes
   16258   hardcode_into_libs=yes
   16259   # ldd complains unless libraries are executable
   16260   postinstall_cmds='chmod +x $lib'
   16261   ;;
   16262 
   16263 sunos4*)
   16264   version_type=sunos
   16265   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16266   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16267   shlibpath_var=LD_LIBRARY_PATH
   16268   shlibpath_overrides_runpath=yes
   16269   if test "$with_gnu_ld" = yes; then
   16270     need_lib_prefix=no
   16271   fi
   16272   need_version=yes
   16273   ;;
   16274 
   16275 sysv4 | sysv4.3*)
   16276   version_type=linux
   16277   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16278   soname_spec='${libname}${release}${shared_ext}$major'
   16279   shlibpath_var=LD_LIBRARY_PATH
   16280   case $host_vendor in
   16281     sni)
   16282       shlibpath_overrides_runpath=no
   16283       need_lib_prefix=no
   16284       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16285       runpath_var=LD_RUN_PATH
   16286       ;;
   16287     siemens)
   16288       need_lib_prefix=no
   16289       ;;
   16290     motorola)
   16291       need_lib_prefix=no
   16292       need_version=no
   16293       shlibpath_overrides_runpath=no
   16294       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16295       ;;
   16296   esac
   16297   ;;
   16298 
   16299 sysv4*MP*)
   16300   if test -d /usr/nec ;then
   16301     version_type=linux
   16302     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16303     soname_spec='$libname${shared_ext}.$major'
   16304     shlibpath_var=LD_LIBRARY_PATH
   16305   fi
   16306   ;;
   16307 
   16308 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16309   version_type=freebsd-elf
   16310   need_lib_prefix=no
   16311   need_version=no
   16312   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16313   soname_spec='${libname}${release}${shared_ext}$major'
   16314   shlibpath_var=LD_LIBRARY_PATH
   16315   hardcode_into_libs=yes
   16316   if test "$with_gnu_ld" = yes; then
   16317     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16318     shlibpath_overrides_runpath=no
   16319   else
   16320     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16321     shlibpath_overrides_runpath=yes
   16322     case $host_os in
   16323       sco3.2v5*)
   16324         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16325 	;;
   16326     esac
   16327   fi
   16328   sys_lib_dlsearch_path_spec='/usr/lib'
   16329   ;;
   16330 
   16331 uts4*)
   16332   version_type=linux
   16333   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16334   soname_spec='${libname}${release}${shared_ext}$major'
   16335   shlibpath_var=LD_LIBRARY_PATH
   16336   ;;
   16337 
   16338 *)
   16339   dynamic_linker=no
   16340   ;;
   16341 esac
   16342 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16343 $as_echo "$dynamic_linker" >&6; }
   16344 test "$dynamic_linker" = no && can_build_shared=no
   16345 
   16346 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16347   $as_echo_n "(cached) " >&6
   16348 else
   16349   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16350 fi
   16351 
   16352 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16353 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16354   $as_echo_n "(cached) " >&6
   16355 else
   16356   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16357 fi
   16358 
   16359 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16360 
   16361 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16362 if test "$GCC" = yes; then
   16363   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16364 fi
   16365 
   16366 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16367 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16368 hardcode_action_F77=
   16369 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16370    test -n "$runpath_var_F77" || \
   16371    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16372 
   16373   # We can hardcode non-existant directories.
   16374   if test "$hardcode_direct_F77" != no &&
   16375      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16376      # have to relink, otherwise we might link with an installed library
   16377      # when we should be linking with a yet-to-be-installed one
   16378      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16379      test "$hardcode_minus_L_F77" != no; then
   16380     # Linking always hardcodes the temporary library directory.
   16381     hardcode_action_F77=relink
   16382   else
   16383     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16384     hardcode_action_F77=immediate
   16385   fi
   16386 else
   16387   # We cannot hardcode anything, or else we can only hardcode existing
   16388   # directories.
   16389   hardcode_action_F77=unsupported
   16390 fi
   16391 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16392 $as_echo "$hardcode_action_F77" >&6; }
   16393 
   16394 if test "$hardcode_action_F77" = relink; then
   16395   # Fast installation is not supported
   16396   enable_fast_install=no
   16397 elif test "$shlibpath_overrides_runpath" = yes ||
   16398      test "$enable_shared" = no; then
   16399   # Fast installation is not necessary
   16400   enable_fast_install=needless
   16401 fi
   16402 
   16403 
   16404 # The else clause should only fire when bootstrapping the
   16405 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16406 # with your package, and you will get complaints that there are
   16407 # no rules to generate ltmain.sh.
   16408 if test -f "$ltmain"; then
   16409   # See if we are running on zsh, and set the options which allow our commands through
   16410   # without removal of \ escapes.
   16411   if test -n "${ZSH_VERSION+set}" ; then
   16412     setopt NO_GLOB_SUBST
   16413   fi
   16414   # Now quote all the things that may contain metacharacters while being
   16415   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16416   # variables and quote the copies for generation of the libtool script.
   16417   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16418     SED SHELL STRIP \
   16419     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16420     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16421     deplibs_check_method reload_flag reload_cmds need_locks \
   16422     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16423     lt_cv_sys_global_symbol_to_c_name_address \
   16424     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16425     old_postinstall_cmds old_postuninstall_cmds \
   16426     compiler_F77 \
   16427     CC_F77 \
   16428     LD_F77 \
   16429     lt_prog_compiler_wl_F77 \
   16430     lt_prog_compiler_pic_F77 \
   16431     lt_prog_compiler_static_F77 \
   16432     lt_prog_compiler_no_builtin_flag_F77 \
   16433     export_dynamic_flag_spec_F77 \
   16434     thread_safe_flag_spec_F77 \
   16435     whole_archive_flag_spec_F77 \
   16436     enable_shared_with_static_runtimes_F77 \
   16437     old_archive_cmds_F77 \
   16438     old_archive_from_new_cmds_F77 \
   16439     predep_objects_F77 \
   16440     postdep_objects_F77 \
   16441     predeps_F77 \
   16442     postdeps_F77 \
   16443     compiler_lib_search_path_F77 \
   16444     compiler_lib_search_dirs_F77 \
   16445     archive_cmds_F77 \
   16446     archive_expsym_cmds_F77 \
   16447     postinstall_cmds_F77 \
   16448     postuninstall_cmds_F77 \
   16449     old_archive_from_expsyms_cmds_F77 \
   16450     allow_undefined_flag_F77 \
   16451     no_undefined_flag_F77 \
   16452     export_symbols_cmds_F77 \
   16453     hardcode_libdir_flag_spec_F77 \
   16454     hardcode_libdir_flag_spec_ld_F77 \
   16455     hardcode_libdir_separator_F77 \
   16456     hardcode_automatic_F77 \
   16457     module_cmds_F77 \
   16458     module_expsym_cmds_F77 \
   16459     lt_cv_prog_compiler_c_o_F77 \
   16460     fix_srcfile_path_F77 \
   16461     exclude_expsyms_F77 \
   16462     include_expsyms_F77; do
   16463 
   16464     case $var in
   16465     old_archive_cmds_F77 | \
   16466     old_archive_from_new_cmds_F77 | \
   16467     archive_cmds_F77 | \
   16468     archive_expsym_cmds_F77 | \
   16469     module_cmds_F77 | \
   16470     module_expsym_cmds_F77 | \
   16471     old_archive_from_expsyms_cmds_F77 | \
   16472     export_symbols_cmds_F77 | \
   16473     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16474     postinstall_cmds | postuninstall_cmds | \
   16475     old_postinstall_cmds | old_postuninstall_cmds | \
   16476     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16477       # Double-quote double-evaled strings.
   16478       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16479       ;;
   16480     *)
   16481       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16482       ;;
   16483     esac
   16484   done
   16485 
   16486   case $lt_echo in
   16487   *'\$0 --fallback-echo"')
   16488     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16489     ;;
   16490   esac
   16491 
   16492 cfgfile="$ofile"
   16493 
   16494   cat <<__EOF__ >> "$cfgfile"
   16495 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16496 
   16497 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16498 
   16499 # Shell to use when invoking shell scripts.
   16500 SHELL=$lt_SHELL
   16501 
   16502 # Whether or not to build shared libraries.
   16503 build_libtool_libs=$enable_shared
   16504 
   16505 # Whether or not to build static libraries.
   16506 build_old_libs=$enable_static
   16507 
   16508 # Whether or not to add -lc for building shared libraries.
   16509 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16510 
   16511 # Whether or not to disallow shared libs when runtime libs are static
   16512 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16513 
   16514 # Whether or not to optimize for fast installation.
   16515 fast_install=$enable_fast_install
   16516 
   16517 # The host system.
   16518 host_alias=$host_alias
   16519 host=$host
   16520 host_os=$host_os
   16521 
   16522 # The build system.
   16523 build_alias=$build_alias
   16524 build=$build
   16525 build_os=$build_os
   16526 
   16527 # An echo program that does not interpret backslashes.
   16528 echo=$lt_echo
   16529 
   16530 # The archiver.
   16531 AR=$lt_AR
   16532 AR_FLAGS=$lt_AR_FLAGS
   16533 
   16534 # A C compiler.
   16535 LTCC=$lt_LTCC
   16536 
   16537 # LTCC compiler flags.
   16538 LTCFLAGS=$lt_LTCFLAGS
   16539 
   16540 # A language-specific compiler.
   16541 CC=$lt_compiler_F77
   16542 
   16543 # Is the compiler the GNU C compiler?
   16544 with_gcc=$GCC_F77
   16545 
   16546 # An ERE matcher.
   16547 EGREP=$lt_EGREP
   16548 
   16549 # The linker used to build libraries.
   16550 LD=$lt_LD_F77
   16551 
   16552 # Whether we need hard or soft links.
   16553 LN_S=$lt_LN_S
   16554 
   16555 # A BSD-compatible nm program.
   16556 NM=$lt_NM
   16557 
   16558 # A symbol stripping program
   16559 STRIP=$lt_STRIP
   16560 
   16561 # Used to examine libraries when file_magic_cmd begins "file"
   16562 MAGIC_CMD=$MAGIC_CMD
   16563 
   16564 # Used on cygwin: DLL creation program.
   16565 DLLTOOL="$DLLTOOL"
   16566 
   16567 # Used on cygwin: object dumper.
   16568 OBJDUMP="$OBJDUMP"
   16569 
   16570 # Used on cygwin: assembler.
   16571 AS="$AS"
   16572 
   16573 # The name of the directory that contains temporary libtool files.
   16574 objdir=$objdir
   16575 
   16576 # How to create reloadable object files.
   16577 reload_flag=$lt_reload_flag
   16578 reload_cmds=$lt_reload_cmds
   16579 
   16580 # How to pass a linker flag through the compiler.
   16581 wl=$lt_lt_prog_compiler_wl_F77
   16582 
   16583 # Object file suffix (normally "o").
   16584 objext="$ac_objext"
   16585 
   16586 # Old archive suffix (normally "a").
   16587 libext="$libext"
   16588 
   16589 # Shared library suffix (normally ".so").
   16590 shrext_cmds='$shrext_cmds'
   16591 
   16592 # Executable file suffix (normally "").
   16593 exeext="$exeext"
   16594 
   16595 # Additional compiler flags for building library objects.
   16596 pic_flag=$lt_lt_prog_compiler_pic_F77
   16597 pic_mode=$pic_mode
   16598 
   16599 # What is the maximum length of a command?
   16600 max_cmd_len=$lt_cv_sys_max_cmd_len
   16601 
   16602 # Does compiler simultaneously support -c and -o options?
   16603 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16604 
   16605 # Must we lock files when doing compilation?
   16606 need_locks=$lt_need_locks
   16607 
   16608 # Do we need the lib prefix for modules?
   16609 need_lib_prefix=$need_lib_prefix
   16610 
   16611 # Do we need a version for libraries?
   16612 need_version=$need_version
   16613 
   16614 # Whether dlopen is supported.
   16615 dlopen_support=$enable_dlopen
   16616 
   16617 # Whether dlopen of programs is supported.
   16618 dlopen_self=$enable_dlopen_self
   16619 
   16620 # Whether dlopen of statically linked programs is supported.
   16621 dlopen_self_static=$enable_dlopen_self_static
   16622 
   16623 # Compiler flag to prevent dynamic linking.
   16624 link_static_flag=$lt_lt_prog_compiler_static_F77
   16625 
   16626 # Compiler flag to turn off builtin functions.
   16627 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16628 
   16629 # Compiler flag to allow reflexive dlopens.
   16630 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16631 
   16632 # Compiler flag to generate shared objects directly from archives.
   16633 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16634 
   16635 # Compiler flag to generate thread-safe objects.
   16636 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16637 
   16638 # Library versioning type.
   16639 version_type=$version_type
   16640 
   16641 # Format of library name prefix.
   16642 libname_spec=$lt_libname_spec
   16643 
   16644 # List of archive names.  First name is the real one, the rest are links.
   16645 # The last name is the one that the linker finds with -lNAME.
   16646 library_names_spec=$lt_library_names_spec
   16647 
   16648 # The coded name of the library, if different from the real name.
   16649 soname_spec=$lt_soname_spec
   16650 
   16651 # Commands used to build and install an old-style archive.
   16652 RANLIB=$lt_RANLIB
   16653 old_archive_cmds=$lt_old_archive_cmds_F77
   16654 old_postinstall_cmds=$lt_old_postinstall_cmds
   16655 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16656 
   16657 # Create an old-style archive from a shared archive.
   16658 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16659 
   16660 # Create a temporary old-style archive to link instead of a shared archive.
   16661 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16662 
   16663 # Commands used to build and install a shared archive.
   16664 archive_cmds=$lt_archive_cmds_F77
   16665 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16666 postinstall_cmds=$lt_postinstall_cmds
   16667 postuninstall_cmds=$lt_postuninstall_cmds
   16668 
   16669 # Commands used to build a loadable module (assumed same as above if empty)
   16670 module_cmds=$lt_module_cmds_F77
   16671 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16672 
   16673 # Commands to strip libraries.
   16674 old_striplib=$lt_old_striplib
   16675 striplib=$lt_striplib
   16676 
   16677 # Dependencies to place before the objects being linked to create a
   16678 # shared library.
   16679 predep_objects=$lt_predep_objects_F77
   16680 
   16681 # Dependencies to place after the objects being linked to create a
   16682 # shared library.
   16683 postdep_objects=$lt_postdep_objects_F77
   16684 
   16685 # Dependencies to place before the objects being linked to create a
   16686 # shared library.
   16687 predeps=$lt_predeps_F77
   16688 
   16689 # Dependencies to place after the objects being linked to create a
   16690 # shared library.
   16691 postdeps=$lt_postdeps_F77
   16692 
   16693 # The directories searched by this compiler when creating a shared
   16694 # library
   16695 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16696 
   16697 # The library search path used internally by the compiler when linking
   16698 # a shared library.
   16699 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16700 
   16701 # Method to check whether dependent libraries are shared objects.
   16702 deplibs_check_method=$lt_deplibs_check_method
   16703 
   16704 # Command to use when deplibs_check_method == file_magic.
   16705 file_magic_cmd=$lt_file_magic_cmd
   16706 
   16707 # Flag that allows shared libraries with undefined symbols to be built.
   16708 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16709 
   16710 # Flag that forces no undefined symbols.
   16711 no_undefined_flag=$lt_no_undefined_flag_F77
   16712 
   16713 # Commands used to finish a libtool library installation in a directory.
   16714 finish_cmds=$lt_finish_cmds
   16715 
   16716 # Same as above, but a single script fragment to be evaled but not shown.
   16717 finish_eval=$lt_finish_eval
   16718 
   16719 # Take the output of nm and produce a listing of raw symbols and C names.
   16720 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16721 
   16722 # Transform the output of nm in a proper C declaration
   16723 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16724 
   16725 # Transform the output of nm in a C name address pair
   16726 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16727 
   16728 # This is the shared library runtime path variable.
   16729 runpath_var=$runpath_var
   16730 
   16731 # This is the shared library path variable.
   16732 shlibpath_var=$shlibpath_var
   16733 
   16734 # Is shlibpath searched before the hard-coded library search path?
   16735 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16736 
   16737 # How to hardcode a shared library path into an executable.
   16738 hardcode_action=$hardcode_action_F77
   16739 
   16740 # Whether we should hardcode library paths into libraries.
   16741 hardcode_into_libs=$hardcode_into_libs
   16742 
   16743 # Flag to hardcode \$libdir into a binary during linking.
   16744 # This must work even if \$libdir does not exist.
   16745 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16746 
   16747 # If ld is used when linking, flag to hardcode \$libdir into
   16748 # a binary during linking. This must work even if \$libdir does
   16749 # not exist.
   16750 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16751 
   16752 # Whether we need a single -rpath flag with a separated argument.
   16753 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16754 
   16755 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16756 # resulting binary.
   16757 hardcode_direct=$hardcode_direct_F77
   16758 
   16759 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16760 # resulting binary.
   16761 hardcode_minus_L=$hardcode_minus_L_F77
   16762 
   16763 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16764 # the resulting binary.
   16765 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16766 
   16767 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16768 # and all subsequent libraries and executables linked against it.
   16769 hardcode_automatic=$hardcode_automatic_F77
   16770 
   16771 # Variables whose values should be saved in libtool wrapper scripts and
   16772 # restored at relink time.
   16773 variables_saved_for_relink="$variables_saved_for_relink"
   16774 
   16775 # Whether libtool must link a program against all its dependency libraries.
   16776 link_all_deplibs=$link_all_deplibs_F77
   16777 
   16778 # Compile-time system search path for libraries
   16779 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16780 
   16781 # Run-time system search path for libraries
   16782 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16783 
   16784 # Fix the shell variable \$srcfile for the compiler.
   16785 fix_srcfile_path=$lt_fix_srcfile_path
   16786 
   16787 # Set to yes if exported symbols are required.
   16788 always_export_symbols=$always_export_symbols_F77
   16789 
   16790 # The commands to list exported symbols.
   16791 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16792 
   16793 # The commands to extract the exported symbol list from a shared archive.
   16794 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16795 
   16796 # Symbols that should not be listed in the preloaded symbols.
   16797 exclude_expsyms=$lt_exclude_expsyms_F77
   16798 
   16799 # Symbols that must always be exported.
   16800 include_expsyms=$lt_include_expsyms_F77
   16801 
   16802 # ### END LIBTOOL TAG CONFIG: $tagname
   16803 
   16804 __EOF__
   16805 
   16806 
   16807 else
   16808   # If there is no Makefile yet, we rely on a make rule to execute
   16809   # `config.status --recheck' to rerun these tests and create the
   16810   # libtool script then.
   16811   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16812   if test -f "$ltmain_in"; then
   16813     test -f Makefile && make "$ltmain"
   16814   fi
   16815 fi
   16816 
   16817 
   16818 ac_ext=c
   16819 ac_cpp='$CPP $CPPFLAGS'
   16820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16823 
   16824 CC="$lt_save_CC"
   16825 
   16826 	else
   16827 	  tagname=""
   16828 	fi
   16829 	;;
   16830 
   16831       GCJ)
   16832 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16833 
   16834 
   16835 # Source file extension for Java test sources.
   16836 ac_ext=java
   16837 
   16838 # Object file extension for compiled Java test sources.
   16839 objext=o
   16840 objext_GCJ=$objext
   16841 
   16842 # Code to be used in simple compile tests
   16843 lt_simple_compile_test_code="class foo {}"
   16844 
   16845 # Code to be used in simple link tests
   16846 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16847 
   16848 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16849 
   16850 # If no C compiler was specified, use CC.
   16851 LTCC=${LTCC-"$CC"}
   16852 
   16853 # If no C compiler flags were specified, use CFLAGS.
   16854 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16855 
   16856 # Allow CC to be a program name with arguments.
   16857 compiler=$CC
   16858 
   16859 
   16860 # save warnings/boilerplate of simple test code
   16861 ac_outfile=conftest.$ac_objext
   16862 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16863 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16864 _lt_compiler_boilerplate=`cat conftest.err`
   16865 $rm conftest*
   16866 
   16867 ac_outfile=conftest.$ac_objext
   16868 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16869 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16870 _lt_linker_boilerplate=`cat conftest.err`
   16871 $rm -r conftest*
   16872 
   16873 
   16874 # Allow CC to be a program name with arguments.
   16875 lt_save_CC="$CC"
   16876 CC=${GCJ-"gcj"}
   16877 compiler=$CC
   16878 compiler_GCJ=$CC
   16879 for cc_temp in $compiler""; do
   16880   case $cc_temp in
   16881     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16882     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16883     \-*) ;;
   16884     *) break;;
   16885   esac
   16886 done
   16887 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16888 
   16889 
   16890 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16891 archive_cmds_need_lc_GCJ=no
   16892 
   16893 old_archive_cmds_GCJ=$old_archive_cmds
   16894 
   16895 
   16896 lt_prog_compiler_no_builtin_flag_GCJ=
   16897 
   16898 if test "$GCC" = yes; then
   16899   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16900 
   16901 
   16902 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16903 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16904 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16905   $as_echo_n "(cached) " >&6
   16906 else
   16907   lt_cv_prog_compiler_rtti_exceptions=no
   16908   ac_outfile=conftest.$ac_objext
   16909    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16910    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16911    # Insert the option either (1) after the last *FLAGS variable, or
   16912    # (2) before a word containing "conftest.", or (3) at the end.
   16913    # Note that $ac_compile itself does not contain backslashes and begins
   16914    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16915    # The option is referenced via a variable to avoid confusing sed.
   16916    lt_compile=`echo "$ac_compile" | $SED \
   16917    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16918    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16919    -e 's:$: $lt_compiler_flag:'`
   16920    (eval echo "\"\$as_me:16920: $lt_compile\"" >&5)
   16921    (eval "$lt_compile" 2>conftest.err)
   16922    ac_status=$?
   16923    cat conftest.err >&5
   16924    echo "$as_me:16924: \$? = $ac_status" >&5
   16925    if (exit $ac_status) && test -s "$ac_outfile"; then
   16926      # The compiler can only warn and ignore the option if not recognized
   16927      # So say no if there are warnings other than the usual output.
   16928      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16929      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16930      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16931        lt_cv_prog_compiler_rtti_exceptions=yes
   16932      fi
   16933    fi
   16934    $rm conftest*
   16935 
   16936 fi
   16937 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16938 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16939 
   16940 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16941     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16942 else
   16943     :
   16944 fi
   16945 
   16946 fi
   16947 
   16948 lt_prog_compiler_wl_GCJ=
   16949 lt_prog_compiler_pic_GCJ=
   16950 lt_prog_compiler_static_GCJ=
   16951 
   16952 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16953 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   16954 
   16955   if test "$GCC" = yes; then
   16956     lt_prog_compiler_wl_GCJ='-Wl,'
   16957     lt_prog_compiler_static_GCJ='-static'
   16958 
   16959     case $host_os in
   16960       aix*)
   16961       # All AIX code is PIC.
   16962       if test "$host_cpu" = ia64; then
   16963 	# AIX 5 now supports IA64 processor
   16964 	lt_prog_compiler_static_GCJ='-Bstatic'
   16965       fi
   16966       ;;
   16967 
   16968     amigaos*)
   16969       # FIXME: we need at least 68020 code to build shared libraries, but
   16970       # adding the `-m68020' flag to GCC prevents building anything better,
   16971       # like `-m68040'.
   16972       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16973       ;;
   16974 
   16975     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16976       # PIC is the default for these OSes.
   16977       ;;
   16978 
   16979     mingw* | cygwin* | pw32* | os2*)
   16980       # This hack is so that the source file can tell whether it is being
   16981       # built for inclusion in a dll (and should export symbols for example).
   16982       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16983       # (--disable-auto-import) libraries
   16984 
   16985       ;;
   16986 
   16987     darwin* | rhapsody*)
   16988       # PIC is the default on this platform
   16989       # Common symbols not allowed in MH_DYLIB files
   16990       lt_prog_compiler_pic_GCJ='-fno-common'
   16991       ;;
   16992 
   16993     interix[3-9]*)
   16994       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16995       # Instead, we relocate shared libraries at runtime.
   16996       ;;
   16997 
   16998     msdosdjgpp*)
   16999       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17000       # on systems that don't support them.
   17001       lt_prog_compiler_can_build_shared_GCJ=no
   17002       enable_shared=no
   17003       ;;
   17004 
   17005     sysv4*MP*)
   17006       if test -d /usr/nec; then
   17007 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17008       fi
   17009       ;;
   17010 
   17011     hpux*)
   17012       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17013       # not for PA HP-UX.
   17014       case $host_cpu in
   17015       hppa*64*|ia64*)
   17016 	# +Z the default
   17017 	;;
   17018       *)
   17019 	lt_prog_compiler_pic_GCJ='-fPIC'
   17020 	;;
   17021       esac
   17022       ;;
   17023 
   17024     *)
   17025       lt_prog_compiler_pic_GCJ='-fPIC'
   17026       ;;
   17027     esac
   17028   else
   17029     # PORTME Check for flag to pass linker flags through the system compiler.
   17030     case $host_os in
   17031     aix*)
   17032       lt_prog_compiler_wl_GCJ='-Wl,'
   17033       if test "$host_cpu" = ia64; then
   17034 	# AIX 5 now supports IA64 processor
   17035 	lt_prog_compiler_static_GCJ='-Bstatic'
   17036       else
   17037 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17038       fi
   17039       ;;
   17040       darwin*)
   17041         # PIC is the default on this platform
   17042         # Common symbols not allowed in MH_DYLIB files
   17043        case $cc_basename in
   17044          xlc*)
   17045          lt_prog_compiler_pic_GCJ='-qnocommon'
   17046          lt_prog_compiler_wl_GCJ='-Wl,'
   17047          ;;
   17048        esac
   17049        ;;
   17050 
   17051     mingw* | cygwin* | pw32* | os2*)
   17052       # This hack is so that the source file can tell whether it is being
   17053       # built for inclusion in a dll (and should export symbols for example).
   17054 
   17055       ;;
   17056 
   17057     hpux9* | hpux10* | hpux11*)
   17058       lt_prog_compiler_wl_GCJ='-Wl,'
   17059       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17060       # not for PA HP-UX.
   17061       case $host_cpu in
   17062       hppa*64*|ia64*)
   17063 	# +Z the default
   17064 	;;
   17065       *)
   17066 	lt_prog_compiler_pic_GCJ='+Z'
   17067 	;;
   17068       esac
   17069       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17070       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17071       ;;
   17072 
   17073     irix5* | irix6* | nonstopux*)
   17074       lt_prog_compiler_wl_GCJ='-Wl,'
   17075       # PIC (with -KPIC) is the default.
   17076       lt_prog_compiler_static_GCJ='-non_shared'
   17077       ;;
   17078 
   17079     newsos6)
   17080       lt_prog_compiler_pic_GCJ='-KPIC'
   17081       lt_prog_compiler_static_GCJ='-Bstatic'
   17082       ;;
   17083 
   17084     linux* | k*bsd*-gnu)
   17085       case $cc_basename in
   17086       icc* | ecc*)
   17087 	lt_prog_compiler_wl_GCJ='-Wl,'
   17088 	lt_prog_compiler_pic_GCJ='-KPIC'
   17089 	lt_prog_compiler_static_GCJ='-static'
   17090         ;;
   17091       pgcc* | pgf77* | pgf90* | pgf95*)
   17092         # Portland Group compilers (*not* the Pentium gcc compiler,
   17093 	# which looks to be a dead project)
   17094 	lt_prog_compiler_wl_GCJ='-Wl,'
   17095 	lt_prog_compiler_pic_GCJ='-fpic'
   17096 	lt_prog_compiler_static_GCJ='-Bstatic'
   17097         ;;
   17098       ccc*)
   17099         lt_prog_compiler_wl_GCJ='-Wl,'
   17100         # All Alpha code is PIC.
   17101         lt_prog_compiler_static_GCJ='-non_shared'
   17102         ;;
   17103       *)
   17104         case `$CC -V 2>&1 | sed 5q` in
   17105 	*Sun\ C*)
   17106 	  # Sun C 5.9
   17107 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17108 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17109 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17110 	  ;;
   17111 	*Sun\ F*)
   17112 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17113 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17114 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17115 	  lt_prog_compiler_wl_GCJ=''
   17116 	  ;;
   17117 	esac
   17118 	;;
   17119       esac
   17120       ;;
   17121 
   17122     osf3* | osf4* | osf5*)
   17123       lt_prog_compiler_wl_GCJ='-Wl,'
   17124       # All OSF/1 code is PIC.
   17125       lt_prog_compiler_static_GCJ='-non_shared'
   17126       ;;
   17127 
   17128     rdos*)
   17129       lt_prog_compiler_static_GCJ='-non_shared'
   17130       ;;
   17131 
   17132     solaris*)
   17133       lt_prog_compiler_pic_GCJ='-KPIC'
   17134       lt_prog_compiler_static_GCJ='-Bstatic'
   17135       case $cc_basename in
   17136       f77* | f90* | f95*)
   17137 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17138       *)
   17139 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17140       esac
   17141       ;;
   17142 
   17143     sunos4*)
   17144       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17145       lt_prog_compiler_pic_GCJ='-PIC'
   17146       lt_prog_compiler_static_GCJ='-Bstatic'
   17147       ;;
   17148 
   17149     sysv4 | sysv4.2uw2* | sysv4.3*)
   17150       lt_prog_compiler_wl_GCJ='-Wl,'
   17151       lt_prog_compiler_pic_GCJ='-KPIC'
   17152       lt_prog_compiler_static_GCJ='-Bstatic'
   17153       ;;
   17154 
   17155     sysv4*MP*)
   17156       if test -d /usr/nec ;then
   17157 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17158 	lt_prog_compiler_static_GCJ='-Bstatic'
   17159       fi
   17160       ;;
   17161 
   17162     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17163       lt_prog_compiler_wl_GCJ='-Wl,'
   17164       lt_prog_compiler_pic_GCJ='-KPIC'
   17165       lt_prog_compiler_static_GCJ='-Bstatic'
   17166       ;;
   17167 
   17168     unicos*)
   17169       lt_prog_compiler_wl_GCJ='-Wl,'
   17170       lt_prog_compiler_can_build_shared_GCJ=no
   17171       ;;
   17172 
   17173     uts4*)
   17174       lt_prog_compiler_pic_GCJ='-pic'
   17175       lt_prog_compiler_static_GCJ='-Bstatic'
   17176       ;;
   17177 
   17178     *)
   17179       lt_prog_compiler_can_build_shared_GCJ=no
   17180       ;;
   17181     esac
   17182   fi
   17183 
   17184 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17185 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17186 
   17187 #
   17188 # Check to make sure the PIC flag actually works.
   17189 #
   17190 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17191 
   17192 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17193 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17194 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17195   $as_echo_n "(cached) " >&6
   17196 else
   17197   lt_cv_prog_compiler_pic_works_GCJ=no
   17198   ac_outfile=conftest.$ac_objext
   17199    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17200    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17201    # Insert the option either (1) after the last *FLAGS variable, or
   17202    # (2) before a word containing "conftest.", or (3) at the end.
   17203    # Note that $ac_compile itself does not contain backslashes and begins
   17204    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17205    # The option is referenced via a variable to avoid confusing sed.
   17206    lt_compile=`echo "$ac_compile" | $SED \
   17207    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17208    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17209    -e 's:$: $lt_compiler_flag:'`
   17210    (eval echo "\"\$as_me:17210: $lt_compile\"" >&5)
   17211    (eval "$lt_compile" 2>conftest.err)
   17212    ac_status=$?
   17213    cat conftest.err >&5
   17214    echo "$as_me:17214: \$? = $ac_status" >&5
   17215    if (exit $ac_status) && test -s "$ac_outfile"; then
   17216      # The compiler can only warn and ignore the option if not recognized
   17217      # So say no if there are warnings other than the usual output.
   17218      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17219      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17220      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17221        lt_cv_prog_compiler_pic_works_GCJ=yes
   17222      fi
   17223    fi
   17224    $rm conftest*
   17225 
   17226 fi
   17227 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17228 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17229 
   17230 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17231     case $lt_prog_compiler_pic_GCJ in
   17232      "" | " "*) ;;
   17233      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17234      esac
   17235 else
   17236     lt_prog_compiler_pic_GCJ=
   17237      lt_prog_compiler_can_build_shared_GCJ=no
   17238 fi
   17239 
   17240 fi
   17241 case $host_os in
   17242   # For platforms which do not support PIC, -DPIC is meaningless:
   17243   *djgpp*)
   17244     lt_prog_compiler_pic_GCJ=
   17245     ;;
   17246   *)
   17247     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17248     ;;
   17249 esac
   17250 
   17251 #
   17252 # Check to make sure the static flag actually works.
   17253 #
   17254 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17255 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17256 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17257 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17258   $as_echo_n "(cached) " >&6
   17259 else
   17260   lt_cv_prog_compiler_static_works_GCJ=no
   17261    save_LDFLAGS="$LDFLAGS"
   17262    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17263    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17264    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17265      # The linker can only warn and ignore the option if not recognized
   17266      # So say no if there are warnings
   17267      if test -s conftest.err; then
   17268        # Append any errors to the config.log.
   17269        cat conftest.err 1>&5
   17270        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17271        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17272        if diff conftest.exp conftest.er2 >/dev/null; then
   17273          lt_cv_prog_compiler_static_works_GCJ=yes
   17274        fi
   17275      else
   17276        lt_cv_prog_compiler_static_works_GCJ=yes
   17277      fi
   17278    fi
   17279    $rm -r conftest*
   17280    LDFLAGS="$save_LDFLAGS"
   17281 
   17282 fi
   17283 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17284 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17285 
   17286 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17287     :
   17288 else
   17289     lt_prog_compiler_static_GCJ=
   17290 fi
   17291 
   17292 
   17293 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17294 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17295 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17296   $as_echo_n "(cached) " >&6
   17297 else
   17298   lt_cv_prog_compiler_c_o_GCJ=no
   17299    $rm -r conftest 2>/dev/null
   17300    mkdir conftest
   17301    cd conftest
   17302    mkdir out
   17303    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17304 
   17305    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17306    # Insert the option either (1) after the last *FLAGS variable, or
   17307    # (2) before a word containing "conftest.", or (3) at the end.
   17308    # Note that $ac_compile itself does not contain backslashes and begins
   17309    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17310    lt_compile=`echo "$ac_compile" | $SED \
   17311    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17312    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17313    -e 's:$: $lt_compiler_flag:'`
   17314    (eval echo "\"\$as_me:17314: $lt_compile\"" >&5)
   17315    (eval "$lt_compile" 2>out/conftest.err)
   17316    ac_status=$?
   17317    cat out/conftest.err >&5
   17318    echo "$as_me:17318: \$? = $ac_status" >&5
   17319    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17320    then
   17321      # The compiler can only warn and ignore the option if not recognized
   17322      # So say no if there are warnings
   17323      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17324      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17325      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17326        lt_cv_prog_compiler_c_o_GCJ=yes
   17327      fi
   17328    fi
   17329    chmod u+w . 2>&5
   17330    $rm conftest*
   17331    # SGI C++ compiler will create directory out/ii_files/ for
   17332    # template instantiation
   17333    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17334    $rm out/* && rmdir out
   17335    cd ..
   17336    rmdir conftest
   17337    $rm conftest*
   17338 
   17339 fi
   17340 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17341 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17342 
   17343 
   17344 hard_links="nottested"
   17345 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17346   # do not overwrite the value of need_locks provided by the user
   17347   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17348 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17349   hard_links=yes
   17350   $rm conftest*
   17351   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17352   touch conftest.a
   17353   ln conftest.a conftest.b 2>&5 || hard_links=no
   17354   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17355   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17356 $as_echo "$hard_links" >&6; }
   17357   if test "$hard_links" = no; then
   17358     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17359 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17360     need_locks=warn
   17361   fi
   17362 else
   17363   need_locks=no
   17364 fi
   17365 
   17366 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17367 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17368 
   17369   runpath_var=
   17370   allow_undefined_flag_GCJ=
   17371   enable_shared_with_static_runtimes_GCJ=no
   17372   archive_cmds_GCJ=
   17373   archive_expsym_cmds_GCJ=
   17374   old_archive_From_new_cmds_GCJ=
   17375   old_archive_from_expsyms_cmds_GCJ=
   17376   export_dynamic_flag_spec_GCJ=
   17377   whole_archive_flag_spec_GCJ=
   17378   thread_safe_flag_spec_GCJ=
   17379   hardcode_libdir_flag_spec_GCJ=
   17380   hardcode_libdir_flag_spec_ld_GCJ=
   17381   hardcode_libdir_separator_GCJ=
   17382   hardcode_direct_GCJ=no
   17383   hardcode_minus_L_GCJ=no
   17384   hardcode_shlibpath_var_GCJ=unsupported
   17385   link_all_deplibs_GCJ=unknown
   17386   hardcode_automatic_GCJ=no
   17387   module_cmds_GCJ=
   17388   module_expsym_cmds_GCJ=
   17389   always_export_symbols_GCJ=no
   17390   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17391   # include_expsyms should be a list of space-separated symbols to be *always*
   17392   # included in the symbol list
   17393   include_expsyms_GCJ=
   17394   # exclude_expsyms can be an extended regexp of symbols to exclude
   17395   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17396   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17397   # as well as any symbol that contains `d'.
   17398   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17399   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17400   # platforms (ab)use it in PIC code, but their linkers get confused if
   17401   # the symbol is explicitly referenced.  Since portable code cannot
   17402   # rely on this symbol name, it's probably fine to never include it in
   17403   # preloaded symbol tables.
   17404   # Exclude shared library initialization/finalization symbols.
   17405   extract_expsyms_cmds=
   17406   # Just being paranoid about ensuring that cc_basename is set.
   17407   for cc_temp in $compiler""; do
   17408   case $cc_temp in
   17409     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17410     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17411     \-*) ;;
   17412     *) break;;
   17413   esac
   17414 done
   17415 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17416 
   17417   case $host_os in
   17418   cygwin* | mingw* | pw32*)
   17419     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17420     # When not using gcc, we currently assume that we are using
   17421     # Microsoft Visual C++.
   17422     if test "$GCC" != yes; then
   17423       with_gnu_ld=no
   17424     fi
   17425     ;;
   17426   interix*)
   17427     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17428     with_gnu_ld=yes
   17429     ;;
   17430   openbsd*)
   17431     with_gnu_ld=no
   17432     ;;
   17433   esac
   17434 
   17435   ld_shlibs_GCJ=yes
   17436   if test "$with_gnu_ld" = yes; then
   17437     # If archive_cmds runs LD, not CC, wlarc should be empty
   17438     wlarc='${wl}'
   17439 
   17440     # Set some defaults for GNU ld with shared library support. These
   17441     # are reset later if shared libraries are not supported. Putting them
   17442     # here allows them to be overridden if necessary.
   17443     runpath_var=LD_RUN_PATH
   17444     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17445     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17446     # ancient GNU ld didn't support --whole-archive et. al.
   17447     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17448 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17449       else
   17450   	whole_archive_flag_spec_GCJ=
   17451     fi
   17452     supports_anon_versioning=no
   17453     case `$LD -v 2>/dev/null` in
   17454       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17455       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17456       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17457       *\ 2.11.*) ;; # other 2.11 versions
   17458       *) supports_anon_versioning=yes ;;
   17459     esac
   17460 
   17461     # See if GNU ld supports shared libraries.
   17462     case $host_os in
   17463     aix[3-9]*)
   17464       # On AIX/PPC, the GNU linker is very broken
   17465       if test "$host_cpu" != ia64; then
   17466 	ld_shlibs_GCJ=no
   17467 	cat <<EOF 1>&2
   17468 
   17469 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17470 *** to be unable to reliably create shared libraries on AIX.
   17471 *** Therefore, libtool is disabling shared libraries support.  If you
   17472 *** really care for shared libraries, you may want to modify your PATH
   17473 *** so that a non-GNU linker is found, and then restart.
   17474 
   17475 EOF
   17476       fi
   17477       ;;
   17478 
   17479     amigaos*)
   17480       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)'
   17481       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17482       hardcode_minus_L_GCJ=yes
   17483 
   17484       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17485       # that the semantics of dynamic libraries on AmigaOS, at least up
   17486       # to version 4, is to share data among multiple programs linked
   17487       # with the same dynamic library.  Since this doesn't match the
   17488       # behavior of shared libraries on other platforms, we can't use
   17489       # them.
   17490       ld_shlibs_GCJ=no
   17491       ;;
   17492 
   17493     beos*)
   17494       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17495 	allow_undefined_flag_GCJ=unsupported
   17496 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17497 	# support --undefined.  This deserves some investigation.  FIXME
   17498 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17499       else
   17500 	ld_shlibs_GCJ=no
   17501       fi
   17502       ;;
   17503 
   17504     cygwin* | mingw* | pw32*)
   17505       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17506       # as there is no search path for DLLs.
   17507       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17508       allow_undefined_flag_GCJ=unsupported
   17509       always_export_symbols_GCJ=no
   17510       enable_shared_with_static_runtimes_GCJ=yes
   17511       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17512 
   17513       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17514         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17515 	# If the export-symbols file already is a .def file (1st line
   17516 	# is EXPORTS), use it as is; otherwise, prepend...
   17517 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17518 	  cp $export_symbols $output_objdir/$soname.def;
   17519 	else
   17520 	  echo EXPORTS > $output_objdir/$soname.def;
   17521 	  cat $export_symbols >> $output_objdir/$soname.def;
   17522 	fi~
   17523 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17524       else
   17525 	ld_shlibs_GCJ=no
   17526       fi
   17527       ;;
   17528 
   17529     interix[3-9]*)
   17530       hardcode_direct_GCJ=no
   17531       hardcode_shlibpath_var_GCJ=no
   17532       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17533       export_dynamic_flag_spec_GCJ='${wl}-E'
   17534       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17535       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17536       # default) and relocated if they conflict, which is a slow very memory
   17537       # consuming and fragmenting process.  To avoid this, we pick a random,
   17538       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17539       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17540       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'
   17541       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'
   17542       ;;
   17543 
   17544     gnu* | linux* | k*bsd*-gnu)
   17545       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17546 	tmp_addflag=
   17547 	case $cc_basename,$host_cpu in
   17548 	pgcc*)				# Portland Group C compiler
   17549 	  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'
   17550 	  tmp_addflag=' $pic_flag'
   17551 	  ;;
   17552 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17553 	  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'
   17554 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17555 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17556 	  tmp_addflag=' -i_dynamic' ;;
   17557 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17558 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17559 	ifc* | ifort*)			# Intel Fortran compiler
   17560 	  tmp_addflag=' -nofor_main' ;;
   17561 	esac
   17562 	case `$CC -V 2>&1 | sed 5q` in
   17563 	*Sun\ C*)			# Sun C 5.9
   17564 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17565 	  tmp_sharedflag='-G' ;;
   17566 	*Sun\ F*)			# Sun Fortran 8.3
   17567 	  tmp_sharedflag='-G' ;;
   17568 	*)
   17569 	  tmp_sharedflag='-shared' ;;
   17570 	esac
   17571 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17572 
   17573 	if test $supports_anon_versioning = yes; then
   17574 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17575   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17576   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17577 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17578 	fi
   17579       else
   17580 	ld_shlibs_GCJ=no
   17581       fi
   17582       ;;
   17583 
   17584     netbsd*)
   17585       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17586 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17587 	wlarc=
   17588       else
   17589 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17590 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17591       fi
   17592       ;;
   17593 
   17594     solaris*)
   17595       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17596 	ld_shlibs_GCJ=no
   17597 	cat <<EOF 1>&2
   17598 
   17599 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17600 *** create shared libraries on Solaris systems.  Therefore, libtool
   17601 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17602 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17603 *** your PATH or compiler configuration so that the native linker is
   17604 *** used, and then restart.
   17605 
   17606 EOF
   17607       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17608 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17609 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17610       else
   17611 	ld_shlibs_GCJ=no
   17612       fi
   17613       ;;
   17614 
   17615     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17616       case `$LD -v 2>&1` in
   17617         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17618 	ld_shlibs_GCJ=no
   17619 	cat <<_LT_EOF 1>&2
   17620 
   17621 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17622 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17623 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17624 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17625 *** your PATH or compiler configuration so that the native linker is
   17626 *** used, and then restart.
   17627 
   17628 _LT_EOF
   17629 	;;
   17630 	*)
   17631 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17632 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17633 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17634 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17635 	  else
   17636 	    ld_shlibs_GCJ=no
   17637 	  fi
   17638 	;;
   17639       esac
   17640       ;;
   17641 
   17642     sunos4*)
   17643       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17644       wlarc=
   17645       hardcode_direct_GCJ=yes
   17646       hardcode_shlibpath_var_GCJ=no
   17647       ;;
   17648 
   17649     *)
   17650       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17651 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17652 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17653       else
   17654 	ld_shlibs_GCJ=no
   17655       fi
   17656       ;;
   17657     esac
   17658 
   17659     if test "$ld_shlibs_GCJ" = no; then
   17660       runpath_var=
   17661       hardcode_libdir_flag_spec_GCJ=
   17662       export_dynamic_flag_spec_GCJ=
   17663       whole_archive_flag_spec_GCJ=
   17664     fi
   17665   else
   17666     # PORTME fill in a description of your system's linker (not GNU ld)
   17667     case $host_os in
   17668     aix3*)
   17669       allow_undefined_flag_GCJ=unsupported
   17670       always_export_symbols_GCJ=yes
   17671       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'
   17672       # Note: this linker hardcodes the directories in LIBPATH if there
   17673       # are no directories specified by -L.
   17674       hardcode_minus_L_GCJ=yes
   17675       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17676 	# Neither direct hardcoding nor static linking is supported with a
   17677 	# broken collect2.
   17678 	hardcode_direct_GCJ=unsupported
   17679       fi
   17680       ;;
   17681 
   17682     aix[4-9]*)
   17683       if test "$host_cpu" = ia64; then
   17684 	# On IA64, the linker does run time linking by default, so we don't
   17685 	# have to do anything special.
   17686 	aix_use_runtimelinking=no
   17687 	exp_sym_flag='-Bexport'
   17688 	no_entry_flag=""
   17689       else
   17690 	# If we're using GNU nm, then we don't want the "-C" option.
   17691 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17692 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17693 	  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'
   17694 	else
   17695 	  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'
   17696 	fi
   17697 	aix_use_runtimelinking=no
   17698 
   17699 	# Test if we are trying to use run time linking or normal
   17700 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17701 	# need to do runtime linking.
   17702 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17703 	  for ld_flag in $LDFLAGS; do
   17704   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17705   	    aix_use_runtimelinking=yes
   17706   	    break
   17707   	  fi
   17708 	  done
   17709 	  ;;
   17710 	esac
   17711 
   17712 	exp_sym_flag='-bexport'
   17713 	no_entry_flag='-bnoentry'
   17714       fi
   17715 
   17716       # When large executables or shared objects are built, AIX ld can
   17717       # have problems creating the table of contents.  If linking a library
   17718       # or program results in "error TOC overflow" add -mminimal-toc to
   17719       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17720       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17721 
   17722       archive_cmds_GCJ=''
   17723       hardcode_direct_GCJ=yes
   17724       hardcode_libdir_separator_GCJ=':'
   17725       link_all_deplibs_GCJ=yes
   17726 
   17727       if test "$GCC" = yes; then
   17728 	case $host_os in aix4.[012]|aix4.[012].*)
   17729 	# We only want to do this on AIX 4.2 and lower, the check
   17730 	# below for broken collect2 doesn't work under 4.3+
   17731 	  collect2name=`${CC} -print-prog-name=collect2`
   17732 	  if test -f "$collect2name" && \
   17733   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17734 	  then
   17735   	  # We have reworked collect2
   17736   	  :
   17737 	  else
   17738   	  # We have old collect2
   17739   	  hardcode_direct_GCJ=unsupported
   17740   	  # It fails to find uninstalled libraries when the uninstalled
   17741   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17742   	  # to unsupported forces relinking
   17743   	  hardcode_minus_L_GCJ=yes
   17744   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17745   	  hardcode_libdir_separator_GCJ=
   17746 	  fi
   17747 	  ;;
   17748 	esac
   17749 	shared_flag='-shared'
   17750 	if test "$aix_use_runtimelinking" = yes; then
   17751 	  shared_flag="$shared_flag "'${wl}-G'
   17752 	fi
   17753       else
   17754 	# not using gcc
   17755 	if test "$host_cpu" = ia64; then
   17756   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17757   	# chokes on -Wl,-G. The following line is correct:
   17758 	  shared_flag='-G'
   17759 	else
   17760 	  if test "$aix_use_runtimelinking" = yes; then
   17761 	    shared_flag='${wl}-G'
   17762 	  else
   17763 	    shared_flag='${wl}-bM:SRE'
   17764 	  fi
   17765 	fi
   17766       fi
   17767 
   17768       # It seems that -bexpall does not export symbols beginning with
   17769       # underscore (_), so it is better to generate a list of symbols to export.
   17770       always_export_symbols_GCJ=yes
   17771       if test "$aix_use_runtimelinking" = yes; then
   17772 	# Warning - without using the other runtime loading flags (-brtl),
   17773 	# -berok will link without error, but may produce a broken library.
   17774 	allow_undefined_flag_GCJ='-berok'
   17775        # Determine the default libpath from the value encoded in an empty executable.
   17776        cat >conftest.$ac_ext <<_ACEOF
   17777 /* confdefs.h.  */
   17778 _ACEOF
   17779 cat confdefs.h >>conftest.$ac_ext
   17780 cat >>conftest.$ac_ext <<_ACEOF
   17781 /* end confdefs.h.  */
   17782 
   17783 int
   17784 main ()
   17785 {
   17786 
   17787   ;
   17788   return 0;
   17789 }
   17790 _ACEOF
   17791 rm -f conftest.$ac_objext conftest$ac_exeext
   17792 if { (ac_try="$ac_link"
   17793 case "(($ac_try" in
   17794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17795   *) ac_try_echo=$ac_try;;
   17796 esac
   17797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17798 $as_echo "$ac_try_echo") >&5
   17799   (eval "$ac_link") 2>conftest.er1
   17800   ac_status=$?
   17801   grep -v '^ *+' conftest.er1 >conftest.err
   17802   rm -f conftest.er1
   17803   cat conftest.err >&5
   17804   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17805   (exit $ac_status); } && {
   17806 	 test -z "$ac_c_werror_flag" ||
   17807 	 test ! -s conftest.err
   17808        } && test -s conftest$ac_exeext && {
   17809 	 test "$cross_compiling" = yes ||
   17810 	 $as_test_x conftest$ac_exeext
   17811        }; then
   17812 
   17813 lt_aix_libpath_sed='
   17814     /Import File Strings/,/^$/ {
   17815 	/^0/ {
   17816 	    s/^0  *\(.*\)$/\1/
   17817 	    p
   17818 	}
   17819     }'
   17820 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17821 # Check for a 64-bit object if we didn't find anything.
   17822 if test -z "$aix_libpath"; then
   17823   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17824 fi
   17825 else
   17826   $as_echo "$as_me: failed program was:" >&5
   17827 sed 's/^/| /' conftest.$ac_ext >&5
   17828 
   17829 
   17830 fi
   17831 
   17832 rm -rf conftest.dSYM
   17833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17834       conftest$ac_exeext conftest.$ac_ext
   17835 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17836 
   17837        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17838 	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"
   17839        else
   17840 	if test "$host_cpu" = ia64; then
   17841 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17842 	  allow_undefined_flag_GCJ="-z nodefs"
   17843 	  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"
   17844 	else
   17845 	 # Determine the default libpath from the value encoded in an empty executable.
   17846 	 cat >conftest.$ac_ext <<_ACEOF
   17847 /* confdefs.h.  */
   17848 _ACEOF
   17849 cat confdefs.h >>conftest.$ac_ext
   17850 cat >>conftest.$ac_ext <<_ACEOF
   17851 /* end confdefs.h.  */
   17852 
   17853 int
   17854 main ()
   17855 {
   17856 
   17857   ;
   17858   return 0;
   17859 }
   17860 _ACEOF
   17861 rm -f conftest.$ac_objext conftest$ac_exeext
   17862 if { (ac_try="$ac_link"
   17863 case "(($ac_try" in
   17864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17865   *) ac_try_echo=$ac_try;;
   17866 esac
   17867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17868 $as_echo "$ac_try_echo") >&5
   17869   (eval "$ac_link") 2>conftest.er1
   17870   ac_status=$?
   17871   grep -v '^ *+' conftest.er1 >conftest.err
   17872   rm -f conftest.er1
   17873   cat conftest.err >&5
   17874   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17875   (exit $ac_status); } && {
   17876 	 test -z "$ac_c_werror_flag" ||
   17877 	 test ! -s conftest.err
   17878        } && test -s conftest$ac_exeext && {
   17879 	 test "$cross_compiling" = yes ||
   17880 	 $as_test_x conftest$ac_exeext
   17881        }; then
   17882 
   17883 lt_aix_libpath_sed='
   17884     /Import File Strings/,/^$/ {
   17885 	/^0/ {
   17886 	    s/^0  *\(.*\)$/\1/
   17887 	    p
   17888 	}
   17889     }'
   17890 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17891 # Check for a 64-bit object if we didn't find anything.
   17892 if test -z "$aix_libpath"; then
   17893   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17894 fi
   17895 else
   17896   $as_echo "$as_me: failed program was:" >&5
   17897 sed 's/^/| /' conftest.$ac_ext >&5
   17898 
   17899 
   17900 fi
   17901 
   17902 rm -rf conftest.dSYM
   17903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17904       conftest$ac_exeext conftest.$ac_ext
   17905 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17906 
   17907 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17908 	  # Warning - without using the other run time loading flags,
   17909 	  # -berok will link without error, but may produce a broken library.
   17910 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17911 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17912 	  # Exported symbols can be pulled into shared objects from archives
   17913 	  whole_archive_flag_spec_GCJ='$convenience'
   17914 	  archive_cmds_need_lc_GCJ=yes
   17915 	  # This is similar to how AIX traditionally builds its shared libraries.
   17916 	  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'
   17917 	fi
   17918       fi
   17919       ;;
   17920 
   17921     amigaos*)
   17922       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)'
   17923       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17924       hardcode_minus_L_GCJ=yes
   17925       # see comment about different semantics on the GNU ld section
   17926       ld_shlibs_GCJ=no
   17927       ;;
   17928 
   17929     bsdi[45]*)
   17930       export_dynamic_flag_spec_GCJ=-rdynamic
   17931       ;;
   17932 
   17933     cygwin* | mingw* | pw32*)
   17934       # When not using gcc, we currently assume that we are using
   17935       # Microsoft Visual C++.
   17936       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17937       # no search path for DLLs.
   17938       hardcode_libdir_flag_spec_GCJ=' '
   17939       allow_undefined_flag_GCJ=unsupported
   17940       # Tell ltmain to make .lib files, not .a files.
   17941       libext=lib
   17942       # Tell ltmain to make .dll files, not .so files.
   17943       shrext_cmds=".dll"
   17944       # FIXME: Setting linknames here is a bad hack.
   17945       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17946       # The linker will automatically build a .lib file if we build a DLL.
   17947       old_archive_From_new_cmds_GCJ='true'
   17948       # FIXME: Should let the user specify the lib program.
   17949       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17950       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17951       enable_shared_with_static_runtimes_GCJ=yes
   17952       ;;
   17953 
   17954     darwin* | rhapsody*)
   17955       allow_undefined_flag_GCJ="$_lt_dar_allow_undefined"
   17956       archive_cmds_need_lc_GCJ=no
   17957       hardcode_direct_GCJ=no
   17958       hardcode_automatic_GCJ=yes
   17959       hardcode_shlibpath_var_GCJ=unsupported
   17960       whole_archive_flag_spec_GCJ=''
   17961       link_all_deplibs_GCJ=yes
   17962     if test "$GCC" = yes ; then
   17963     	output_verbose_link_cmd='echo'
   17964         archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   17965         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   17966         archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   17967         module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   17968     else
   17969       case $cc_basename in
   17970         xlc*)
   17971          output_verbose_link_cmd='echo'
   17972          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   17973          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17974           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17975          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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   17976           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}'
   17977           ;;
   17978        *)
   17979          ld_shlibs_GCJ=no
   17980           ;;
   17981       esac
   17982     fi
   17983       ;;
   17984 
   17985     dgux*)
   17986       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17987       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17988       hardcode_shlibpath_var_GCJ=no
   17989       ;;
   17990 
   17991     freebsd1*)
   17992       ld_shlibs_GCJ=no
   17993       ;;
   17994 
   17995     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17996     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17997     # does not break anything, and helps significantly (at the cost of a little
   17998     # extra space).
   17999     freebsd2.2*)
   18000       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18001       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18002       hardcode_direct_GCJ=yes
   18003       hardcode_shlibpath_var_GCJ=no
   18004       ;;
   18005 
   18006     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18007     freebsd2*)
   18008       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18009       hardcode_direct_GCJ=yes
   18010       hardcode_minus_L_GCJ=yes
   18011       hardcode_shlibpath_var_GCJ=no
   18012       ;;
   18013 
   18014     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18015     freebsd* | dragonfly*)
   18016       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18017       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18018       hardcode_direct_GCJ=yes
   18019       hardcode_shlibpath_var_GCJ=no
   18020       ;;
   18021 
   18022     hpux9*)
   18023       if test "$GCC" = yes; then
   18024 	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'
   18025       else
   18026 	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'
   18027       fi
   18028       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18029       hardcode_libdir_separator_GCJ=:
   18030       hardcode_direct_GCJ=yes
   18031 
   18032       # hardcode_minus_L: Not really in the search PATH,
   18033       # but as the default location of the library.
   18034       hardcode_minus_L_GCJ=yes
   18035       export_dynamic_flag_spec_GCJ='${wl}-E'
   18036       ;;
   18037 
   18038     hpux10*)
   18039       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18040 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18041       else
   18042 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18043       fi
   18044       if test "$with_gnu_ld" = no; then
   18045 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18046 	hardcode_libdir_separator_GCJ=:
   18047 
   18048 	hardcode_direct_GCJ=yes
   18049 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18050 
   18051 	# hardcode_minus_L: Not really in the search PATH,
   18052 	# but as the default location of the library.
   18053 	hardcode_minus_L_GCJ=yes
   18054       fi
   18055       ;;
   18056 
   18057     hpux11*)
   18058       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18059 	case $host_cpu in
   18060 	hppa*64*)
   18061 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18062 	  ;;
   18063 	ia64*)
   18064 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18065 	  ;;
   18066 	*)
   18067 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18068 	  ;;
   18069 	esac
   18070       else
   18071 	case $host_cpu in
   18072 	hppa*64*)
   18073 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18074 	  ;;
   18075 	ia64*)
   18076 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18077 	  ;;
   18078 	*)
   18079 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18080 	  ;;
   18081 	esac
   18082       fi
   18083       if test "$with_gnu_ld" = no; then
   18084 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18085 	hardcode_libdir_separator_GCJ=:
   18086 
   18087 	case $host_cpu in
   18088 	hppa*64*|ia64*)
   18089 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18090 	  hardcode_direct_GCJ=no
   18091 	  hardcode_shlibpath_var_GCJ=no
   18092 	  ;;
   18093 	*)
   18094 	  hardcode_direct_GCJ=yes
   18095 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18096 
   18097 	  # hardcode_minus_L: Not really in the search PATH,
   18098 	  # but as the default location of the library.
   18099 	  hardcode_minus_L_GCJ=yes
   18100 	  ;;
   18101 	esac
   18102       fi
   18103       ;;
   18104 
   18105     irix5* | irix6* | nonstopux*)
   18106       if test "$GCC" = yes; then
   18107 	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'
   18108       else
   18109 	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'
   18110 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18111       fi
   18112       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18113       hardcode_libdir_separator_GCJ=:
   18114       link_all_deplibs_GCJ=yes
   18115       ;;
   18116 
   18117     netbsd*)
   18118       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18119 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18120       else
   18121 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18122       fi
   18123       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18124       hardcode_direct_GCJ=yes
   18125       hardcode_shlibpath_var_GCJ=no
   18126       ;;
   18127 
   18128     newsos6)
   18129       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18130       hardcode_direct_GCJ=yes
   18131       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18132       hardcode_libdir_separator_GCJ=:
   18133       hardcode_shlibpath_var_GCJ=no
   18134       ;;
   18135 
   18136     openbsd*)
   18137       if test -f /usr/libexec/ld.so; then
   18138 	hardcode_direct_GCJ=yes
   18139 	hardcode_shlibpath_var_GCJ=no
   18140 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18141 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18142 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18143 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18144 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18145 	else
   18146 	  case $host_os in
   18147 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18148 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18149 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18150 	     ;;
   18151 	   *)
   18152 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18153 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18154 	     ;;
   18155 	  esac
   18156         fi
   18157       else
   18158 	ld_shlibs_GCJ=no
   18159       fi
   18160       ;;
   18161 
   18162     os2*)
   18163       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18164       hardcode_minus_L_GCJ=yes
   18165       allow_undefined_flag_GCJ=unsupported
   18166       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'
   18167       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18168       ;;
   18169 
   18170     osf3*)
   18171       if test "$GCC" = yes; then
   18172 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18173 	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'
   18174       else
   18175 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18176 	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'
   18177       fi
   18178       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18179       hardcode_libdir_separator_GCJ=:
   18180       ;;
   18181 
   18182     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18183       if test "$GCC" = yes; then
   18184 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18185 	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'
   18186 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18187       else
   18188 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18189 	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'
   18190 	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~
   18191 	$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'
   18192 
   18193 	# Both c and cxx compiler support -rpath directly
   18194 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18195       fi
   18196       hardcode_libdir_separator_GCJ=:
   18197       ;;
   18198 
   18199     solaris*)
   18200       no_undefined_flag_GCJ=' -z text'
   18201       if test "$GCC" = yes; then
   18202 	wlarc='${wl}'
   18203 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18204 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18205 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18206       else
   18207 	wlarc=''
   18208 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18209 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18210   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18211       fi
   18212       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18213       hardcode_shlibpath_var_GCJ=no
   18214       case $host_os in
   18215       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18216       *)
   18217 	# The compiler driver will combine and reorder linker options,
   18218 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18219 	# but is careful enough not to reorder.
   18220  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18221 	if test "$GCC" = yes; then
   18222 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18223 	else
   18224 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18225 	fi
   18226 	;;
   18227       esac
   18228       link_all_deplibs_GCJ=yes
   18229       ;;
   18230 
   18231     sunos4*)
   18232       if test "x$host_vendor" = xsequent; then
   18233 	# Use $CC to link under sequent, because it throws in some extra .o
   18234 	# files that make .init and .fini sections work.
   18235 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18236       else
   18237 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18238       fi
   18239       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18240       hardcode_direct_GCJ=yes
   18241       hardcode_minus_L_GCJ=yes
   18242       hardcode_shlibpath_var_GCJ=no
   18243       ;;
   18244 
   18245     sysv4)
   18246       case $host_vendor in
   18247 	sni)
   18248 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18249 	  hardcode_direct_GCJ=yes # is this really true???
   18250 	;;
   18251 	siemens)
   18252 	  ## LD is ld it makes a PLAMLIB
   18253 	  ## CC just makes a GrossModule.
   18254 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18255 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18256 	  hardcode_direct_GCJ=no
   18257         ;;
   18258 	motorola)
   18259 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18260 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18261 	;;
   18262       esac
   18263       runpath_var='LD_RUN_PATH'
   18264       hardcode_shlibpath_var_GCJ=no
   18265       ;;
   18266 
   18267     sysv4.3*)
   18268       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18269       hardcode_shlibpath_var_GCJ=no
   18270       export_dynamic_flag_spec_GCJ='-Bexport'
   18271       ;;
   18272 
   18273     sysv4*MP*)
   18274       if test -d /usr/nec; then
   18275 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18276 	hardcode_shlibpath_var_GCJ=no
   18277 	runpath_var=LD_RUN_PATH
   18278 	hardcode_runpath_var=yes
   18279 	ld_shlibs_GCJ=yes
   18280       fi
   18281       ;;
   18282 
   18283     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18284       no_undefined_flag_GCJ='${wl}-z,text'
   18285       archive_cmds_need_lc_GCJ=no
   18286       hardcode_shlibpath_var_GCJ=no
   18287       runpath_var='LD_RUN_PATH'
   18288 
   18289       if test "$GCC" = yes; then
   18290 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18291 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18292       else
   18293 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18294 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18295       fi
   18296       ;;
   18297 
   18298     sysv5* | sco3.2v5* | sco5v6*)
   18299       # Note: We can NOT use -z defs as we might desire, because we do not
   18300       # link with -lc, and that would cause any symbols used from libc to
   18301       # always be unresolved, which means just about no library would
   18302       # ever link correctly.  If we're not using GNU ld we use -z text
   18303       # though, which does catch some bad symbols but isn't as heavy-handed
   18304       # as -z defs.
   18305       no_undefined_flag_GCJ='${wl}-z,text'
   18306       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18307       archive_cmds_need_lc_GCJ=no
   18308       hardcode_shlibpath_var_GCJ=no
   18309       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18310       hardcode_libdir_separator_GCJ=':'
   18311       link_all_deplibs_GCJ=yes
   18312       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18313       runpath_var='LD_RUN_PATH'
   18314 
   18315       if test "$GCC" = yes; then
   18316 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18317 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18318       else
   18319 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18320 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18321       fi
   18322       ;;
   18323 
   18324     uts4*)
   18325       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18326       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18327       hardcode_shlibpath_var_GCJ=no
   18328       ;;
   18329 
   18330     *)
   18331       ld_shlibs_GCJ=no
   18332       ;;
   18333     esac
   18334   fi
   18335 
   18336 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18337 $as_echo "$ld_shlibs_GCJ" >&6; }
   18338 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18339 
   18340 #
   18341 # Do we need to explicitly link libc?
   18342 #
   18343 case "x$archive_cmds_need_lc_GCJ" in
   18344 x|xyes)
   18345   # Assume -lc should be added
   18346   archive_cmds_need_lc_GCJ=yes
   18347 
   18348   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18349     case $archive_cmds_GCJ in
   18350     *'~'*)
   18351       # FIXME: we may have to deal with multi-command sequences.
   18352       ;;
   18353     '$CC '*)
   18354       # Test whether the compiler implicitly links with -lc since on some
   18355       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18356       # to ld, don't add -lc before -lgcc.
   18357       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18358 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18359       $rm conftest*
   18360       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18361 
   18362       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18363   (eval $ac_compile) 2>&5
   18364   ac_status=$?
   18365   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18366   (exit $ac_status); } 2>conftest.err; then
   18367         soname=conftest
   18368         lib=conftest
   18369         libobjs=conftest.$ac_objext
   18370         deplibs=
   18371         wl=$lt_prog_compiler_wl_GCJ
   18372 	pic_flag=$lt_prog_compiler_pic_GCJ
   18373         compiler_flags=-v
   18374         linker_flags=-v
   18375         verstring=
   18376         output_objdir=.
   18377         libname=conftest
   18378         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18379         allow_undefined_flag_GCJ=
   18380         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18381   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18382   ac_status=$?
   18383   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18384   (exit $ac_status); }
   18385         then
   18386 	  archive_cmds_need_lc_GCJ=no
   18387         else
   18388 	  archive_cmds_need_lc_GCJ=yes
   18389         fi
   18390         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18391       else
   18392         cat conftest.err 1>&5
   18393       fi
   18394       $rm conftest*
   18395       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18396 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18397       ;;
   18398     esac
   18399   fi
   18400   ;;
   18401 esac
   18402 
   18403 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18404 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18405 library_names_spec=
   18406 libname_spec='lib$name'
   18407 soname_spec=
   18408 shrext_cmds=".so"
   18409 postinstall_cmds=
   18410 postuninstall_cmds=
   18411 finish_cmds=
   18412 finish_eval=
   18413 shlibpath_var=
   18414 shlibpath_overrides_runpath=unknown
   18415 version_type=none
   18416 dynamic_linker="$host_os ld.so"
   18417 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18418 
   18419 need_lib_prefix=unknown
   18420 hardcode_into_libs=no
   18421 
   18422 # when you set need_version to no, make sure it does not cause -set_version
   18423 # flags to be left without arguments
   18424 need_version=unknown
   18425 
   18426 case $host_os in
   18427 aix3*)
   18428   version_type=linux
   18429   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18430   shlibpath_var=LIBPATH
   18431 
   18432   # AIX 3 has no versioning support, so we append a major version to the name.
   18433   soname_spec='${libname}${release}${shared_ext}$major'
   18434   ;;
   18435 
   18436 aix[4-9]*)
   18437   version_type=linux
   18438   need_lib_prefix=no
   18439   need_version=no
   18440   hardcode_into_libs=yes
   18441   if test "$host_cpu" = ia64; then
   18442     # AIX 5 supports IA64
   18443     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18444     shlibpath_var=LD_LIBRARY_PATH
   18445   else
   18446     # With GCC up to 2.95.x, collect2 would create an import file
   18447     # for dependence libraries.  The import file would start with
   18448     # the line `#! .'.  This would cause the generated library to
   18449     # depend on `.', always an invalid library.  This was fixed in
   18450     # development snapshots of GCC prior to 3.0.
   18451     case $host_os in
   18452       aix4 | aix4.[01] | aix4.[01].*)
   18453       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18454 	   echo ' yes '
   18455 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18456 	:
   18457       else
   18458 	can_build_shared=no
   18459       fi
   18460       ;;
   18461     esac
   18462     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18463     # soname into executable. Probably we can add versioning support to
   18464     # collect2, so additional links can be useful in future.
   18465     if test "$aix_use_runtimelinking" = yes; then
   18466       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18467       # instead of lib<name>.a to let people know that these are not
   18468       # typical AIX shared libraries.
   18469       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18470     else
   18471       # We preserve .a as extension for shared libraries through AIX4.2
   18472       # and later when we are not doing run time linking.
   18473       library_names_spec='${libname}${release}.a $libname.a'
   18474       soname_spec='${libname}${release}${shared_ext}$major'
   18475     fi
   18476     shlibpath_var=LIBPATH
   18477   fi
   18478   ;;
   18479 
   18480 amigaos*)
   18481   library_names_spec='$libname.ixlibrary $libname.a'
   18482   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18483   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'
   18484   ;;
   18485 
   18486 beos*)
   18487   library_names_spec='${libname}${shared_ext}'
   18488   dynamic_linker="$host_os ld.so"
   18489   shlibpath_var=LIBRARY_PATH
   18490   ;;
   18491 
   18492 bsdi[45]*)
   18493   version_type=linux
   18494   need_version=no
   18495   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18496   soname_spec='${libname}${release}${shared_ext}$major'
   18497   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18498   shlibpath_var=LD_LIBRARY_PATH
   18499   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18500   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18501   # the default ld.so.conf also contains /usr/contrib/lib and
   18502   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18503   # libtool to hard-code these into programs
   18504   ;;
   18505 
   18506 cygwin* | mingw* | pw32*)
   18507   version_type=windows
   18508   shrext_cmds=".dll"
   18509   need_version=no
   18510   need_lib_prefix=no
   18511 
   18512   case $GCC,$host_os in
   18513   yes,cygwin* | yes,mingw* | yes,pw32*)
   18514     library_names_spec='$libname.dll.a'
   18515     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18516     postinstall_cmds='base_file=`basename \${file}`~
   18517       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18518       dldir=$destdir/`dirname \$dlpath`~
   18519       test -d \$dldir || mkdir -p \$dldir~
   18520       $install_prog $dir/$dlname \$dldir/$dlname~
   18521       chmod a+x \$dldir/$dlname'
   18522     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18523       dlpath=$dir/\$dldll~
   18524        $rm \$dlpath'
   18525     shlibpath_overrides_runpath=yes
   18526 
   18527     case $host_os in
   18528     cygwin*)
   18529       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18530       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18531       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18532       ;;
   18533     mingw*)
   18534       # MinGW DLLs use traditional 'lib' prefix
   18535       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18536       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18537       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18538         # It is most probably a Windows format PATH printed by
   18539         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18540         # path with ; separators, and with drive letters. We can handle the
   18541         # drive letters (cygwin fileutils understands them), so leave them,
   18542         # especially as we might pass files found there to a mingw objdump,
   18543         # which wouldn't understand a cygwinified path. Ahh.
   18544         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18545       else
   18546         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18547       fi
   18548       ;;
   18549     pw32*)
   18550       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18551       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18552       ;;
   18553     esac
   18554     ;;
   18555 
   18556   *)
   18557     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18558     ;;
   18559   esac
   18560   dynamic_linker='Win32 ld.exe'
   18561   # FIXME: first we should search . and the directory the executable is in
   18562   shlibpath_var=PATH
   18563   ;;
   18564 
   18565 darwin* | rhapsody*)
   18566   dynamic_linker="$host_os dyld"
   18567   version_type=darwin
   18568   need_lib_prefix=no
   18569   need_version=no
   18570   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18571   soname_spec='${libname}${release}${major}$shared_ext'
   18572   shlibpath_overrides_runpath=yes
   18573   shlibpath_var=DYLD_LIBRARY_PATH
   18574   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18575 
   18576   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18577   ;;
   18578 
   18579 dgux*)
   18580   version_type=linux
   18581   need_lib_prefix=no
   18582   need_version=no
   18583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18584   soname_spec='${libname}${release}${shared_ext}$major'
   18585   shlibpath_var=LD_LIBRARY_PATH
   18586   ;;
   18587 
   18588 freebsd1*)
   18589   dynamic_linker=no
   18590   ;;
   18591 
   18592 freebsd* | dragonfly*)
   18593   # DragonFly does not have aout.  When/if they implement a new
   18594   # versioning mechanism, adjust this.
   18595   if test -x /usr/bin/objformat; then
   18596     objformat=`/usr/bin/objformat`
   18597   else
   18598     case $host_os in
   18599     freebsd[123]*) objformat=aout ;;
   18600     *) objformat=elf ;;
   18601     esac
   18602   fi
   18603   version_type=freebsd-$objformat
   18604   case $version_type in
   18605     freebsd-elf*)
   18606       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18607       need_version=no
   18608       need_lib_prefix=no
   18609       ;;
   18610     freebsd-*)
   18611       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18612       need_version=yes
   18613       ;;
   18614   esac
   18615   shlibpath_var=LD_LIBRARY_PATH
   18616   case $host_os in
   18617   freebsd2*)
   18618     shlibpath_overrides_runpath=yes
   18619     ;;
   18620   freebsd3.[01]* | freebsdelf3.[01]*)
   18621     shlibpath_overrides_runpath=yes
   18622     hardcode_into_libs=yes
   18623     ;;
   18624   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18625   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18626     shlibpath_overrides_runpath=no
   18627     hardcode_into_libs=yes
   18628     ;;
   18629   *) # from 4.6 on, and DragonFly
   18630     shlibpath_overrides_runpath=yes
   18631     hardcode_into_libs=yes
   18632     ;;
   18633   esac
   18634   ;;
   18635 
   18636 gnu*)
   18637   version_type=linux
   18638   need_lib_prefix=no
   18639   need_version=no
   18640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18641   soname_spec='${libname}${release}${shared_ext}$major'
   18642   shlibpath_var=LD_LIBRARY_PATH
   18643   hardcode_into_libs=yes
   18644   ;;
   18645 
   18646 hpux9* | hpux10* | hpux11*)
   18647   # Give a soname corresponding to the major version so that dld.sl refuses to
   18648   # link against other versions.
   18649   version_type=sunos
   18650   need_lib_prefix=no
   18651   need_version=no
   18652   case $host_cpu in
   18653   ia64*)
   18654     shrext_cmds='.so'
   18655     hardcode_into_libs=yes
   18656     dynamic_linker="$host_os dld.so"
   18657     shlibpath_var=LD_LIBRARY_PATH
   18658     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18659     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18660     soname_spec='${libname}${release}${shared_ext}$major'
   18661     if test "X$HPUX_IA64_MODE" = X32; then
   18662       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18663     else
   18664       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18665     fi
   18666     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18667     ;;
   18668    hppa*64*)
   18669      shrext_cmds='.sl'
   18670      hardcode_into_libs=yes
   18671      dynamic_linker="$host_os dld.sl"
   18672      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18673      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18674      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18675      soname_spec='${libname}${release}${shared_ext}$major'
   18676      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18677      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18678      ;;
   18679    *)
   18680     shrext_cmds='.sl'
   18681     dynamic_linker="$host_os dld.sl"
   18682     shlibpath_var=SHLIB_PATH
   18683     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18684     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18685     soname_spec='${libname}${release}${shared_ext}$major'
   18686     ;;
   18687   esac
   18688   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18689   postinstall_cmds='chmod 555 $lib'
   18690   ;;
   18691 
   18692 interix[3-9]*)
   18693   version_type=linux
   18694   need_lib_prefix=no
   18695   need_version=no
   18696   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18697   soname_spec='${libname}${release}${shared_ext}$major'
   18698   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18699   shlibpath_var=LD_LIBRARY_PATH
   18700   shlibpath_overrides_runpath=no
   18701   hardcode_into_libs=yes
   18702   ;;
   18703 
   18704 irix5* | irix6* | nonstopux*)
   18705   case $host_os in
   18706     nonstopux*) version_type=nonstopux ;;
   18707     *)
   18708 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18709 		version_type=linux
   18710 	else
   18711 		version_type=irix
   18712 	fi ;;
   18713   esac
   18714   need_lib_prefix=no
   18715   need_version=no
   18716   soname_spec='${libname}${release}${shared_ext}$major'
   18717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18718   case $host_os in
   18719   irix5* | nonstopux*)
   18720     libsuff= shlibsuff=
   18721     ;;
   18722   *)
   18723     case $LD in # libtool.m4 will add one of these switches to LD
   18724     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18725       libsuff= shlibsuff= libmagic=32-bit;;
   18726     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18727       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18728     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18729       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18730     *) libsuff= shlibsuff= libmagic=never-match;;
   18731     esac
   18732     ;;
   18733   esac
   18734   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18735   shlibpath_overrides_runpath=no
   18736   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18737   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18738   hardcode_into_libs=yes
   18739   ;;
   18740 
   18741 # No shared lib support for Linux oldld, aout, or coff.
   18742 linux*oldld* | linux*aout* | linux*coff*)
   18743   dynamic_linker=no
   18744   ;;
   18745 
   18746 # This must be Linux ELF.
   18747 linux* | k*bsd*-gnu)
   18748   version_type=linux
   18749   need_lib_prefix=no
   18750   need_version=no
   18751   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18752   soname_spec='${libname}${release}${shared_ext}$major'
   18753   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18754   shlibpath_var=LD_LIBRARY_PATH
   18755   shlibpath_overrides_runpath=no
   18756   # This implies no fast_install, which is unacceptable.
   18757   # Some rework will be needed to allow for fast_install
   18758   # before this can be enabled.
   18759   hardcode_into_libs=yes
   18760 
   18761   # Append ld.so.conf contents to the search path
   18762   if test -f /etc/ld.so.conf; then
   18763     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   18764     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18765   fi
   18766 
   18767   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18768   # powerpc, because MkLinux only supported shared libraries with the
   18769   # GNU dynamic linker.  Since this was broken with cross compilers,
   18770   # most powerpc-linux boxes support dynamic linking these days and
   18771   # people can always --disable-shared, the test was removed, and we
   18772   # assume the GNU/Linux dynamic linker is in use.
   18773   dynamic_linker='GNU/Linux ld.so'
   18774   ;;
   18775 
   18776 netbsd*)
   18777   version_type=sunos
   18778   need_lib_prefix=no
   18779   need_version=no
   18780   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18781     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18782     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18783     dynamic_linker='NetBSD (a.out) ld.so'
   18784   else
   18785     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18786     soname_spec='${libname}${release}${shared_ext}$major'
   18787     dynamic_linker='NetBSD ld.elf_so'
   18788   fi
   18789   shlibpath_var=LD_LIBRARY_PATH
   18790   shlibpath_overrides_runpath=yes
   18791   hardcode_into_libs=yes
   18792   ;;
   18793 
   18794 newsos6)
   18795   version_type=linux
   18796   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18797   shlibpath_var=LD_LIBRARY_PATH
   18798   shlibpath_overrides_runpath=yes
   18799   ;;
   18800 
   18801 nto-qnx*)
   18802   version_type=linux
   18803   need_lib_prefix=no
   18804   need_version=no
   18805   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18806   soname_spec='${libname}${release}${shared_ext}$major'
   18807   shlibpath_var=LD_LIBRARY_PATH
   18808   shlibpath_overrides_runpath=yes
   18809   ;;
   18810 
   18811 openbsd*)
   18812   version_type=sunos
   18813   sys_lib_dlsearch_path_spec="/usr/lib"
   18814   need_lib_prefix=no
   18815   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18816   case $host_os in
   18817     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18818     *)                         need_version=no  ;;
   18819   esac
   18820   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18821   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18822   shlibpath_var=LD_LIBRARY_PATH
   18823   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18824     case $host_os in
   18825       openbsd2.[89] | openbsd2.[89].*)
   18826 	shlibpath_overrides_runpath=no
   18827 	;;
   18828       *)
   18829 	shlibpath_overrides_runpath=yes
   18830 	;;
   18831       esac
   18832   else
   18833     shlibpath_overrides_runpath=yes
   18834   fi
   18835   ;;
   18836 
   18837 os2*)
   18838   libname_spec='$name'
   18839   shrext_cmds=".dll"
   18840   need_lib_prefix=no
   18841   library_names_spec='$libname${shared_ext} $libname.a'
   18842   dynamic_linker='OS/2 ld.exe'
   18843   shlibpath_var=LIBPATH
   18844   ;;
   18845 
   18846 osf3* | osf4* | osf5*)
   18847   version_type=osf
   18848   need_lib_prefix=no
   18849   need_version=no
   18850   soname_spec='${libname}${release}${shared_ext}$major'
   18851   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18852   shlibpath_var=LD_LIBRARY_PATH
   18853   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18854   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18855   ;;
   18856 
   18857 rdos*)
   18858   dynamic_linker=no
   18859   ;;
   18860 
   18861 solaris*)
   18862   version_type=linux
   18863   need_lib_prefix=no
   18864   need_version=no
   18865   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18866   soname_spec='${libname}${release}${shared_ext}$major'
   18867   shlibpath_var=LD_LIBRARY_PATH
   18868   shlibpath_overrides_runpath=yes
   18869   hardcode_into_libs=yes
   18870   # ldd complains unless libraries are executable
   18871   postinstall_cmds='chmod +x $lib'
   18872   ;;
   18873 
   18874 sunos4*)
   18875   version_type=sunos
   18876   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18877   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18878   shlibpath_var=LD_LIBRARY_PATH
   18879   shlibpath_overrides_runpath=yes
   18880   if test "$with_gnu_ld" = yes; then
   18881     need_lib_prefix=no
   18882   fi
   18883   need_version=yes
   18884   ;;
   18885 
   18886 sysv4 | sysv4.3*)
   18887   version_type=linux
   18888   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18889   soname_spec='${libname}${release}${shared_ext}$major'
   18890   shlibpath_var=LD_LIBRARY_PATH
   18891   case $host_vendor in
   18892     sni)
   18893       shlibpath_overrides_runpath=no
   18894       need_lib_prefix=no
   18895       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18896       runpath_var=LD_RUN_PATH
   18897       ;;
   18898     siemens)
   18899       need_lib_prefix=no
   18900       ;;
   18901     motorola)
   18902       need_lib_prefix=no
   18903       need_version=no
   18904       shlibpath_overrides_runpath=no
   18905       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18906       ;;
   18907   esac
   18908   ;;
   18909 
   18910 sysv4*MP*)
   18911   if test -d /usr/nec ;then
   18912     version_type=linux
   18913     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18914     soname_spec='$libname${shared_ext}.$major'
   18915     shlibpath_var=LD_LIBRARY_PATH
   18916   fi
   18917   ;;
   18918 
   18919 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18920   version_type=freebsd-elf
   18921   need_lib_prefix=no
   18922   need_version=no
   18923   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18924   soname_spec='${libname}${release}${shared_ext}$major'
   18925   shlibpath_var=LD_LIBRARY_PATH
   18926   hardcode_into_libs=yes
   18927   if test "$with_gnu_ld" = yes; then
   18928     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18929     shlibpath_overrides_runpath=no
   18930   else
   18931     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18932     shlibpath_overrides_runpath=yes
   18933     case $host_os in
   18934       sco3.2v5*)
   18935         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18936 	;;
   18937     esac
   18938   fi
   18939   sys_lib_dlsearch_path_spec='/usr/lib'
   18940   ;;
   18941 
   18942 uts4*)
   18943   version_type=linux
   18944   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18945   soname_spec='${libname}${release}${shared_ext}$major'
   18946   shlibpath_var=LD_LIBRARY_PATH
   18947   ;;
   18948 
   18949 *)
   18950   dynamic_linker=no
   18951   ;;
   18952 esac
   18953 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18954 $as_echo "$dynamic_linker" >&6; }
   18955 test "$dynamic_linker" = no && can_build_shared=no
   18956 
   18957 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   18958   $as_echo_n "(cached) " >&6
   18959 else
   18960   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   18961 fi
   18962 
   18963 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   18964 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   18965   $as_echo_n "(cached) " >&6
   18966 else
   18967   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   18968 fi
   18969 
   18970 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   18971 
   18972 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18973 if test "$GCC" = yes; then
   18974   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18975 fi
   18976 
   18977 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   18978 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   18979 hardcode_action_GCJ=
   18980 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   18981    test -n "$runpath_var_GCJ" || \
   18982    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   18983 
   18984   # We can hardcode non-existant directories.
   18985   if test "$hardcode_direct_GCJ" != no &&
   18986      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18987      # have to relink, otherwise we might link with an installed library
   18988      # when we should be linking with a yet-to-be-installed one
   18989      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   18990      test "$hardcode_minus_L_GCJ" != no; then
   18991     # Linking always hardcodes the temporary library directory.
   18992     hardcode_action_GCJ=relink
   18993   else
   18994     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18995     hardcode_action_GCJ=immediate
   18996   fi
   18997 else
   18998   # We cannot hardcode anything, or else we can only hardcode existing
   18999   # directories.
   19000   hardcode_action_GCJ=unsupported
   19001 fi
   19002 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19003 $as_echo "$hardcode_action_GCJ" >&6; }
   19004 
   19005 if test "$hardcode_action_GCJ" = relink; then
   19006   # Fast installation is not supported
   19007   enable_fast_install=no
   19008 elif test "$shlibpath_overrides_runpath" = yes ||
   19009      test "$enable_shared" = no; then
   19010   # Fast installation is not necessary
   19011   enable_fast_install=needless
   19012 fi
   19013 
   19014 
   19015 # The else clause should only fire when bootstrapping the
   19016 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19017 # with your package, and you will get complaints that there are
   19018 # no rules to generate ltmain.sh.
   19019 if test -f "$ltmain"; then
   19020   # See if we are running on zsh, and set the options which allow our commands through
   19021   # without removal of \ escapes.
   19022   if test -n "${ZSH_VERSION+set}" ; then
   19023     setopt NO_GLOB_SUBST
   19024   fi
   19025   # Now quote all the things that may contain metacharacters while being
   19026   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19027   # variables and quote the copies for generation of the libtool script.
   19028   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19029     SED SHELL STRIP \
   19030     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19031     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19032     deplibs_check_method reload_flag reload_cmds need_locks \
   19033     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19034     lt_cv_sys_global_symbol_to_c_name_address \
   19035     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19036     old_postinstall_cmds old_postuninstall_cmds \
   19037     compiler_GCJ \
   19038     CC_GCJ \
   19039     LD_GCJ \
   19040     lt_prog_compiler_wl_GCJ \
   19041     lt_prog_compiler_pic_GCJ \
   19042     lt_prog_compiler_static_GCJ \
   19043     lt_prog_compiler_no_builtin_flag_GCJ \
   19044     export_dynamic_flag_spec_GCJ \
   19045     thread_safe_flag_spec_GCJ \
   19046     whole_archive_flag_spec_GCJ \
   19047     enable_shared_with_static_runtimes_GCJ \
   19048     old_archive_cmds_GCJ \
   19049     old_archive_from_new_cmds_GCJ \
   19050     predep_objects_GCJ \
   19051     postdep_objects_GCJ \
   19052     predeps_GCJ \
   19053     postdeps_GCJ \
   19054     compiler_lib_search_path_GCJ \
   19055     compiler_lib_search_dirs_GCJ \
   19056     archive_cmds_GCJ \
   19057     archive_expsym_cmds_GCJ \
   19058     postinstall_cmds_GCJ \
   19059     postuninstall_cmds_GCJ \
   19060     old_archive_from_expsyms_cmds_GCJ \
   19061     allow_undefined_flag_GCJ \
   19062     no_undefined_flag_GCJ \
   19063     export_symbols_cmds_GCJ \
   19064     hardcode_libdir_flag_spec_GCJ \
   19065     hardcode_libdir_flag_spec_ld_GCJ \
   19066     hardcode_libdir_separator_GCJ \
   19067     hardcode_automatic_GCJ \
   19068     module_cmds_GCJ \
   19069     module_expsym_cmds_GCJ \
   19070     lt_cv_prog_compiler_c_o_GCJ \
   19071     fix_srcfile_path_GCJ \
   19072     exclude_expsyms_GCJ \
   19073     include_expsyms_GCJ; do
   19074 
   19075     case $var in
   19076     old_archive_cmds_GCJ | \
   19077     old_archive_from_new_cmds_GCJ | \
   19078     archive_cmds_GCJ | \
   19079     archive_expsym_cmds_GCJ | \
   19080     module_cmds_GCJ | \
   19081     module_expsym_cmds_GCJ | \
   19082     old_archive_from_expsyms_cmds_GCJ | \
   19083     export_symbols_cmds_GCJ | \
   19084     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19085     postinstall_cmds | postuninstall_cmds | \
   19086     old_postinstall_cmds | old_postuninstall_cmds | \
   19087     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19088       # Double-quote double-evaled strings.
   19089       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19090       ;;
   19091     *)
   19092       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19093       ;;
   19094     esac
   19095   done
   19096 
   19097   case $lt_echo in
   19098   *'\$0 --fallback-echo"')
   19099     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19100     ;;
   19101   esac
   19102 
   19103 cfgfile="$ofile"
   19104 
   19105   cat <<__EOF__ >> "$cfgfile"
   19106 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19107 
   19108 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19109 
   19110 # Shell to use when invoking shell scripts.
   19111 SHELL=$lt_SHELL
   19112 
   19113 # Whether or not to build shared libraries.
   19114 build_libtool_libs=$enable_shared
   19115 
   19116 # Whether or not to build static libraries.
   19117 build_old_libs=$enable_static
   19118 
   19119 # Whether or not to add -lc for building shared libraries.
   19120 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19121 
   19122 # Whether or not to disallow shared libs when runtime libs are static
   19123 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19124 
   19125 # Whether or not to optimize for fast installation.
   19126 fast_install=$enable_fast_install
   19127 
   19128 # The host system.
   19129 host_alias=$host_alias
   19130 host=$host
   19131 host_os=$host_os
   19132 
   19133 # The build system.
   19134 build_alias=$build_alias
   19135 build=$build
   19136 build_os=$build_os
   19137 
   19138 # An echo program that does not interpret backslashes.
   19139 echo=$lt_echo
   19140 
   19141 # The archiver.
   19142 AR=$lt_AR
   19143 AR_FLAGS=$lt_AR_FLAGS
   19144 
   19145 # A C compiler.
   19146 LTCC=$lt_LTCC
   19147 
   19148 # LTCC compiler flags.
   19149 LTCFLAGS=$lt_LTCFLAGS
   19150 
   19151 # A language-specific compiler.
   19152 CC=$lt_compiler_GCJ
   19153 
   19154 # Is the compiler the GNU C compiler?
   19155 with_gcc=$GCC_GCJ
   19156 
   19157 # An ERE matcher.
   19158 EGREP=$lt_EGREP
   19159 
   19160 # The linker used to build libraries.
   19161 LD=$lt_LD_GCJ
   19162 
   19163 # Whether we need hard or soft links.
   19164 LN_S=$lt_LN_S
   19165 
   19166 # A BSD-compatible nm program.
   19167 NM=$lt_NM
   19168 
   19169 # A symbol stripping program
   19170 STRIP=$lt_STRIP
   19171 
   19172 # Used to examine libraries when file_magic_cmd begins "file"
   19173 MAGIC_CMD=$MAGIC_CMD
   19174 
   19175 # Used on cygwin: DLL creation program.
   19176 DLLTOOL="$DLLTOOL"
   19177 
   19178 # Used on cygwin: object dumper.
   19179 OBJDUMP="$OBJDUMP"
   19180 
   19181 # Used on cygwin: assembler.
   19182 AS="$AS"
   19183 
   19184 # The name of the directory that contains temporary libtool files.
   19185 objdir=$objdir
   19186 
   19187 # How to create reloadable object files.
   19188 reload_flag=$lt_reload_flag
   19189 reload_cmds=$lt_reload_cmds
   19190 
   19191 # How to pass a linker flag through the compiler.
   19192 wl=$lt_lt_prog_compiler_wl_GCJ
   19193 
   19194 # Object file suffix (normally "o").
   19195 objext="$ac_objext"
   19196 
   19197 # Old archive suffix (normally "a").
   19198 libext="$libext"
   19199 
   19200 # Shared library suffix (normally ".so").
   19201 shrext_cmds='$shrext_cmds'
   19202 
   19203 # Executable file suffix (normally "").
   19204 exeext="$exeext"
   19205 
   19206 # Additional compiler flags for building library objects.
   19207 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19208 pic_mode=$pic_mode
   19209 
   19210 # What is the maximum length of a command?
   19211 max_cmd_len=$lt_cv_sys_max_cmd_len
   19212 
   19213 # Does compiler simultaneously support -c and -o options?
   19214 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19215 
   19216 # Must we lock files when doing compilation?
   19217 need_locks=$lt_need_locks
   19218 
   19219 # Do we need the lib prefix for modules?
   19220 need_lib_prefix=$need_lib_prefix
   19221 
   19222 # Do we need a version for libraries?
   19223 need_version=$need_version
   19224 
   19225 # Whether dlopen is supported.
   19226 dlopen_support=$enable_dlopen
   19227 
   19228 # Whether dlopen of programs is supported.
   19229 dlopen_self=$enable_dlopen_self
   19230 
   19231 # Whether dlopen of statically linked programs is supported.
   19232 dlopen_self_static=$enable_dlopen_self_static
   19233 
   19234 # Compiler flag to prevent dynamic linking.
   19235 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19236 
   19237 # Compiler flag to turn off builtin functions.
   19238 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19239 
   19240 # Compiler flag to allow reflexive dlopens.
   19241 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19242 
   19243 # Compiler flag to generate shared objects directly from archives.
   19244 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19245 
   19246 # Compiler flag to generate thread-safe objects.
   19247 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19248 
   19249 # Library versioning type.
   19250 version_type=$version_type
   19251 
   19252 # Format of library name prefix.
   19253 libname_spec=$lt_libname_spec
   19254 
   19255 # List of archive names.  First name is the real one, the rest are links.
   19256 # The last name is the one that the linker finds with -lNAME.
   19257 library_names_spec=$lt_library_names_spec
   19258 
   19259 # The coded name of the library, if different from the real name.
   19260 soname_spec=$lt_soname_spec
   19261 
   19262 # Commands used to build and install an old-style archive.
   19263 RANLIB=$lt_RANLIB
   19264 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19265 old_postinstall_cmds=$lt_old_postinstall_cmds
   19266 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19267 
   19268 # Create an old-style archive from a shared archive.
   19269 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19270 
   19271 # Create a temporary old-style archive to link instead of a shared archive.
   19272 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19273 
   19274 # Commands used to build and install a shared archive.
   19275 archive_cmds=$lt_archive_cmds_GCJ
   19276 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19277 postinstall_cmds=$lt_postinstall_cmds
   19278 postuninstall_cmds=$lt_postuninstall_cmds
   19279 
   19280 # Commands used to build a loadable module (assumed same as above if empty)
   19281 module_cmds=$lt_module_cmds_GCJ
   19282 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19283 
   19284 # Commands to strip libraries.
   19285 old_striplib=$lt_old_striplib
   19286 striplib=$lt_striplib
   19287 
   19288 # Dependencies to place before the objects being linked to create a
   19289 # shared library.
   19290 predep_objects=$lt_predep_objects_GCJ
   19291 
   19292 # Dependencies to place after the objects being linked to create a
   19293 # shared library.
   19294 postdep_objects=$lt_postdep_objects_GCJ
   19295 
   19296 # Dependencies to place before the objects being linked to create a
   19297 # shared library.
   19298 predeps=$lt_predeps_GCJ
   19299 
   19300 # Dependencies to place after the objects being linked to create a
   19301 # shared library.
   19302 postdeps=$lt_postdeps_GCJ
   19303 
   19304 # The directories searched by this compiler when creating a shared
   19305 # library
   19306 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19307 
   19308 # The library search path used internally by the compiler when linking
   19309 # a shared library.
   19310 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19311 
   19312 # Method to check whether dependent libraries are shared objects.
   19313 deplibs_check_method=$lt_deplibs_check_method
   19314 
   19315 # Command to use when deplibs_check_method == file_magic.
   19316 file_magic_cmd=$lt_file_magic_cmd
   19317 
   19318 # Flag that allows shared libraries with undefined symbols to be built.
   19319 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19320 
   19321 # Flag that forces no undefined symbols.
   19322 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19323 
   19324 # Commands used to finish a libtool library installation in a directory.
   19325 finish_cmds=$lt_finish_cmds
   19326 
   19327 # Same as above, but a single script fragment to be evaled but not shown.
   19328 finish_eval=$lt_finish_eval
   19329 
   19330 # Take the output of nm and produce a listing of raw symbols and C names.
   19331 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19332 
   19333 # Transform the output of nm in a proper C declaration
   19334 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19335 
   19336 # Transform the output of nm in a C name address pair
   19337 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19338 
   19339 # This is the shared library runtime path variable.
   19340 runpath_var=$runpath_var
   19341 
   19342 # This is the shared library path variable.
   19343 shlibpath_var=$shlibpath_var
   19344 
   19345 # Is shlibpath searched before the hard-coded library search path?
   19346 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19347 
   19348 # How to hardcode a shared library path into an executable.
   19349 hardcode_action=$hardcode_action_GCJ
   19350 
   19351 # Whether we should hardcode library paths into libraries.
   19352 hardcode_into_libs=$hardcode_into_libs
   19353 
   19354 # Flag to hardcode \$libdir into a binary during linking.
   19355 # This must work even if \$libdir does not exist.
   19356 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19357 
   19358 # If ld is used when linking, flag to hardcode \$libdir into
   19359 # a binary during linking. This must work even if \$libdir does
   19360 # not exist.
   19361 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19362 
   19363 # Whether we need a single -rpath flag with a separated argument.
   19364 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19365 
   19366 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19367 # resulting binary.
   19368 hardcode_direct=$hardcode_direct_GCJ
   19369 
   19370 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19371 # resulting binary.
   19372 hardcode_minus_L=$hardcode_minus_L_GCJ
   19373 
   19374 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19375 # the resulting binary.
   19376 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19377 
   19378 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19379 # and all subsequent libraries and executables linked against it.
   19380 hardcode_automatic=$hardcode_automatic_GCJ
   19381 
   19382 # Variables whose values should be saved in libtool wrapper scripts and
   19383 # restored at relink time.
   19384 variables_saved_for_relink="$variables_saved_for_relink"
   19385 
   19386 # Whether libtool must link a program against all its dependency libraries.
   19387 link_all_deplibs=$link_all_deplibs_GCJ
   19388 
   19389 # Compile-time system search path for libraries
   19390 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19391 
   19392 # Run-time system search path for libraries
   19393 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19394 
   19395 # Fix the shell variable \$srcfile for the compiler.
   19396 fix_srcfile_path=$lt_fix_srcfile_path
   19397 
   19398 # Set to yes if exported symbols are required.
   19399 always_export_symbols=$always_export_symbols_GCJ
   19400 
   19401 # The commands to list exported symbols.
   19402 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19403 
   19404 # The commands to extract the exported symbol list from a shared archive.
   19405 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19406 
   19407 # Symbols that should not be listed in the preloaded symbols.
   19408 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19409 
   19410 # Symbols that must always be exported.
   19411 include_expsyms=$lt_include_expsyms_GCJ
   19412 
   19413 # ### END LIBTOOL TAG CONFIG: $tagname
   19414 
   19415 __EOF__
   19416 
   19417 
   19418 else
   19419   # If there is no Makefile yet, we rely on a make rule to execute
   19420   # `config.status --recheck' to rerun these tests and create the
   19421   # libtool script then.
   19422   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19423   if test -f "$ltmain_in"; then
   19424     test -f Makefile && make "$ltmain"
   19425   fi
   19426 fi
   19427 
   19428 
   19429 ac_ext=c
   19430 ac_cpp='$CPP $CPPFLAGS'
   19431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19434 
   19435 CC="$lt_save_CC"
   19436 
   19437 	else
   19438 	  tagname=""
   19439 	fi
   19440 	;;
   19441 
   19442       RC)
   19443 
   19444 
   19445 # Source file extension for RC test sources.
   19446 ac_ext=rc
   19447 
   19448 # Object file extension for compiled RC test sources.
   19449 objext=o
   19450 objext_RC=$objext
   19451 
   19452 # Code to be used in simple compile tests
   19453 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19454 
   19455 # Code to be used in simple link tests
   19456 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19457 
   19458 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19459 
   19460 # If no C compiler was specified, use CC.
   19461 LTCC=${LTCC-"$CC"}
   19462 
   19463 # If no C compiler flags were specified, use CFLAGS.
   19464 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19465 
   19466 # Allow CC to be a program name with arguments.
   19467 compiler=$CC
   19468 
   19469 
   19470 # save warnings/boilerplate of simple test code
   19471 ac_outfile=conftest.$ac_objext
   19472 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19473 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19474 _lt_compiler_boilerplate=`cat conftest.err`
   19475 $rm conftest*
   19476 
   19477 ac_outfile=conftest.$ac_objext
   19478 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19479 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19480 _lt_linker_boilerplate=`cat conftest.err`
   19481 $rm -r conftest*
   19482 
   19483 
   19484 # Allow CC to be a program name with arguments.
   19485 lt_save_CC="$CC"
   19486 CC=${RC-"windres"}
   19487 compiler=$CC
   19488 compiler_RC=$CC
   19489 for cc_temp in $compiler""; do
   19490   case $cc_temp in
   19491     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19492     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19493     \-*) ;;
   19494     *) break;;
   19495   esac
   19496 done
   19497 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19498 
   19499 lt_cv_prog_compiler_c_o_RC=yes
   19500 
   19501 # The else clause should only fire when bootstrapping the
   19502 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19503 # with your package, and you will get complaints that there are
   19504 # no rules to generate ltmain.sh.
   19505 if test -f "$ltmain"; then
   19506   # See if we are running on zsh, and set the options which allow our commands through
   19507   # without removal of \ escapes.
   19508   if test -n "${ZSH_VERSION+set}" ; then
   19509     setopt NO_GLOB_SUBST
   19510   fi
   19511   # Now quote all the things that may contain metacharacters while being
   19512   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19513   # variables and quote the copies for generation of the libtool script.
   19514   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19515     SED SHELL STRIP \
   19516     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19517     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19518     deplibs_check_method reload_flag reload_cmds need_locks \
   19519     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19520     lt_cv_sys_global_symbol_to_c_name_address \
   19521     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19522     old_postinstall_cmds old_postuninstall_cmds \
   19523     compiler_RC \
   19524     CC_RC \
   19525     LD_RC \
   19526     lt_prog_compiler_wl_RC \
   19527     lt_prog_compiler_pic_RC \
   19528     lt_prog_compiler_static_RC \
   19529     lt_prog_compiler_no_builtin_flag_RC \
   19530     export_dynamic_flag_spec_RC \
   19531     thread_safe_flag_spec_RC \
   19532     whole_archive_flag_spec_RC \
   19533     enable_shared_with_static_runtimes_RC \
   19534     old_archive_cmds_RC \
   19535     old_archive_from_new_cmds_RC \
   19536     predep_objects_RC \
   19537     postdep_objects_RC \
   19538     predeps_RC \
   19539     postdeps_RC \
   19540     compiler_lib_search_path_RC \
   19541     compiler_lib_search_dirs_RC \
   19542     archive_cmds_RC \
   19543     archive_expsym_cmds_RC \
   19544     postinstall_cmds_RC \
   19545     postuninstall_cmds_RC \
   19546     old_archive_from_expsyms_cmds_RC \
   19547     allow_undefined_flag_RC \
   19548     no_undefined_flag_RC \
   19549     export_symbols_cmds_RC \
   19550     hardcode_libdir_flag_spec_RC \
   19551     hardcode_libdir_flag_spec_ld_RC \
   19552     hardcode_libdir_separator_RC \
   19553     hardcode_automatic_RC \
   19554     module_cmds_RC \
   19555     module_expsym_cmds_RC \
   19556     lt_cv_prog_compiler_c_o_RC \
   19557     fix_srcfile_path_RC \
   19558     exclude_expsyms_RC \
   19559     include_expsyms_RC; do
   19560 
   19561     case $var in
   19562     old_archive_cmds_RC | \
   19563     old_archive_from_new_cmds_RC | \
   19564     archive_cmds_RC | \
   19565     archive_expsym_cmds_RC | \
   19566     module_cmds_RC | \
   19567     module_expsym_cmds_RC | \
   19568     old_archive_from_expsyms_cmds_RC | \
   19569     export_symbols_cmds_RC | \
   19570     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19571     postinstall_cmds | postuninstall_cmds | \
   19572     old_postinstall_cmds | old_postuninstall_cmds | \
   19573     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19574       # Double-quote double-evaled strings.
   19575       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19576       ;;
   19577     *)
   19578       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19579       ;;
   19580     esac
   19581   done
   19582 
   19583   case $lt_echo in
   19584   *'\$0 --fallback-echo"')
   19585     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19586     ;;
   19587   esac
   19588 
   19589 cfgfile="$ofile"
   19590 
   19591   cat <<__EOF__ >> "$cfgfile"
   19592 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19593 
   19594 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19595 
   19596 # Shell to use when invoking shell scripts.
   19597 SHELL=$lt_SHELL
   19598 
   19599 # Whether or not to build shared libraries.
   19600 build_libtool_libs=$enable_shared
   19601 
   19602 # Whether or not to build static libraries.
   19603 build_old_libs=$enable_static
   19604 
   19605 # Whether or not to add -lc for building shared libraries.
   19606 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19607 
   19608 # Whether or not to disallow shared libs when runtime libs are static
   19609 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19610 
   19611 # Whether or not to optimize for fast installation.
   19612 fast_install=$enable_fast_install
   19613 
   19614 # The host system.
   19615 host_alias=$host_alias
   19616 host=$host
   19617 host_os=$host_os
   19618 
   19619 # The build system.
   19620 build_alias=$build_alias
   19621 build=$build
   19622 build_os=$build_os
   19623 
   19624 # An echo program that does not interpret backslashes.
   19625 echo=$lt_echo
   19626 
   19627 # The archiver.
   19628 AR=$lt_AR
   19629 AR_FLAGS=$lt_AR_FLAGS
   19630 
   19631 # A C compiler.
   19632 LTCC=$lt_LTCC
   19633 
   19634 # LTCC compiler flags.
   19635 LTCFLAGS=$lt_LTCFLAGS
   19636 
   19637 # A language-specific compiler.
   19638 CC=$lt_compiler_RC
   19639 
   19640 # Is the compiler the GNU C compiler?
   19641 with_gcc=$GCC_RC
   19642 
   19643 # An ERE matcher.
   19644 EGREP=$lt_EGREP
   19645 
   19646 # The linker used to build libraries.
   19647 LD=$lt_LD_RC
   19648 
   19649 # Whether we need hard or soft links.
   19650 LN_S=$lt_LN_S
   19651 
   19652 # A BSD-compatible nm program.
   19653 NM=$lt_NM
   19654 
   19655 # A symbol stripping program
   19656 STRIP=$lt_STRIP
   19657 
   19658 # Used to examine libraries when file_magic_cmd begins "file"
   19659 MAGIC_CMD=$MAGIC_CMD
   19660 
   19661 # Used on cygwin: DLL creation program.
   19662 DLLTOOL="$DLLTOOL"
   19663 
   19664 # Used on cygwin: object dumper.
   19665 OBJDUMP="$OBJDUMP"
   19666 
   19667 # Used on cygwin: assembler.
   19668 AS="$AS"
   19669 
   19670 # The name of the directory that contains temporary libtool files.
   19671 objdir=$objdir
   19672 
   19673 # How to create reloadable object files.
   19674 reload_flag=$lt_reload_flag
   19675 reload_cmds=$lt_reload_cmds
   19676 
   19677 # How to pass a linker flag through the compiler.
   19678 wl=$lt_lt_prog_compiler_wl_RC
   19679 
   19680 # Object file suffix (normally "o").
   19681 objext="$ac_objext"
   19682 
   19683 # Old archive suffix (normally "a").
   19684 libext="$libext"
   19685 
   19686 # Shared library suffix (normally ".so").
   19687 shrext_cmds='$shrext_cmds'
   19688 
   19689 # Executable file suffix (normally "").
   19690 exeext="$exeext"
   19691 
   19692 # Additional compiler flags for building library objects.
   19693 pic_flag=$lt_lt_prog_compiler_pic_RC
   19694 pic_mode=$pic_mode
   19695 
   19696 # What is the maximum length of a command?
   19697 max_cmd_len=$lt_cv_sys_max_cmd_len
   19698 
   19699 # Does compiler simultaneously support -c and -o options?
   19700 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19701 
   19702 # Must we lock files when doing compilation?
   19703 need_locks=$lt_need_locks
   19704 
   19705 # Do we need the lib prefix for modules?
   19706 need_lib_prefix=$need_lib_prefix
   19707 
   19708 # Do we need a version for libraries?
   19709 need_version=$need_version
   19710 
   19711 # Whether dlopen is supported.
   19712 dlopen_support=$enable_dlopen
   19713 
   19714 # Whether dlopen of programs is supported.
   19715 dlopen_self=$enable_dlopen_self
   19716 
   19717 # Whether dlopen of statically linked programs is supported.
   19718 dlopen_self_static=$enable_dlopen_self_static
   19719 
   19720 # Compiler flag to prevent dynamic linking.
   19721 link_static_flag=$lt_lt_prog_compiler_static_RC
   19722 
   19723 # Compiler flag to turn off builtin functions.
   19724 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19725 
   19726 # Compiler flag to allow reflexive dlopens.
   19727 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19728 
   19729 # Compiler flag to generate shared objects directly from archives.
   19730 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19731 
   19732 # Compiler flag to generate thread-safe objects.
   19733 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19734 
   19735 # Library versioning type.
   19736 version_type=$version_type
   19737 
   19738 # Format of library name prefix.
   19739 libname_spec=$lt_libname_spec
   19740 
   19741 # List of archive names.  First name is the real one, the rest are links.
   19742 # The last name is the one that the linker finds with -lNAME.
   19743 library_names_spec=$lt_library_names_spec
   19744 
   19745 # The coded name of the library, if different from the real name.
   19746 soname_spec=$lt_soname_spec
   19747 
   19748 # Commands used to build and install an old-style archive.
   19749 RANLIB=$lt_RANLIB
   19750 old_archive_cmds=$lt_old_archive_cmds_RC
   19751 old_postinstall_cmds=$lt_old_postinstall_cmds
   19752 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19753 
   19754 # Create an old-style archive from a shared archive.
   19755 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19756 
   19757 # Create a temporary old-style archive to link instead of a shared archive.
   19758 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19759 
   19760 # Commands used to build and install a shared archive.
   19761 archive_cmds=$lt_archive_cmds_RC
   19762 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19763 postinstall_cmds=$lt_postinstall_cmds
   19764 postuninstall_cmds=$lt_postuninstall_cmds
   19765 
   19766 # Commands used to build a loadable module (assumed same as above if empty)
   19767 module_cmds=$lt_module_cmds_RC
   19768 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19769 
   19770 # Commands to strip libraries.
   19771 old_striplib=$lt_old_striplib
   19772 striplib=$lt_striplib
   19773 
   19774 # Dependencies to place before the objects being linked to create a
   19775 # shared library.
   19776 predep_objects=$lt_predep_objects_RC
   19777 
   19778 # Dependencies to place after the objects being linked to create a
   19779 # shared library.
   19780 postdep_objects=$lt_postdep_objects_RC
   19781 
   19782 # Dependencies to place before the objects being linked to create a
   19783 # shared library.
   19784 predeps=$lt_predeps_RC
   19785 
   19786 # Dependencies to place after the objects being linked to create a
   19787 # shared library.
   19788 postdeps=$lt_postdeps_RC
   19789 
   19790 # The directories searched by this compiler when creating a shared
   19791 # library
   19792 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19793 
   19794 # The library search path used internally by the compiler when linking
   19795 # a shared library.
   19796 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19797 
   19798 # Method to check whether dependent libraries are shared objects.
   19799 deplibs_check_method=$lt_deplibs_check_method
   19800 
   19801 # Command to use when deplibs_check_method == file_magic.
   19802 file_magic_cmd=$lt_file_magic_cmd
   19803 
   19804 # Flag that allows shared libraries with undefined symbols to be built.
   19805 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19806 
   19807 # Flag that forces no undefined symbols.
   19808 no_undefined_flag=$lt_no_undefined_flag_RC
   19809 
   19810 # Commands used to finish a libtool library installation in a directory.
   19811 finish_cmds=$lt_finish_cmds
   19812 
   19813 # Same as above, but a single script fragment to be evaled but not shown.
   19814 finish_eval=$lt_finish_eval
   19815 
   19816 # Take the output of nm and produce a listing of raw symbols and C names.
   19817 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19818 
   19819 # Transform the output of nm in a proper C declaration
   19820 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19821 
   19822 # Transform the output of nm in a C name address pair
   19823 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19824 
   19825 # This is the shared library runtime path variable.
   19826 runpath_var=$runpath_var
   19827 
   19828 # This is the shared library path variable.
   19829 shlibpath_var=$shlibpath_var
   19830 
   19831 # Is shlibpath searched before the hard-coded library search path?
   19832 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19833 
   19834 # How to hardcode a shared library path into an executable.
   19835 hardcode_action=$hardcode_action_RC
   19836 
   19837 # Whether we should hardcode library paths into libraries.
   19838 hardcode_into_libs=$hardcode_into_libs
   19839 
   19840 # Flag to hardcode \$libdir into a binary during linking.
   19841 # This must work even if \$libdir does not exist.
   19842 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19843 
   19844 # If ld is used when linking, flag to hardcode \$libdir into
   19845 # a binary during linking. This must work even if \$libdir does
   19846 # not exist.
   19847 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19848 
   19849 # Whether we need a single -rpath flag with a separated argument.
   19850 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19851 
   19852 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19853 # resulting binary.
   19854 hardcode_direct=$hardcode_direct_RC
   19855 
   19856 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19857 # resulting binary.
   19858 hardcode_minus_L=$hardcode_minus_L_RC
   19859 
   19860 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19861 # the resulting binary.
   19862 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19863 
   19864 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19865 # and all subsequent libraries and executables linked against it.
   19866 hardcode_automatic=$hardcode_automatic_RC
   19867 
   19868 # Variables whose values should be saved in libtool wrapper scripts and
   19869 # restored at relink time.
   19870 variables_saved_for_relink="$variables_saved_for_relink"
   19871 
   19872 # Whether libtool must link a program against all its dependency libraries.
   19873 link_all_deplibs=$link_all_deplibs_RC
   19874 
   19875 # Compile-time system search path for libraries
   19876 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19877 
   19878 # Run-time system search path for libraries
   19879 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19880 
   19881 # Fix the shell variable \$srcfile for the compiler.
   19882 fix_srcfile_path=$lt_fix_srcfile_path
   19883 
   19884 # Set to yes if exported symbols are required.
   19885 always_export_symbols=$always_export_symbols_RC
   19886 
   19887 # The commands to list exported symbols.
   19888 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19889 
   19890 # The commands to extract the exported symbol list from a shared archive.
   19891 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19892 
   19893 # Symbols that should not be listed in the preloaded symbols.
   19894 exclude_expsyms=$lt_exclude_expsyms_RC
   19895 
   19896 # Symbols that must always be exported.
   19897 include_expsyms=$lt_include_expsyms_RC
   19898 
   19899 # ### END LIBTOOL TAG CONFIG: $tagname
   19900 
   19901 __EOF__
   19902 
   19903 
   19904 else
   19905   # If there is no Makefile yet, we rely on a make rule to execute
   19906   # `config.status --recheck' to rerun these tests and create the
   19907   # libtool script then.
   19908   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19909   if test -f "$ltmain_in"; then
   19910     test -f Makefile && make "$ltmain"
   19911   fi
   19912 fi
   19913 
   19914 
   19915 ac_ext=c
   19916 ac_cpp='$CPP $CPPFLAGS'
   19917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19920 
   19921 CC="$lt_save_CC"
   19922 
   19923 	;;
   19924 
   19925       *)
   19926 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19927 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19928    { (exit 1); exit 1; }; }
   19929 	;;
   19930       esac
   19931 
   19932       # Append the new tag name to the list of available tags.
   19933       if test -n "$tagname" ; then
   19934       available_tags="$available_tags $tagname"
   19935     fi
   19936     fi
   19937   done
   19938   IFS="$lt_save_ifs"
   19939 
   19940   # Now substitute the updated list of available tags.
   19941   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19942     mv "${ofile}T" "$ofile"
   19943     chmod +x "$ofile"
   19944   else
   19945     rm -f "${ofile}T"
   19946     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19947 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19948    { (exit 1); exit 1; }; }
   19949   fi
   19950 fi
   19951 
   19952 
   19953 
   19954 # This can be used to rebuild libtool when needed
   19955 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19956 
   19957 # Always use our own libtool.
   19958 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   19959 
   19960 # Prevent multiple expansion
   19961 
   19962 
   19963 
   19964 
   19965 
   19966 
   19967 
   19968 
   19969 
   19970 
   19971 
   19972 
   19973 
   19974 
   19975 
   19976 
   19977 
   19978 
   19979 
   19980 
   19981 
   19982 
   19983 
   19984 
   19985 { $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
   19986 $as_echo_n "checking for socket in -lsocket... " >&6; }
   19987 if test "${ac_cv_lib_socket_socket+set}" = set; then
   19988   $as_echo_n "(cached) " >&6
   19989 else
   19990   ac_check_lib_save_LIBS=$LIBS
   19991 LIBS="-lsocket  $LIBS"
   19992 cat >conftest.$ac_ext <<_ACEOF
   19993 /* confdefs.h.  */
   19994 _ACEOF
   19995 cat confdefs.h >>conftest.$ac_ext
   19996 cat >>conftest.$ac_ext <<_ACEOF
   19997 /* end confdefs.h.  */
   19998 
   19999 /* Override any GCC internal prototype to avoid an error.
   20000    Use char because int might match the return type of a GCC
   20001    builtin and then its argument prototype would still apply.  */
   20002 #ifdef __cplusplus
   20003 extern "C"
   20004 #endif
   20005 char socket ();
   20006 int
   20007 main ()
   20008 {
   20009 return socket ();
   20010   ;
   20011   return 0;
   20012 }
   20013 _ACEOF
   20014 rm -f conftest.$ac_objext conftest$ac_exeext
   20015 if { (ac_try="$ac_link"
   20016 case "(($ac_try" in
   20017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20018   *) ac_try_echo=$ac_try;;
   20019 esac
   20020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20021 $as_echo "$ac_try_echo") >&5
   20022   (eval "$ac_link") 2>conftest.er1
   20023   ac_status=$?
   20024   grep -v '^ *+' conftest.er1 >conftest.err
   20025   rm -f conftest.er1
   20026   cat conftest.err >&5
   20027   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20028   (exit $ac_status); } && {
   20029 	 test -z "$ac_c_werror_flag" ||
   20030 	 test ! -s conftest.err
   20031        } && test -s conftest$ac_exeext && {
   20032 	 test "$cross_compiling" = yes ||
   20033 	 $as_test_x conftest$ac_exeext
   20034        }; then
   20035   ac_cv_lib_socket_socket=yes
   20036 else
   20037   $as_echo "$as_me: failed program was:" >&5
   20038 sed 's/^/| /' conftest.$ac_ext >&5
   20039 
   20040 	ac_cv_lib_socket_socket=no
   20041 fi
   20042 
   20043 rm -rf conftest.dSYM
   20044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   20045       conftest$ac_exeext conftest.$ac_ext
   20046 LIBS=$ac_check_lib_save_LIBS
   20047 fi
   20048 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
   20049 $as_echo "$ac_cv_lib_socket_socket" >&6; }
   20050 if test "x$ac_cv_lib_socket_socket" = x""yes; then
   20051   cat >>confdefs.h <<_ACEOF
   20052 #define HAVE_LIBSOCKET 1
   20053 _ACEOF
   20054 
   20055   LIBS="-lsocket $LIBS"
   20056 
   20057 fi
   20058 
   20059 
   20060 { $as_echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
   20061 $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
   20062 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
   20063   $as_echo_n "(cached) " >&6
   20064 else
   20065   ac_check_lib_save_LIBS=$LIBS
   20066 LIBS="-lresolv  $LIBS"
   20067 cat >conftest.$ac_ext <<_ACEOF
   20068 /* confdefs.h.  */
   20069 _ACEOF
   20070 cat confdefs.h >>conftest.$ac_ext
   20071 cat >>conftest.$ac_ext <<_ACEOF
   20072 /* end confdefs.h.  */
   20073 
   20074 /* Override any GCC internal prototype to avoid an error.
   20075    Use char because int might match the return type of a GCC
   20076    builtin and then its argument prototype would still apply.  */
   20077 #ifdef __cplusplus
   20078 extern "C"
   20079 #endif
   20080 char inet_aton ();
   20081 int
   20082 main ()
   20083 {
   20084 return inet_aton ();
   20085   ;
   20086   return 0;
   20087 }
   20088 _ACEOF
   20089 rm -f conftest.$ac_objext conftest$ac_exeext
   20090 if { (ac_try="$ac_link"
   20091 case "(($ac_try" in
   20092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20093   *) ac_try_echo=$ac_try;;
   20094 esac
   20095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20096 $as_echo "$ac_try_echo") >&5
   20097   (eval "$ac_link") 2>conftest.er1
   20098   ac_status=$?
   20099   grep -v '^ *+' conftest.er1 >conftest.err
   20100   rm -f conftest.er1
   20101   cat conftest.err >&5
   20102   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20103   (exit $ac_status); } && {
   20104 	 test -z "$ac_c_werror_flag" ||
   20105 	 test ! -s conftest.err
   20106        } && test -s conftest$ac_exeext && {
   20107 	 test "$cross_compiling" = yes ||
   20108 	 $as_test_x conftest$ac_exeext
   20109        }; then
   20110   ac_cv_lib_resolv_inet_aton=yes
   20111 else
   20112   $as_echo "$as_me: failed program was:" >&5
   20113 sed 's/^/| /' conftest.$ac_ext >&5
   20114 
   20115 	ac_cv_lib_resolv_inet_aton=no
   20116 fi
   20117 
   20118 rm -rf conftest.dSYM
   20119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   20120       conftest$ac_exeext conftest.$ac_ext
   20121 LIBS=$ac_check_lib_save_LIBS
   20122 fi
   20123 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
   20124 $as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
   20125 if test "x$ac_cv_lib_resolv_inet_aton" = x""yes; then
   20126   cat >>confdefs.h <<_ACEOF
   20127 #define HAVE_LIBRESOLV 1
   20128 _ACEOF
   20129 
   20130   LIBS="-lresolv $LIBS"
   20131 
   20132 fi
   20133 
   20134 
   20135 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
   20136 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
   20137 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
   20138   $as_echo_n "(cached) " >&6
   20139 else
   20140   ac_check_lib_save_LIBS=$LIBS
   20141 LIBS="-lrt  $LIBS"
   20142 cat >conftest.$ac_ext <<_ACEOF
   20143 /* confdefs.h.  */
   20144 _ACEOF
   20145 cat confdefs.h >>conftest.$ac_ext
   20146 cat >>conftest.$ac_ext <<_ACEOF
   20147 /* end confdefs.h.  */
   20148 
   20149 /* Override any GCC internal prototype to avoid an error.
   20150    Use char because int might match the return type of a GCC
   20151    builtin and then its argument prototype would still apply.  */
   20152 #ifdef __cplusplus
   20153 extern "C"
   20154 #endif
   20155 char clock_gettime ();
   20156 int
   20157 main ()
   20158 {
   20159 return clock_gettime ();
   20160   ;
   20161   return 0;
   20162 }
   20163 _ACEOF
   20164 rm -f conftest.$ac_objext conftest$ac_exeext
   20165 if { (ac_try="$ac_link"
   20166 case "(($ac_try" in
   20167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20168   *) ac_try_echo=$ac_try;;
   20169 esac
   20170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20171 $as_echo "$ac_try_echo") >&5
   20172   (eval "$ac_link") 2>conftest.er1
   20173   ac_status=$?
   20174   grep -v '^ *+' conftest.er1 >conftest.err
   20175   rm -f conftest.er1
   20176   cat conftest.err >&5
   20177   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20178   (exit $ac_status); } && {
   20179 	 test -z "$ac_c_werror_flag" ||
   20180 	 test ! -s conftest.err
   20181        } && test -s conftest$ac_exeext && {
   20182 	 test "$cross_compiling" = yes ||
   20183 	 $as_test_x conftest$ac_exeext
   20184        }; then
   20185   ac_cv_lib_rt_clock_gettime=yes
   20186 else
   20187   $as_echo "$as_me: failed program was:" >&5
   20188 sed 's/^/| /' conftest.$ac_ext >&5
   20189 
   20190 	ac_cv_lib_rt_clock_gettime=no
   20191 fi
   20192 
   20193 rm -rf conftest.dSYM
   20194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   20195       conftest$ac_exeext conftest.$ac_ext
   20196 LIBS=$ac_check_lib_save_LIBS
   20197 fi
   20198 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
   20199 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
   20200 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then
   20201   cat >>confdefs.h <<_ACEOF
   20202 #define HAVE_LIBRT 1
   20203 _ACEOF
   20204 
   20205   LIBS="-lrt $LIBS"
   20206 
   20207 fi
   20208 
   20209 
   20210 { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
   20211 $as_echo_n "checking for inet_ntoa in -lnsl... " >&6; }
   20212 if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
   20213   $as_echo_n "(cached) " >&6
   20214 else
   20215   ac_check_lib_save_LIBS=$LIBS
   20216 LIBS="-lnsl  $LIBS"
   20217 cat >conftest.$ac_ext <<_ACEOF
   20218 /* confdefs.h.  */
   20219 _ACEOF
   20220 cat confdefs.h >>conftest.$ac_ext
   20221 cat >>conftest.$ac_ext <<_ACEOF
   20222 /* end confdefs.h.  */
   20223 
   20224 /* Override any GCC internal prototype to avoid an error.
   20225    Use char because int might match the return type of a GCC
   20226    builtin and then its argument prototype would still apply.  */
   20227 #ifdef __cplusplus
   20228 extern "C"
   20229 #endif
   20230 char inet_ntoa ();
   20231 int
   20232 main ()
   20233 {
   20234 return inet_ntoa ();
   20235   ;
   20236   return 0;
   20237 }
   20238 _ACEOF
   20239 rm -f conftest.$ac_objext conftest$ac_exeext
   20240 if { (ac_try="$ac_link"
   20241 case "(($ac_try" in
   20242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20243   *) ac_try_echo=$ac_try;;
   20244 esac
   20245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20246 $as_echo "$ac_try_echo") >&5
   20247   (eval "$ac_link") 2>conftest.er1
   20248   ac_status=$?
   20249   grep -v '^ *+' conftest.er1 >conftest.err
   20250   rm -f conftest.er1
   20251   cat conftest.err >&5
   20252   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20253   (exit $ac_status); } && {
   20254 	 test -z "$ac_c_werror_flag" ||
   20255 	 test ! -s conftest.err
   20256        } && test -s conftest$ac_exeext && {
   20257 	 test "$cross_compiling" = yes ||
   20258 	 $as_test_x conftest$ac_exeext
   20259        }; then
   20260   ac_cv_lib_nsl_inet_ntoa=yes
   20261 else
   20262   $as_echo "$as_me: failed program was:" >&5
   20263 sed 's/^/| /' conftest.$ac_ext >&5
   20264 
   20265 	ac_cv_lib_nsl_inet_ntoa=no
   20266 fi
   20267 
   20268 rm -rf conftest.dSYM
   20269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   20270       conftest$ac_exeext conftest.$ac_ext
   20271 LIBS=$ac_check_lib_save_LIBS
   20272 fi
   20273 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
   20274 $as_echo "$ac_cv_lib_nsl_inet_ntoa" >&6; }
   20275 if test "x$ac_cv_lib_nsl_inet_ntoa" = x""yes; then
   20276   cat >>confdefs.h <<_ACEOF
   20277 #define HAVE_LIBNSL 1
   20278 _ACEOF
   20279 
   20280   LIBS="-lnsl $LIBS"
   20281 
   20282 fi
   20283 
   20284 
   20285 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   20286 $as_echo_n "checking for ANSI C header files... " >&6; }
   20287 if test "${ac_cv_header_stdc+set}" = set; then
   20288   $as_echo_n "(cached) " >&6
   20289 else
   20290   cat >conftest.$ac_ext <<_ACEOF
   20291 /* confdefs.h.  */
   20292 _ACEOF
   20293 cat confdefs.h >>conftest.$ac_ext
   20294 cat >>conftest.$ac_ext <<_ACEOF
   20295 /* end confdefs.h.  */
   20296 #include <stdlib.h>
   20297 #include <stdarg.h>
   20298 #include <string.h>
   20299 #include <float.h>
   20300 
   20301 int
   20302 main ()
   20303 {
   20304 
   20305   ;
   20306   return 0;
   20307 }
   20308 _ACEOF
   20309 rm -f conftest.$ac_objext
   20310 if { (ac_try="$ac_compile"
   20311 case "(($ac_try" in
   20312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20313   *) ac_try_echo=$ac_try;;
   20314 esac
   20315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20316 $as_echo "$ac_try_echo") >&5
   20317   (eval "$ac_compile") 2>conftest.er1
   20318   ac_status=$?
   20319   grep -v '^ *+' conftest.er1 >conftest.err
   20320   rm -f conftest.er1
   20321   cat conftest.err >&5
   20322   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20323   (exit $ac_status); } && {
   20324 	 test -z "$ac_c_werror_flag" ||
   20325 	 test ! -s conftest.err
   20326        } && test -s conftest.$ac_objext; then
   20327   ac_cv_header_stdc=yes
   20328 else
   20329   $as_echo "$as_me: failed program was:" >&5
   20330 sed 's/^/| /' conftest.$ac_ext >&5
   20331 
   20332 	ac_cv_header_stdc=no
   20333 fi
   20334 
   20335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20336 
   20337 if test $ac_cv_header_stdc = yes; then
   20338   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   20339   cat >conftest.$ac_ext <<_ACEOF
   20340 /* confdefs.h.  */
   20341 _ACEOF
   20342 cat confdefs.h >>conftest.$ac_ext
   20343 cat >>conftest.$ac_ext <<_ACEOF
   20344 /* end confdefs.h.  */
   20345 #include <string.h>
   20346 
   20347 _ACEOF
   20348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20349   $EGREP "memchr" >/dev/null 2>&1; then
   20350   :
   20351 else
   20352   ac_cv_header_stdc=no
   20353 fi
   20354 rm -f conftest*
   20355 
   20356 fi
   20357 
   20358 if test $ac_cv_header_stdc = yes; then
   20359   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   20360   cat >conftest.$ac_ext <<_ACEOF
   20361 /* confdefs.h.  */
   20362 _ACEOF
   20363 cat confdefs.h >>conftest.$ac_ext
   20364 cat >>conftest.$ac_ext <<_ACEOF
   20365 /* end confdefs.h.  */
   20366 #include <stdlib.h>
   20367 
   20368 _ACEOF
   20369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20370   $EGREP "free" >/dev/null 2>&1; then
   20371   :
   20372 else
   20373   ac_cv_header_stdc=no
   20374 fi
   20375 rm -f conftest*
   20376 
   20377 fi
   20378 
   20379 if test $ac_cv_header_stdc = yes; then
   20380   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   20381   if test "$cross_compiling" = yes; then
   20382   :
   20383 else
   20384   cat >conftest.$ac_ext <<_ACEOF
   20385 /* confdefs.h.  */
   20386 _ACEOF
   20387 cat confdefs.h >>conftest.$ac_ext
   20388 cat >>conftest.$ac_ext <<_ACEOF
   20389 /* end confdefs.h.  */
   20390 #include <ctype.h>
   20391 #include <stdlib.h>
   20392 #if ((' ' & 0x0FF) == 0x020)
   20393 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   20394 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   20395 #else
   20396 # define ISLOWER(c) \
   20397 		   (('a' <= (c) && (c) <= 'i') \
   20398 		     || ('j' <= (c) && (c) <= 'r') \
   20399 		     || ('s' <= (c) && (c) <= 'z'))
   20400 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   20401 #endif
   20402 
   20403 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   20404 int
   20405 main ()
   20406 {
   20407   int i;
   20408   for (i = 0; i < 256; i++)
   20409     if (XOR (islower (i), ISLOWER (i))
   20410 	|| toupper (i) != TOUPPER (i))
   20411       return 2;
   20412   return 0;
   20413 }
   20414 _ACEOF
   20415 rm -f conftest$ac_exeext
   20416 if { (ac_try="$ac_link"
   20417 case "(($ac_try" in
   20418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20419   *) ac_try_echo=$ac_try;;
   20420 esac
   20421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20422 $as_echo "$ac_try_echo") >&5
   20423   (eval "$ac_link") 2>&5
   20424   ac_status=$?
   20425   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20426   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20427   { (case "(($ac_try" in
   20428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20429   *) ac_try_echo=$ac_try;;
   20430 esac
   20431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20432 $as_echo "$ac_try_echo") >&5
   20433   (eval "$ac_try") 2>&5
   20434   ac_status=$?
   20435   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20436   (exit $ac_status); }; }; then
   20437   :
   20438 else
   20439   $as_echo "$as_me: program exited with status $ac_status" >&5
   20440 $as_echo "$as_me: failed program was:" >&5
   20441 sed 's/^/| /' conftest.$ac_ext >&5
   20442 
   20443 ( exit $ac_status )
   20444 ac_cv_header_stdc=no
   20445 fi
   20446 rm -rf conftest.dSYM
   20447 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20448 fi
   20449 
   20450 
   20451 fi
   20452 fi
   20453 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   20454 $as_echo "$ac_cv_header_stdc" >&6; }
   20455 if test $ac_cv_header_stdc = yes; then
   20456 
   20457 cat >>confdefs.h <<\_ACEOF
   20458 #define STDC_HEADERS 1
   20459 _ACEOF
   20460 
   20461 fi
   20462 
   20463 
   20464 
   20465 
   20466 
   20467 
   20468 
   20469 
   20470 
   20471 
   20472 
   20473 
   20474 
   20475 
   20476 
   20477 
   20478 
   20479 
   20480 
   20481 for ac_header in fcntl.h stdarg.h inttypes.h stdint.h poll.h signal.h unistd.h sys/epoll.h sys/time.h sys/queue.h sys/event.h sys/param.h sys/ioctl.h sys/select.h sys/devpoll.h port.h netinet/in6.h sys/socket.h
   20482 do
   20483 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   20484 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20485   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20486 $as_echo_n "checking for $ac_header... " >&6; }
   20487 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20488   $as_echo_n "(cached) " >&6
   20489 fi
   20490 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20491 		 $as_echo "$as_val"'`
   20492 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20493 $as_echo "$ac_res" >&6; }
   20494 else
   20495   # Is the header compilable?
   20496 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   20497 $as_echo_n "checking $ac_header usability... " >&6; }
   20498 cat >conftest.$ac_ext <<_ACEOF
   20499 /* confdefs.h.  */
   20500 _ACEOF
   20501 cat confdefs.h >>conftest.$ac_ext
   20502 cat >>conftest.$ac_ext <<_ACEOF
   20503 /* end confdefs.h.  */
   20504 $ac_includes_default
   20505 #include <$ac_header>
   20506 _ACEOF
   20507 rm -f conftest.$ac_objext
   20508 if { (ac_try="$ac_compile"
   20509 case "(($ac_try" in
   20510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20511   *) ac_try_echo=$ac_try;;
   20512 esac
   20513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20514 $as_echo "$ac_try_echo") >&5
   20515   (eval "$ac_compile") 2>conftest.er1
   20516   ac_status=$?
   20517   grep -v '^ *+' conftest.er1 >conftest.err
   20518   rm -f conftest.er1
   20519   cat conftest.err >&5
   20520   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20521   (exit $ac_status); } && {
   20522 	 test -z "$ac_c_werror_flag" ||
   20523 	 test ! -s conftest.err
   20524        } && test -s conftest.$ac_objext; then
   20525   ac_header_compiler=yes
   20526 else
   20527   $as_echo "$as_me: failed program was:" >&5
   20528 sed 's/^/| /' conftest.$ac_ext >&5
   20529 
   20530 	ac_header_compiler=no
   20531 fi
   20532 
   20533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20534 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   20535 $as_echo "$ac_header_compiler" >&6; }
   20536 
   20537 # Is the header present?
   20538 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   20539 $as_echo_n "checking $ac_header presence... " >&6; }
   20540 cat >conftest.$ac_ext <<_ACEOF
   20541 /* confdefs.h.  */
   20542 _ACEOF
   20543 cat confdefs.h >>conftest.$ac_ext
   20544 cat >>conftest.$ac_ext <<_ACEOF
   20545 /* end confdefs.h.  */
   20546 #include <$ac_header>
   20547 _ACEOF
   20548 if { (ac_try="$ac_cpp conftest.$ac_ext"
   20549 case "(($ac_try" in
   20550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20551   *) ac_try_echo=$ac_try;;
   20552 esac
   20553 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20554 $as_echo "$ac_try_echo") >&5
   20555   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   20556   ac_status=$?
   20557   grep -v '^ *+' conftest.er1 >conftest.err
   20558   rm -f conftest.er1
   20559   cat conftest.err >&5
   20560   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20561   (exit $ac_status); } >/dev/null && {
   20562 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   20563 	 test ! -s conftest.err
   20564        }; then
   20565   ac_header_preproc=yes
   20566 else
   20567   $as_echo "$as_me: failed program was:" >&5
   20568 sed 's/^/| /' conftest.$ac_ext >&5
   20569 
   20570   ac_header_preproc=no
   20571 fi
   20572 
   20573 rm -f conftest.err conftest.$ac_ext
   20574 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   20575 $as_echo "$ac_header_preproc" >&6; }
   20576 
   20577 # So?  What about this header?
   20578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   20579   yes:no: )
   20580     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   20581 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   20582     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   20583 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   20584     ac_header_preproc=yes
   20585     ;;
   20586   no:yes:* )
   20587     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   20588 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   20589     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   20590 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   20591     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   20592 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   20593     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   20594 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   20595     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   20596 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   20597     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   20598 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   20599 
   20600     ;;
   20601 esac
   20602 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20603 $as_echo_n "checking for $ac_header... " >&6; }
   20604 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20605   $as_echo_n "(cached) " >&6
   20606 else
   20607   eval "$as_ac_Header=\$ac_header_preproc"
   20608 fi
   20609 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20610 		 $as_echo "$as_val"'`
   20611 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20612 $as_echo "$ac_res" >&6; }
   20613 
   20614 fi
   20615 as_val=`eval 'as_val=${'$as_ac_Header'}
   20616 		 $as_echo "$as_val"'`
   20617    if test "x$as_val" = x""yes; then
   20618   cat >>confdefs.h <<_ACEOF
   20619 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   20620 _ACEOF
   20621 
   20622 fi
   20623 
   20624 done
   20625 
   20626 if test "x$ac_cv_header_sys_queue_h" = "xyes"; then
   20627 	{ $as_echo "$as_me:$LINENO: checking for TAILQ_FOREACH in sys/queue.h" >&5
   20628 $as_echo_n "checking for TAILQ_FOREACH in sys/queue.h... " >&6; }
   20629 	cat >conftest.$ac_ext <<_ACEOF
   20630 /* confdefs.h.  */
   20631 _ACEOF
   20632 cat confdefs.h >>conftest.$ac_ext
   20633 cat >>conftest.$ac_ext <<_ACEOF
   20634 /* end confdefs.h.  */
   20635 
   20636 #include <sys/queue.h>
   20637 #ifdef TAILQ_FOREACH
   20638  yes
   20639 #endif
   20640 
   20641 _ACEOF
   20642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20643   $EGREP "yes" >/dev/null 2>&1; then
   20644   { $as_echo "$as_me:$LINENO: result: yes" >&5
   20645 $as_echo "yes" >&6; }
   20646 
   20647 cat >>confdefs.h <<\_ACEOF
   20648 #define HAVE_TAILQFOREACH 1
   20649 _ACEOF
   20650 
   20651 else
   20652   { $as_echo "$as_me:$LINENO: result: no" >&5
   20653 $as_echo "no" >&6; }
   20654 
   20655 fi
   20656 rm -f conftest*
   20657 
   20658 fi
   20659 
   20660 if test "x$ac_cv_header_sys_time_h" = "xyes"; then
   20661 	{ $as_echo "$as_me:$LINENO: checking for timeradd in sys/time.h" >&5
   20662 $as_echo_n "checking for timeradd in sys/time.h... " >&6; }
   20663 	cat >conftest.$ac_ext <<_ACEOF
   20664 /* confdefs.h.  */
   20665 _ACEOF
   20666 cat confdefs.h >>conftest.$ac_ext
   20667 cat >>conftest.$ac_ext <<_ACEOF
   20668 /* end confdefs.h.  */
   20669 
   20670 #include <sys/time.h>
   20671 #ifdef timeradd
   20672  yes
   20673 #endif
   20674 
   20675 _ACEOF
   20676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20677   $EGREP "yes" >/dev/null 2>&1; then
   20678 
   20679 cat >>confdefs.h <<\_ACEOF
   20680 #define HAVE_TIMERADD 1
   20681 _ACEOF
   20682 
   20683 	  { $as_echo "$as_me:$LINENO: result: yes" >&5
   20684 $as_echo "yes" >&6; }
   20685 else
   20686   { $as_echo "$as_me:$LINENO: result: no" >&5
   20687 $as_echo "no" >&6; }
   20688 
   20689 fi
   20690 rm -f conftest*
   20691 
   20692 fi
   20693 
   20694 if test "x$ac_cv_header_sys_time_h" = "xyes"; then
   20695 	{ $as_echo "$as_me:$LINENO: checking for timercmp in sys/time.h" >&5
   20696 $as_echo_n "checking for timercmp in sys/time.h... " >&6; }
   20697 	cat >conftest.$ac_ext <<_ACEOF
   20698 /* confdefs.h.  */
   20699 _ACEOF
   20700 cat confdefs.h >>conftest.$ac_ext
   20701 cat >>conftest.$ac_ext <<_ACEOF
   20702 /* end confdefs.h.  */
   20703 
   20704 #include <sys/time.h>
   20705 #ifdef timercmp
   20706  yes
   20707 #endif
   20708 
   20709 _ACEOF
   20710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20711   $EGREP "yes" >/dev/null 2>&1; then
   20712 
   20713 cat >>confdefs.h <<\_ACEOF
   20714 #define HAVE_TIMERCMP 1
   20715 _ACEOF
   20716 
   20717 	  { $as_echo "$as_me:$LINENO: result: yes" >&5
   20718 $as_echo "yes" >&6; }
   20719 else
   20720   { $as_echo "$as_me:$LINENO: result: no" >&5
   20721 $as_echo "no" >&6; }
   20722 
   20723 fi
   20724 rm -f conftest*
   20725 
   20726 fi
   20727 
   20728 if test "x$ac_cv_header_sys_time_h" = "xyes"; then
   20729 	{ $as_echo "$as_me:$LINENO: checking for timerclear in sys/time.h" >&5
   20730 $as_echo_n "checking for timerclear in sys/time.h... " >&6; }
   20731 	cat >conftest.$ac_ext <<_ACEOF
   20732 /* confdefs.h.  */
   20733 _ACEOF
   20734 cat confdefs.h >>conftest.$ac_ext
   20735 cat >>conftest.$ac_ext <<_ACEOF
   20736 /* end confdefs.h.  */
   20737 
   20738 #include <sys/time.h>
   20739 #ifdef timerclear
   20740  yes
   20741 #endif
   20742 
   20743 _ACEOF
   20744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20745   $EGREP "yes" >/dev/null 2>&1; then
   20746 
   20747 cat >>confdefs.h <<\_ACEOF
   20748 #define HAVE_TIMERCLEAR 1
   20749 _ACEOF
   20750 
   20751 	  { $as_echo "$as_me:$LINENO: result: yes" >&5
   20752 $as_echo "yes" >&6; }
   20753 else
   20754   { $as_echo "$as_me:$LINENO: result: no" >&5
   20755 $as_echo "no" >&6; }
   20756 
   20757 fi
   20758 rm -f conftest*
   20759 
   20760 fi
   20761 
   20762 if test "x$ac_cv_header_sys_time_h" = "xyes"; then
   20763 	{ $as_echo "$as_me:$LINENO: checking for timerisset in sys/time.h" >&5
   20764 $as_echo_n "checking for timerisset in sys/time.h... " >&6; }
   20765 	cat >conftest.$ac_ext <<_ACEOF
   20766 /* confdefs.h.  */
   20767 _ACEOF
   20768 cat confdefs.h >>conftest.$ac_ext
   20769 cat >>conftest.$ac_ext <<_ACEOF
   20770 /* end confdefs.h.  */
   20771 
   20772 #include <sys/time.h>
   20773 #ifdef timerisset
   20774  yes
   20775 #endif
   20776 
   20777 _ACEOF
   20778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20779   $EGREP "yes" >/dev/null 2>&1; then
   20780 
   20781 cat >>confdefs.h <<\_ACEOF
   20782 #define HAVE_TIMERISSET 1
   20783 _ACEOF
   20784 
   20785 	  { $as_echo "$as_me:$LINENO: result: yes" >&5
   20786 $as_echo "yes" >&6; }
   20787 else
   20788   { $as_echo "$as_me:$LINENO: result: no" >&5
   20789 $as_echo "no" >&6; }
   20790 
   20791 fi
   20792 rm -f conftest*
   20793 
   20794 fi
   20795 
   20796 { $as_echo "$as_me:$LINENO: checking for WIN32" >&5
   20797 $as_echo_n "checking for WIN32... " >&6; }
   20798 cat >conftest.$ac_ext <<_ACEOF
   20799 /* confdefs.h.  */
   20800 _ACEOF
   20801 cat confdefs.h >>conftest.$ac_ext
   20802 cat >>conftest.$ac_ext <<_ACEOF
   20803 /* end confdefs.h.  */
   20804 
   20805 int
   20806 main ()
   20807 {
   20808 
   20809 #ifndef WIN32
   20810 die horribly
   20811 #endif
   20812 
   20813   ;
   20814   return 0;
   20815 }
   20816 _ACEOF
   20817 rm -f conftest.$ac_objext
   20818 if { (ac_try="$ac_compile"
   20819 case "(($ac_try" in
   20820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20821   *) ac_try_echo=$ac_try;;
   20822 esac
   20823 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20824 $as_echo "$ac_try_echo") >&5
   20825   (eval "$ac_compile") 2>conftest.er1
   20826   ac_status=$?
   20827   grep -v '^ *+' conftest.er1 >conftest.err
   20828   rm -f conftest.er1
   20829   cat conftest.err >&5
   20830   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20831   (exit $ac_status); } && {
   20832 	 test -z "$ac_c_werror_flag" ||
   20833 	 test ! -s conftest.err
   20834        } && test -s conftest.$ac_objext; then
   20835   bwin32=true; { $as_echo "$as_me:$LINENO: result: yes" >&5
   20836 $as_echo "yes" >&6; }
   20837 else
   20838   $as_echo "$as_me: failed program was:" >&5
   20839 sed 's/^/| /' conftest.$ac_ext >&5
   20840 
   20841 	bwin32=false; { $as_echo "$as_me:$LINENO: result: no" >&5
   20842 $as_echo "no" >&6; }
   20843 fi
   20844 
   20845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20846 
   20847  if test x$bwin32 = xtrue; then
   20848   BUILD_WIN32_TRUE=
   20849   BUILD_WIN32_FALSE='#'
   20850 else
   20851   BUILD_WIN32_TRUE='#'
   20852   BUILD_WIN32_FALSE=
   20853 fi
   20854 
   20855 
   20856 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
   20857 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   20858 if test "${ac_cv_c_const+set}" = set; then
   20859   $as_echo_n "(cached) " >&6
   20860 else
   20861   cat >conftest.$ac_ext <<_ACEOF
   20862 /* confdefs.h.  */
   20863 _ACEOF
   20864 cat confdefs.h >>conftest.$ac_ext
   20865 cat >>conftest.$ac_ext <<_ACEOF
   20866 /* end confdefs.h.  */
   20867 
   20868 int
   20869 main ()
   20870 {
   20871 /* FIXME: Include the comments suggested by Paul. */
   20872 #ifndef __cplusplus
   20873   /* Ultrix mips cc rejects this.  */
   20874   typedef int charset[2];
   20875   const charset cs;
   20876   /* SunOS 4.1.1 cc rejects this.  */
   20877   char const *const *pcpcc;
   20878   char **ppc;
   20879   /* NEC SVR4.0.2 mips cc rejects this.  */
   20880   struct point {int x, y;};
   20881   static struct point const zero = {0,0};
   20882   /* AIX XL C 1.02.0.0 rejects this.
   20883      It does not let you subtract one const X* pointer from another in
   20884      an arm of an if-expression whose if-part is not a constant
   20885      expression */
   20886   const char *g = "string";
   20887   pcpcc = &g + (g ? g-g : 0);
   20888   /* HPUX 7.0 cc rejects these. */
   20889   ++pcpcc;
   20890   ppc = (char**) pcpcc;
   20891   pcpcc = (char const *const *) ppc;
   20892   { /* SCO 3.2v4 cc rejects this.  */
   20893     char *t;
   20894     char const *s = 0 ? (char *) 0 : (char const *) 0;
   20895 
   20896     *t++ = 0;
   20897     if (s) return 0;
   20898   }
   20899   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   20900     int x[] = {25, 17};
   20901     const int *foo = &x[0];
   20902     ++foo;
   20903   }
   20904   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   20905     typedef const int *iptr;
   20906     iptr p = 0;
   20907     ++p;
   20908   }
   20909   { /* AIX XL C 1.02.0.0 rejects this saying
   20910        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   20911     struct s { int j; const int *ap[3]; };
   20912     struct s *b; b->j = 5;
   20913   }
   20914   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   20915     const int foo = 10;
   20916     if (!foo) return 0;
   20917   }
   20918   return !cs[0] && !zero.x;
   20919 #endif
   20920 
   20921   ;
   20922   return 0;
   20923 }
   20924 _ACEOF
   20925 rm -f conftest.$ac_objext
   20926 if { (ac_try="$ac_compile"
   20927 case "(($ac_try" in
   20928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20929   *) ac_try_echo=$ac_try;;
   20930 esac
   20931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20932 $as_echo "$ac_try_echo") >&5
   20933   (eval "$ac_compile") 2>conftest.er1
   20934   ac_status=$?
   20935   grep -v '^ *+' conftest.er1 >conftest.err
   20936   rm -f conftest.er1
   20937   cat conftest.err >&5
   20938   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20939   (exit $ac_status); } && {
   20940 	 test -z "$ac_c_werror_flag" ||
   20941 	 test ! -s conftest.err
   20942        } && test -s conftest.$ac_objext; then
   20943   ac_cv_c_const=yes
   20944 else
   20945   $as_echo "$as_me: failed program was:" >&5
   20946 sed 's/^/| /' conftest.$ac_ext >&5
   20947 
   20948 	ac_cv_c_const=no
   20949 fi
   20950 
   20951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20952 fi
   20953 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
   20954 $as_echo "$ac_cv_c_const" >&6; }
   20955 if test $ac_cv_c_const = no; then
   20956 
   20957 cat >>confdefs.h <<\_ACEOF
   20958 #define const /**/
   20959 _ACEOF
   20960 
   20961 fi
   20962 
   20963 { $as_echo "$as_me:$LINENO: checking for inline" >&5
   20964 $as_echo_n "checking for inline... " >&6; }
   20965 if test "${ac_cv_c_inline+set}" = set; then
   20966   $as_echo_n "(cached) " >&6
   20967 else
   20968   ac_cv_c_inline=no
   20969 for ac_kw in inline __inline__ __inline; do
   20970   cat >conftest.$ac_ext <<_ACEOF
   20971 /* confdefs.h.  */
   20972 _ACEOF
   20973 cat confdefs.h >>conftest.$ac_ext
   20974 cat >>conftest.$ac_ext <<_ACEOF
   20975 /* end confdefs.h.  */
   20976 #ifndef __cplusplus
   20977 typedef int foo_t;
   20978 static $ac_kw foo_t static_foo () {return 0; }
   20979 $ac_kw foo_t foo () {return 0; }
   20980 #endif
   20981 
   20982 _ACEOF
   20983 rm -f conftest.$ac_objext
   20984 if { (ac_try="$ac_compile"
   20985 case "(($ac_try" in
   20986   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20987   *) ac_try_echo=$ac_try;;
   20988 esac
   20989 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20990 $as_echo "$ac_try_echo") >&5
   20991   (eval "$ac_compile") 2>conftest.er1
   20992   ac_status=$?
   20993   grep -v '^ *+' conftest.er1 >conftest.err
   20994   rm -f conftest.er1
   20995   cat conftest.err >&5
   20996   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20997   (exit $ac_status); } && {
   20998 	 test -z "$ac_c_werror_flag" ||
   20999 	 test ! -s conftest.err
   21000        } && test -s conftest.$ac_objext; then
   21001   ac_cv_c_inline=$ac_kw
   21002 else
   21003   $as_echo "$as_me: failed program was:" >&5
   21004 sed 's/^/| /' conftest.$ac_ext >&5
   21005 
   21006 
   21007 fi
   21008 
   21009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21010   test "$ac_cv_c_inline" != no && break
   21011 done
   21012 
   21013 fi
   21014 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
   21015 $as_echo "$ac_cv_c_inline" >&6; }
   21016 
   21017 
   21018 case $ac_cv_c_inline in
   21019   inline | yes) ;;
   21020   *)
   21021     case $ac_cv_c_inline in
   21022       no) ac_val=;;
   21023       *) ac_val=$ac_cv_c_inline;;
   21024     esac
   21025     cat >>confdefs.h <<_ACEOF
   21026 #ifndef __cplusplus
   21027 #define inline $ac_val
   21028 #endif
   21029 _ACEOF
   21030     ;;
   21031 esac
   21032 
   21033 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
   21034 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
   21035 if test "${ac_cv_header_time+set}" = set; then
   21036   $as_echo_n "(cached) " >&6
   21037 else
   21038   cat >conftest.$ac_ext <<_ACEOF
   21039 /* confdefs.h.  */
   21040 _ACEOF
   21041 cat confdefs.h >>conftest.$ac_ext
   21042 cat >>conftest.$ac_ext <<_ACEOF
   21043 /* end confdefs.h.  */
   21044 #include <sys/types.h>
   21045 #include <sys/time.h>
   21046 #include <time.h>
   21047 
   21048 int
   21049 main ()
   21050 {
   21051 if ((struct tm *) 0)
   21052 return 0;
   21053   ;
   21054   return 0;
   21055 }
   21056 _ACEOF
   21057 rm -f conftest.$ac_objext
   21058 if { (ac_try="$ac_compile"
   21059 case "(($ac_try" in
   21060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21061   *) ac_try_echo=$ac_try;;
   21062 esac
   21063 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21064 $as_echo "$ac_try_echo") >&5
   21065   (eval "$ac_compile") 2>conftest.er1
   21066   ac_status=$?
   21067   grep -v '^ *+' conftest.er1 >conftest.err
   21068   rm -f conftest.er1
   21069   cat conftest.err >&5
   21070   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21071   (exit $ac_status); } && {
   21072 	 test -z "$ac_c_werror_flag" ||
   21073 	 test ! -s conftest.err
   21074        } && test -s conftest.$ac_objext; then
   21075   ac_cv_header_time=yes
   21076 else
   21077   $as_echo "$as_me: failed program was:" >&5
   21078 sed 's/^/| /' conftest.$ac_ext >&5
   21079 
   21080 	ac_cv_header_time=no
   21081 fi
   21082 
   21083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21084 fi
   21085 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
   21086 $as_echo "$ac_cv_header_time" >&6; }
   21087 if test $ac_cv_header_time = yes; then
   21088 
   21089 cat >>confdefs.h <<\_ACEOF
   21090 #define TIME_WITH_SYS_TIME 1
   21091 _ACEOF
   21092 
   21093 fi
   21094 
   21095 
   21096 
   21097 
   21098 
   21099 
   21100 
   21101 
   21102 
   21103 
   21104 
   21105 
   21106 
   21107 
   21108 
   21109 
   21110 
   21111 
   21112 for ac_func in gettimeofday vasprintf fcntl clock_gettime strtok_r strsep getaddrinfo getnameinfo strlcpy inet_ntop signal sigaction strtoll issetugid geteuid getegid
   21113 do
   21114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   21115 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
   21116 $as_echo_n "checking for $ac_func... " >&6; }
   21117 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   21118   $as_echo_n "(cached) " >&6
   21119 else
   21120   cat >conftest.$ac_ext <<_ACEOF
   21121 /* confdefs.h.  */
   21122 _ACEOF
   21123 cat confdefs.h >>conftest.$ac_ext
   21124 cat >>conftest.$ac_ext <<_ACEOF
   21125 /* end confdefs.h.  */
   21126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   21127    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   21128 #define $ac_func innocuous_$ac_func
   21129 
   21130 /* System header to define __stub macros and hopefully few prototypes,
   21131     which can conflict with char $ac_func (); below.
   21132     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   21133     <limits.h> exists even on freestanding compilers.  */
   21134 
   21135 #ifdef __STDC__
   21136 # include <limits.h>
   21137 #else
   21138 # include <assert.h>
   21139 #endif
   21140 
   21141 #undef $ac_func
   21142 
   21143 /* Override any GCC internal prototype to avoid an error.
   21144    Use char because int might match the return type of a GCC
   21145    builtin and then its argument prototype would still apply.  */
   21146 #ifdef __cplusplus
   21147 extern "C"
   21148 #endif
   21149 char $ac_func ();
   21150 /* The GNU C library defines this for functions which it implements
   21151     to always fail with ENOSYS.  Some functions are actually named
   21152     something starting with __ and the normal name is an alias.  */
   21153 #if defined __stub_$ac_func || defined __stub___$ac_func
   21154 choke me
   21155 #endif
   21156 
   21157 int
   21158 main ()
   21159 {
   21160 return $ac_func ();
   21161   ;
   21162   return 0;
   21163 }
   21164 _ACEOF
   21165 rm -f conftest.$ac_objext conftest$ac_exeext
   21166 if { (ac_try="$ac_link"
   21167 case "(($ac_try" in
   21168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21169   *) ac_try_echo=$ac_try;;
   21170 esac
   21171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21172 $as_echo "$ac_try_echo") >&5
   21173   (eval "$ac_link") 2>conftest.er1
   21174   ac_status=$?
   21175   grep -v '^ *+' conftest.er1 >conftest.err
   21176   rm -f conftest.er1
   21177   cat conftest.err >&5
   21178   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21179   (exit $ac_status); } && {
   21180 	 test -z "$ac_c_werror_flag" ||
   21181 	 test ! -s conftest.err
   21182        } && test -s conftest$ac_exeext && {
   21183 	 test "$cross_compiling" = yes ||
   21184 	 $as_test_x conftest$ac_exeext
   21185        }; then
   21186   eval "$as_ac_var=yes"
   21187 else
   21188   $as_echo "$as_me: failed program was:" >&5
   21189 sed 's/^/| /' conftest.$ac_ext >&5
   21190 
   21191 	eval "$as_ac_var=no"
   21192 fi
   21193 
   21194 rm -rf conftest.dSYM
   21195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21196       conftest$ac_exeext conftest.$ac_ext
   21197 fi
   21198 ac_res=`eval 'as_val=${'$as_ac_var'}
   21199 		 $as_echo "$as_val"'`
   21200 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21201 $as_echo "$ac_res" >&6; }
   21202 as_val=`eval 'as_val=${'$as_ac_var'}
   21203 		 $as_echo "$as_val"'`
   21204    if test "x$as_val" = x""yes; then
   21205   cat >>confdefs.h <<_ACEOF
   21206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   21207 _ACEOF
   21208 
   21209 fi
   21210 done
   21211 
   21212 
   21213 # The cast to long int works around a bug in the HP C Compiler
   21214 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   21215 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   21216 # This bug is HP SR number 8606223364.
   21217 { $as_echo "$as_me:$LINENO: checking size of long" >&5
   21218 $as_echo_n "checking size of long... " >&6; }
   21219 if test "${ac_cv_sizeof_long+set}" = set; then
   21220   $as_echo_n "(cached) " >&6
   21221 else
   21222   if test "$cross_compiling" = yes; then
   21223   # Depending upon the size, compute the lo and hi bounds.
   21224 cat >conftest.$ac_ext <<_ACEOF
   21225 /* confdefs.h.  */
   21226 _ACEOF
   21227 cat confdefs.h >>conftest.$ac_ext
   21228 cat >>conftest.$ac_ext <<_ACEOF
   21229 /* end confdefs.h.  */
   21230 $ac_includes_default
   21231 int
   21232 main ()
   21233 {
   21234 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
   21235 test_array [0] = 0
   21236 
   21237   ;
   21238   return 0;
   21239 }
   21240 _ACEOF
   21241 rm -f conftest.$ac_objext
   21242 if { (ac_try="$ac_compile"
   21243 case "(($ac_try" in
   21244   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21245   *) ac_try_echo=$ac_try;;
   21246 esac
   21247 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21248 $as_echo "$ac_try_echo") >&5
   21249   (eval "$ac_compile") 2>conftest.er1
   21250   ac_status=$?
   21251   grep -v '^ *+' conftest.er1 >conftest.err
   21252   rm -f conftest.er1
   21253   cat conftest.err >&5
   21254   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21255   (exit $ac_status); } && {
   21256 	 test -z "$ac_c_werror_flag" ||
   21257 	 test ! -s conftest.err
   21258        } && test -s conftest.$ac_objext; then
   21259   ac_lo=0 ac_mid=0
   21260   while :; do
   21261     cat >conftest.$ac_ext <<_ACEOF
   21262 /* confdefs.h.  */
   21263 _ACEOF
   21264 cat confdefs.h >>conftest.$ac_ext
   21265 cat >>conftest.$ac_ext <<_ACEOF
   21266 /* end confdefs.h.  */
   21267 $ac_includes_default
   21268 int
   21269 main ()
   21270 {
   21271 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
   21272 test_array [0] = 0
   21273 
   21274   ;
   21275   return 0;
   21276 }
   21277 _ACEOF
   21278 rm -f conftest.$ac_objext
   21279 if { (ac_try="$ac_compile"
   21280 case "(($ac_try" in
   21281   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21282   *) ac_try_echo=$ac_try;;
   21283 esac
   21284 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21285 $as_echo "$ac_try_echo") >&5
   21286   (eval "$ac_compile") 2>conftest.er1
   21287   ac_status=$?
   21288   grep -v '^ *+' conftest.er1 >conftest.err
   21289   rm -f conftest.er1
   21290   cat conftest.err >&5
   21291   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21292   (exit $ac_status); } && {
   21293 	 test -z "$ac_c_werror_flag" ||
   21294 	 test ! -s conftest.err
   21295        } && test -s conftest.$ac_objext; then
   21296   ac_hi=$ac_mid; break
   21297 else
   21298   $as_echo "$as_me: failed program was:" >&5
   21299 sed 's/^/| /' conftest.$ac_ext >&5
   21300 
   21301 	ac_lo=`expr $ac_mid + 1`
   21302 			if test $ac_lo -le $ac_mid; then
   21303 			  ac_lo= ac_hi=
   21304 			  break
   21305 			fi
   21306 			ac_mid=`expr 2 '*' $ac_mid + 1`
   21307 fi
   21308 
   21309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21310   done
   21311 else
   21312   $as_echo "$as_me: failed program was:" >&5
   21313 sed 's/^/| /' conftest.$ac_ext >&5
   21314 
   21315 	cat >conftest.$ac_ext <<_ACEOF
   21316 /* confdefs.h.  */
   21317 _ACEOF
   21318 cat confdefs.h >>conftest.$ac_ext
   21319 cat >>conftest.$ac_ext <<_ACEOF
   21320 /* end confdefs.h.  */
   21321 $ac_includes_default
   21322 int
   21323 main ()
   21324 {
   21325 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
   21326 test_array [0] = 0
   21327 
   21328   ;
   21329   return 0;
   21330 }
   21331 _ACEOF
   21332 rm -f conftest.$ac_objext
   21333 if { (ac_try="$ac_compile"
   21334 case "(($ac_try" in
   21335   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21336   *) ac_try_echo=$ac_try;;
   21337 esac
   21338 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21339 $as_echo "$ac_try_echo") >&5
   21340   (eval "$ac_compile") 2>conftest.er1
   21341   ac_status=$?
   21342   grep -v '^ *+' conftest.er1 >conftest.err
   21343   rm -f conftest.er1
   21344   cat conftest.err >&5
   21345   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21346   (exit $ac_status); } && {
   21347 	 test -z "$ac_c_werror_flag" ||
   21348 	 test ! -s conftest.err
   21349        } && test -s conftest.$ac_objext; then
   21350   ac_hi=-1 ac_mid=-1
   21351   while :; do
   21352     cat >conftest.$ac_ext <<_ACEOF
   21353 /* confdefs.h.  */
   21354 _ACEOF
   21355 cat confdefs.h >>conftest.$ac_ext
   21356 cat >>conftest.$ac_ext <<_ACEOF
   21357 /* end confdefs.h.  */
   21358 $ac_includes_default
   21359 int
   21360 main ()
   21361 {
   21362 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
   21363 test_array [0] = 0
   21364 
   21365   ;
   21366   return 0;
   21367 }
   21368 _ACEOF
   21369 rm -f conftest.$ac_objext
   21370 if { (ac_try="$ac_compile"
   21371 case "(($ac_try" in
   21372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21373   *) ac_try_echo=$ac_try;;
   21374 esac
   21375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21376 $as_echo "$ac_try_echo") >&5
   21377   (eval "$ac_compile") 2>conftest.er1
   21378   ac_status=$?
   21379   grep -v '^ *+' conftest.er1 >conftest.err
   21380   rm -f conftest.er1
   21381   cat conftest.err >&5
   21382   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21383   (exit $ac_status); } && {
   21384 	 test -z "$ac_c_werror_flag" ||
   21385 	 test ! -s conftest.err
   21386        } && test -s conftest.$ac_objext; then
   21387   ac_lo=$ac_mid; break
   21388 else
   21389   $as_echo "$as_me: failed program was:" >&5
   21390 sed 's/^/| /' conftest.$ac_ext >&5
   21391 
   21392 	ac_hi=`expr '(' $ac_mid ')' - 1`
   21393 			if test $ac_mid -le $ac_hi; then
   21394 			  ac_lo= ac_hi=
   21395 			  break
   21396 			fi
   21397 			ac_mid=`expr 2 '*' $ac_mid`
   21398 fi
   21399 
   21400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21401   done
   21402 else
   21403   $as_echo "$as_me: failed program was:" >&5
   21404 sed 's/^/| /' conftest.$ac_ext >&5
   21405 
   21406 	ac_lo= ac_hi=
   21407 fi
   21408 
   21409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21410 fi
   21411 
   21412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21413 # Binary search between lo and hi bounds.
   21414 while test "x$ac_lo" != "x$ac_hi"; do
   21415   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
   21416   cat >conftest.$ac_ext <<_ACEOF
   21417 /* confdefs.h.  */
   21418 _ACEOF
   21419 cat confdefs.h >>conftest.$ac_ext
   21420 cat >>conftest.$ac_ext <<_ACEOF
   21421 /* end confdefs.h.  */
   21422 $ac_includes_default
   21423 int
   21424 main ()
   21425 {
   21426 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
   21427 test_array [0] = 0
   21428 
   21429   ;
   21430   return 0;
   21431 }
   21432 _ACEOF
   21433 rm -f conftest.$ac_objext
   21434 if { (ac_try="$ac_compile"
   21435 case "(($ac_try" in
   21436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21437   *) ac_try_echo=$ac_try;;
   21438 esac
   21439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21440 $as_echo "$ac_try_echo") >&5
   21441   (eval "$ac_compile") 2>conftest.er1
   21442   ac_status=$?
   21443   grep -v '^ *+' conftest.er1 >conftest.err
   21444   rm -f conftest.er1
   21445   cat conftest.err >&5
   21446   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21447   (exit $ac_status); } && {
   21448 	 test -z "$ac_c_werror_flag" ||
   21449 	 test ! -s conftest.err
   21450        } && test -s conftest.$ac_objext; then
   21451   ac_hi=$ac_mid
   21452 else
   21453   $as_echo "$as_me: failed program was:" >&5
   21454 sed 's/^/| /' conftest.$ac_ext >&5
   21455 
   21456 	ac_lo=`expr '(' $ac_mid ')' + 1`
   21457 fi
   21458 
   21459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21460 done
   21461 case $ac_lo in
   21462 ?*) ac_cv_sizeof_long=$ac_lo;;
   21463 '') if test "$ac_cv_type_long" = yes; then
   21464      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21466 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
   21467 See \`config.log' for more details." >&5
   21468 $as_echo "$as_me: error: cannot compute sizeof (long)
   21469 See \`config.log' for more details." >&2;}
   21470    { (exit 77); exit 77; }; }; }
   21471    else
   21472      ac_cv_sizeof_long=0
   21473    fi ;;
   21474 esac
   21475 else
   21476   cat >conftest.$ac_ext <<_ACEOF
   21477 /* confdefs.h.  */
   21478 _ACEOF
   21479 cat confdefs.h >>conftest.$ac_ext
   21480 cat >>conftest.$ac_ext <<_ACEOF
   21481 /* end confdefs.h.  */
   21482 $ac_includes_default
   21483 static long int longval () { return (long int) (sizeof (long)); }
   21484 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
   21485 #include <stdio.h>
   21486 #include <stdlib.h>
   21487 int
   21488 main ()
   21489 {
   21490 
   21491   FILE *f = fopen ("conftest.val", "w");
   21492   if (! f)
   21493     return 1;
   21494   if (((long int) (sizeof (long))) < 0)
   21495     {
   21496       long int i = longval ();
   21497       if (i != ((long int) (sizeof (long))))
   21498 	return 1;
   21499       fprintf (f, "%ld", i);
   21500     }
   21501   else
   21502     {
   21503       unsigned long int i = ulongval ();
   21504       if (i != ((long int) (sizeof (long))))
   21505 	return 1;
   21506       fprintf (f, "%lu", i);
   21507     }
   21508   /* Do not output a trailing newline, as this causes \r\n confusion
   21509      on some platforms.  */
   21510   return ferror (f) || fclose (f) != 0;
   21511 
   21512   ;
   21513   return 0;
   21514 }
   21515 _ACEOF
   21516 rm -f conftest$ac_exeext
   21517 if { (ac_try="$ac_link"
   21518 case "(($ac_try" in
   21519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21520   *) ac_try_echo=$ac_try;;
   21521 esac
   21522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21523 $as_echo "$ac_try_echo") >&5
   21524   (eval "$ac_link") 2>&5
   21525   ac_status=$?
   21526   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21527   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21528   { (case "(($ac_try" in
   21529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21530   *) ac_try_echo=$ac_try;;
   21531 esac
   21532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21533 $as_echo "$ac_try_echo") >&5
   21534   (eval "$ac_try") 2>&5
   21535   ac_status=$?
   21536   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21537   (exit $ac_status); }; }; then
   21538   ac_cv_sizeof_long=`cat conftest.val`
   21539 else
   21540   $as_echo "$as_me: program exited with status $ac_status" >&5
   21541 $as_echo "$as_me: failed program was:" >&5
   21542 sed 's/^/| /' conftest.$ac_ext >&5
   21543 
   21544 ( exit $ac_status )
   21545 if test "$ac_cv_type_long" = yes; then
   21546      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21548 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
   21549 See \`config.log' for more details." >&5
   21550 $as_echo "$as_me: error: cannot compute sizeof (long)
   21551 See \`config.log' for more details." >&2;}
   21552    { (exit 77); exit 77; }; }; }
   21553    else
   21554      ac_cv_sizeof_long=0
   21555    fi
   21556 fi
   21557 rm -rf conftest.dSYM
   21558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21559 fi
   21560 rm -f conftest.val
   21561 fi
   21562 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
   21563 $as_echo "$ac_cv_sizeof_long" >&6; }
   21564 
   21565 
   21566 
   21567 cat >>confdefs.h <<_ACEOF
   21568 #define SIZEOF_LONG $ac_cv_sizeof_long
   21569 _ACEOF
   21570 
   21571 
   21572 
   21573 if test "x$ac_cv_func_clock_gettime" = "xyes"; then
   21574 
   21575 cat >>confdefs.h <<\_ACEOF
   21576 #define DNS_USE_CPU_CLOCK_FOR_ID 1
   21577 _ACEOF
   21578 
   21579 else
   21580 
   21581 cat >>confdefs.h <<\_ACEOF
   21582 #define DNS_USE_GETTIMEOFDAY_FOR_ID 1
   21583 _ACEOF
   21584 
   21585 fi
   21586 
   21587 { $as_echo "$as_me:$LINENO: checking for F_SETFD in fcntl.h" >&5
   21588 $as_echo_n "checking for F_SETFD in fcntl.h... " >&6; }
   21589 cat >conftest.$ac_ext <<_ACEOF
   21590 /* confdefs.h.  */
   21591 _ACEOF
   21592 cat confdefs.h >>conftest.$ac_ext
   21593 cat >>conftest.$ac_ext <<_ACEOF
   21594 /* end confdefs.h.  */
   21595 
   21596 #define _GNU_SOURCE
   21597 #include <fcntl.h>
   21598 #ifdef F_SETFD
   21599 yes
   21600 #endif
   21601 
   21602 _ACEOF
   21603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21604   $EGREP "yes" >/dev/null 2>&1; then
   21605 
   21606 cat >>confdefs.h <<\_ACEOF
   21607 #define HAVE_SETFD 1
   21608 _ACEOF
   21609 
   21610 	  { $as_echo "$as_me:$LINENO: result: yes" >&5
   21611 $as_echo "yes" >&6; }
   21612 else
   21613   { $as_echo "$as_me:$LINENO: result: no" >&5
   21614 $as_echo "no" >&6; }
   21615 fi
   21616 rm -f conftest*
   21617 
   21618 
   21619 needsignal=no
   21620 haveselect=no
   21621 
   21622 for ac_func in select
   21623 do
   21624 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   21625 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
   21626 $as_echo_n "checking for $ac_func... " >&6; }
   21627 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   21628   $as_echo_n "(cached) " >&6
   21629 else
   21630   cat >conftest.$ac_ext <<_ACEOF
   21631 /* confdefs.h.  */
   21632 _ACEOF
   21633 cat confdefs.h >>conftest.$ac_ext
   21634 cat >>conftest.$ac_ext <<_ACEOF
   21635 /* end confdefs.h.  */
   21636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   21637    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   21638 #define $ac_func innocuous_$ac_func
   21639 
   21640 /* System header to define __stub macros and hopefully few prototypes,
   21641     which can conflict with char $ac_func (); below.
   21642     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   21643     <limits.h> exists even on freestanding compilers.  */
   21644 
   21645 #ifdef __STDC__
   21646 # include <limits.h>
   21647 #else
   21648 # include <assert.h>
   21649 #endif
   21650 
   21651 #undef $ac_func
   21652 
   21653 /* Override any GCC internal prototype to avoid an error.
   21654    Use char because int might match the return type of a GCC
   21655    builtin and then its argument prototype would still apply.  */
   21656 #ifdef __cplusplus
   21657 extern "C"
   21658 #endif
   21659 char $ac_func ();
   21660 /* The GNU C library defines this for functions which it implements
   21661     to always fail with ENOSYS.  Some functions are actually named
   21662     something starting with __ and the normal name is an alias.  */
   21663 #if defined __stub_$ac_func || defined __stub___$ac_func
   21664 choke me
   21665 #endif
   21666 
   21667 int
   21668 main ()
   21669 {
   21670 return $ac_func ();
   21671   ;
   21672   return 0;
   21673 }
   21674 _ACEOF
   21675 rm -f conftest.$ac_objext conftest$ac_exeext
   21676 if { (ac_try="$ac_link"
   21677 case "(($ac_try" in
   21678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21679   *) ac_try_echo=$ac_try;;
   21680 esac
   21681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21682 $as_echo "$ac_try_echo") >&5
   21683   (eval "$ac_link") 2>conftest.er1
   21684   ac_status=$?
   21685   grep -v '^ *+' conftest.er1 >conftest.err
   21686   rm -f conftest.er1
   21687   cat conftest.err >&5
   21688   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21689   (exit $ac_status); } && {
   21690 	 test -z "$ac_c_werror_flag" ||
   21691 	 test ! -s conftest.err
   21692        } && test -s conftest$ac_exeext && {
   21693 	 test "$cross_compiling" = yes ||
   21694 	 $as_test_x conftest$ac_exeext
   21695        }; then
   21696   eval "$as_ac_var=yes"
   21697 else
   21698   $as_echo "$as_me: failed program was:" >&5
   21699 sed 's/^/| /' conftest.$ac_ext >&5
   21700 
   21701 	eval "$as_ac_var=no"
   21702 fi
   21703 
   21704 rm -rf conftest.dSYM
   21705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21706       conftest$ac_exeext conftest.$ac_ext
   21707 fi
   21708 ac_res=`eval 'as_val=${'$as_ac_var'}
   21709 		 $as_echo "$as_val"'`
   21710 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21711 $as_echo "$ac_res" >&6; }
   21712 as_val=`eval 'as_val=${'$as_ac_var'}
   21713 		 $as_echo "$as_val"'`
   21714    if test "x$as_val" = x""yes; then
   21715   cat >>confdefs.h <<_ACEOF
   21716 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   21717 _ACEOF
   21718  haveselect=yes
   21719 fi
   21720 done
   21721 
   21722 if test "x$haveselect" = "xyes" ; then
   21723 	case " $LIBOBJS " in
   21724   *" select.$ac_objext "* ) ;;
   21725   *) LIBOBJS="$LIBOBJS select.$ac_objext"
   21726  ;;
   21727 esac
   21728 
   21729 	needsignal=yes
   21730 fi
   21731 
   21732 havepoll=no
   21733 
   21734 for ac_func in poll
   21735 do
   21736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   21737 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
   21738 $as_echo_n "checking for $ac_func... " >&6; }
   21739 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   21740   $as_echo_n "(cached) " >&6
   21741 else
   21742   cat >conftest.$ac_ext <<_ACEOF
   21743 /* confdefs.h.  */
   21744 _ACEOF
   21745 cat confdefs.h >>conftest.$ac_ext
   21746 cat >>conftest.$ac_ext <<_ACEOF
   21747 /* end confdefs.h.  */
   21748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   21749    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   21750 #define $ac_func innocuous_$ac_func
   21751 
   21752 /* System header to define __stub macros and hopefully few prototypes,
   21753     which can conflict with char $ac_func (); below.
   21754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   21755     <limits.h> exists even on freestanding compilers.  */
   21756 
   21757 #ifdef __STDC__
   21758 # include <limits.h>
   21759 #else
   21760 # include <assert.h>
   21761 #endif
   21762 
   21763 #undef $ac_func
   21764 
   21765 /* Override any GCC internal prototype to avoid an error.
   21766    Use char because int might match the return type of a GCC
   21767    builtin and then its argument prototype would still apply.  */
   21768 #ifdef __cplusplus
   21769 extern "C"
   21770 #endif
   21771 char $ac_func ();
   21772 /* The GNU C library defines this for functions which it implements
   21773     to always fail with ENOSYS.  Some functions are actually named
   21774     something starting with __ and the normal name is an alias.  */
   21775 #if defined __stub_$ac_func || defined __stub___$ac_func
   21776 choke me
   21777 #endif
   21778 
   21779 int
   21780 main ()
   21781 {
   21782 return $ac_func ();
   21783   ;
   21784   return 0;
   21785 }
   21786 _ACEOF
   21787 rm -f conftest.$ac_objext conftest$ac_exeext
   21788 if { (ac_try="$ac_link"
   21789 case "(($ac_try" in
   21790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21791   *) ac_try_echo=$ac_try;;
   21792 esac
   21793 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21794 $as_echo "$ac_try_echo") >&5
   21795   (eval "$ac_link") 2>conftest.er1
   21796   ac_status=$?
   21797   grep -v '^ *+' conftest.er1 >conftest.err
   21798   rm -f conftest.er1
   21799   cat conftest.err >&5
   21800   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21801   (exit $ac_status); } && {
   21802 	 test -z "$ac_c_werror_flag" ||
   21803 	 test ! -s conftest.err
   21804        } && test -s conftest$ac_exeext && {
   21805 	 test "$cross_compiling" = yes ||
   21806 	 $as_test_x conftest$ac_exeext
   21807        }; then
   21808   eval "$as_ac_var=yes"
   21809 else
   21810   $as_echo "$as_me: failed program was:" >&5
   21811 sed 's/^/| /' conftest.$ac_ext >&5
   21812 
   21813 	eval "$as_ac_var=no"
   21814 fi
   21815 
   21816 rm -rf conftest.dSYM
   21817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21818       conftest$ac_exeext conftest.$ac_ext
   21819 fi
   21820 ac_res=`eval 'as_val=${'$as_ac_var'}
   21821 		 $as_echo "$as_val"'`
   21822 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21823 $as_echo "$ac_res" >&6; }
   21824 as_val=`eval 'as_val=${'$as_ac_var'}
   21825 		 $as_echo "$as_val"'`
   21826    if test "x$as_val" = x""yes; then
   21827   cat >>confdefs.h <<_ACEOF
   21828 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   21829 _ACEOF
   21830  havepoll=yes
   21831 fi
   21832 done
   21833 
   21834 if test "x$havepoll" = "xyes" ; then
   21835 	case " $LIBOBJS " in
   21836   *" poll.$ac_objext "* ) ;;
   21837   *) LIBOBJS="$LIBOBJS poll.$ac_objext"
   21838  ;;
   21839 esac
   21840 
   21841 	needsignal=yes
   21842 fi
   21843 
   21844 haveepoll=no
   21845 
   21846 for ac_func in epoll_ctl
   21847 do
   21848 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   21849 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
   21850 $as_echo_n "checking for $ac_func... " >&6; }
   21851 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   21852   $as_echo_n "(cached) " >&6
   21853 else
   21854   cat >conftest.$ac_ext <<_ACEOF
   21855 /* confdefs.h.  */
   21856 _ACEOF
   21857 cat confdefs.h >>conftest.$ac_ext
   21858 cat >>conftest.$ac_ext <<_ACEOF
   21859 /* end confdefs.h.  */
   21860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   21861    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   21862 #define $ac_func innocuous_$ac_func
   21863 
   21864 /* System header to define __stub macros and hopefully few prototypes,
   21865     which can conflict with char $ac_func (); below.
   21866     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   21867     <limits.h> exists even on freestanding compilers.  */
   21868 
   21869 #ifdef __STDC__
   21870 # include <limits.h>
   21871 #else
   21872 # include <assert.h>
   21873 #endif
   21874 
   21875 #undef $ac_func
   21876 
   21877 /* Override any GCC internal prototype to avoid an error.
   21878    Use char because int might match the return type of a GCC
   21879    builtin and then its argument prototype would still apply.  */
   21880 #ifdef __cplusplus
   21881 extern "C"
   21882 #endif
   21883 char $ac_func ();
   21884 /* The GNU C library defines this for functions which it implements
   21885     to always fail with ENOSYS.  Some functions are actually named
   21886     something starting with __ and the normal name is an alias.  */
   21887 #if defined __stub_$ac_func || defined __stub___$ac_func
   21888 choke me
   21889 #endif
   21890 
   21891 int
   21892 main ()
   21893 {
   21894 return $ac_func ();
   21895   ;
   21896   return 0;
   21897 }
   21898 _ACEOF
   21899 rm -f conftest.$ac_objext conftest$ac_exeext
   21900 if { (ac_try="$ac_link"
   21901 case "(($ac_try" in
   21902   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21903   *) ac_try_echo=$ac_try;;
   21904 esac
   21905 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21906 $as_echo "$ac_try_echo") >&5
   21907   (eval "$ac_link") 2>conftest.er1
   21908   ac_status=$?
   21909   grep -v '^ *+' conftest.er1 >conftest.err
   21910   rm -f conftest.er1
   21911   cat conftest.err >&5
   21912   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21913   (exit $ac_status); } && {
   21914 	 test -z "$ac_c_werror_flag" ||
   21915 	 test ! -s conftest.err
   21916        } && test -s conftest$ac_exeext && {
   21917 	 test "$cross_compiling" = yes ||
   21918 	 $as_test_x conftest$ac_exeext
   21919        }; then
   21920   eval "$as_ac_var=yes"
   21921 else
   21922   $as_echo "$as_me: failed program was:" >&5
   21923 sed 's/^/| /' conftest.$ac_ext >&5
   21924 
   21925 	eval "$as_ac_var=no"
   21926 fi
   21927 
   21928 rm -rf conftest.dSYM
   21929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21930       conftest$ac_exeext conftest.$ac_ext
   21931 fi
   21932 ac_res=`eval 'as_val=${'$as_ac_var'}
   21933 		 $as_echo "$as_val"'`
   21934 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21935 $as_echo "$ac_res" >&6; }
   21936 as_val=`eval 'as_val=${'$as_ac_var'}
   21937 		 $as_echo "$as_val"'`
   21938    if test "x$as_val" = x""yes; then
   21939   cat >>confdefs.h <<_ACEOF
   21940 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   21941 _ACEOF
   21942  haveepoll=yes
   21943 fi
   21944 done
   21945 
   21946 if test "x$haveepoll" = "xyes" ; then
   21947 
   21948 cat >>confdefs.h <<\_ACEOF
   21949 #define HAVE_EPOLL 1
   21950 _ACEOF
   21951 
   21952 	case " $LIBOBJS " in
   21953   *" epoll.$ac_objext "* ) ;;
   21954   *) LIBOBJS="$LIBOBJS epoll.$ac_objext"
   21955  ;;
   21956 esac
   21957 
   21958 	needsignal=yes
   21959 fi
   21960 
   21961 havedevpoll=no
   21962 if test "x$ac_cv_header_sys_devpoll_h" = "xyes"; then
   21963 
   21964 cat >>confdefs.h <<\_ACEOF
   21965 #define HAVE_DEVPOLL 1
   21966 _ACEOF
   21967 
   21968         case " $LIBOBJS " in
   21969   *" devpoll.$ac_objext "* ) ;;
   21970   *) LIBOBJS="$LIBOBJS devpoll.$ac_objext"
   21971  ;;
   21972 esac
   21973 
   21974 fi
   21975 
   21976 havekqueue=no
   21977 if test "x$ac_cv_header_sys_event_h" = "xyes"; then
   21978 
   21979 for ac_func in kqueue
   21980 do
   21981 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   21982 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
   21983 $as_echo_n "checking for $ac_func... " >&6; }
   21984 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   21985   $as_echo_n "(cached) " >&6
   21986 else
   21987   cat >conftest.$ac_ext <<_ACEOF
   21988 /* confdefs.h.  */
   21989 _ACEOF
   21990 cat confdefs.h >>conftest.$ac_ext
   21991 cat >>conftest.$ac_ext <<_ACEOF
   21992 /* end confdefs.h.  */
   21993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   21994    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   21995 #define $ac_func innocuous_$ac_func
   21996 
   21997 /* System header to define __stub macros and hopefully few prototypes,
   21998     which can conflict with char $ac_func (); below.
   21999     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   22000     <limits.h> exists even on freestanding compilers.  */
   22001 
   22002 #ifdef __STDC__
   22003 # include <limits.h>
   22004 #else
   22005 # include <assert.h>
   22006 #endif
   22007 
   22008 #undef $ac_func
   22009 
   22010 /* Override any GCC internal prototype to avoid an error.
   22011    Use char because int might match the return type of a GCC
   22012    builtin and then its argument prototype would still apply.  */
   22013 #ifdef __cplusplus
   22014 extern "C"
   22015 #endif
   22016 char $ac_func ();
   22017 /* The GNU C library defines this for functions which it implements
   22018     to always fail with ENOSYS.  Some functions are actually named
   22019     something starting with __ and the normal name is an alias.  */
   22020 #if defined __stub_$ac_func || defined __stub___$ac_func
   22021 choke me
   22022 #endif
   22023 
   22024 int
   22025 main ()
   22026 {
   22027 return $ac_func ();
   22028   ;
   22029   return 0;
   22030 }
   22031 _ACEOF
   22032 rm -f conftest.$ac_objext conftest$ac_exeext
   22033 if { (ac_try="$ac_link"
   22034 case "(($ac_try" in
   22035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22036   *) ac_try_echo=$ac_try;;
   22037 esac
   22038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22039 $as_echo "$ac_try_echo") >&5
   22040   (eval "$ac_link") 2>conftest.er1
   22041   ac_status=$?
   22042   grep -v '^ *+' conftest.er1 >conftest.err
   22043   rm -f conftest.er1
   22044   cat conftest.err >&5
   22045   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22046   (exit $ac_status); } && {
   22047 	 test -z "$ac_c_werror_flag" ||
   22048 	 test ! -s conftest.err
   22049        } && test -s conftest$ac_exeext && {
   22050 	 test "$cross_compiling" = yes ||
   22051 	 $as_test_x conftest$ac_exeext
   22052        }; then
   22053   eval "$as_ac_var=yes"
   22054 else
   22055   $as_echo "$as_me: failed program was:" >&5
   22056 sed 's/^/| /' conftest.$ac_ext >&5
   22057 
   22058 	eval "$as_ac_var=no"
   22059 fi
   22060 
   22061 rm -rf conftest.dSYM
   22062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22063       conftest$ac_exeext conftest.$ac_ext
   22064 fi
   22065 ac_res=`eval 'as_val=${'$as_ac_var'}
   22066 		 $as_echo "$as_val"'`
   22067 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   22068 $as_echo "$ac_res" >&6; }
   22069 as_val=`eval 'as_val=${'$as_ac_var'}
   22070 		 $as_echo "$as_val"'`
   22071    if test "x$as_val" = x""yes; then
   22072   cat >>confdefs.h <<_ACEOF
   22073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   22074 _ACEOF
   22075  havekqueue=yes
   22076 fi
   22077 done
   22078 
   22079 	if test "x$havekqueue" = "xyes" ; then
   22080 		{ $as_echo "$as_me:$LINENO: checking for working kqueue" >&5
   22081 $as_echo_n "checking for working kqueue... " >&6; }
   22082 		if test "$cross_compiling" = yes; then
   22083   { $as_echo "$as_me:$LINENO: result: no" >&5
   22084 $as_echo "no" >&6; }
   22085 else
   22086   cat >conftest.$ac_ext <<_ACEOF
   22087 /* confdefs.h.  */
   22088 _ACEOF
   22089 cat confdefs.h >>conftest.$ac_ext
   22090 cat >>conftest.$ac_ext <<_ACEOF
   22091 /* end confdefs.h.  */
   22092 #include <sys/types.h>
   22093 #include <sys/time.h>
   22094 #include <sys/event.h>
   22095 #include <stdio.h>
   22096 #include <unistd.h>
   22097 #include <fcntl.h>
   22098 
   22099 int
   22100 main(int argc, char **argv)
   22101 {
   22102 	int kq;
   22103 	int n;
   22104 	int fd[2];
   22105 	struct kevent ev;
   22106 	struct timespec ts;
   22107 	char buf[8000];
   22108 
   22109 	if (pipe(fd) == -1)
   22110 		exit(1);
   22111 	if (fcntl(fd[1], F_SETFL, O_NONBLOCK) == -1)
   22112 		exit(1);
   22113 
   22114 	while ((n = write(fd[1], buf, sizeof(buf))) == sizeof(buf))
   22115 		;
   22116 
   22117         if ((kq = kqueue()) == -1)
   22118 		exit(1);
   22119 
   22120 	ev.ident = fd[1];
   22121 	ev.filter = EVFILT_WRITE;
   22122 	ev.flags = EV_ADD | EV_ENABLE;
   22123 	n = kevent(kq, &ev, 1, NULL, 0, NULL);
   22124 	if (n == -1)
   22125 		exit(1);
   22126 
   22127 	read(fd[0], buf, sizeof(buf));
   22128 
   22129 	ts.tv_sec = 0;
   22130 	ts.tv_nsec = 0;
   22131 	n = kevent(kq, NULL, 0, &ev, 1, &ts);
   22132 	if (n == -1 || n == 0)
   22133 		exit(1);
   22134 
   22135 	exit(0);
   22136 }
   22137 _ACEOF
   22138 rm -f conftest$ac_exeext
   22139 if { (ac_try="$ac_link"
   22140 case "(($ac_try" in
   22141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22142   *) ac_try_echo=$ac_try;;
   22143 esac
   22144 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22145 $as_echo "$ac_try_echo") >&5
   22146   (eval "$ac_link") 2>&5
   22147   ac_status=$?
   22148   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22149   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   22150   { (case "(($ac_try" in
   22151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22152   *) ac_try_echo=$ac_try;;
   22153 esac
   22154 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22155 $as_echo "$ac_try_echo") >&5
   22156   (eval "$ac_try") 2>&5
   22157   ac_status=$?
   22158   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22159   (exit $ac_status); }; }; then
   22160   { $as_echo "$as_me:$LINENO: result: yes" >&5
   22161 $as_echo "yes" >&6; }
   22162 
   22163 cat >>confdefs.h <<\_ACEOF
   22164 #define HAVE_WORKING_KQUEUE 1
   22165 _ACEOF
   22166 
   22167     case " $LIBOBJS " in
   22168   *" kqueue.$ac_objext "* ) ;;
   22169   *) LIBOBJS="$LIBOBJS kqueue.$ac_objext"
   22170  ;;
   22171 esac
   22172 
   22173 else
   22174   $as_echo "$as_me: program exited with status $ac_status" >&5
   22175 $as_echo "$as_me: failed program was:" >&5
   22176 sed 's/^/| /' conftest.$ac_ext >&5
   22177 
   22178 ( exit $ac_status )
   22179 { $as_echo "$as_me:$LINENO: result: no" >&5
   22180 $as_echo "no" >&6; }
   22181 fi
   22182 rm -rf conftest.dSYM
   22183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   22184 fi
   22185 
   22186 
   22187 	fi
   22188 fi
   22189 
   22190 haveepollsyscall=no
   22191 if test "x$ac_cv_header_sys_epoll_h" = "xyes"; then
   22192 	if test "x$haveepoll" = "xno" ; then
   22193 		{ $as_echo "$as_me:$LINENO: checking for epoll system call" >&5
   22194 $as_echo_n "checking for epoll system call... " >&6; }
   22195 		if test "$cross_compiling" = yes; then
   22196   { $as_echo "$as_me:$LINENO: result: no" >&5
   22197 $as_echo "no" >&6; }
   22198 else
   22199   cat >conftest.$ac_ext <<_ACEOF
   22200 /* confdefs.h.  */
   22201 _ACEOF
   22202 cat confdefs.h >>conftest.$ac_ext
   22203 cat >>conftest.$ac_ext <<_ACEOF
   22204 /* end confdefs.h.  */
   22205 #include <stdint.h>
   22206 #include <sys/param.h>
   22207 #include <sys/types.h>
   22208 #include <sys/syscall.h>
   22209 #include <sys/epoll.h>
   22210 #include <unistd.h>
   22211 
   22212 int
   22213 epoll_create(int size)
   22214 {
   22215 	return (syscall(__NR_epoll_create, size));
   22216 }
   22217 
   22218 int
   22219 main(int argc, char **argv)
   22220 {
   22221 	int epfd;
   22222 
   22223 	epfd = epoll_create(256);
   22224 	exit (epfd == -1 ? 1 : 0);
   22225 }
   22226 _ACEOF
   22227 rm -f conftest$ac_exeext
   22228 if { (ac_try="$ac_link"
   22229 case "(($ac_try" in
   22230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22231   *) ac_try_echo=$ac_try;;
   22232 esac
   22233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22234 $as_echo "$ac_try_echo") >&5
   22235   (eval "$ac_link") 2>&5
   22236   ac_status=$?
   22237   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22238   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   22239   { (case "(($ac_try" in
   22240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22241   *) ac_try_echo=$ac_try;;
   22242 esac
   22243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22244 $as_echo "$ac_try_echo") >&5
   22245   (eval "$ac_try") 2>&5
   22246   ac_status=$?
   22247   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22248   (exit $ac_status); }; }; then
   22249   { $as_echo "$as_me:$LINENO: result: yes" >&5
   22250 $as_echo "yes" >&6; }
   22251 
   22252 cat >>confdefs.h <<\_ACEOF
   22253 #define HAVE_EPOLL 1
   22254 _ACEOF
   22255 
   22256     needsignal=yes
   22257     case " $LIBOBJS " in
   22258   *" epoll_sub.$ac_objext "* ) ;;
   22259   *) LIBOBJS="$LIBOBJS epoll_sub.$ac_objext"
   22260  ;;
   22261 esac
   22262 
   22263     case " $LIBOBJS " in
   22264   *" epoll.$ac_objext "* ) ;;
   22265   *) LIBOBJS="$LIBOBJS epoll.$ac_objext"
   22266  ;;
   22267 esac
   22268 
   22269 else
   22270   $as_echo "$as_me: program exited with status $ac_status" >&5
   22271 $as_echo "$as_me: failed program was:" >&5
   22272 sed 's/^/| /' conftest.$ac_ext >&5
   22273 
   22274 ( exit $ac_status )
   22275 { $as_echo "$as_me:$LINENO: result: no" >&5
   22276 $as_echo "no" >&6; }
   22277 fi
   22278 rm -rf conftest.dSYM
   22279 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   22280 fi
   22281 
   22282 
   22283 	fi
   22284 fi
   22285 
   22286 haveeventports=no
   22287 
   22288 for ac_func in port_create
   22289 do
   22290 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   22291 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
   22292 $as_echo_n "checking for $ac_func... " >&6; }
   22293 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   22294   $as_echo_n "(cached) " >&6
   22295 else
   22296   cat >conftest.$ac_ext <<_ACEOF
   22297 /* confdefs.h.  */
   22298 _ACEOF
   22299 cat confdefs.h >>conftest.$ac_ext
   22300 cat >>conftest.$ac_ext <<_ACEOF
   22301 /* end confdefs.h.  */
   22302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   22303    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   22304 #define $ac_func innocuous_$ac_func
   22305 
   22306 /* System header to define __stub macros and hopefully few prototypes,
   22307     which can conflict with char $ac_func (); below.
   22308     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   22309     <limits.h> exists even on freestanding compilers.  */
   22310 
   22311 #ifdef __STDC__
   22312 # include <limits.h>
   22313 #else
   22314 # include <assert.h>
   22315 #endif
   22316 
   22317 #undef $ac_func
   22318 
   22319 /* Override any GCC internal prototype to avoid an error.
   22320    Use char because int might match the return type of a GCC
   22321    builtin and then its argument prototype would still apply.  */
   22322 #ifdef __cplusplus
   22323 extern "C"
   22324 #endif
   22325 char $ac_func ();
   22326 /* The GNU C library defines this for functions which it implements
   22327     to always fail with ENOSYS.  Some functions are actually named
   22328     something starting with __ and the normal name is an alias.  */
   22329 #if defined __stub_$ac_func || defined __stub___$ac_func
   22330 choke me
   22331 #endif
   22332 
   22333 int
   22334 main ()
   22335 {
   22336 return $ac_func ();
   22337   ;
   22338   return 0;
   22339 }
   22340 _ACEOF
   22341 rm -f conftest.$ac_objext conftest$ac_exeext
   22342 if { (ac_try="$ac_link"
   22343 case "(($ac_try" in
   22344   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22345   *) ac_try_echo=$ac_try;;
   22346 esac
   22347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22348 $as_echo "$ac_try_echo") >&5
   22349   (eval "$ac_link") 2>conftest.er1
   22350   ac_status=$?
   22351   grep -v '^ *+' conftest.er1 >conftest.err
   22352   rm -f conftest.er1
   22353   cat conftest.err >&5
   22354   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22355   (exit $ac_status); } && {
   22356 	 test -z "$ac_c_werror_flag" ||
   22357 	 test ! -s conftest.err
   22358        } && test -s conftest$ac_exeext && {
   22359 	 test "$cross_compiling" = yes ||
   22360 	 $as_test_x conftest$ac_exeext
   22361        }; then
   22362   eval "$as_ac_var=yes"
   22363 else
   22364   $as_echo "$as_me: failed program was:" >&5
   22365 sed 's/^/| /' conftest.$ac_ext >&5
   22366 
   22367 	eval "$as_ac_var=no"
   22368 fi
   22369 
   22370 rm -rf conftest.dSYM
   22371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22372       conftest$ac_exeext conftest.$ac_ext
   22373 fi
   22374 ac_res=`eval 'as_val=${'$as_ac_var'}
   22375 		 $as_echo "$as_val"'`
   22376 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   22377 $as_echo "$ac_res" >&6; }
   22378 as_val=`eval 'as_val=${'$as_ac_var'}
   22379 		 $as_echo "$as_val"'`
   22380    if test "x$as_val" = x""yes; then
   22381   cat >>confdefs.h <<_ACEOF
   22382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   22383 _ACEOF
   22384  haveeventports=yes
   22385 fi
   22386 done
   22387 
   22388 if test "x$haveeventports" = "xyes" ; then
   22389 
   22390 cat >>confdefs.h <<\_ACEOF
   22391 #define HAVE_EVENT_PORTS 1
   22392 _ACEOF
   22393 
   22394 	case " $LIBOBJS " in
   22395   *" evport.$ac_objext "* ) ;;
   22396   *) LIBOBJS="$LIBOBJS evport.$ac_objext"
   22397  ;;
   22398 esac
   22399 
   22400 	needsignal=yes
   22401 fi
   22402 if test "x$bwin32" = "xtrue"; then
   22403 	needsignal=yes
   22404 fi
   22405 if test "x$bwin32" = "xtrue"; then
   22406 	needsignal=yes
   22407 fi
   22408 if test "x$needsignal" = "xyes" ; then
   22409 	case " $LIBOBJS " in
   22410   *" signal.$ac_objext "* ) ;;
   22411   *) LIBOBJS="$LIBOBJS signal.$ac_objext"
   22412  ;;
   22413 esac
   22414 
   22415 fi
   22416 
   22417 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
   22418 $as_echo_n "checking for pid_t... " >&6; }
   22419 if test "${ac_cv_type_pid_t+set}" = set; then
   22420   $as_echo_n "(cached) " >&6
   22421 else
   22422   ac_cv_type_pid_t=no
   22423 cat >conftest.$ac_ext <<_ACEOF
   22424 /* confdefs.h.  */
   22425 _ACEOF
   22426 cat confdefs.h >>conftest.$ac_ext
   22427 cat >>conftest.$ac_ext <<_ACEOF
   22428 /* end confdefs.h.  */
   22429 $ac_includes_default
   22430 int
   22431 main ()
   22432 {
   22433 if (sizeof (pid_t))
   22434        return 0;
   22435   ;
   22436   return 0;
   22437 }
   22438 _ACEOF
   22439 rm -f conftest.$ac_objext
   22440 if { (ac_try="$ac_compile"
   22441 case "(($ac_try" in
   22442   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22443   *) ac_try_echo=$ac_try;;
   22444 esac
   22445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22446 $as_echo "$ac_try_echo") >&5
   22447   (eval "$ac_compile") 2>conftest.er1
   22448   ac_status=$?
   22449   grep -v '^ *+' conftest.er1 >conftest.err
   22450   rm -f conftest.er1
   22451   cat conftest.err >&5
   22452   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22453   (exit $ac_status); } && {
   22454 	 test -z "$ac_c_werror_flag" ||
   22455 	 test ! -s conftest.err
   22456        } && test -s conftest.$ac_objext; then
   22457   cat >conftest.$ac_ext <<_ACEOF
   22458 /* confdefs.h.  */
   22459 _ACEOF
   22460 cat confdefs.h >>conftest.$ac_ext
   22461 cat >>conftest.$ac_ext <<_ACEOF
   22462 /* end confdefs.h.  */
   22463 $ac_includes_default
   22464 int
   22465 main ()
   22466 {
   22467 if (sizeof ((pid_t)))
   22468 	  return 0;
   22469   ;
   22470   return 0;
   22471 }
   22472 _ACEOF
   22473 rm -f conftest.$ac_objext
   22474 if { (ac_try="$ac_compile"
   22475 case "(($ac_try" in
   22476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22477   *) ac_try_echo=$ac_try;;
   22478 esac
   22479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22480 $as_echo "$ac_try_echo") >&5
   22481   (eval "$ac_compile") 2>conftest.er1
   22482   ac_status=$?
   22483   grep -v '^ *+' conftest.er1 >conftest.err
   22484   rm -f conftest.er1
   22485   cat conftest.err >&5
   22486   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22487   (exit $ac_status); } && {
   22488 	 test -z "$ac_c_werror_flag" ||
   22489 	 test ! -s conftest.err
   22490        } && test -s conftest.$ac_objext; then
   22491   :
   22492 else
   22493   $as_echo "$as_me: failed program was:" >&5
   22494 sed 's/^/| /' conftest.$ac_ext >&5
   22495 
   22496 	ac_cv_type_pid_t=yes
   22497 fi
   22498 
   22499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22500 else
   22501   $as_echo "$as_me: failed program was:" >&5
   22502 sed 's/^/| /' conftest.$ac_ext >&5
   22503 
   22504 
   22505 fi
   22506 
   22507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22508 fi
   22509 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
   22510 $as_echo "$ac_cv_type_pid_t" >&6; }
   22511 if test "x$ac_cv_type_pid_t" = x""yes; then
   22512   :
   22513 else
   22514 
   22515 cat >>confdefs.h <<_ACEOF
   22516 #define pid_t int
   22517 _ACEOF
   22518 
   22519 fi
   22520 
   22521 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
   22522 $as_echo_n "checking for size_t... " >&6; }
   22523 if test "${ac_cv_type_size_t+set}" = set; then
   22524   $as_echo_n "(cached) " >&6
   22525 else
   22526   ac_cv_type_size_t=no
   22527 cat >conftest.$ac_ext <<_ACEOF
   22528 /* confdefs.h.  */
   22529 _ACEOF
   22530 cat confdefs.h >>conftest.$ac_ext
   22531 cat >>conftest.$ac_ext <<_ACEOF
   22532 /* end confdefs.h.  */
   22533 $ac_includes_default
   22534 int
   22535 main ()
   22536 {
   22537 if (sizeof (size_t))
   22538        return 0;
   22539   ;
   22540   return 0;
   22541 }
   22542 _ACEOF
   22543 rm -f conftest.$ac_objext
   22544 if { (ac_try="$ac_compile"
   22545 case "(($ac_try" in
   22546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22547   *) ac_try_echo=$ac_try;;
   22548 esac
   22549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22550 $as_echo "$ac_try_echo") >&5
   22551   (eval "$ac_compile") 2>conftest.er1
   22552   ac_status=$?
   22553   grep -v '^ *+' conftest.er1 >conftest.err
   22554   rm -f conftest.er1
   22555   cat conftest.err >&5
   22556   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22557   (exit $ac_status); } && {
   22558 	 test -z "$ac_c_werror_flag" ||
   22559 	 test ! -s conftest.err
   22560        } && test -s conftest.$ac_objext; then
   22561   cat >conftest.$ac_ext <<_ACEOF
   22562 /* confdefs.h.  */
   22563 _ACEOF
   22564 cat confdefs.h >>conftest.$ac_ext
   22565 cat >>conftest.$ac_ext <<_ACEOF
   22566 /* end confdefs.h.  */
   22567 $ac_includes_default
   22568 int
   22569 main ()
   22570 {
   22571 if (sizeof ((size_t)))
   22572 	  return 0;
   22573   ;
   22574   return 0;
   22575 }
   22576 _ACEOF
   22577 rm -f conftest.$ac_objext
   22578 if { (ac_try="$ac_compile"
   22579 case "(($ac_try" in
   22580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22581   *) ac_try_echo=$ac_try;;
   22582 esac
   22583 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22584 $as_echo "$ac_try_echo") >&5
   22585   (eval "$ac_compile") 2>conftest.er1
   22586   ac_status=$?
   22587   grep -v '^ *+' conftest.er1 >conftest.err
   22588   rm -f conftest.er1
   22589   cat conftest.err >&5
   22590   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22591   (exit $ac_status); } && {
   22592 	 test -z "$ac_c_werror_flag" ||
   22593 	 test ! -s conftest.err
   22594        } && test -s conftest.$ac_objext; then
   22595   :
   22596 else
   22597   $as_echo "$as_me: failed program was:" >&5
   22598 sed 's/^/| /' conftest.$ac_ext >&5
   22599 
   22600 	ac_cv_type_size_t=yes
   22601 fi
   22602 
   22603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22604 else
   22605   $as_echo "$as_me: failed program was:" >&5
   22606 sed 's/^/| /' conftest.$ac_ext >&5
   22607 
   22608 
   22609 fi
   22610 
   22611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22612 fi
   22613 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
   22614 $as_echo "$ac_cv_type_size_t" >&6; }
   22615 if test "x$ac_cv_type_size_t" = x""yes; then
   22616   :
   22617 else
   22618 
   22619 cat >>confdefs.h <<_ACEOF
   22620 #define size_t unsigned int
   22621 _ACEOF
   22622 
   22623 fi
   22624 
   22625 { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
   22626 $as_echo_n "checking for uint64_t... " >&6; }
   22627 if test "${ac_cv_type_uint64_t+set}" = set; then
   22628   $as_echo_n "(cached) " >&6
   22629 else
   22630   ac_cv_type_uint64_t=no
   22631 cat >conftest.$ac_ext <<_ACEOF
   22632 /* confdefs.h.  */
   22633 _ACEOF
   22634 cat confdefs.h >>conftest.$ac_ext
   22635 cat >>conftest.$ac_ext <<_ACEOF
   22636 /* end confdefs.h.  */
   22637 #ifdef HAVE_STDINT_H
   22638 #include <stdint.h>
   22639 #elif defined(HAVE_INTTYPES_H)
   22640 #include <inttypes.h>
   22641 #endif
   22642 #ifdef HAVE_SYS_TYPES_H
   22643 #include <sys/types.h>
   22644 #endif
   22645 
   22646 int
   22647 main ()
   22648 {
   22649 if (sizeof (uint64_t))
   22650        return 0;
   22651   ;
   22652   return 0;
   22653 }
   22654 _ACEOF
   22655 rm -f conftest.$ac_objext
   22656 if { (ac_try="$ac_compile"
   22657 case "(($ac_try" in
   22658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22659   *) ac_try_echo=$ac_try;;
   22660 esac
   22661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22662 $as_echo "$ac_try_echo") >&5
   22663   (eval "$ac_compile") 2>conftest.er1
   22664   ac_status=$?
   22665   grep -v '^ *+' conftest.er1 >conftest.err
   22666   rm -f conftest.er1
   22667   cat conftest.err >&5
   22668   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22669   (exit $ac_status); } && {
   22670 	 test -z "$ac_c_werror_flag" ||
   22671 	 test ! -s conftest.err
   22672        } && test -s conftest.$ac_objext; then
   22673   cat >conftest.$ac_ext <<_ACEOF
   22674 /* confdefs.h.  */
   22675 _ACEOF
   22676 cat confdefs.h >>conftest.$ac_ext
   22677 cat >>conftest.$ac_ext <<_ACEOF
   22678 /* end confdefs.h.  */
   22679 #ifdef HAVE_STDINT_H
   22680 #include <stdint.h>
   22681 #elif defined(HAVE_INTTYPES_H)
   22682 #include <inttypes.h>
   22683 #endif
   22684 #ifdef HAVE_SYS_TYPES_H
   22685 #include <sys/types.h>
   22686 #endif
   22687 
   22688 int
   22689 main ()
   22690 {
   22691 if (sizeof ((uint64_t)))
   22692 	  return 0;
   22693   ;
   22694   return 0;
   22695 }
   22696 _ACEOF
   22697 rm -f conftest.$ac_objext
   22698 if { (ac_try="$ac_compile"
   22699 case "(($ac_try" in
   22700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22701   *) ac_try_echo=$ac_try;;
   22702 esac
   22703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22704 $as_echo "$ac_try_echo") >&5
   22705   (eval "$ac_compile") 2>conftest.er1
   22706   ac_status=$?
   22707   grep -v '^ *+' conftest.er1 >conftest.err
   22708   rm -f conftest.er1
   22709   cat conftest.err >&5
   22710   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22711   (exit $ac_status); } && {
   22712 	 test -z "$ac_c_werror_flag" ||
   22713 	 test ! -s conftest.err
   22714        } && test -s conftest.$ac_objext; then
   22715   :
   22716 else
   22717   $as_echo "$as_me: failed program was:" >&5
   22718 sed 's/^/| /' conftest.$ac_ext >&5
   22719 
   22720 	ac_cv_type_uint64_t=yes
   22721 fi
   22722 
   22723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22724 else
   22725   $as_echo "$as_me: failed program was:" >&5
   22726 sed 's/^/| /' conftest.$ac_ext >&5
   22727 
   22728 
   22729 fi
   22730 
   22731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22732 fi
   22733 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
   22734 $as_echo "$ac_cv_type_uint64_t" >&6; }
   22735 if test "x$ac_cv_type_uint64_t" = x""yes; then
   22736 
   22737 cat >>confdefs.h <<_ACEOF
   22738 #define HAVE_UINT64_T 1
   22739 _ACEOF
   22740 
   22741 
   22742 fi
   22743 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
   22744 $as_echo_n "checking for uint32_t... " >&6; }
   22745 if test "${ac_cv_type_uint32_t+set}" = set; then
   22746   $as_echo_n "(cached) " >&6
   22747 else
   22748   ac_cv_type_uint32_t=no
   22749 cat >conftest.$ac_ext <<_ACEOF
   22750 /* confdefs.h.  */
   22751 _ACEOF
   22752 cat confdefs.h >>conftest.$ac_ext
   22753 cat >>conftest.$ac_ext <<_ACEOF
   22754 /* end confdefs.h.  */
   22755 #ifdef HAVE_STDINT_H
   22756 #include <stdint.h>
   22757 #elif defined(HAVE_INTTYPES_H)
   22758 #include <inttypes.h>
   22759 #endif
   22760 #ifdef HAVE_SYS_TYPES_H
   22761 #include <sys/types.h>
   22762 #endif
   22763 
   22764 int
   22765 main ()
   22766 {
   22767 if (sizeof (uint32_t))
   22768        return 0;
   22769   ;
   22770   return 0;
   22771 }
   22772 _ACEOF
   22773 rm -f conftest.$ac_objext
   22774 if { (ac_try="$ac_compile"
   22775 case "(($ac_try" in
   22776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22777   *) ac_try_echo=$ac_try;;
   22778 esac
   22779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22780 $as_echo "$ac_try_echo") >&5
   22781   (eval "$ac_compile") 2>conftest.er1
   22782   ac_status=$?
   22783   grep -v '^ *+' conftest.er1 >conftest.err
   22784   rm -f conftest.er1
   22785   cat conftest.err >&5
   22786   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22787   (exit $ac_status); } && {
   22788 	 test -z "$ac_c_werror_flag" ||
   22789 	 test ! -s conftest.err
   22790        } && test -s conftest.$ac_objext; then
   22791   cat >conftest.$ac_ext <<_ACEOF
   22792 /* confdefs.h.  */
   22793 _ACEOF
   22794 cat confdefs.h >>conftest.$ac_ext
   22795 cat >>conftest.$ac_ext <<_ACEOF
   22796 /* end confdefs.h.  */
   22797 #ifdef HAVE_STDINT_H
   22798 #include <stdint.h>
   22799 #elif defined(HAVE_INTTYPES_H)
   22800 #include <inttypes.h>
   22801 #endif
   22802 #ifdef HAVE_SYS_TYPES_H
   22803 #include <sys/types.h>
   22804 #endif
   22805 
   22806 int
   22807 main ()
   22808 {
   22809 if (sizeof ((uint32_t)))
   22810 	  return 0;
   22811   ;
   22812   return 0;
   22813 }
   22814 _ACEOF
   22815 rm -f conftest.$ac_objext
   22816 if { (ac_try="$ac_compile"
   22817 case "(($ac_try" in
   22818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22819   *) ac_try_echo=$ac_try;;
   22820 esac
   22821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22822 $as_echo "$ac_try_echo") >&5
   22823   (eval "$ac_compile") 2>conftest.er1
   22824   ac_status=$?
   22825   grep -v '^ *+' conftest.er1 >conftest.err
   22826   rm -f conftest.er1
   22827   cat conftest.err >&5
   22828   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22829   (exit $ac_status); } && {
   22830 	 test -z "$ac_c_werror_flag" ||
   22831 	 test ! -s conftest.err
   22832        } && test -s conftest.$ac_objext; then
   22833   :
   22834 else
   22835   $as_echo "$as_me: failed program was:" >&5
   22836 sed 's/^/| /' conftest.$ac_ext >&5
   22837 
   22838 	ac_cv_type_uint32_t=yes
   22839 fi
   22840 
   22841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22842 else
   22843   $as_echo "$as_me: failed program was:" >&5
   22844 sed 's/^/| /' conftest.$ac_ext >&5
   22845 
   22846 
   22847 fi
   22848 
   22849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22850 fi
   22851 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
   22852 $as_echo "$ac_cv_type_uint32_t" >&6; }
   22853 if test "x$ac_cv_type_uint32_t" = x""yes; then
   22854 
   22855 cat >>confdefs.h <<_ACEOF
   22856 #define HAVE_UINT32_T 1
   22857 _ACEOF
   22858 
   22859 
   22860 fi
   22861 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
   22862 $as_echo_n "checking for uint16_t... " >&6; }
   22863 if test "${ac_cv_type_uint16_t+set}" = set; then
   22864   $as_echo_n "(cached) " >&6
   22865 else
   22866   ac_cv_type_uint16_t=no
   22867 cat >conftest.$ac_ext <<_ACEOF
   22868 /* confdefs.h.  */
   22869 _ACEOF
   22870 cat confdefs.h >>conftest.$ac_ext
   22871 cat >>conftest.$ac_ext <<_ACEOF
   22872 /* end confdefs.h.  */
   22873 #ifdef HAVE_STDINT_H
   22874 #include <stdint.h>
   22875 #elif defined(HAVE_INTTYPES_H)
   22876 #include <inttypes.h>
   22877 #endif
   22878 #ifdef HAVE_SYS_TYPES_H
   22879 #include <sys/types.h>
   22880 #endif
   22881 
   22882 int
   22883 main ()
   22884 {
   22885 if (sizeof (uint16_t))
   22886        return 0;
   22887   ;
   22888   return 0;
   22889 }
   22890 _ACEOF
   22891 rm -f conftest.$ac_objext
   22892 if { (ac_try="$ac_compile"
   22893 case "(($ac_try" in
   22894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22895   *) ac_try_echo=$ac_try;;
   22896 esac
   22897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22898 $as_echo "$ac_try_echo") >&5
   22899   (eval "$ac_compile") 2>conftest.er1
   22900   ac_status=$?
   22901   grep -v '^ *+' conftest.er1 >conftest.err
   22902   rm -f conftest.er1
   22903   cat conftest.err >&5
   22904   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22905   (exit $ac_status); } && {
   22906 	 test -z "$ac_c_werror_flag" ||
   22907 	 test ! -s conftest.err
   22908        } && test -s conftest.$ac_objext; then
   22909   cat >conftest.$ac_ext <<_ACEOF
   22910 /* confdefs.h.  */
   22911 _ACEOF
   22912 cat confdefs.h >>conftest.$ac_ext
   22913 cat >>conftest.$ac_ext <<_ACEOF
   22914 /* end confdefs.h.  */
   22915 #ifdef HAVE_STDINT_H
   22916 #include <stdint.h>
   22917 #elif defined(HAVE_INTTYPES_H)
   22918 #include <inttypes.h>
   22919 #endif
   22920 #ifdef HAVE_SYS_TYPES_H
   22921 #include <sys/types.h>
   22922 #endif
   22923 
   22924 int
   22925 main ()
   22926 {
   22927 if (sizeof ((uint16_t)))
   22928 	  return 0;
   22929   ;
   22930   return 0;
   22931 }
   22932 _ACEOF
   22933 rm -f conftest.$ac_objext
   22934 if { (ac_try="$ac_compile"
   22935 case "(($ac_try" in
   22936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22937   *) ac_try_echo=$ac_try;;
   22938 esac
   22939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22940 $as_echo "$ac_try_echo") >&5
   22941   (eval "$ac_compile") 2>conftest.er1
   22942   ac_status=$?
   22943   grep -v '^ *+' conftest.er1 >conftest.err
   22944   rm -f conftest.er1
   22945   cat conftest.err >&5
   22946   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22947   (exit $ac_status); } && {
   22948 	 test -z "$ac_c_werror_flag" ||
   22949 	 test ! -s conftest.err
   22950        } && test -s conftest.$ac_objext; then
   22951   :
   22952 else
   22953   $as_echo "$as_me: failed program was:" >&5
   22954 sed 's/^/| /' conftest.$ac_ext >&5
   22955 
   22956 	ac_cv_type_uint16_t=yes
   22957 fi
   22958 
   22959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22960 else
   22961   $as_echo "$as_me: failed program was:" >&5
   22962 sed 's/^/| /' conftest.$ac_ext >&5
   22963 
   22964 
   22965 fi
   22966 
   22967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22968 fi
   22969 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
   22970 $as_echo "$ac_cv_type_uint16_t" >&6; }
   22971 if test "x$ac_cv_type_uint16_t" = x""yes; then
   22972 
   22973 cat >>confdefs.h <<_ACEOF
   22974 #define HAVE_UINT16_T 1
   22975 _ACEOF
   22976 
   22977 
   22978 fi
   22979 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
   22980 $as_echo_n "checking for uint8_t... " >&6; }
   22981 if test "${ac_cv_type_uint8_t+set}" = set; then
   22982   $as_echo_n "(cached) " >&6
   22983 else
   22984   ac_cv_type_uint8_t=no
   22985 cat >conftest.$ac_ext <<_ACEOF
   22986 /* confdefs.h.  */
   22987 _ACEOF
   22988 cat confdefs.h >>conftest.$ac_ext
   22989 cat >>conftest.$ac_ext <<_ACEOF
   22990 /* end confdefs.h.  */
   22991 #ifdef HAVE_STDINT_H
   22992 #include <stdint.h>
   22993 #elif defined(HAVE_INTTYPES_H)
   22994 #include <inttypes.h>
   22995 #endif
   22996 #ifdef HAVE_SYS_TYPES_H
   22997 #include <sys/types.h>
   22998 #endif
   22999 
   23000 int
   23001 main ()
   23002 {
   23003 if (sizeof (uint8_t))
   23004        return 0;
   23005   ;
   23006   return 0;
   23007 }
   23008 _ACEOF
   23009 rm -f conftest.$ac_objext
   23010 if { (ac_try="$ac_compile"
   23011 case "(($ac_try" in
   23012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23013   *) ac_try_echo=$ac_try;;
   23014 esac
   23015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23016 $as_echo "$ac_try_echo") >&5
   23017   (eval "$ac_compile") 2>conftest.er1
   23018   ac_status=$?
   23019   grep -v '^ *+' conftest.er1 >conftest.err
   23020   rm -f conftest.er1
   23021   cat conftest.err >&5
   23022   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23023   (exit $ac_status); } && {
   23024 	 test -z "$ac_c_werror_flag" ||
   23025 	 test ! -s conftest.err
   23026        } && test -s conftest.$ac_objext; then
   23027   cat >conftest.$ac_ext <<_ACEOF
   23028 /* confdefs.h.  */
   23029 _ACEOF
   23030 cat confdefs.h >>conftest.$ac_ext
   23031 cat >>conftest.$ac_ext <<_ACEOF
   23032 /* end confdefs.h.  */
   23033 #ifdef HAVE_STDINT_H
   23034 #include <stdint.h>
   23035 #elif defined(HAVE_INTTYPES_H)
   23036 #include <inttypes.h>
   23037 #endif
   23038 #ifdef HAVE_SYS_TYPES_H
   23039 #include <sys/types.h>
   23040 #endif
   23041 
   23042 int
   23043 main ()
   23044 {
   23045 if (sizeof ((uint8_t)))
   23046 	  return 0;
   23047   ;
   23048   return 0;
   23049 }
   23050 _ACEOF
   23051 rm -f conftest.$ac_objext
   23052 if { (ac_try="$ac_compile"
   23053 case "(($ac_try" in
   23054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23055   *) ac_try_echo=$ac_try;;
   23056 esac
   23057 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23058 $as_echo "$ac_try_echo") >&5
   23059   (eval "$ac_compile") 2>conftest.er1
   23060   ac_status=$?
   23061   grep -v '^ *+' conftest.er1 >conftest.err
   23062   rm -f conftest.er1
   23063   cat conftest.err >&5
   23064   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23065   (exit $ac_status); } && {
   23066 	 test -z "$ac_c_werror_flag" ||
   23067 	 test ! -s conftest.err
   23068        } && test -s conftest.$ac_objext; then
   23069   :
   23070 else
   23071   $as_echo "$as_me: failed program was:" >&5
   23072 sed 's/^/| /' conftest.$ac_ext >&5
   23073 
   23074 	ac_cv_type_uint8_t=yes
   23075 fi
   23076 
   23077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23078 else
   23079   $as_echo "$as_me: failed program was:" >&5
   23080 sed 's/^/| /' conftest.$ac_ext >&5
   23081 
   23082 
   23083 fi
   23084 
   23085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23086 fi
   23087 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
   23088 $as_echo "$ac_cv_type_uint8_t" >&6; }
   23089 if test "x$ac_cv_type_uint8_t" = x""yes; then
   23090 
   23091 cat >>confdefs.h <<_ACEOF
   23092 #define HAVE_UINT8_T 1
   23093 _ACEOF
   23094 
   23095 
   23096 fi
   23097 
   23098 { $as_echo "$as_me:$LINENO: checking for fd_mask" >&5
   23099 $as_echo_n "checking for fd_mask... " >&6; }
   23100 if test "${ac_cv_type_fd_mask+set}" = set; then
   23101   $as_echo_n "(cached) " >&6
   23102 else
   23103   ac_cv_type_fd_mask=no
   23104 cat >conftest.$ac_ext <<_ACEOF
   23105 /* confdefs.h.  */
   23106 _ACEOF
   23107 cat confdefs.h >>conftest.$ac_ext
   23108 cat >>conftest.$ac_ext <<_ACEOF
   23109 /* end confdefs.h.  */
   23110 #ifdef HAVE_SYS_TYPES_H
   23111 #include <sys/types.h>
   23112 #endif
   23113 #ifdef HAVE_SELECT_H
   23114 #include <select.h>
   23115 #endif
   23116 
   23117 int
   23118 main ()
   23119 {
   23120 if (sizeof (fd_mask))
   23121        return 0;
   23122   ;
   23123   return 0;
   23124 }
   23125 _ACEOF
   23126 rm -f conftest.$ac_objext
   23127 if { (ac_try="$ac_compile"
   23128 case "(($ac_try" in
   23129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23130   *) ac_try_echo=$ac_try;;
   23131 esac
   23132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23133 $as_echo "$ac_try_echo") >&5
   23134   (eval "$ac_compile") 2>conftest.er1
   23135   ac_status=$?
   23136   grep -v '^ *+' conftest.er1 >conftest.err
   23137   rm -f conftest.er1
   23138   cat conftest.err >&5
   23139   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23140   (exit $ac_status); } && {
   23141 	 test -z "$ac_c_werror_flag" ||
   23142 	 test ! -s conftest.err
   23143        } && test -s conftest.$ac_objext; then
   23144   cat >conftest.$ac_ext <<_ACEOF
   23145 /* confdefs.h.  */
   23146 _ACEOF
   23147 cat confdefs.h >>conftest.$ac_ext
   23148 cat >>conftest.$ac_ext <<_ACEOF
   23149 /* end confdefs.h.  */
   23150 #ifdef HAVE_SYS_TYPES_H
   23151 #include <sys/types.h>
   23152 #endif
   23153 #ifdef HAVE_SELECT_H
   23154 #include <select.h>
   23155 #endif
   23156 
   23157 int
   23158 main ()
   23159 {
   23160 if (sizeof ((fd_mask)))
   23161 	  return 0;
   23162   ;
   23163   return 0;
   23164 }
   23165 _ACEOF
   23166 rm -f conftest.$ac_objext
   23167 if { (ac_try="$ac_compile"
   23168 case "(($ac_try" in
   23169   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23170   *) ac_try_echo=$ac_try;;
   23171 esac
   23172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23173 $as_echo "$ac_try_echo") >&5
   23174   (eval "$ac_compile") 2>conftest.er1
   23175   ac_status=$?
   23176   grep -v '^ *+' conftest.er1 >conftest.err
   23177   rm -f conftest.er1
   23178   cat conftest.err >&5
   23179   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23180   (exit $ac_status); } && {
   23181 	 test -z "$ac_c_werror_flag" ||
   23182 	 test ! -s conftest.err
   23183        } && test -s conftest.$ac_objext; then
   23184   :
   23185 else
   23186   $as_echo "$as_me: failed program was:" >&5
   23187 sed 's/^/| /' conftest.$ac_ext >&5
   23188 
   23189 	ac_cv_type_fd_mask=yes
   23190 fi
   23191 
   23192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23193 else
   23194   $as_echo "$as_me: failed program was:" >&5
   23195 sed 's/^/| /' conftest.$ac_ext >&5
   23196 
   23197 
   23198 fi
   23199 
   23200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23201 fi
   23202 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_fd_mask" >&5
   23203 $as_echo "$ac_cv_type_fd_mask" >&6; }
   23204 if test "x$ac_cv_type_fd_mask" = x""yes; then
   23205 
   23206 cat >>confdefs.h <<_ACEOF
   23207 #define HAVE_FD_MASK 1
   23208 _ACEOF
   23209 
   23210 
   23211 fi
   23212 
   23213 
   23214 # The cast to long int works around a bug in the HP C Compiler
   23215 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   23216 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   23217 # This bug is HP SR number 8606223364.
   23218 { $as_echo "$as_me:$LINENO: checking size of long long" >&5
   23219 $as_echo_n "checking size of long long... " >&6; }
   23220 if test "${ac_cv_sizeof_long_long+set}" = set; then
   23221   $as_echo_n "(cached) " >&6
   23222 else
   23223   if test "$cross_compiling" = yes; then
   23224   # Depending upon the size, compute the lo and hi bounds.
   23225 cat >conftest.$ac_ext <<_ACEOF
   23226 /* confdefs.h.  */
   23227 _ACEOF
   23228 cat confdefs.h >>conftest.$ac_ext
   23229 cat >>conftest.$ac_ext <<_ACEOF
   23230 /* end confdefs.h.  */
   23231 $ac_includes_default
   23232 int
   23233 main ()
   23234 {
   23235 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
   23236 test_array [0] = 0
   23237 
   23238   ;
   23239   return 0;
   23240 }
   23241 _ACEOF
   23242 rm -f conftest.$ac_objext
   23243 if { (ac_try="$ac_compile"
   23244 case "(($ac_try" in
   23245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23246   *) ac_try_echo=$ac_try;;
   23247 esac
   23248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23249 $as_echo "$ac_try_echo") >&5
   23250   (eval "$ac_compile") 2>conftest.er1
   23251   ac_status=$?
   23252   grep -v '^ *+' conftest.er1 >conftest.err
   23253   rm -f conftest.er1
   23254   cat conftest.err >&5
   23255   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23256   (exit $ac_status); } && {
   23257 	 test -z "$ac_c_werror_flag" ||
   23258 	 test ! -s conftest.err
   23259        } && test -s conftest.$ac_objext; then
   23260   ac_lo=0 ac_mid=0
   23261   while :; do
   23262     cat >conftest.$ac_ext <<_ACEOF
   23263 /* confdefs.h.  */
   23264 _ACEOF
   23265 cat confdefs.h >>conftest.$ac_ext
   23266 cat >>conftest.$ac_ext <<_ACEOF
   23267 /* end confdefs.h.  */
   23268 $ac_includes_default
   23269 int
   23270 main ()
   23271 {
   23272 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
   23273 test_array [0] = 0
   23274 
   23275   ;
   23276   return 0;
   23277 }
   23278 _ACEOF
   23279 rm -f conftest.$ac_objext
   23280 if { (ac_try="$ac_compile"
   23281 case "(($ac_try" in
   23282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23283   *) ac_try_echo=$ac_try;;
   23284 esac
   23285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23286 $as_echo "$ac_try_echo") >&5
   23287   (eval "$ac_compile") 2>conftest.er1
   23288   ac_status=$?
   23289   grep -v '^ *+' conftest.er1 >conftest.err
   23290   rm -f conftest.er1
   23291   cat conftest.err >&5
   23292   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23293   (exit $ac_status); } && {
   23294 	 test -z "$ac_c_werror_flag" ||
   23295 	 test ! -s conftest.err
   23296        } && test -s conftest.$ac_objext; then
   23297   ac_hi=$ac_mid; break
   23298 else
   23299   $as_echo "$as_me: failed program was:" >&5
   23300 sed 's/^/| /' conftest.$ac_ext >&5
   23301 
   23302 	ac_lo=`expr $ac_mid + 1`
   23303 			if test $ac_lo -le $ac_mid; then
   23304 			  ac_lo= ac_hi=
   23305 			  break
   23306 			fi
   23307 			ac_mid=`expr 2 '*' $ac_mid + 1`
   23308 fi
   23309 
   23310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23311   done
   23312 else
   23313   $as_echo "$as_me: failed program was:" >&5
   23314 sed 's/^/| /' conftest.$ac_ext >&5
   23315 
   23316 	cat >conftest.$ac_ext <<_ACEOF
   23317 /* confdefs.h.  */
   23318 _ACEOF
   23319 cat confdefs.h >>conftest.$ac_ext
   23320 cat >>conftest.$ac_ext <<_ACEOF
   23321 /* end confdefs.h.  */
   23322 $ac_includes_default
   23323 int
   23324 main ()
   23325 {
   23326 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
   23327 test_array [0] = 0
   23328 
   23329   ;
   23330   return 0;
   23331 }
   23332 _ACEOF
   23333 rm -f conftest.$ac_objext
   23334 if { (ac_try="$ac_compile"
   23335 case "(($ac_try" in
   23336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23337   *) ac_try_echo=$ac_try;;
   23338 esac
   23339 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23340 $as_echo "$ac_try_echo") >&5
   23341   (eval "$ac_compile") 2>conftest.er1
   23342   ac_status=$?
   23343   grep -v '^ *+' conftest.er1 >conftest.err
   23344   rm -f conftest.er1
   23345   cat conftest.err >&5
   23346   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23347   (exit $ac_status); } && {
   23348 	 test -z "$ac_c_werror_flag" ||
   23349 	 test ! -s conftest.err
   23350        } && test -s conftest.$ac_objext; then
   23351   ac_hi=-1 ac_mid=-1
   23352   while :; do
   23353     cat >conftest.$ac_ext <<_ACEOF
   23354 /* confdefs.h.  */
   23355 _ACEOF
   23356 cat confdefs.h >>conftest.$ac_ext
   23357 cat >>conftest.$ac_ext <<_ACEOF
   23358 /* end confdefs.h.  */
   23359 $ac_includes_default
   23360 int
   23361 main ()
   23362 {
   23363 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
   23364 test_array [0] = 0
   23365 
   23366   ;
   23367   return 0;
   23368 }
   23369 _ACEOF
   23370 rm -f conftest.$ac_objext
   23371 if { (ac_try="$ac_compile"
   23372 case "(($ac_try" in
   23373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23374   *) ac_try_echo=$ac_try;;
   23375 esac
   23376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23377 $as_echo "$ac_try_echo") >&5
   23378   (eval "$ac_compile") 2>conftest.er1
   23379   ac_status=$?
   23380   grep -v '^ *+' conftest.er1 >conftest.err
   23381   rm -f conftest.er1
   23382   cat conftest.err >&5
   23383   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23384   (exit $ac_status); } && {
   23385 	 test -z "$ac_c_werror_flag" ||
   23386 	 test ! -s conftest.err
   23387        } && test -s conftest.$ac_objext; then
   23388   ac_lo=$ac_mid; break
   23389 else
   23390   $as_echo "$as_me: failed program was:" >&5
   23391 sed 's/^/| /' conftest.$ac_ext >&5
   23392 
   23393 	ac_hi=`expr '(' $ac_mid ')' - 1`
   23394 			if test $ac_mid -le $ac_hi; then
   23395 			  ac_lo= ac_hi=
   23396 			  break
   23397 			fi
   23398 			ac_mid=`expr 2 '*' $ac_mid`
   23399 fi
   23400 
   23401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23402   done
   23403 else
   23404   $as_echo "$as_me: failed program was:" >&5
   23405 sed 's/^/| /' conftest.$ac_ext >&5
   23406 
   23407 	ac_lo= ac_hi=
   23408 fi
   23409 
   23410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23411 fi
   23412 
   23413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23414 # Binary search between lo and hi bounds.
   23415 while test "x$ac_lo" != "x$ac_hi"; do
   23416   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
   23417   cat >conftest.$ac_ext <<_ACEOF
   23418 /* confdefs.h.  */
   23419 _ACEOF
   23420 cat confdefs.h >>conftest.$ac_ext
   23421 cat >>conftest.$ac_ext <<_ACEOF
   23422 /* end confdefs.h.  */
   23423 $ac_includes_default
   23424 int
   23425 main ()
   23426 {
   23427 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
   23428 test_array [0] = 0
   23429 
   23430   ;
   23431   return 0;
   23432 }
   23433 _ACEOF
   23434 rm -f conftest.$ac_objext
   23435 if { (ac_try="$ac_compile"
   23436 case "(($ac_try" in
   23437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23438   *) ac_try_echo=$ac_try;;
   23439 esac
   23440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23441 $as_echo "$ac_try_echo") >&5
   23442   (eval "$ac_compile") 2>conftest.er1
   23443   ac_status=$?
   23444   grep -v '^ *+' conftest.er1 >conftest.err
   23445   rm -f conftest.er1
   23446   cat conftest.err >&5
   23447   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23448   (exit $ac_status); } && {
   23449 	 test -z "$ac_c_werror_flag" ||
   23450 	 test ! -s conftest.err
   23451        } && test -s conftest.$ac_objext; then
   23452   ac_hi=$ac_mid
   23453 else
   23454   $as_echo "$as_me: failed program was:" >&5
   23455 sed 's/^/| /' conftest.$ac_ext >&5
   23456 
   23457 	ac_lo=`expr '(' $ac_mid ')' + 1`
   23458 fi
   23459 
   23460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23461 done
   23462 case $ac_lo in
   23463 ?*) ac_cv_sizeof_long_long=$ac_lo;;
   23464 '') if test "$ac_cv_type_long_long" = yes; then
   23465      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   23466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   23467 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
   23468 See \`config.log' for more details." >&5
   23469 $as_echo "$as_me: error: cannot compute sizeof (long long)
   23470 See \`config.log' for more details." >&2;}
   23471    { (exit 77); exit 77; }; }; }
   23472    else
   23473      ac_cv_sizeof_long_long=0
   23474    fi ;;
   23475 esac
   23476 else
   23477   cat >conftest.$ac_ext <<_ACEOF
   23478 /* confdefs.h.  */
   23479 _ACEOF
   23480 cat confdefs.h >>conftest.$ac_ext
   23481 cat >>conftest.$ac_ext <<_ACEOF
   23482 /* end confdefs.h.  */
   23483 $ac_includes_default
   23484 static long int longval () { return (long int) (sizeof (long long)); }
   23485 static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
   23486 #include <stdio.h>
   23487 #include <stdlib.h>
   23488 int
   23489 main ()
   23490 {
   23491 
   23492   FILE *f = fopen ("conftest.val", "w");
   23493   if (! f)
   23494     return 1;
   23495   if (((long int) (sizeof (long long))) < 0)
   23496     {
   23497       long int i = longval ();
   23498       if (i != ((long int) (sizeof (long long))))
   23499 	return 1;
   23500       fprintf (f, "%ld", i);
   23501     }
   23502   else
   23503     {
   23504       unsigned long int i = ulongval ();
   23505       if (i != ((long int) (sizeof (long long))))
   23506 	return 1;
   23507       fprintf (f, "%lu", i);
   23508     }
   23509   /* Do not output a trailing newline, as this causes \r\n confusion
   23510      on some platforms.  */
   23511   return ferror (f) || fclose (f) != 0;
   23512 
   23513   ;
   23514   return 0;
   23515 }
   23516 _ACEOF
   23517 rm -f conftest$ac_exeext
   23518 if { (ac_try="$ac_link"
   23519 case "(($ac_try" in
   23520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23521   *) ac_try_echo=$ac_try;;
   23522 esac
   23523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23524 $as_echo "$ac_try_echo") >&5
   23525   (eval "$ac_link") 2>&5
   23526   ac_status=$?
   23527   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23528   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   23529   { (case "(($ac_try" in
   23530   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23531   *) ac_try_echo=$ac_try;;
   23532 esac
   23533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23534 $as_echo "$ac_try_echo") >&5
   23535   (eval "$ac_try") 2>&5
   23536   ac_status=$?
   23537   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23538   (exit $ac_status); }; }; then
   23539   ac_cv_sizeof_long_long=`cat conftest.val`
   23540 else
   23541   $as_echo "$as_me: program exited with status $ac_status" >&5
   23542 $as_echo "$as_me: failed program was:" >&5
   23543 sed 's/^/| /' conftest.$ac_ext >&5
   23544 
   23545 ( exit $ac_status )
   23546 if test "$ac_cv_type_long_long" = yes; then
   23547      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   23548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   23549 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
   23550 See \`config.log' for more details." >&5
   23551 $as_echo "$as_me: error: cannot compute sizeof (long long)
   23552 See \`config.log' for more details." >&2;}
   23553    { (exit 77); exit 77; }; }; }
   23554    else
   23555      ac_cv_sizeof_long_long=0
   23556    fi
   23557 fi
   23558 rm -rf conftest.dSYM
   23559 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   23560 fi
   23561 rm -f conftest.val
   23562 fi
   23563 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
   23564 $as_echo "$ac_cv_sizeof_long_long" >&6; }
   23565 
   23566 
   23567 
   23568 cat >>confdefs.h <<_ACEOF
   23569 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
   23570 _ACEOF
   23571 
   23572 
   23573 # The cast to long int works around a bug in the HP C Compiler
   23574 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   23575 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   23576 # This bug is HP SR number 8606223364.
   23577 { $as_echo "$as_me:$LINENO: checking size of int" >&5
   23578 $as_echo_n "checking size of int... " >&6; }
   23579 if test "${ac_cv_sizeof_int+set}" = set; then
   23580   $as_echo_n "(cached) " >&6
   23581 else
   23582   if test "$cross_compiling" = yes; then
   23583   # Depending upon the size, compute the lo and hi bounds.
   23584 cat >conftest.$ac_ext <<_ACEOF
   23585 /* confdefs.h.  */
   23586 _ACEOF
   23587 cat confdefs.h >>conftest.$ac_ext
   23588 cat >>conftest.$ac_ext <<_ACEOF
   23589 /* end confdefs.h.  */
   23590 $ac_includes_default
   23591 int
   23592 main ()
   23593 {
   23594 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
   23595 test_array [0] = 0
   23596 
   23597   ;
   23598   return 0;
   23599 }
   23600 _ACEOF
   23601 rm -f conftest.$ac_objext
   23602 if { (ac_try="$ac_compile"
   23603 case "(($ac_try" in
   23604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23605   *) ac_try_echo=$ac_try;;
   23606 esac
   23607 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23608 $as_echo "$ac_try_echo") >&5
   23609   (eval "$ac_compile") 2>conftest.er1
   23610   ac_status=$?
   23611   grep -v '^ *+' conftest.er1 >conftest.err
   23612   rm -f conftest.er1
   23613   cat conftest.err >&5
   23614   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23615   (exit $ac_status); } && {
   23616 	 test -z "$ac_c_werror_flag" ||
   23617 	 test ! -s conftest.err
   23618        } && test -s conftest.$ac_objext; then
   23619   ac_lo=0 ac_mid=0
   23620   while :; do
   23621     cat >conftest.$ac_ext <<_ACEOF
   23622 /* confdefs.h.  */
   23623 _ACEOF
   23624 cat confdefs.h >>conftest.$ac_ext
   23625 cat >>conftest.$ac_ext <<_ACEOF
   23626 /* end confdefs.h.  */
   23627 $ac_includes_default
   23628 int
   23629 main ()
   23630 {
   23631 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
   23632 test_array [0] = 0
   23633 
   23634   ;
   23635   return 0;
   23636 }
   23637 _ACEOF
   23638 rm -f conftest.$ac_objext
   23639 if { (ac_try="$ac_compile"
   23640 case "(($ac_try" in
   23641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23642   *) ac_try_echo=$ac_try;;
   23643 esac
   23644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23645 $as_echo "$ac_try_echo") >&5
   23646   (eval "$ac_compile") 2>conftest.er1
   23647   ac_status=$?
   23648   grep -v '^ *+' conftest.er1 >conftest.err
   23649   rm -f conftest.er1
   23650   cat conftest.err >&5
   23651   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23652   (exit $ac_status); } && {
   23653 	 test -z "$ac_c_werror_flag" ||
   23654 	 test ! -s conftest.err
   23655        } && test -s conftest.$ac_objext; then
   23656   ac_hi=$ac_mid; break
   23657 else
   23658   $as_echo "$as_me: failed program was:" >&5
   23659 sed 's/^/| /' conftest.$ac_ext >&5
   23660 
   23661 	ac_lo=`expr $ac_mid + 1`
   23662 			if test $ac_lo -le $ac_mid; then
   23663 			  ac_lo= ac_hi=
   23664 			  break
   23665 			fi
   23666 			ac_mid=`expr 2 '*' $ac_mid + 1`
   23667 fi
   23668 
   23669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23670   done
   23671 else
   23672   $as_echo "$as_me: failed program was:" >&5
   23673 sed 's/^/| /' conftest.$ac_ext >&5
   23674 
   23675 	cat >conftest.$ac_ext <<_ACEOF
   23676 /* confdefs.h.  */
   23677 _ACEOF
   23678 cat confdefs.h >>conftest.$ac_ext
   23679 cat >>conftest.$ac_ext <<_ACEOF
   23680 /* end confdefs.h.  */
   23681 $ac_includes_default
   23682 int
   23683 main ()
   23684 {
   23685 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
   23686 test_array [0] = 0
   23687 
   23688   ;
   23689   return 0;
   23690 }
   23691 _ACEOF
   23692 rm -f conftest.$ac_objext
   23693 if { (ac_try="$ac_compile"
   23694 case "(($ac_try" in
   23695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23696   *) ac_try_echo=$ac_try;;
   23697 esac
   23698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23699 $as_echo "$ac_try_echo") >&5
   23700   (eval "$ac_compile") 2>conftest.er1
   23701   ac_status=$?
   23702   grep -v '^ *+' conftest.er1 >conftest.err
   23703   rm -f conftest.er1
   23704   cat conftest.err >&5
   23705   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23706   (exit $ac_status); } && {
   23707 	 test -z "$ac_c_werror_flag" ||
   23708 	 test ! -s conftest.err
   23709        } && test -s conftest.$ac_objext; then
   23710   ac_hi=-1 ac_mid=-1
   23711   while :; do
   23712     cat >conftest.$ac_ext <<_ACEOF
   23713 /* confdefs.h.  */
   23714 _ACEOF
   23715 cat confdefs.h >>conftest.$ac_ext
   23716 cat >>conftest.$ac_ext <<_ACEOF
   23717 /* end confdefs.h.  */
   23718 $ac_includes_default
   23719 int
   23720 main ()
   23721 {
   23722 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
   23723 test_array [0] = 0
   23724 
   23725   ;
   23726   return 0;
   23727 }
   23728 _ACEOF
   23729 rm -f conftest.$ac_objext
   23730 if { (ac_try="$ac_compile"
   23731 case "(($ac_try" in
   23732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23733   *) ac_try_echo=$ac_try;;
   23734 esac
   23735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23736 $as_echo "$ac_try_echo") >&5
   23737   (eval "$ac_compile") 2>conftest.er1
   23738   ac_status=$?
   23739   grep -v '^ *+' conftest.er1 >conftest.err
   23740   rm -f conftest.er1
   23741   cat conftest.err >&5
   23742   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23743   (exit $ac_status); } && {
   23744 	 test -z "$ac_c_werror_flag" ||
   23745 	 test ! -s conftest.err
   23746        } && test -s conftest.$ac_objext; then
   23747   ac_lo=$ac_mid; break
   23748 else
   23749   $as_echo "$as_me: failed program was:" >&5
   23750 sed 's/^/| /' conftest.$ac_ext >&5
   23751 
   23752 	ac_hi=`expr '(' $ac_mid ')' - 1`
   23753 			if test $ac_mid -le $ac_hi; then
   23754 			  ac_lo= ac_hi=
   23755 			  break
   23756 			fi
   23757 			ac_mid=`expr 2 '*' $ac_mid`
   23758 fi
   23759 
   23760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23761   done
   23762 else
   23763   $as_echo "$as_me: failed program was:" >&5
   23764 sed 's/^/| /' conftest.$ac_ext >&5
   23765 
   23766 	ac_lo= ac_hi=
   23767 fi
   23768 
   23769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23770 fi
   23771 
   23772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23773 # Binary search between lo and hi bounds.
   23774 while test "x$ac_lo" != "x$ac_hi"; do
   23775   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
   23776   cat >conftest.$ac_ext <<_ACEOF
   23777 /* confdefs.h.  */
   23778 _ACEOF
   23779 cat confdefs.h >>conftest.$ac_ext
   23780 cat >>conftest.$ac_ext <<_ACEOF
   23781 /* end confdefs.h.  */
   23782 $ac_includes_default
   23783 int
   23784 main ()
   23785 {
   23786 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
   23787 test_array [0] = 0
   23788 
   23789   ;
   23790   return 0;
   23791 }
   23792 _ACEOF
   23793 rm -f conftest.$ac_objext
   23794 if { (ac_try="$ac_compile"
   23795 case "(($ac_try" in
   23796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23797   *) ac_try_echo=$ac_try;;
   23798 esac
   23799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23800 $as_echo "$ac_try_echo") >&5
   23801   (eval "$ac_compile") 2>conftest.er1
   23802   ac_status=$?
   23803   grep -v '^ *+' conftest.er1 >conftest.err
   23804   rm -f conftest.er1
   23805   cat conftest.err >&5
   23806   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23807   (exit $ac_status); } && {
   23808 	 test -z "$ac_c_werror_flag" ||
   23809 	 test ! -s conftest.err
   23810        } && test -s conftest.$ac_objext; then
   23811   ac_hi=$ac_mid
   23812 else
   23813   $as_echo "$as_me: failed program was:" >&5
   23814 sed 's/^/| /' conftest.$ac_ext >&5
   23815 
   23816 	ac_lo=`expr '(' $ac_mid ')' + 1`
   23817 fi
   23818 
   23819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23820 done
   23821 case $ac_lo in
   23822 ?*) ac_cv_sizeof_int=$ac_lo;;
   23823 '') if test "$ac_cv_type_int" = yes; then
   23824      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   23825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   23826 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
   23827 See \`config.log' for more details." >&5
   23828 $as_echo "$as_me: error: cannot compute sizeof (int)
   23829 See \`config.log' for more details." >&2;}
   23830    { (exit 77); exit 77; }; }; }
   23831    else
   23832      ac_cv_sizeof_int=0
   23833    fi ;;
   23834 esac
   23835 else
   23836   cat >conftest.$ac_ext <<_ACEOF
   23837 /* confdefs.h.  */
   23838 _ACEOF
   23839 cat confdefs.h >>conftest.$ac_ext
   23840 cat >>conftest.$ac_ext <<_ACEOF
   23841 /* end confdefs.h.  */
   23842 $ac_includes_default
   23843 static long int longval () { return (long int) (sizeof (int)); }
   23844 static unsigned long int ulongval () { return (long int) (sizeof (int)); }
   23845 #include <stdio.h>
   23846 #include <stdlib.h>
   23847 int
   23848 main ()
   23849 {
   23850 
   23851   FILE *f = fopen ("conftest.val", "w");
   23852   if (! f)
   23853     return 1;
   23854   if (((long int) (sizeof (int))) < 0)
   23855     {
   23856       long int i = longval ();
   23857       if (i != ((long int) (sizeof (int))))
   23858 	return 1;
   23859       fprintf (f, "%ld", i);
   23860     }
   23861   else
   23862     {
   23863       unsigned long int i = ulongval ();
   23864       if (i != ((long int) (sizeof (int))))
   23865 	return 1;
   23866       fprintf (f, "%lu", i);
   23867     }
   23868   /* Do not output a trailing newline, as this causes \r\n confusion
   23869      on some platforms.  */
   23870   return ferror (f) || fclose (f) != 0;
   23871 
   23872   ;
   23873   return 0;
   23874 }
   23875 _ACEOF
   23876 rm -f conftest$ac_exeext
   23877 if { (ac_try="$ac_link"
   23878 case "(($ac_try" in
   23879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23880   *) ac_try_echo=$ac_try;;
   23881 esac
   23882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23883 $as_echo "$ac_try_echo") >&5
   23884   (eval "$ac_link") 2>&5
   23885   ac_status=$?
   23886   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23887   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   23888   { (case "(($ac_try" in
   23889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23890   *) ac_try_echo=$ac_try;;
   23891 esac
   23892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23893 $as_echo "$ac_try_echo") >&5
   23894   (eval "$ac_try") 2>&5
   23895   ac_status=$?
   23896   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23897   (exit $ac_status); }; }; then
   23898   ac_cv_sizeof_int=`cat conftest.val`
   23899 else
   23900   $as_echo "$as_me: program exited with status $ac_status" >&5
   23901 $as_echo "$as_me: failed program was:" >&5
   23902 sed 's/^/| /' conftest.$ac_ext >&5
   23903 
   23904 ( exit $ac_status )
   23905 if test "$ac_cv_type_int" = yes; then
   23906      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   23907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   23908 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
   23909 See \`config.log' for more details." >&5
   23910 $as_echo "$as_me: error: cannot compute sizeof (int)
   23911 See \`config.log' for more details." >&2;}
   23912    { (exit 77); exit 77; }; }; }
   23913    else
   23914      ac_cv_sizeof_int=0
   23915    fi
   23916 fi
   23917 rm -rf conftest.dSYM
   23918 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   23919 fi
   23920 rm -f conftest.val
   23921 fi
   23922 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
   23923 $as_echo "$ac_cv_sizeof_int" >&6; }
   23924 
   23925 
   23926 
   23927 cat >>confdefs.h <<_ACEOF
   23928 #define SIZEOF_INT $ac_cv_sizeof_int
   23929 _ACEOF
   23930 
   23931 
   23932 # The cast to long int works around a bug in the HP C Compiler
   23933 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   23934 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   23935 # This bug is HP SR number 8606223364.
   23936 { $as_echo "$as_me:$LINENO: checking size of short" >&5
   23937 $as_echo_n "checking size of short... " >&6; }
   23938 if test "${ac_cv_sizeof_short+set}" = set; then
   23939   $as_echo_n "(cached) " >&6
   23940 else
   23941   if test "$cross_compiling" = yes; then
   23942   # Depending upon the size, compute the lo and hi bounds.
   23943 cat >conftest.$ac_ext <<_ACEOF
   23944 /* confdefs.h.  */
   23945 _ACEOF
   23946 cat confdefs.h >>conftest.$ac_ext
   23947 cat >>conftest.$ac_ext <<_ACEOF
   23948 /* end confdefs.h.  */
   23949 $ac_includes_default
   23950 int
   23951 main ()
   23952 {
   23953 static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= 0)];
   23954 test_array [0] = 0
   23955 
   23956   ;
   23957   return 0;
   23958 }
   23959 _ACEOF
   23960 rm -f conftest.$ac_objext
   23961 if { (ac_try="$ac_compile"
   23962 case "(($ac_try" in
   23963   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   23964   *) ac_try_echo=$ac_try;;
   23965 esac
   23966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   23967 $as_echo "$ac_try_echo") >&5
   23968   (eval "$ac_compile") 2>conftest.er1
   23969   ac_status=$?
   23970   grep -v '^ *+' conftest.er1 >conftest.err
   23971   rm -f conftest.er1
   23972   cat conftest.err >&5
   23973   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23974   (exit $ac_status); } && {
   23975 	 test -z "$ac_c_werror_flag" ||
   23976 	 test ! -s conftest.err
   23977        } && test -s conftest.$ac_objext; then
   23978   ac_lo=0 ac_mid=0
   23979   while :; do
   23980     cat >conftest.$ac_ext <<_ACEOF
   23981 /* confdefs.h.  */
   23982 _ACEOF
   23983 cat confdefs.h >>conftest.$ac_ext
   23984 cat >>conftest.$ac_ext <<_ACEOF
   23985 /* end confdefs.h.  */
   23986 $ac_includes_default
   23987 int
   23988 main ()
   23989 {
   23990 static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
   23991 test_array [0] = 0
   23992 
   23993   ;
   23994   return 0;
   23995 }
   23996 _ACEOF
   23997 rm -f conftest.$ac_objext
   23998 if { (ac_try="$ac_compile"
   23999 case "(($ac_try" in
   24000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   24001   *) ac_try_echo=$ac_try;;
   24002 esac
   24003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   24004 $as_echo "$ac_try_echo") >&5
   24005   (eval "$ac_compile") 2>conftest.er1
   24006   ac_status=$?
   24007   grep -v '^ *+' conftest.er1 >conftest.err
   24008   rm -f conftest.er1
   24009   cat conftest.err >&5
   24010   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24011   (exit $ac_status); } && {
   24012 	 test -z "$ac_c_werror_flag" ||
   24013 	 test ! -s conftest.err
   24014        } && test -s conftest.$ac_objext; then
   24015   ac_hi=$ac_mid; break
   24016 else
   24017   $as_echo "$as_me: failed program was:" >&5
   24018 sed 's/^/| /' conftest.$ac_ext >&5
   24019 
   24020 	ac_lo=`expr $ac_mid + 1`
   24021 			if test $ac_lo -le $ac_mid; then
   24022 			  ac_lo= ac_hi=
   24023 			  break
   24024 			fi
   24025 			ac_mid=`expr 2 '*' $ac_mid + 1`
   24026 fi
   24027 
   24028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24029   done
   24030 else
   24031   $as_echo "$as_me: failed program was:" >&5
   24032 sed 's/^/| /' conftest.$ac_ext >&5
   24033 
   24034 	cat >conftest.$ac_ext <<_ACEOF
   24035 /* confdefs.h.  */
   24036 _ACEOF
   24037 cat confdefs.h >>conftest.$ac_ext
   24038 cat >>conftest.$ac_ext <<_ACEOF
   24039 /* end confdefs.h.  */
   24040 $ac_includes_default
   24041 int
   24042 main ()
   24043 {
   24044 static int test_array [1 - 2 * !(((long int) (sizeof (short))) < 0)];
   24045 test_array [0] = 0
   24046 
   24047   ;
   24048   return 0;
   24049 }
   24050 _ACEOF
   24051 rm -f conftest.$ac_objext
   24052 if { (ac_try="$ac_compile"
   24053 case "(($ac_try" in
   24054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   24055   *) ac_try_echo=$ac_try;;
   24056 esac
   24057 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   24058 $as_echo "$ac_try_echo") >&5
   24059   (eval "$ac_compile") 2>conftest.er1
   24060   ac_status=$?
   24061   grep -v '^ *+' conftest.er1 >conftest.err
   24062   rm -f conftest.er1
   24063   cat conftest.err >&5
   24064   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24065   (exit $ac_status); } && {
   24066 	 test -z "$ac_c_werror_flag" ||
   24067 	 test ! -s conftest.err
   24068        } && test -s conftest.$ac_objext; then
   24069   ac_hi=-1 ac_mid=-1
   24070   while :; do
   24071     cat >conftest.$ac_ext <<_ACEOF
   24072 /* confdefs.h.  */
   24073 _ACEOF
   24074 cat confdefs.h >>conftest.$ac_ext
   24075 cat >>conftest.$ac_ext <<_ACEOF
   24076 /* end confdefs.h.  */
   24077 $ac_includes_default
   24078 int
   24079 main ()
   24080 {
   24081 static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= $ac_mid)];
   24082 test_array [0] = 0
   24083 
   24084   ;
   24085   return 0;
   24086 }
   24087 _ACEOF
   24088 rm -f conftest.$ac_objext
   24089 if { (ac_try="$ac_compile"
   24090 case "(($ac_try" in
   24091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   24092   *) ac_try_echo=$ac_try;;
   24093 esac
   24094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   24095 $as_echo "$ac_try_echo") >&5
   24096   (eval "$ac_compile") 2>conftest.er1
   24097   ac_status=$?
   24098   grep -v '^ *+' conftest.er1 >conftest.err
   24099   rm -f conftest.er1
   24100   cat conftest.err >&5
   24101   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24102   (exit $ac_status); } && {
   24103 	 test -z "$ac_c_werror_flag" ||
   24104 	 test ! -s conftest.err
   24105        } && test -s conftest.$ac_objext; then
   24106   ac_lo=$ac_mid; break
   24107 else
   24108   $as_echo "$as_me: failed program was:" >&5
   24109 sed 's/^/| /' conftest.$ac_ext >&5
   24110 
   24111 	ac_hi=`expr '(' $ac_mid ')' - 1`
   24112 			if test $ac_mid -le $ac_hi; then
   24113 			  ac_lo= ac_hi=
   24114 			  break
   24115 			fi
   24116 			ac_mid=`expr 2 '*' $ac_mid`
   24117 fi
   24118 
   24119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24120   done
   24121 else
   24122   $as_echo "$as_me: failed program was:" >&5
   24123 sed 's/^/| /' conftest.$ac_ext >&5
   24124 
   24125 	ac_lo= ac_hi=
   24126 fi
   24127 
   24128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24129 fi
   24130 
   24131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24132 # Binary search between lo and hi bounds.
   24133 while test "x$ac_lo" != "x$ac_hi"; do
   24134   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
   24135   cat >conftest.$ac_ext <<_ACEOF
   24136 /* confdefs.h.  */
   24137 _ACEOF
   24138 cat confdefs.h >>conftest.$ac_ext
   24139 cat >>conftest.$ac_ext <<_ACEOF
   24140 /* end confdefs.h.  */
   24141 $ac_includes_default
   24142 int
   24143 main ()
   24144 {
   24145 static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
   24146 test_array [0] = 0
   24147 
   24148   ;
   24149   return 0;
   24150 }
   24151 _ACEOF
   24152 rm -f conftest.$ac_objext
   24153 if { (ac_try="$ac_compile"
   24154 case "(($ac_try" in
   24155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   24156   *) ac_try_echo=$ac_try;;
   24157 esac
   24158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   24159 $as_echo "$ac_try_echo") >&5
   24160   (eval "$ac_compile") 2>conftest.er1
   24161   ac_status=$?
   24162   grep -v '^ *+' conftest.er1 >conftest.err
   24163   rm -f conftest.er1
   24164   cat conftest.err >&5
   24165   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24166   (exit $ac_status); } && {
   24167 	 test -z "$ac_c_werror_flag" ||
   24168 	 test ! -s conftest.err
   24169        } && test -s conftest.$ac_objext; then
   24170   ac_hi=$ac_mid
   24171 else
   24172   $as_echo "$as_me: failed program was:" >&5
   24173 sed 's/^/| /' conftest.$ac_ext >&5
   24174 
   24175 	ac_lo=`expr '(' $ac_mid ')' + 1`
   24176 fi
   24177 
   24178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24179 done
   24180 case $ac_lo in
   24181 ?*) ac_cv_sizeof_short=$ac_lo;;
   24182 '') if test "$ac_cv_type_short" = yes; then
   24183      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   24184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   24185 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
   24186 See \`config.log' for more details." >&5
   24187 $as_echo "$as_me: error: cannot compute sizeof (short)
   24188 See \`config.log' for more details." >&2;}
   24189    { (exit 77); exit 77; }; }; }
   24190    else
   24191      ac_cv_sizeof_short=0
   24192    fi ;;
   24193 esac
   24194 else
   24195   cat >conftest.$ac_ext <<_ACEOF
   24196 /* confdefs.h.  */
   24197 _ACEOF
   24198 cat confdefs.h >>conftest.$ac_ext
   24199 cat >>conftest.$ac_ext <<_ACEOF
   24200 /* end confdefs.h.  */
   24201 $ac_includes_default
   24202 static long int longval () { return (long int) (sizeof (short)); }
   24203 static unsigned long int ulongval () { return (long int) (sizeof (short)); }
   24204 #include <stdio.h>
   24205 #include <stdlib.h>
   24206 int
   24207 main ()
   24208 {
   24209 
   24210   FILE *f = fopen ("conftest.val", "w");
   24211   if (! f)
   24212     return 1;
   24213   if (((long int) (sizeof (short))) < 0)
   24214     {
   24215       long int i = longval ();
   24216       if (i != ((long int) (sizeof (short))))
   24217 	return 1;
   24218       fprintf (f, "%ld", i);
   24219     }
   24220   else
   24221     {
   24222       unsigned long int i = ulongval ();
   24223       if (i != ((long int) (sizeof (short))))
   24224 	return 1;
   24225       fprintf (f, "%lu", i);
   24226     }
   24227   /* Do not output a trailing newline, as this causes \r\n confusion
   24228      on some platforms.  */
   24229   return ferror (f) || fclose (f) != 0;
   24230 
   24231   ;
   24232   return 0;
   24233 }
   24234 _ACEOF
   24235 rm -f conftest$ac_exeext
   24236 if { (ac_try="$ac_link"
   24237 case "(($ac_try" in
   24238   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   24239   *) ac_try_echo=$ac_try;;
   24240 esac
   24241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   24242 $as_echo "$ac_try_echo") >&5
   24243   (eval "$ac_link") 2>&5
   24244   ac_status=$?
   24245   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24246   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   24247   { (case "(($ac_try" in
   24248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   24249   *) ac_try_echo=$ac_try;;
   24250 esac
   24251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   24252 $as_echo "$ac_try_echo") >&5
   24253   (eval "$ac_try") 2>&5
   24254   ac_status=$?
   24255   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24256   (exit $ac_status); }; }; then
   24257   ac_cv_sizeof_short=`cat conftest.val`
   24258 else
   24259   $as_echo "$as_me: program exited with status $ac_status" >&5
   24260 $as_echo "$as_me: failed program was:" >&5
   24261 sed 's/^/| /' conftest.$ac_ext >&5
   24262 
   24263 ( exit $ac_status )
   24264 if test "$ac_cv_type_short" = yes; then
   24265      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   24266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   24267 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
   24268 See \`config.log' for more details." >&5
   24269 $as_echo "$as_me: error: cannot compute sizeof (short)
   24270 See \`config.log' for more details." >&2;}
   24271    { (exit 77); exit 77; }; }; }
   24272    else
   24273      ac_cv_sizeof_short=0
   24274    fi
   24275 fi
   24276 rm -rf conftest.dSYM
   24277 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   24278 fi
   24279 rm -f conftest.val
   24280 fi
   24281 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
   24282 $as_echo "$ac_cv_sizeof_short" >&6; }
   24283 
   24284 
   24285 
   24286 cat >>confdefs.h <<_ACEOF
   24287 #define SIZEOF_SHORT $ac_cv_sizeof_short
   24288 _ACEOF
   24289 
   24290 
   24291 { $as_echo "$as_me:$LINENO: checking for struct in6_addr" >&5
   24292 $as_echo_n "checking for struct in6_addr... " >&6; }
   24293 if test "${ac_cv_type_struct_in6_addr+set}" = set; then
   24294   $as_echo_n "(cached) " >&6
   24295 else
   24296   ac_cv_type_struct_in6_addr=no
   24297 cat >conftest.$ac_ext <<_ACEOF
   24298 /* confdefs.h.  */
   24299 _ACEOF
   24300 cat confdefs.h >>conftest.$ac_ext
   24301 cat >>conftest.$ac_ext <<_ACEOF
   24302 /* end confdefs.h.  */
   24303 #ifdef WIN32
   24304 #include <winsock2.h>
   24305 #else
   24306 #include <sys/types.h>
   24307 #include <netinet/in.h>
   24308 #include <sys/socket.h>
   24309 #endif
   24310 #ifdef HAVE_NETINET_IN6_H
   24311 #include <netinet/in6.h>
   24312 #endif
   24313 
   24314 int
   24315 main ()
   24316 {
   24317 if (sizeof (struct in6_addr))
   24318        return 0;
   24319   ;
   24320   return 0;
   24321 }
   24322 _ACEOF
   24323 rm -f conftest.$ac_objext
   24324 if { (ac_try="$ac_compile"
   24325 case "(($ac_try" in
   24326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   24327   *) ac_try_echo=$ac_try;;
   24328 esac
   24329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   24330 $as_echo "$ac_try_echo") >&5
   24331   (eval "$ac_compile") 2>conftest.er1
   24332   ac_status=$?
   24333   grep -v '^ *+' conftest.er1 >conftest.err
   24334   rm -f conftest.er1
   24335   cat conftest.err >&5
   24336   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24337   (exit $ac_status); } && {
   24338 	 test -z "$ac_c_werror_flag" ||
   24339 	 test ! -s conftest.err
   24340        } && test -s conftest.$ac_objext; then
   24341   cat >conftest.$ac_ext <<_ACEOF
   24342 /* confdefs.h.  */
   24343 _ACEOF
   24344 cat confdefs.h >>conftest.$ac_ext
   24345 cat >>conftest.$ac_ext <<_ACEOF
   24346 /* end confdefs.h.  */
   24347 #ifdef WIN32
   24348 #include <winsock2.h>
   24349 #else
   24350 #include <sys/types.h>
   24351 #include <netinet/in.h>
   24352 #include <sys/socket.h>
   24353 #endif
   24354 #ifdef HAVE_NETINET_IN6_H
   24355 #include <netinet/in6.h>
   24356 #endif
   24357 
   24358 int
   24359 main ()
   24360 {
   24361 if (sizeof ((struct in6_addr)))
   24362 	  return 0;
   24363   ;
   24364   return 0;
   24365 }
   24366 _ACEOF
   24367 rm -f conftest.$ac_objext
   24368 if { (ac_try="$ac_compile"
   24369 case "(($ac_try" in
   24370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   24371   *) ac_try_echo=$ac_try;;
   24372 esac
   24373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   24374 $as_echo "$ac_try_echo") >&5
   24375   (eval "$ac_compile") 2>conftest.er1
   24376   ac_status=$?
   24377   grep -v '^ *+' conftest.er1 >conftest.err
   24378   rm -f conftest.er1
   24379   cat conftest.err >&5
   24380   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24381   (exit $ac_status); } && {
   24382 	 test -z "$ac_c_werror_flag" ||
   24383 	 test ! -s conftest.err
   24384        } && test -s conftest.$ac_objext; then
   24385   :
   24386 else
   24387   $as_echo "$as_me: failed program was:" >&5
   24388 sed 's/^/| /' conftest.$ac_ext >&5
   24389 
   24390 	ac_cv_type_struct_in6_addr=yes
   24391 fi
   24392 
   24393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24394 else
   24395   $as_echo "$as_me: failed program was:" >&5
   24396 sed 's/^/| /' conftest.$ac_ext >&5
   24397 
   24398 
   24399 fi
   24400 
   24401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24402 fi
   24403 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_in6_addr" >&5
   24404 $as_echo "$ac_cv_type_struct_in6_addr" >&6; }
   24405 if test "x$ac_cv_type_struct_in6_addr" = x""yes; then
   24406 
   24407 cat >>confdefs.h <<_ACEOF
   24408 #define HAVE_STRUCT_IN6_ADDR 1
   24409 _ACEOF
   24410 
   24411 
   24412 fi
   24413 
   24414 
   24415 { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
   24416 $as_echo_n "checking for socklen_t... " >&6; }
   24417 cat >conftest.$ac_ext <<_ACEOF
   24418 /* confdefs.h.  */
   24419 _ACEOF
   24420 cat confdefs.h >>conftest.$ac_ext
   24421 cat >>conftest.$ac_ext <<_ACEOF
   24422 /* end confdefs.h.  */
   24423 
   24424  #include <sys/types.h>
   24425  #include <sys/socket.h>
   24426 int
   24427 main ()
   24428 {
   24429 socklen_t x;
   24430   ;
   24431   return 0;
   24432 }
   24433 _ACEOF
   24434 rm -f conftest.$ac_objext
   24435 if { (ac_try="$ac_compile"
   24436 case "(($ac_try" in
   24437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   24438   *) ac_try_echo=$ac_try;;
   24439 esac
   24440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   24441 $as_echo "$ac_try_echo") >&5
   24442   (eval "$ac_compile") 2>conftest.er1
   24443   ac_status=$?
   24444   grep -v '^ *+' conftest.er1 >conftest.err
   24445   rm -f conftest.er1
   24446   cat conftest.err >&5
   24447   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24448   (exit $ac_status); } && {
   24449 	 test -z "$ac_c_werror_flag" ||
   24450 	 test ! -s conftest.err
   24451        } && test -s conftest.$ac_objext; then
   24452   { $as_echo "$as_me:$LINENO: result: yes" >&5
   24453 $as_echo "yes" >&6; }
   24454 else
   24455   $as_echo "$as_me: failed program was:" >&5
   24456 sed 's/^/| /' conftest.$ac_ext >&5
   24457 
   24458 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   24459 $as_echo "no" >&6; }
   24460 
   24461 cat >>confdefs.h <<\_ACEOF
   24462 #define socklen_t unsigned int
   24463 _ACEOF
   24464 
   24465 
   24466 fi
   24467 
   24468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24469 
   24470 { $as_echo "$as_me:$LINENO: checking whether our compiler supports __func__" >&5
   24471 $as_echo_n "checking whether our compiler supports __func__... " >&6; }
   24472 cat >conftest.$ac_ext <<_ACEOF
   24473 /* confdefs.h.  */
   24474 _ACEOF
   24475 cat confdefs.h >>conftest.$ac_ext
   24476 cat >>conftest.$ac_ext <<_ACEOF
   24477 /* end confdefs.h.  */
   24478 
   24479 int
   24480 main ()
   24481 {
   24482  const char *cp = __func__;
   24483   ;
   24484   return 0;
   24485 }
   24486 _ACEOF
   24487 rm -f conftest.$ac_objext
   24488 if { (ac_try="$ac_compile"
   24489 case "(($ac_try" in
   24490   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   24491   *) ac_try_echo=$ac_try;;
   24492 esac
   24493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   24494 $as_echo "$ac_try_echo") >&5
   24495   (eval "$ac_compile") 2>conftest.er1
   24496   ac_status=$?
   24497   grep -v '^ *+' conftest.er1 >conftest.err
   24498   rm -f conftest.er1
   24499   cat conftest.err >&5
   24500   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24501   (exit $ac_status); } && {
   24502 	 test -z "$ac_c_werror_flag" ||
   24503 	 test ! -s conftest.err
   24504        } && test -s conftest.$ac_objext; then
   24505   { $as_echo "$as_me:$LINENO: result: yes" >&5
   24506 $as_echo "yes" >&6; }
   24507 else
   24508   $as_echo "$as_me: failed program was:" >&5
   24509 sed 's/^/| /' conftest.$ac_ext >&5
   24510 
   24511 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   24512 $as_echo "no" >&6; }
   24513  { $as_echo "$as_me:$LINENO: checking whether our compiler supports __FUNCTION__" >&5
   24514 $as_echo_n "checking whether our compiler supports __FUNCTION__... " >&6; }
   24515  cat >conftest.$ac_ext <<_ACEOF
   24516 /* confdefs.h.  */
   24517 _ACEOF
   24518 cat confdefs.h >>conftest.$ac_ext
   24519 cat >>conftest.$ac_ext <<_ACEOF
   24520 /* end confdefs.h.  */
   24521 
   24522 int
   24523 main ()
   24524 {
   24525  const char *cp = __FUNCTION__;
   24526   ;
   24527   return 0;
   24528 }
   24529 _ACEOF
   24530 rm -f conftest.$ac_objext
   24531 if { (ac_try="$ac_compile"
   24532 case "(($ac_try" in
   24533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   24534   *) ac_try_echo=$ac_try;;
   24535 esac
   24536 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   24537 $as_echo "$ac_try_echo") >&5
   24538   (eval "$ac_compile") 2>conftest.er1
   24539   ac_status=$?
   24540   grep -v '^ *+' conftest.er1 >conftest.err
   24541   rm -f conftest.er1
   24542   cat conftest.err >&5
   24543   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24544   (exit $ac_status); } && {
   24545 	 test -z "$ac_c_werror_flag" ||
   24546 	 test ! -s conftest.err
   24547        } && test -s conftest.$ac_objext; then
   24548   { $as_echo "$as_me:$LINENO: result: yes" >&5
   24549 $as_echo "yes" >&6; }
   24550 
   24551 cat >>confdefs.h <<\_ACEOF
   24552 #define __func__ __FUNCTION__
   24553 _ACEOF
   24554 
   24555 else
   24556   $as_echo "$as_me: failed program was:" >&5
   24557 sed 's/^/| /' conftest.$ac_ext >&5
   24558 
   24559 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   24560 $as_echo "no" >&6; }
   24561 
   24562 cat >>confdefs.h <<\_ACEOF
   24563 #define __func__ __FILE__
   24564 _ACEOF
   24565 
   24566 fi
   24567 
   24568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24569 fi
   24570 
   24571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24572 
   24573 
   24574 # Add some more warnings which we use in development but not in the
   24575 # released versions.  (Some relevant gcc versions can't handle these.)
   24576 if test x$enable_gcc_warnings = xyes; then
   24577 
   24578   cat >conftest.$ac_ext <<_ACEOF
   24579 /* confdefs.h.  */
   24580 _ACEOF
   24581 cat confdefs.h >>conftest.$ac_ext
   24582 cat >>conftest.$ac_ext <<_ACEOF
   24583 /* end confdefs.h.  */
   24584 
   24585 int
   24586 main ()
   24587 {
   24588 
   24589 #if !defined(__GNUC__) || (__GNUC__ < 4)
   24590 #error
   24591 #endif
   24592   ;
   24593   return 0;
   24594 }
   24595 _ACEOF
   24596 rm -f conftest.$ac_objext
   24597 if { (ac_try="$ac_compile"
   24598 case "(($ac_try" in
   24599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   24600   *) ac_try_echo=$ac_try;;
   24601 esac
   24602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   24603 $as_echo "$ac_try_echo") >&5
   24604   (eval "$ac_compile") 2>conftest.er1
   24605   ac_status=$?
   24606   grep -v '^ *+' conftest.er1 >conftest.err
   24607   rm -f conftest.er1
   24608   cat conftest.err >&5
   24609   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24610   (exit $ac_status); } && {
   24611 	 test -z "$ac_c_werror_flag" ||
   24612 	 test ! -s conftest.err
   24613        } && test -s conftest.$ac_objext; then
   24614   have_gcc4=yes
   24615 else
   24616   $as_echo "$as_me: failed program was:" >&5
   24617 sed 's/^/| /' conftest.$ac_ext >&5
   24618 
   24619 	have_gcc4=no
   24620 fi
   24621 
   24622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24623 
   24624   cat >conftest.$ac_ext <<_ACEOF
   24625 /* confdefs.h.  */
   24626 _ACEOF
   24627 cat confdefs.h >>conftest.$ac_ext
   24628 cat >>conftest.$ac_ext <<_ACEOF
   24629 /* end confdefs.h.  */
   24630 
   24631 int
   24632 main ()
   24633 {
   24634 
   24635 #if !defined(__GNUC__) || (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 2)
   24636 #error
   24637 #endif
   24638   ;
   24639   return 0;
   24640 }
   24641 _ACEOF
   24642 rm -f conftest.$ac_objext
   24643 if { (ac_try="$ac_compile"
   24644 case "(($ac_try" in
   24645   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   24646   *) ac_try_echo=$ac_try;;
   24647 esac
   24648 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   24649 $as_echo "$ac_try_echo") >&5
   24650   (eval "$ac_compile") 2>conftest.er1
   24651   ac_status=$?
   24652   grep -v '^ *+' conftest.er1 >conftest.err
   24653   rm -f conftest.er1
   24654   cat conftest.err >&5
   24655   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24656   (exit $ac_status); } && {
   24657 	 test -z "$ac_c_werror_flag" ||
   24658 	 test ! -s conftest.err
   24659        } && test -s conftest.$ac_objext; then
   24660   have_gcc42=yes
   24661 else
   24662   $as_echo "$as_me: failed program was:" >&5
   24663 sed 's/^/| /' conftest.$ac_ext >&5
   24664 
   24665 	have_gcc42=no
   24666 fi
   24667 
   24668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24669 
   24670   CFLAGS="$CFLAGS -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat=2 -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch-enum -Werror"
   24671   CFLAGS="$CFLAGS -Wno-unused-parameter -Wno-sign-compare -Wstrict-aliasing"
   24672 
   24673   if test x$have_gcc4 = xyes ; then
   24674     # These warnings break gcc 3.3.5 and work on gcc 4.0.2
   24675     CFLAGS="$CFLAGS -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement"
   24676     #CFLAGS="$CFLAGS -Wold-style-definition"
   24677   fi
   24678 
   24679   if test x$have_gcc42 = xyes ; then
   24680     # These warnings break gcc 4.0.2 and work on gcc 4.2
   24681     CFLAGS="$CFLAGS -Waddress -Wnormalized=id -Woverride-init"
   24682   fi
   24683 
   24684 ##This will break the world on some 64-bit architectures
   24685 # CFLAGS="$CFLAGS -Winline"
   24686 
   24687 fi
   24688 
   24689 ac_config_files="$ac_config_files Makefile test/Makefile sample/Makefile"
   24690 
   24691 cat >confcache <<\_ACEOF
   24692 # This file is a shell script that caches the results of configure
   24693 # tests run on this system so they can be shared between configure
   24694 # scripts and configure runs, see configure's option --config-cache.
   24695 # It is not useful on other systems.  If it contains results you don't
   24696 # want to keep, you may remove or edit it.
   24697 #
   24698 # config.status only pays attention to the cache file if you give it
   24699 # the --recheck option to rerun configure.
   24700 #
   24701 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   24702 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   24703 # following values.
   24704 
   24705 _ACEOF
   24706 
   24707 # The following way of writing the cache mishandles newlines in values,
   24708 # but we know of no workaround that is simple, portable, and efficient.
   24709 # So, we kill variables containing newlines.
   24710 # Ultrix sh set writes to stderr and can't be redirected directly,
   24711 # and sets the high bit in the cache file unless we assign to the vars.
   24712 (
   24713   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   24714     eval ac_val=\$$ac_var
   24715     case $ac_val in #(
   24716     *${as_nl}*)
   24717       case $ac_var in #(
   24718       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   24719 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   24720       esac
   24721       case $ac_var in #(
   24722       _ | IFS | as_nl) ;; #(
   24723       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   24724       *) $as_unset $ac_var ;;
   24725       esac ;;
   24726     esac
   24727   done
   24728 
   24729   (set) 2>&1 |
   24730     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   24731     *${as_nl}ac_space=\ *)
   24732       # `set' does not quote correctly, so add quotes (double-quote
   24733       # substitution turns \\\\ into \\, and sed turns \\ into \).
   24734       sed -n \
   24735 	"s/'/'\\\\''/g;
   24736 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   24737       ;; #(
   24738     *)
   24739       # `set' quotes correctly as required by POSIX, so do not add quotes.
   24740       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   24741       ;;
   24742     esac |
   24743     sort
   24744 ) |
   24745   sed '
   24746      /^ac_cv_env_/b end
   24747      t clear
   24748      :clear
   24749      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   24750      t end
   24751      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   24752      :end' >>confcache
   24753 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   24754   if test -w "$cache_file"; then
   24755     test "x$cache_file" != "x/dev/null" &&
   24756       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   24757 $as_echo "$as_me: updating cache $cache_file" >&6;}
   24758     cat confcache >$cache_file
   24759   else
   24760     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   24761 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   24762   fi
   24763 fi
   24764 rm -f confcache
   24765 
   24766 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   24767 # Let make expand exec_prefix.
   24768 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   24769 
   24770 DEFS=-DHAVE_CONFIG_H
   24771 
   24772 ac_libobjs=
   24773 ac_ltlibobjs=
   24774 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   24775   # 1. Remove the extension, and $U if already installed.
   24776   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   24777   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   24778   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   24779   #    will be set to the directory where LIBOBJS objects are built.
   24780   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   24781   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   24782 done
   24783 LIBOBJS=$ac_libobjs
   24784 
   24785 LTLIBOBJS=$ac_ltlibobjs
   24786 
   24787 
   24788 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   24789   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   24790 Usually this means the macro was only invoked conditionally." >&5
   24791 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   24792 Usually this means the macro was only invoked conditionally." >&2;}
   24793    { (exit 1); exit 1; }; }
   24794 fi
   24795 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   24796   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   24797 Usually this means the macro was only invoked conditionally." >&5
   24798 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   24799 Usually this means the macro was only invoked conditionally." >&2;}
   24800    { (exit 1); exit 1; }; }
   24801 fi
   24802 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   24803   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   24804 Usually this means the macro was only invoked conditionally." >&5
   24805 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   24806 Usually this means the macro was only invoked conditionally." >&2;}
   24807    { (exit 1); exit 1; }; }
   24808 fi
   24809 if test -z "${BUILD_WIN32_TRUE}" && test -z "${BUILD_WIN32_FALSE}"; then
   24810   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_WIN32\" was never defined.
   24811 Usually this means the macro was only invoked conditionally." >&5
   24812 $as_echo "$as_me: error: conditional \"BUILD_WIN32\" was never defined.
   24813 Usually this means the macro was only invoked conditionally." >&2;}
   24814    { (exit 1); exit 1; }; }
   24815 fi
   24816 
   24817 : ${CONFIG_STATUS=./config.status}
   24818 ac_write_fail=0
   24819 ac_clean_files_save=$ac_clean_files
   24820 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   24821 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   24822 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   24823 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24824 #! $SHELL
   24825 # Generated by $as_me.
   24826 # Run this file to recreate the current configuration.
   24827 # Compiler output produced by configure, useful for debugging
   24828 # configure, is in config.log if it exists.
   24829 
   24830 debug=false
   24831 ac_cs_recheck=false
   24832 ac_cs_silent=false
   24833 SHELL=\${CONFIG_SHELL-$SHELL}
   24834 _ACEOF
   24835 
   24836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24837 ## --------------------- ##
   24838 ## M4sh Initialization.  ##
   24839 ## --------------------- ##
   24840 
   24841 # Be more Bourne compatible
   24842 DUALCASE=1; export DUALCASE # for MKS sh
   24843 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   24844   emulate sh
   24845   NULLCMD=:
   24846   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   24847   # is contrary to our usage.  Disable this feature.
   24848   alias -g '${1+"$@"}'='"$@"'
   24849   setopt NO_GLOB_SUBST
   24850 else
   24851   case `(set -o) 2>/dev/null` in
   24852   *posix*) set -o posix ;;
   24853 esac
   24854 
   24855 fi
   24856 
   24857 
   24858 
   24859 
   24860 # PATH needs CR
   24861 # Avoid depending upon Character Ranges.
   24862 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   24863 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   24864 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   24865 as_cr_digits='0123456789'
   24866 as_cr_alnum=$as_cr_Letters$as_cr_digits
   24867 
   24868 as_nl='
   24869 '
   24870 export as_nl
   24871 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   24872 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   24873 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   24874 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   24875 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   24876   as_echo='printf %s\n'
   24877   as_echo_n='printf %s'
   24878 else
   24879   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   24880     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   24881     as_echo_n='/usr/ucb/echo -n'
   24882   else
   24883     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   24884     as_echo_n_body='eval
   24885       arg=$1;
   24886       case $arg in
   24887       *"$as_nl"*)
   24888 	expr "X$arg" : "X\\(.*\\)$as_nl";
   24889 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   24890       esac;
   24891       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   24892     '
   24893     export as_echo_n_body
   24894     as_echo_n='sh -c $as_echo_n_body as_echo'
   24895   fi
   24896   export as_echo_body
   24897   as_echo='sh -c $as_echo_body as_echo'
   24898 fi
   24899 
   24900 # The user is always right.
   24901 if test "${PATH_SEPARATOR+set}" != set; then
   24902   PATH_SEPARATOR=:
   24903   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   24904     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   24905       PATH_SEPARATOR=';'
   24906   }
   24907 fi
   24908 
   24909 # Support unset when possible.
   24910 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   24911   as_unset=unset
   24912 else
   24913   as_unset=false
   24914 fi
   24915 
   24916 
   24917 # IFS
   24918 # We need space, tab and new line, in precisely that order.  Quoting is
   24919 # there to prevent editors from complaining about space-tab.
   24920 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   24921 # splitting by setting IFS to empty value.)
   24922 IFS=" ""	$as_nl"
   24923 
   24924 # Find who we are.  Look in the path if we contain no directory separator.
   24925 case $0 in
   24926   *[\\/]* ) as_myself=$0 ;;
   24927   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   24928 for as_dir in $PATH
   24929 do
   24930   IFS=$as_save_IFS
   24931   test -z "$as_dir" && as_dir=.
   24932   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   24933 done
   24934 IFS=$as_save_IFS
   24935 
   24936      ;;
   24937 esac
   24938 # We did not find ourselves, most probably we were run as `sh COMMAND'
   24939 # in which case we are not to be found in the path.
   24940 if test "x$as_myself" = x; then
   24941   as_myself=$0
   24942 fi
   24943 if test ! -f "$as_myself"; then
   24944   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   24945   { (exit 1); exit 1; }
   24946 fi
   24947 
   24948 # Work around bugs in pre-3.0 UWIN ksh.
   24949 for as_var in ENV MAIL MAILPATH
   24950 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   24951 done
   24952 PS1='$ '
   24953 PS2='> '
   24954 PS4='+ '
   24955 
   24956 # NLS nuisances.
   24957 LC_ALL=C
   24958 export LC_ALL
   24959 LANGUAGE=C
   24960 export LANGUAGE
   24961 
   24962 # Required to use basename.
   24963 if expr a : '\(a\)' >/dev/null 2>&1 &&
   24964    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   24965   as_expr=expr
   24966 else
   24967   as_expr=false
   24968 fi
   24969 
   24970 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   24971   as_basename=basename
   24972 else
   24973   as_basename=false
   24974 fi
   24975 
   24976 
   24977 # Name of the executable.
   24978 as_me=`$as_basename -- "$0" ||
   24979 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   24980 	 X"$0" : 'X\(//\)$' \| \
   24981 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   24982 $as_echo X/"$0" |
   24983     sed '/^.*\/\([^/][^/]*\)\/*$/{
   24984 	    s//\1/
   24985 	    q
   24986 	  }
   24987 	  /^X\/\(\/\/\)$/{
   24988 	    s//\1/
   24989 	    q
   24990 	  }
   24991 	  /^X\/\(\/\).*/{
   24992 	    s//\1/
   24993 	    q
   24994 	  }
   24995 	  s/.*/./; q'`
   24996 
   24997 # CDPATH.
   24998 $as_unset CDPATH
   24999 
   25000 
   25001 
   25002   as_lineno_1=$LINENO
   25003   as_lineno_2=$LINENO
   25004   test "x$as_lineno_1" != "x$as_lineno_2" &&
   25005   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   25006 
   25007   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   25008   # uniformly replaced by the line number.  The first 'sed' inserts a
   25009   # line-number line after each line using $LINENO; the second 'sed'
   25010   # does the real work.  The second script uses 'N' to pair each
   25011   # line-number line with the line containing $LINENO, and appends
   25012   # trailing '-' during substitution so that $LINENO is not a special
   25013   # case at line end.
   25014   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   25015   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   25016   # E. McMahon (1931-1989) for sed's syntax.  :-)
   25017   sed -n '
   25018     p
   25019     /[$]LINENO/=
   25020   ' <$as_myself |
   25021     sed '
   25022       s/[$]LINENO.*/&-/
   25023       t lineno
   25024       b
   25025       :lineno
   25026       N
   25027       :loop
   25028       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   25029       t loop
   25030       s/-\n.*//
   25031     ' >$as_me.lineno &&
   25032   chmod +x "$as_me.lineno" ||
   25033     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   25034    { (exit 1); exit 1; }; }
   25035 
   25036   # Don't try to exec as it changes $[0], causing all sort of problems
   25037   # (the dirname of $[0] is not the place where we might find the
   25038   # original and so on.  Autoconf is especially sensitive to this).
   25039   . "./$as_me.lineno"
   25040   # Exit status is that of the last command.
   25041   exit
   25042 }
   25043 
   25044 
   25045 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   25046   as_dirname=dirname
   25047 else
   25048   as_dirname=false
   25049 fi
   25050 
   25051 ECHO_C= ECHO_N= ECHO_T=
   25052 case `echo -n x` in
   25053 -n*)
   25054   case `echo 'x\c'` in
   25055   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   25056   *)   ECHO_C='\c';;
   25057   esac;;
   25058 *)
   25059   ECHO_N='-n';;
   25060 esac
   25061 if expr a : '\(a\)' >/dev/null 2>&1 &&
   25062    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   25063   as_expr=expr
   25064 else
   25065   as_expr=false
   25066 fi
   25067 
   25068 rm -f conf$$ conf$$.exe conf$$.file
   25069 if test -d conf$$.dir; then
   25070   rm -f conf$$.dir/conf$$.file
   25071 else
   25072   rm -f conf$$.dir
   25073   mkdir conf$$.dir 2>/dev/null
   25074 fi
   25075 if (echo >conf$$.file) 2>/dev/null; then
   25076   if ln -s conf$$.file conf$$ 2>/dev/null; then
   25077     as_ln_s='ln -s'
   25078     # ... but there are two gotchas:
   25079     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   25080     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   25081     # In both cases, we have to default to `cp -p'.
   25082     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   25083       as_ln_s='cp -p'
   25084   elif ln conf$$.file conf$$ 2>/dev/null; then
   25085     as_ln_s=ln
   25086   else
   25087     as_ln_s='cp -p'
   25088   fi
   25089 else
   25090   as_ln_s='cp -p'
   25091 fi
   25092 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   25093 rmdir conf$$.dir 2>/dev/null
   25094 
   25095 if mkdir -p . 2>/dev/null; then
   25096   as_mkdir_p=:
   25097 else
   25098   test -d ./-p && rmdir ./-p
   25099   as_mkdir_p=false
   25100 fi
   25101 
   25102 if test -x / >/dev/null 2>&1; then
   25103   as_test_x='test -x'
   25104 else
   25105   if ls -dL / >/dev/null 2>&1; then
   25106     as_ls_L_option=L
   25107   else
   25108     as_ls_L_option=
   25109   fi
   25110   as_test_x='
   25111     eval sh -c '\''
   25112       if test -d "$1"; then
   25113 	test -d "$1/.";
   25114       else
   25115 	case $1 in
   25116 	-*)set "./$1";;
   25117 	esac;
   25118 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   25119 	???[sx]*):;;*)false;;esac;fi
   25120     '\'' sh
   25121   '
   25122 fi
   25123 as_executable_p=$as_test_x
   25124 
   25125 # Sed expression to map a string onto a valid CPP name.
   25126 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   25127 
   25128 # Sed expression to map a string onto a valid variable name.
   25129 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   25130 
   25131 
   25132 exec 6>&1
   25133 
   25134 # Save the log message, to keep $[0] and so on meaningful, and to
   25135 # report actual input values of CONFIG_FILES etc. instead of their
   25136 # values after options handling.
   25137 ac_log="
   25138 This file was extended by $as_me, which was
   25139 generated by GNU Autoconf 2.63.  Invocation command line was
   25140 
   25141   CONFIG_FILES    = $CONFIG_FILES
   25142   CONFIG_HEADERS  = $CONFIG_HEADERS
   25143   CONFIG_LINKS    = $CONFIG_LINKS
   25144   CONFIG_COMMANDS = $CONFIG_COMMANDS
   25145   $ $0 $@
   25146 
   25147 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   25148 "
   25149 
   25150 _ACEOF
   25151 
   25152 case $ac_config_files in *"
   25153 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   25154 esac
   25155 
   25156 case $ac_config_headers in *"
   25157 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   25158 esac
   25159 
   25160 
   25161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25162 # Files that config.status was made for.
   25163 config_files="$ac_config_files"
   25164 config_headers="$ac_config_headers"
   25165 config_commands="$ac_config_commands"
   25166 
   25167 _ACEOF
   25168 
   25169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25170 ac_cs_usage="\
   25171 \`$as_me' instantiates files from templates according to the
   25172 current configuration.
   25173 
   25174 Usage: $0 [OPTION]... [FILE]...
   25175 
   25176   -h, --help       print this help, then exit
   25177   -V, --version    print version number and configuration settings, then exit
   25178   -q, --quiet, --silent
   25179                    do not print progress messages
   25180   -d, --debug      don't remove temporary files
   25181       --recheck    update $as_me by reconfiguring in the same conditions
   25182       --file=FILE[:TEMPLATE]
   25183                    instantiate the configuration file FILE
   25184       --header=FILE[:TEMPLATE]
   25185                    instantiate the configuration header FILE
   25186 
   25187 Configuration files:
   25188 $config_files
   25189 
   25190 Configuration headers:
   25191 $config_headers
   25192 
   25193 Configuration commands:
   25194 $config_commands
   25195 
   25196 Report bugs to <bug-autoconf (at] gnu.org>."
   25197 
   25198 _ACEOF
   25199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25200 ac_cs_version="\\
   25201 config.status
   25202 configured by $0, generated by GNU Autoconf 2.63,
   25203   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   25204 
   25205 Copyright (C) 2008 Free Software Foundation, Inc.
   25206 This config.status script is free software; the Free Software Foundation
   25207 gives unlimited permission to copy, distribute and modify it."
   25208 
   25209 ac_pwd='$ac_pwd'
   25210 srcdir='$srcdir'
   25211 INSTALL='$INSTALL'
   25212 MKDIR_P='$MKDIR_P'
   25213 AWK='$AWK'
   25214 test -n "\$AWK" || AWK=awk
   25215 _ACEOF
   25216 
   25217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25218 # The default lists apply if the user does not specify any file.
   25219 ac_need_defaults=:
   25220 while test $# != 0
   25221 do
   25222   case $1 in
   25223   --*=*)
   25224     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   25225     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   25226     ac_shift=:
   25227     ;;
   25228   *)
   25229     ac_option=$1
   25230     ac_optarg=$2
   25231     ac_shift=shift
   25232     ;;
   25233   esac
   25234 
   25235   case $ac_option in
   25236   # Handling of the options.
   25237   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   25238     ac_cs_recheck=: ;;
   25239   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   25240     $as_echo "$ac_cs_version"; exit ;;
   25241   --debug | --debu | --deb | --de | --d | -d )
   25242     debug=: ;;
   25243   --file | --fil | --fi | --f )
   25244     $ac_shift
   25245     case $ac_optarg in
   25246     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   25247     esac
   25248     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   25249     ac_need_defaults=false;;
   25250   --header | --heade | --head | --hea )
   25251     $ac_shift
   25252     case $ac_optarg in
   25253     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   25254     esac
   25255     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   25256     ac_need_defaults=false;;
   25257   --he | --h)
   25258     # Conflict between --help and --header
   25259     { $as_echo "$as_me: error: ambiguous option: $1
   25260 Try \`$0 --help' for more information." >&2
   25261    { (exit 1); exit 1; }; };;
   25262   --help | --hel | -h )
   25263     $as_echo "$ac_cs_usage"; exit ;;
   25264   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   25265   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   25266     ac_cs_silent=: ;;
   25267 
   25268   # This is an error.
   25269   -*) { $as_echo "$as_me: error: unrecognized option: $1
   25270 Try \`$0 --help' for more information." >&2
   25271    { (exit 1); exit 1; }; } ;;
   25272 
   25273   *) ac_config_targets="$ac_config_targets $1"
   25274      ac_need_defaults=false ;;
   25275 
   25276   esac
   25277   shift
   25278 done
   25279 
   25280 ac_configure_extra_args=
   25281 
   25282 if $ac_cs_silent; then
   25283   exec 6>/dev/null
   25284   ac_configure_extra_args="$ac_configure_extra_args --silent"
   25285 fi
   25286 
   25287 _ACEOF
   25288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25289 if \$ac_cs_recheck; then
   25290   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   25291   shift
   25292   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   25293   CONFIG_SHELL='$SHELL'
   25294   export CONFIG_SHELL
   25295   exec "\$@"
   25296 fi
   25297 
   25298 _ACEOF
   25299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25300 exec 5>>config.log
   25301 {
   25302   echo
   25303   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   25304 ## Running $as_me. ##
   25305 _ASBOX
   25306   $as_echo "$ac_log"
   25307 } >&5
   25308 
   25309 _ACEOF
   25310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25311 #
   25312 # INIT-COMMANDS
   25313 #
   25314 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   25315 
   25316 _ACEOF
   25317 
   25318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25319 
   25320 # Handling of arguments.
   25321 for ac_config_target in $ac_config_targets
   25322 do
   25323   case $ac_config_target in
   25324     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   25325     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   25326     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   25327     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   25328     "sample/Makefile") CONFIG_FILES="$CONFIG_FILES sample/Makefile" ;;
   25329 
   25330   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   25331 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   25332    { (exit 1); exit 1; }; };;
   25333   esac
   25334 done
   25335 
   25336 
   25337 # If the user did not use the arguments to specify the items to instantiate,
   25338 # then the envvar interface is used.  Set only those that are not.
   25339 # We use the long form for the default assignment because of an extremely
   25340 # bizarre bug on SunOS 4.1.3.
   25341 if $ac_need_defaults; then
   25342   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   25343   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   25344   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   25345 fi
   25346 
   25347 # Have a temporary directory for convenience.  Make it in the build tree
   25348 # simply because there is no reason against having it here, and in addition,
   25349 # creating and moving files from /tmp can sometimes cause problems.
   25350 # Hook for its removal unless debugging.
   25351 # Note that there is a small window in which the directory will not be cleaned:
   25352 # after its creation but before its name has been assigned to `$tmp'.
   25353 $debug ||
   25354 {
   25355   tmp=
   25356   trap 'exit_status=$?
   25357   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   25358 ' 0
   25359   trap '{ (exit 1); exit 1; }' 1 2 13 15
   25360 }
   25361 # Create a (secure) tmp directory for tmp files.
   25362 
   25363 {
   25364   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   25365   test -n "$tmp" && test -d "$tmp"
   25366 }  ||
   25367 {
   25368   tmp=./conf$$-$RANDOM
   25369   (umask 077 && mkdir "$tmp")
   25370 } ||
   25371 {
   25372    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   25373    { (exit 1); exit 1; }
   25374 }
   25375 
   25376 # Set up the scripts for CONFIG_FILES section.
   25377 # No need to generate them if there are no CONFIG_FILES.
   25378 # This happens for instance with `./config.status config.h'.
   25379 if test -n "$CONFIG_FILES"; then
   25380 
   25381 
   25382 ac_cr='
'
   25384 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   25385 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   25386   ac_cs_awk_cr='\\r'
   25387 else
   25388   ac_cs_awk_cr=$ac_cr
   25389 fi
   25390 
   25391 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   25392 _ACEOF
   25393 
   25394 
   25395 {
   25396   echo "cat >conf$$subs.awk <<_ACEOF" &&
   25397   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   25398   echo "_ACEOF"
   25399 } >conf$$subs.sh ||
   25400   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   25401 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   25402    { (exit 1); exit 1; }; }
   25403 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   25404 ac_delim='%!_!# '
   25405 for ac_last_try in false false false false false :; do
   25406   . ./conf$$subs.sh ||
   25407     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   25408 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   25409    { (exit 1); exit 1; }; }
   25410 
   25411   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   25412   if test $ac_delim_n = $ac_delim_num; then
   25413     break
   25414   elif $ac_last_try; then
   25415     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   25416 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   25417    { (exit 1); exit 1; }; }
   25418   else
   25419     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25420   fi
   25421 done
   25422 rm -f conf$$subs.sh
   25423 
   25424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25425 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   25426 _ACEOF
   25427 sed -n '
   25428 h
   25429 s/^/S["/; s/!.*/"]=/
   25430 p
   25431 g
   25432 s/^[^!]*!//
   25433 :repl
   25434 t repl
   25435 s/'"$ac_delim"'$//
   25436 t delim
   25437 :nl
   25438 h
   25439 s/\(.\{148\}\).*/\1/
   25440 t more1
   25441 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   25442 p
   25443 n
   25444 b repl
   25445 :more1
   25446 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   25447 p
   25448 g
   25449 s/.\{148\}//
   25450 t nl
   25451 :delim
   25452 h
   25453 s/\(.\{148\}\).*/\1/
   25454 t more2
   25455 s/["\\]/\\&/g; s/^/"/; s/$/"/
   25456 p
   25457 b
   25458 :more2
   25459 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   25460 p
   25461 g
   25462 s/.\{148\}//
   25463 t delim
   25464 ' <conf$$subs.awk | sed '
   25465 /^[^""]/{
   25466   N
   25467   s/\n//
   25468 }
   25469 ' >>$CONFIG_STATUS || ac_write_fail=1
   25470 rm -f conf$$subs.awk
   25471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25472 _ACAWK
   25473 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   25474   for (key in S) S_is_set[key] = 1
   25475   FS = ""
   25476 
   25477 }
   25478 {
   25479   line = $ 0
   25480   nfields = split(line, field, "@")
   25481   substed = 0
   25482   len = length(field[1])
   25483   for (i = 2; i < nfields; i++) {
   25484     key = field[i]
   25485     keylen = length(key)
   25486     if (S_is_set[key]) {
   25487       value = S[key]
   25488       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   25489       len += length(value) + length(field[++i])
   25490       substed = 1
   25491     } else
   25492       len += 1 + keylen
   25493   }
   25494 
   25495   print line
   25496 }
   25497 
   25498 _ACAWK
   25499 _ACEOF
   25500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25501 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   25502   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   25503 else
   25504   cat
   25505 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   25506   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   25507 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   25508    { (exit 1); exit 1; }; }
   25509 _ACEOF
   25510 
   25511 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   25512 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   25513 # trailing colons and then remove the whole line if VPATH becomes empty
   25514 # (actually we leave an empty line to preserve line numbers).
   25515 if test "x$srcdir" = x.; then
   25516   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   25517 s/:*\$(srcdir):*/:/
   25518 s/:*\${srcdir}:*/:/
   25519 s/:*@srcdir@:*/:/
   25520 s/^\([^=]*=[	 ]*\):*/\1/
   25521 s/:*$//
   25522 s/^[^=]*=[	 ]*$//
   25523 }'
   25524 fi
   25525 
   25526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25527 fi # test -n "$CONFIG_FILES"
   25528 
   25529 # Set up the scripts for CONFIG_HEADERS section.
   25530 # No need to generate them if there are no CONFIG_HEADERS.
   25531 # This happens for instance with `./config.status Makefile'.
   25532 if test -n "$CONFIG_HEADERS"; then
   25533 cat >"$tmp/defines.awk" <<\_ACAWK ||
   25534 BEGIN {
   25535 _ACEOF
   25536 
   25537 # Transform confdefs.h into an awk script `defines.awk', embedded as
   25538 # here-document in config.status, that substitutes the proper values into
   25539 # config.h.in to produce config.h.
   25540 
   25541 # Create a delimiter string that does not exist in confdefs.h, to ease
   25542 # handling of long lines.
   25543 ac_delim='%!_!# '
   25544 for ac_last_try in false false :; do
   25545   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   25546   if test -z "$ac_t"; then
   25547     break
   25548   elif $ac_last_try; then
   25549     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   25550 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   25551    { (exit 1); exit 1; }; }
   25552   else
   25553     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25554   fi
   25555 done
   25556 
   25557 # For the awk script, D is an array of macro values keyed by name,
   25558 # likewise P contains macro parameters if any.  Preserve backslash
   25559 # newline sequences.
   25560 
   25561 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   25562 sed -n '
   25563 s/.\{148\}/&'"$ac_delim"'/g
   25564 t rset
   25565 :rset
   25566 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   25567 t def
   25568 d
   25569 :def
   25570 s/\\$//
   25571 t bsnl
   25572 s/["\\]/\\&/g
   25573 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   25574 D["\1"]=" \3"/p
   25575 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   25576 d
   25577 :bsnl
   25578 s/["\\]/\\&/g
   25579 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   25580 D["\1"]=" \3\\\\\\n"\\/p
   25581 t cont
   25582 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   25583 t cont
   25584 d
   25585 :cont
   25586 n
   25587 s/.\{148\}/&'"$ac_delim"'/g
   25588 t clear
   25589 :clear
   25590 s/\\$//
   25591 t bsnlc
   25592 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   25593 d
   25594 :bsnlc
   25595 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   25596 b cont
   25597 ' <confdefs.h | sed '
   25598 s/'"$ac_delim"'/"\\\
   25599 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   25600 
   25601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25602   for (key in D) D_is_set[key] = 1
   25603   FS = ""
   25604 }
   25605 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   25606   line = \$ 0
   25607   split(line, arg, " ")
   25608   if (arg[1] == "#") {
   25609     defundef = arg[2]
   25610     mac1 = arg[3]
   25611   } else {
   25612     defundef = substr(arg[1], 2)
   25613     mac1 = arg[2]
   25614   }
   25615   split(mac1, mac2, "(") #)
   25616   macro = mac2[1]
   25617   prefix = substr(line, 1, index(line, defundef) - 1)
   25618   if (D_is_set[macro]) {
   25619     # Preserve the white space surrounding the "#".
   25620     print prefix "define", macro P[macro] D[macro]
   25621     next
   25622   } else {
   25623     # Replace #undef with comments.  This is necessary, for example,
   25624     # in the case of _POSIX_SOURCE, which is predefined and required
   25625     # on some systems where configure will not decide to define it.
   25626     if (defundef == "undef") {
   25627       print "/*", prefix defundef, macro, "*/"
   25628       next
   25629     }
   25630   }
   25631 }
   25632 { print }
   25633 _ACAWK
   25634 _ACEOF
   25635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25636   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   25637 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   25638    { (exit 1); exit 1; }; }
   25639 fi # test -n "$CONFIG_HEADERS"
   25640 
   25641 
   25642 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   25643 shift
   25644 for ac_tag
   25645 do
   25646   case $ac_tag in
   25647   :[FHLC]) ac_mode=$ac_tag; continue;;
   25648   esac
   25649   case $ac_mode$ac_tag in
   25650   :[FHL]*:*);;
   25651   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   25652 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   25653    { (exit 1); exit 1; }; };;
   25654   :[FH]-) ac_tag=-:-;;
   25655   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   25656   esac
   25657   ac_save_IFS=$IFS
   25658   IFS=:
   25659   set x $ac_tag
   25660   IFS=$ac_save_IFS
   25661   shift
   25662   ac_file=$1
   25663   shift
   25664 
   25665   case $ac_mode in
   25666   :L) ac_source=$1;;
   25667   :[FH])
   25668     ac_file_inputs=
   25669     for ac_f
   25670     do
   25671       case $ac_f in
   25672       -) ac_f="$tmp/stdin";;
   25673       *) # Look for the file first in the build tree, then in the source tree
   25674 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   25675 	 # because $ac_f cannot contain `:'.
   25676 	 test -f "$ac_f" ||
   25677 	   case $ac_f in
   25678 	   [\\/$]*) false;;
   25679 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   25680 	   esac ||
   25681 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   25682 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   25683    { (exit 1); exit 1; }; };;
   25684       esac
   25685       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   25686       ac_file_inputs="$ac_file_inputs '$ac_f'"
   25687     done
   25688 
   25689     # Let's still pretend it is `configure' which instantiates (i.e., don't
   25690     # use $as_me), people would be surprised to read:
   25691     #    /* config.h.  Generated by config.status.  */
   25692     configure_input='Generated from '`
   25693 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   25694 	`' by configure.'
   25695     if test x"$ac_file" != x-; then
   25696       configure_input="$ac_file.  $configure_input"
   25697       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   25698 $as_echo "$as_me: creating $ac_file" >&6;}
   25699     fi
   25700     # Neutralize special characters interpreted by sed in replacement strings.
   25701     case $configure_input in #(
   25702     *\&* | *\|* | *\\* )
   25703        ac_sed_conf_input=`$as_echo "$configure_input" |
   25704        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   25705     *) ac_sed_conf_input=$configure_input;;
   25706     esac
   25707 
   25708     case $ac_tag in
   25709     *:-:* | *:-) cat >"$tmp/stdin" \
   25710       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   25711 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   25712    { (exit 1); exit 1; }; } ;;
   25713     esac
   25714     ;;
   25715   esac
   25716 
   25717   ac_dir=`$as_dirname -- "$ac_file" ||
   25718 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25719 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   25720 	 X"$ac_file" : 'X\(//\)$' \| \
   25721 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   25722 $as_echo X"$ac_file" |
   25723     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25724 	    s//\1/
   25725 	    q
   25726 	  }
   25727 	  /^X\(\/\/\)[^/].*/{
   25728 	    s//\1/
   25729 	    q
   25730 	  }
   25731 	  /^X\(\/\/\)$/{
   25732 	    s//\1/
   25733 	    q
   25734 	  }
   25735 	  /^X\(\/\).*/{
   25736 	    s//\1/
   25737 	    q
   25738 	  }
   25739 	  s/.*/./; q'`
   25740   { as_dir="$ac_dir"
   25741   case $as_dir in #(
   25742   -*) as_dir=./$as_dir;;
   25743   esac
   25744   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   25745     as_dirs=
   25746     while :; do
   25747       case $as_dir in #(
   25748       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   25749       *) as_qdir=$as_dir;;
   25750       esac
   25751       as_dirs="'$as_qdir' $as_dirs"
   25752       as_dir=`$as_dirname -- "$as_dir" ||
   25753 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25754 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   25755 	 X"$as_dir" : 'X\(//\)$' \| \
   25756 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   25757 $as_echo X"$as_dir" |
   25758     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25759 	    s//\1/
   25760 	    q
   25761 	  }
   25762 	  /^X\(\/\/\)[^/].*/{
   25763 	    s//\1/
   25764 	    q
   25765 	  }
   25766 	  /^X\(\/\/\)$/{
   25767 	    s//\1/
   25768 	    q
   25769 	  }
   25770 	  /^X\(\/\).*/{
   25771 	    s//\1/
   25772 	    q
   25773 	  }
   25774 	  s/.*/./; q'`
   25775       test -d "$as_dir" && break
   25776     done
   25777     test -z "$as_dirs" || eval "mkdir $as_dirs"
   25778   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   25779 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   25780    { (exit 1); exit 1; }; }; }
   25781   ac_builddir=.
   25782 
   25783 case "$ac_dir" in
   25784 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   25785 *)
   25786   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   25787   # A ".." for each directory in $ac_dir_suffix.
   25788   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   25789   case $ac_top_builddir_sub in
   25790   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   25791   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   25792   esac ;;
   25793 esac
   25794 ac_abs_top_builddir=$ac_pwd
   25795 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   25796 # for backward compatibility:
   25797 ac_top_builddir=$ac_top_build_prefix
   25798 
   25799 case $srcdir in
   25800   .)  # We are building in place.
   25801     ac_srcdir=.
   25802     ac_top_srcdir=$ac_top_builddir_sub
   25803     ac_abs_top_srcdir=$ac_pwd ;;
   25804   [\\/]* | ?:[\\/]* )  # Absolute name.
   25805     ac_srcdir=$srcdir$ac_dir_suffix;
   25806     ac_top_srcdir=$srcdir
   25807     ac_abs_top_srcdir=$srcdir ;;
   25808   *) # Relative name.
   25809     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   25810     ac_top_srcdir=$ac_top_build_prefix$srcdir
   25811     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   25812 esac
   25813 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   25814 
   25815 
   25816   case $ac_mode in
   25817   :F)
   25818   #
   25819   # CONFIG_FILE
   25820   #
   25821 
   25822   case $INSTALL in
   25823   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   25824   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   25825   esac
   25826   ac_MKDIR_P=$MKDIR_P
   25827   case $MKDIR_P in
   25828   [\\/$]* | ?:[\\/]* ) ;;
   25829   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   25830   esac
   25831 _ACEOF
   25832 
   25833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25834 # If the template does not know about datarootdir, expand it.
   25835 # FIXME: This hack should be removed a few years after 2.60.
   25836 ac_datarootdir_hack=; ac_datarootdir_seen=
   25837 
   25838 ac_sed_dataroot='
   25839 /datarootdir/ {
   25840   p
   25841   q
   25842 }
   25843 /@datadir@/p
   25844 /@docdir@/p
   25845 /@infodir@/p
   25846 /@localedir@/p
   25847 /@mandir@/p
   25848 '
   25849 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   25850 *datarootdir*) ac_datarootdir_seen=yes;;
   25851 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   25852   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   25853 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   25854 _ACEOF
   25855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25856   ac_datarootdir_hack='
   25857   s&@datadir@&$datadir&g
   25858   s&@docdir@&$docdir&g
   25859   s&@infodir@&$infodir&g
   25860   s&@localedir@&$localedir&g
   25861   s&@mandir@&$mandir&g
   25862     s&\\\${datarootdir}&$datarootdir&g' ;;
   25863 esac
   25864 _ACEOF
   25865 
   25866 # Neutralize VPATH when `$srcdir' = `.'.
   25867 # Shell code in configure.ac might set extrasub.
   25868 # FIXME: do we really want to maintain this feature?
   25869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25870 ac_sed_extra="$ac_vpsub
   25871 $extrasub
   25872 _ACEOF
   25873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25874 :t
   25875 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   25876 s|@configure_input@|$ac_sed_conf_input|;t t
   25877 s&@top_builddir@&$ac_top_builddir_sub&;t t
   25878 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   25879 s&@srcdir@&$ac_srcdir&;t t
   25880 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   25881 s&@top_srcdir@&$ac_top_srcdir&;t t
   25882 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   25883 s&@builddir@&$ac_builddir&;t t
   25884 s&@abs_builddir@&$ac_abs_builddir&;t t
   25885 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   25886 s&@INSTALL@&$ac_INSTALL&;t t
   25887 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   25888 $ac_datarootdir_hack
   25889 "
   25890 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   25891   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   25892 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   25893    { (exit 1); exit 1; }; }
   25894 
   25895 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   25896   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   25897   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   25898   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   25899 which seems to be undefined.  Please make sure it is defined." >&5
   25900 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   25901 which seems to be undefined.  Please make sure it is defined." >&2;}
   25902 
   25903   rm -f "$tmp/stdin"
   25904   case $ac_file in
   25905   -) cat "$tmp/out" && rm -f "$tmp/out";;
   25906   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   25907   esac \
   25908   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   25909 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   25910    { (exit 1); exit 1; }; }
   25911  ;;
   25912   :H)
   25913   #
   25914   # CONFIG_HEADER
   25915   #
   25916   if test x"$ac_file" != x-; then
   25917     {
   25918       $as_echo "/* $configure_input  */" \
   25919       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   25920     } >"$tmp/config.h" \
   25921       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   25922 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   25923    { (exit 1); exit 1; }; }
   25924     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   25925       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   25926 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   25927     else
   25928       rm -f "$ac_file"
   25929       mv "$tmp/config.h" "$ac_file" \
   25930 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   25931 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   25932    { (exit 1); exit 1; }; }
   25933     fi
   25934   else
   25935     $as_echo "/* $configure_input  */" \
   25936       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   25937       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   25938 $as_echo "$as_me: error: could not create -" >&2;}
   25939    { (exit 1); exit 1; }; }
   25940   fi
   25941 # Compute "$ac_file"'s index in $config_headers.
   25942 _am_arg="$ac_file"
   25943 _am_stamp_count=1
   25944 for _am_header in $config_headers :; do
   25945   case $_am_header in
   25946     $_am_arg | $_am_arg:* )
   25947       break ;;
   25948     * )
   25949       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   25950   esac
   25951 done
   25952 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   25953 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25954 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   25955 	 X"$_am_arg" : 'X\(//\)$' \| \
   25956 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   25957 $as_echo X"$_am_arg" |
   25958     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25959 	    s//\1/
   25960 	    q
   25961 	  }
   25962 	  /^X\(\/\/\)[^/].*/{
   25963 	    s//\1/
   25964 	    q
   25965 	  }
   25966 	  /^X\(\/\/\)$/{
   25967 	    s//\1/
   25968 	    q
   25969 	  }
   25970 	  /^X\(\/\).*/{
   25971 	    s//\1/
   25972 	    q
   25973 	  }
   25974 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   25975  ;;
   25976 
   25977   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   25978 $as_echo "$as_me: executing $ac_file commands" >&6;}
   25979  ;;
   25980   esac
   25981 
   25982 
   25983   case $ac_file$ac_mode in
   25984     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   25985   # Strip MF so we end up with the name of the file.
   25986   mf=`echo "$mf" | sed -e 's/:.*$//'`
   25987   # Check whether this is an Automake generated Makefile or not.
   25988   # We used to match only the files named `Makefile.in', but
   25989   # some people rename them; so instead we look at the file content.
   25990   # Grep'ing the first line is not enough: some people post-process
   25991   # each Makefile.in and add a new line on top of each file to say so.
   25992   # Grep'ing the whole file is not good either: AIX grep has a line
   25993   # limit of 2048, but all sed's we know have understand at least 4000.
   25994   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   25995     dirpart=`$as_dirname -- "$mf" ||
   25996 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25997 	 X"$mf" : 'X\(//\)[^/]' \| \
   25998 	 X"$mf" : 'X\(//\)$' \| \
   25999 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   26000 $as_echo X"$mf" |
   26001     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26002 	    s//\1/
   26003 	    q
   26004 	  }
   26005 	  /^X\(\/\/\)[^/].*/{
   26006 	    s//\1/
   26007 	    q
   26008 	  }
   26009 	  /^X\(\/\/\)$/{
   26010 	    s//\1/
   26011 	    q
   26012 	  }
   26013 	  /^X\(\/\).*/{
   26014 	    s//\1/
   26015 	    q
   26016 	  }
   26017 	  s/.*/./; q'`
   26018   else
   26019     continue
   26020   fi
   26021   # Extract the definition of DEPDIR, am__include, and am__quote
   26022   # from the Makefile without running `make'.
   26023   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   26024   test -z "$DEPDIR" && continue
   26025   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   26026   test -z "am__include" && continue
   26027   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   26028   # When using ansi2knr, U may be empty or an underscore; expand it
   26029   U=`sed -n 's/^U = //p' < "$mf"`
   26030   # Find all dependency output files, they are included files with
   26031   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   26032   # simplest approach to changing $(DEPDIR) to its actual value in the
   26033   # expansion.
   26034   for file in `sed -n "
   26035     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   26036        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   26037     # Make sure the directory exists.
   26038     test -f "$dirpart/$file" && continue
   26039     fdir=`$as_dirname -- "$file" ||
   26040 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26041 	 X"$file" : 'X\(//\)[^/]' \| \
   26042 	 X"$file" : 'X\(//\)$' \| \
   26043 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   26044 $as_echo X"$file" |
   26045     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26046 	    s//\1/
   26047 	    q
   26048 	  }
   26049 	  /^X\(\/\/\)[^/].*/{
   26050 	    s//\1/
   26051 	    q
   26052 	  }
   26053 	  /^X\(\/\/\)$/{
   26054 	    s//\1/
   26055 	    q
   26056 	  }
   26057 	  /^X\(\/\).*/{
   26058 	    s//\1/
   26059 	    q
   26060 	  }
   26061 	  s/.*/./; q'`
   26062     { as_dir=$dirpart/$fdir
   26063   case $as_dir in #(
   26064   -*) as_dir=./$as_dir;;
   26065   esac
   26066   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   26067     as_dirs=
   26068     while :; do
   26069       case $as_dir in #(
   26070       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   26071       *) as_qdir=$as_dir;;
   26072       esac
   26073       as_dirs="'$as_qdir' $as_dirs"
   26074       as_dir=`$as_dirname -- "$as_dir" ||
   26075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26076 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   26077 	 X"$as_dir" : 'X\(//\)$' \| \
   26078 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   26079 $as_echo X"$as_dir" |
   26080     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26081 	    s//\1/
   26082 	    q
   26083 	  }
   26084 	  /^X\(\/\/\)[^/].*/{
   26085 	    s//\1/
   26086 	    q
   26087 	  }
   26088 	  /^X\(\/\/\)$/{
   26089 	    s//\1/
   26090 	    q
   26091 	  }
   26092 	  /^X\(\/\).*/{
   26093 	    s//\1/
   26094 	    q
   26095 	  }
   26096 	  s/.*/./; q'`
   26097       test -d "$as_dir" && break
   26098     done
   26099     test -z "$as_dirs" || eval "mkdir $as_dirs"
   26100   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   26101 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   26102    { (exit 1); exit 1; }; }; }
   26103     # echo "creating $dirpart/$file"
   26104     echo '# dummy' > "$dirpart/$file"
   26105   done
   26106 done
   26107  ;;
   26108 
   26109   esac
   26110 done # for ac_tag
   26111 
   26112 
   26113 { (exit 0); exit 0; }
   26114 _ACEOF
   26115 chmod +x $CONFIG_STATUS
   26116 ac_clean_files=$ac_clean_files_save
   26117 
   26118 test $ac_write_fail = 0 ||
   26119   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   26120 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   26121    { (exit 1); exit 1; }; }
   26122 
   26123 
   26124 # configure is writing to config.log, and then calls config.status.
   26125 # config.status does its own redirection, appending to config.log.
   26126 # Unfortunately, on DOS this fails, as config.log is still kept open
   26127 # by configure, so config.status won't be able to write to it; its
   26128 # output is simply discarded.  So we exec the FD to /dev/null,
   26129 # effectively closing config.log, so it can be properly (re)opened and
   26130 # appended to by config.status.  When coming back to configure, we
   26131 # need to make the FD available again.
   26132 if test "$no_create" != yes; then
   26133   ac_cs_success=:
   26134   ac_config_status_args=
   26135   test "$silent" = yes &&
   26136     ac_config_status_args="$ac_config_status_args --quiet"
   26137   exec 5>/dev/null
   26138   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   26139   exec 5>>config.log
   26140   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   26141   # would make configure fail if this is the last instruction.
   26142   $ac_cs_success || { (exit 1); exit 1; }
   26143 fi
   26144 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   26145   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   26146 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   26147 fi
   26148 
   26149