"Fossies" - the Fresh Open Source Software Archive

Member "libmcrypt-2.5.8/autom4te.cache/output.2" (19 Feb 2007, 821029 Bytes) of package /linux/privat/old/libmcrypt-2.5.8.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 @%:@! /bin/sh
    2 @%:@ Guess values for system-dependent variables and create Makefiles.
    3 @%:@ Generated by GNU Autoconf 2.59.
    4 @%:@ 
    5 @%:@ Copyright (C) 2003 Free Software Foundation, Inc.
    6 @%:@ This configure script is free software; the Free Software Foundation
    7 @%:@ gives unlimited permission to copy, distribute and modify it.
    8 ## --------------------- ##
    9 ## M4sh Initialization.  ##
   10 ## --------------------- ##
   11 
   12 # Be Bourne compatible
   13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   14   emulate sh
   15   NULLCMD=:
   16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   17   # is contrary to our usage.  Disable this feature.
   18   alias -g '${1+"$@"}'='"$@"'
   19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   20   set -o posix
   21 fi
   22 DUALCASE=1; export DUALCASE # for MKS sh
   23 
   24 # Support unset when possible.
   25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   26   as_unset=unset
   27 else
   28   as_unset=false
   29 fi
   30 
   31 
   32 # Work around bugs in pre-3.0 UWIN ksh.
   33 $as_unset ENV MAIL MAILPATH
   34 PS1='$ '
   35 PS2='> '
   36 PS4='+ '
   37 
   38 # NLS nuisances.
   39 for as_var in \
   40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   42   LC_TELEPHONE LC_TIME
   43 do
   44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   45     eval $as_var=C; export $as_var
   46   else
   47     $as_unset $as_var
   48   fi
   49 done
   50 
   51 # Required to use basename.
   52 if expr a : '\(a\)' >/dev/null 2>&1; then
   53   as_expr=expr
   54 else
   55   as_expr=false
   56 fi
   57 
   58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   59   as_basename=basename
   60 else
   61   as_basename=false
   62 fi
   63 
   64 
   65 # Name of the executable.
   66 as_me=`$as_basename "$0" ||
   67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   68 	 X"$0" : 'X\(//\)$' \| \
   69 	 X"$0" : 'X\(/\)$' \| \
   70 	 .     : '\(.\)' 2>/dev/null ||
   71 echo X/"$0" |
   72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   73   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   74   	  /^X\/\(\/\).*/{ s//\1/; q; }
   75   	  s/.*/./; q'`
   76 
   77 
   78 # PATH needs CR, and LINENO needs CR and PATH.
   79 # Avoid depending upon Character Ranges.
   80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   83 as_cr_digits='0123456789'
   84 as_cr_alnum=$as_cr_Letters$as_cr_digits
   85 
   86 # The user is always right.
   87 if test "${PATH_SEPARATOR+set}" != set; then
   88   echo "#! /bin/sh" >conf$$.sh
   89   echo  "exit 0"   >>conf$$.sh
   90   chmod +x conf$$.sh
   91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   92     PATH_SEPARATOR=';'
   93   else
   94     PATH_SEPARATOR=:
   95   fi
   96   rm -f conf$$.sh
   97 fi
   98 
   99 
  100   as_lineno_1=$LINENO
  101   as_lineno_2=$LINENO
  102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  103   test "x$as_lineno_1" != "x$as_lineno_2" &&
  104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  105   # Find who we are.  Look in the path if we contain no path at all
  106   # relative or not.
  107   case $0 in
  108     *[\\/]* ) as_myself=$0 ;;
  109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  110 for as_dir in $PATH
  111 do
  112   IFS=$as_save_IFS
  113   test -z "$as_dir" && as_dir=.
  114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  115 done
  116 
  117        ;;
  118   esac
  119   # We did not find ourselves, most probably we were run as `sh COMMAND'
  120   # in which case we are not to be found in the path.
  121   if test "x$as_myself" = x; then
  122     as_myself=$0
  123   fi
  124   if test ! -f "$as_myself"; then
  125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  126    { (exit 1); exit 1; }; }
  127   fi
  128   case $CONFIG_SHELL in
  129   '')
  130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  132 do
  133   IFS=$as_save_IFS
  134   test -z "$as_dir" && as_dir=.
  135   for as_base in sh bash ksh sh5; do
  136 	 case $as_dir in
  137 	 /*)
  138 	   if ("$as_dir/$as_base" -c '
  139   as_lineno_1=$LINENO
  140   as_lineno_2=$LINENO
  141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  142   test "x$as_lineno_1" != "x$as_lineno_2" &&
  143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  144 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  145 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  146 	     CONFIG_SHELL=$as_dir/$as_base
  147 	     export CONFIG_SHELL
  148 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  149 	   fi;;
  150 	 esac
  151        done
  152 done
  153 ;;
  154   esac
  155 
  156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  157   # uniformly replaced by the line number.  The first 'sed' inserts a
  158   # line-number line before each line; the second 'sed' does the real
  159   # work.  The second script uses 'N' to pair each line-number line
  160   # with the numbered line, and appends trailing '-' during
  161   # substitution so that $LINENO is not a special case at line end.
  162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  164   sed '=' <$as_myself |
  165     sed '
  166       N
  167       s,$,-,
  168       : loop
  169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  170       t loop
  171       s,-$,,
  172       s,^['$as_cr_digits']*\n,,
  173     ' >$as_me.lineno &&
  174   chmod +x $as_me.lineno ||
  175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  176    { (exit 1); exit 1; }; }
  177 
  178   # Don't try to exec as it changes $[0], causing all sort of problems
  179   # (the dirname of $[0] is not the place where we might find the
  180   # original and so on.  Autoconf is especially sensible to this).
  181   . ./$as_me.lineno
  182   # Exit status is that of the last command.
  183   exit
  184 }
  185 
  186 
  187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  188   *c*,-n*) ECHO_N= ECHO_C='
  189 ' ECHO_T='	' ;;
  190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  192 esac
  193 
  194 if expr a : '\(a\)' >/dev/null 2>&1; then
  195   as_expr=expr
  196 else
  197   as_expr=false
  198 fi
  199 
  200 rm -f conf$$ conf$$.exe conf$$.file
  201 echo >conf$$.file
  202 if ln -s conf$$.file conf$$ 2>/dev/null; then
  203   # We could just check for DJGPP; but this test a) works b) is more generic
  204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  205   if test -f conf$$.exe; then
  206     # Don't use ln at all; we don't have any links
  207     as_ln_s='cp -p'
  208   else
  209     as_ln_s='ln -s'
  210   fi
  211 elif ln conf$$.file conf$$ 2>/dev/null; then
  212   as_ln_s=ln
  213 else
  214   as_ln_s='cp -p'
  215 fi
  216 rm -f conf$$ conf$$.exe conf$$.file
  217 
  218 if mkdir -p . 2>/dev/null; then
  219   as_mkdir_p=:
  220 else
  221   test -d ./-p && rmdir ./-p
  222   as_mkdir_p=false
  223 fi
  224 
  225 as_executable_p="test -f"
  226 
  227 # Sed expression to map a string onto a valid CPP name.
  228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  229 
  230 # Sed expression to map a string onto a valid variable name.
  231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  232 
  233 
  234 # IFS
  235 # We need space, tab and new line, in precisely that order.
  236 as_nl='
  237 '
  238 IFS=" 	$as_nl"
  239 
  240 # CDPATH.
  241 $as_unset CDPATH
  242 
  243 
  244 
  245 # Check that we are running under the correct shell.
  246 SHELL=${CONFIG_SHELL-/bin/sh}
  247 
  248 case X$ECHO in
  249 X*--fallback-echo)
  250   # Remove one level of quotation (which was required for Make).
  251   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
  252   ;;
  253 esac
  254 
  255 echo=${ECHO-echo}
  256 if test "X$1" = X--no-reexec; then
  257   # Discard the --no-reexec flag, and continue.
  258   shift
  259 elif test "X$1" = X--fallback-echo; then
  260   # Avoid inline document here, it may be left over
  261   :
  262 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  263   # Yippee, $echo works!
  264   :
  265 else
  266   # Restart under the correct shell.
  267   exec $SHELL "$0" --no-reexec ${1+"$@"}
  268 fi
  269 
  270 if test "X$1" = X--fallback-echo; then
  271   # used as fallback echo
  272   shift
  273   cat <<EOF
  274 $*
  275 EOF
  276   exit 0
  277 fi
  278 
  279 # The HP-UX ksh and POSIX shell print the target directory to stdout
  280 # if CDPATH is set.
  281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  282 
  283 if test -z "$ECHO"; then
  284 if test "X${echo_test_string+set}" != Xset; then
  285 # find a string as large as possible, as long as the shell can cope with it
  286   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  287     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  288     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  289        echo_test_string=`eval $cmd` &&
  290        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  291     then
  292       break
  293     fi
  294   done
  295 fi
  296 
  297 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  298    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  299    test "X$echo_testing_string" = "X$echo_test_string"; then
  300   :
  301 else
  302   # The Solaris, AIX, and Digital Unix default echo programs unquote
  303   # backslashes.  This makes it impossible to quote backslashes using
  304   #   echo "$something" | sed 's/\\/\\\\/g'
  305   #
  306   # So, first we look for a working echo in the user's PATH.
  307 
  308   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  309   for dir in $PATH /usr/ucb; do
  310     IFS="$lt_save_ifs"
  311     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  312        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  313        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  314        test "X$echo_testing_string" = "X$echo_test_string"; then
  315       echo="$dir/echo"
  316       break
  317     fi
  318   done
  319   IFS="$lt_save_ifs"
  320 
  321   if test "X$echo" = Xecho; then
  322     # We didn't find a better echo, so look for alternatives.
  323     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  324        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  325        test "X$echo_testing_string" = "X$echo_test_string"; then
  326       # This shell has a builtin print -r that does the trick.
  327       echo='print -r'
  328     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  329 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
  330       # If we have ksh, try running configure again with it.
  331       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  332       export ORIGINAL_CONFIG_SHELL
  333       CONFIG_SHELL=/bin/ksh
  334       export CONFIG_SHELL
  335       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  336     else
  337       # Try using printf.
  338       echo='printf %s\n'
  339       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  340 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  341 	 test "X$echo_testing_string" = "X$echo_test_string"; then
  342 	# Cool, printf works
  343 	:
  344       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  345 	   test "X$echo_testing_string" = 'X\t' &&
  346 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  347 	   test "X$echo_testing_string" = "X$echo_test_string"; then
  348 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  349 	export CONFIG_SHELL
  350 	SHELL="$CONFIG_SHELL"
  351 	export SHELL
  352 	echo="$CONFIG_SHELL $0 --fallback-echo"
  353       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  354 	   test "X$echo_testing_string" = 'X\t' &&
  355 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  356 	   test "X$echo_testing_string" = "X$echo_test_string"; then
  357 	echo="$CONFIG_SHELL $0 --fallback-echo"
  358       else
  359 	# maybe with a smaller string...
  360 	prev=:
  361 
  362 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  363 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  364 	  then
  365 	    break
  366 	  fi
  367 	  prev="$cmd"
  368 	done
  369 
  370 	if test "$prev" != 'sed 50q "$0"'; then
  371 	  echo_test_string=`eval $prev`
  372 	  export echo_test_string
  373 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  374 	else
  375 	  # Oops.  We lost completely, so just stick with echo.
  376 	  echo=echo
  377 	fi
  378       fi
  379     fi
  380   fi
  381 fi
  382 fi
  383 
  384 # Copy echo and quote the copy suitably for passing to libtool from
  385 # the Makefile, instead of quoting the original, which is used later.
  386 ECHO=$echo
  387 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  388    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  389 fi
  390 
  391 
  392 
  393 
  394 tagnames=${tagnames+${tagnames},}CXX
  395 
  396 tagnames=${tagnames+${tagnames},}F77
  397 
  398 # Name of the host.
  399 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  400 # so uname gets run too.
  401 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  402 
  403 exec 6>&1
  404 
  405 #
  406 # Initializations.
  407 #
  408 ac_default_prefix=/usr/local
  409 ac_config_libobj_dir=.
  410 cross_compiling=no
  411 subdirs=
  412 MFLAGS=
  413 MAKEFLAGS=
  414 SHELL=${CONFIG_SHELL-/bin/sh}
  415 
  416 # Maximum number of lines to put in a shell here document.
  417 # This variable seems obsolete.  It should probably be removed, and
  418 # only ac_max_sed_lines should be used.
  419 : ${ac_max_here_lines=38}
  420 
  421 # Identity of this package.
  422 PACKAGE_NAME=
  423 PACKAGE_TARNAME=
  424 PACKAGE_VERSION=
  425 PACKAGE_STRING=
  426 PACKAGE_BUGREPORT=
  427 
  428 ac_unique_file="lib/mcrypt.c"
  429 ac_subdirs_all="$ac_subdirs_all libltdl"
  430 # Factoring default headers for most tests.
  431 ac_includes_default="\
  432 #include <stdio.h>
  433 #if HAVE_SYS_TYPES_H
  434 # include <sys/types.h>
  435 #endif
  436 #if HAVE_SYS_STAT_H
  437 # include <sys/stat.h>
  438 #endif
  439 #if STDC_HEADERS
  440 # include <stdlib.h>
  441 # include <stddef.h>
  442 #else
  443 # if HAVE_STDLIB_H
  444 #  include <stdlib.h>
  445 # endif
  446 #endif
  447 #if HAVE_STRING_H
  448 # if !STDC_HEADERS && HAVE_MEMORY_H
  449 #  include <memory.h>
  450 # endif
  451 # include <string.h>
  452 #endif
  453 #if HAVE_STRINGS_H
  454 # include <strings.h>
  455 #endif
  456 #if HAVE_INTTYPES_H
  457 # include <inttypes.h>
  458 #else
  459 # if HAVE_STDINT_H
  460 #  include <stdint.h>
  461 # endif
  462 #endif
  463 #if HAVE_UNISTD_H
  464 # include <unistd.h>
  465 #endif"
  466 
  467 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LN_S INCLTDL LIBLTDL LIBLTDL_DIR subdirs INSTALL_ALGORITHM_MODULES INSTALL_MODE_MODULES NOINSTALL_ALGORITHM_MODULES NOINSTALL_MODE_MODULES EXTRA_ALGOS EXTRA_OBJECTS LIBMCRYPT_MAJOR_VERSION LIBMCRYPT_MINOR_VERSION LIBMCRYPT_MICRO_VERSION LIBMCRYPT_VERSION LIBMCRYPT_MOST_RECENT_INTERFACE LIBMCRYPT_CURRENT_INTERFACE_IMPLEMENTATION_NUMBER LIBMCRYPT_OLDEST_INTERFACE LT_CURRENT LT_REVISION LT_AGE EGREP LIB@&t@OBJS SED ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBTOOL_DEPS LIBMCRYPT_LIBS LIBMCRYPT_CFLAGS LTLIBOBJS'
  468 ac_subst_files=''
  469 
  470 # Initialize some variables set by options.
  471 ac_init_help=
  472 ac_init_version=false
  473 # The variables have the same names as the options, with
  474 # dashes changed to underlines.
  475 cache_file=/dev/null
  476 exec_prefix=NONE
  477 no_create=
  478 no_recursion=
  479 prefix=NONE
  480 program_prefix=NONE
  481 program_suffix=NONE
  482 program_transform_name=s,x,x,
  483 silent=
  484 site=
  485 srcdir=
  486 verbose=
  487 x_includes=NONE
  488 x_libraries=NONE
  489 
  490 # Installation directory options.
  491 # These are left unexpanded so users can "make install exec_prefix=/foo"
  492 # and all the variables that are supposed to be based on exec_prefix
  493 # by default will actually change.
  494 # Use braces instead of parens because sh, perl, etc. also accept them.
  495 bindir='${exec_prefix}/bin'
  496 sbindir='${exec_prefix}/sbin'
  497 libexecdir='${exec_prefix}/libexec'
  498 datadir='${prefix}/share'
  499 sysconfdir='${prefix}/etc'
  500 sharedstatedir='${prefix}/com'
  501 localstatedir='${prefix}/var'
  502 libdir='${exec_prefix}/lib'
  503 includedir='${prefix}/include'
  504 oldincludedir='/usr/include'
  505 infodir='${prefix}/info'
  506 mandir='${prefix}/man'
  507 
  508 ac_prev=
  509 for ac_option
  510 do
  511   # If the previous option needs an argument, assign it.
  512   if test -n "$ac_prev"; then
  513     eval "$ac_prev=\$ac_option"
  514     ac_prev=
  515     continue
  516   fi
  517 
  518   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  519 
  520   # Accept the important Cygnus configure options, so we can diagnose typos.
  521 
  522   case $ac_option in
  523 
  524   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  525     ac_prev=bindir ;;
  526   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  527     bindir=$ac_optarg ;;
  528 
  529   -build | --build | --buil | --bui | --bu)
  530     ac_prev=build_alias ;;
  531   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  532     build_alias=$ac_optarg ;;
  533 
  534   -cache-file | --cache-file | --cache-fil | --cache-fi \
  535   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  536     ac_prev=cache_file ;;
  537   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  538   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  539     cache_file=$ac_optarg ;;
  540 
  541   --config-cache | -C)
  542     cache_file=config.cache ;;
  543 
  544   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  545     ac_prev=datadir ;;
  546   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  547   | --da=*)
  548     datadir=$ac_optarg ;;
  549 
  550   -disable-* | --disable-*)
  551     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  552     # Reject names that are not valid shell variable names.
  553     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  554       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  555    { (exit 1); exit 1; }; }
  556     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  557     eval "enable_$ac_feature=no" ;;
  558 
  559   -enable-* | --enable-*)
  560     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  561     # Reject names that are not valid shell variable names.
  562     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  563       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  564    { (exit 1); exit 1; }; }
  565     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  566     case $ac_option in
  567       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  568       *) ac_optarg=yes ;;
  569     esac
  570     eval "enable_$ac_feature='$ac_optarg'" ;;
  571 
  572   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  573   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  574   | --exec | --exe | --ex)
  575     ac_prev=exec_prefix ;;
  576   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  577   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  578   | --exec=* | --exe=* | --ex=*)
  579     exec_prefix=$ac_optarg ;;
  580 
  581   -gas | --gas | --ga | --g)
  582     # Obsolete; use --with-gas.
  583     with_gas=yes ;;
  584 
  585   -help | --help | --hel | --he | -h)
  586     ac_init_help=long ;;
  587   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  588     ac_init_help=recursive ;;
  589   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  590     ac_init_help=short ;;
  591 
  592   -host | --host | --hos | --ho)
  593     ac_prev=host_alias ;;
  594   -host=* | --host=* | --hos=* | --ho=*)
  595     host_alias=$ac_optarg ;;
  596 
  597   -includedir | --includedir | --includedi | --included | --include \
  598   | --includ | --inclu | --incl | --inc)
  599     ac_prev=includedir ;;
  600   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  601   | --includ=* | --inclu=* | --incl=* | --inc=*)
  602     includedir=$ac_optarg ;;
  603 
  604   -infodir | --infodir | --infodi | --infod | --info | --inf)
  605     ac_prev=infodir ;;
  606   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  607     infodir=$ac_optarg ;;
  608 
  609   -libdir | --libdir | --libdi | --libd)
  610     ac_prev=libdir ;;
  611   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  612     libdir=$ac_optarg ;;
  613 
  614   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  615   | --libexe | --libex | --libe)
  616     ac_prev=libexecdir ;;
  617   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  618   | --libexe=* | --libex=* | --libe=*)
  619     libexecdir=$ac_optarg ;;
  620 
  621   -localstatedir | --localstatedir | --localstatedi | --localstated \
  622   | --localstate | --localstat | --localsta | --localst \
  623   | --locals | --local | --loca | --loc | --lo)
  624     ac_prev=localstatedir ;;
  625   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  626   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  627   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  628     localstatedir=$ac_optarg ;;
  629 
  630   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  631     ac_prev=mandir ;;
  632   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  633     mandir=$ac_optarg ;;
  634 
  635   -nfp | --nfp | --nf)
  636     # Obsolete; use --without-fp.
  637     with_fp=no ;;
  638 
  639   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  640   | --no-cr | --no-c | -n)
  641     no_create=yes ;;
  642 
  643   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  644   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  645     no_recursion=yes ;;
  646 
  647   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  648   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  649   | --oldin | --oldi | --old | --ol | --o)
  650     ac_prev=oldincludedir ;;
  651   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  652   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  653   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  654     oldincludedir=$ac_optarg ;;
  655 
  656   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  657     ac_prev=prefix ;;
  658   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  659     prefix=$ac_optarg ;;
  660 
  661   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  662   | --program-pre | --program-pr | --program-p)
  663     ac_prev=program_prefix ;;
  664   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  665   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  666     program_prefix=$ac_optarg ;;
  667 
  668   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  669   | --program-suf | --program-su | --program-s)
  670     ac_prev=program_suffix ;;
  671   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  672   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  673     program_suffix=$ac_optarg ;;
  674 
  675   -program-transform-name | --program-transform-name \
  676   | --program-transform-nam | --program-transform-na \
  677   | --program-transform-n | --program-transform- \
  678   | --program-transform | --program-transfor \
  679   | --program-transfo | --program-transf \
  680   | --program-trans | --program-tran \
  681   | --progr-tra | --program-tr | --program-t)
  682     ac_prev=program_transform_name ;;
  683   -program-transform-name=* | --program-transform-name=* \
  684   | --program-transform-nam=* | --program-transform-na=* \
  685   | --program-transform-n=* | --program-transform-=* \
  686   | --program-transform=* | --program-transfor=* \
  687   | --program-transfo=* | --program-transf=* \
  688   | --program-trans=* | --program-tran=* \
  689   | --progr-tra=* | --program-tr=* | --program-t=*)
  690     program_transform_name=$ac_optarg ;;
  691 
  692   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  693   | -silent | --silent | --silen | --sile | --sil)
  694     silent=yes ;;
  695 
  696   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  697     ac_prev=sbindir ;;
  698   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  699   | --sbi=* | --sb=*)
  700     sbindir=$ac_optarg ;;
  701 
  702   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  703   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  704   | --sharedst | --shareds | --shared | --share | --shar \
  705   | --sha | --sh)
  706     ac_prev=sharedstatedir ;;
  707   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  708   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  709   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  710   | --sha=* | --sh=*)
  711     sharedstatedir=$ac_optarg ;;
  712 
  713   -site | --site | --sit)
  714     ac_prev=site ;;
  715   -site=* | --site=* | --sit=*)
  716     site=$ac_optarg ;;
  717 
  718   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  719     ac_prev=srcdir ;;
  720   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  721     srcdir=$ac_optarg ;;
  722 
  723   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  724   | --syscon | --sysco | --sysc | --sys | --sy)
  725     ac_prev=sysconfdir ;;
  726   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  727   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  728     sysconfdir=$ac_optarg ;;
  729 
  730   -target | --target | --targe | --targ | --tar | --ta | --t)
  731     ac_prev=target_alias ;;
  732   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  733     target_alias=$ac_optarg ;;
  734 
  735   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  736     verbose=yes ;;
  737 
  738   -version | --version | --versio | --versi | --vers | -V)
  739     ac_init_version=: ;;
  740 
  741   -with-* | --with-*)
  742     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  743     # Reject names that are not valid shell variable names.
  744     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  745       { echo "$as_me: error: invalid package name: $ac_package" >&2
  746    { (exit 1); exit 1; }; }
  747     ac_package=`echo $ac_package| sed 's/-/_/g'`
  748     case $ac_option in
  749       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  750       *) ac_optarg=yes ;;
  751     esac
  752     eval "with_$ac_package='$ac_optarg'" ;;
  753 
  754   -without-* | --without-*)
  755     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  756     # Reject names that are not valid shell variable names.
  757     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  758       { echo "$as_me: error: invalid package name: $ac_package" >&2
  759    { (exit 1); exit 1; }; }
  760     ac_package=`echo $ac_package | sed 's/-/_/g'`
  761     eval "with_$ac_package=no" ;;
  762 
  763   --x)
  764     # Obsolete; use --with-x.
  765     with_x=yes ;;
  766 
  767   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  768   | --x-incl | --x-inc | --x-in | --x-i)
  769     ac_prev=x_includes ;;
  770   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  771   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  772     x_includes=$ac_optarg ;;
  773 
  774   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  775   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  776     ac_prev=x_libraries ;;
  777   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  778   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  779     x_libraries=$ac_optarg ;;
  780 
  781   -*) { echo "$as_me: error: unrecognized option: $ac_option
  782 Try \`$0 --help' for more information." >&2
  783    { (exit 1); exit 1; }; }
  784     ;;
  785 
  786   *=*)
  787     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  788     # Reject names that are not valid shell variable names.
  789     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  790       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  791    { (exit 1); exit 1; }; }
  792     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  793     eval "$ac_envvar='$ac_optarg'"
  794     export $ac_envvar ;;
  795 
  796   *)
  797     # FIXME: should be removed in autoconf 3.0.
  798     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  799     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  800       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  801     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  802     ;;
  803 
  804   esac
  805 done
  806 
  807 if test -n "$ac_prev"; then
  808   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  809   { echo "$as_me: error: missing argument to $ac_option" >&2
  810    { (exit 1); exit 1; }; }
  811 fi
  812 
  813 # Be sure to have absolute paths.
  814 for ac_var in exec_prefix prefix
  815 do
  816   eval ac_val=$`echo $ac_var`
  817   case $ac_val in
  818     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  819     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  820    { (exit 1); exit 1; }; };;
  821   esac
  822 done
  823 
  824 # Be sure to have absolute paths.
  825 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  826 	      localstatedir libdir includedir oldincludedir infodir mandir
  827 do
  828   eval ac_val=$`echo $ac_var`
  829   case $ac_val in
  830     [\\/$]* | ?:[\\/]* ) ;;
  831     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  832    { (exit 1); exit 1; }; };;
  833   esac
  834 done
  835 
  836 # There might be people who depend on the old broken behavior: `$host'
  837 # used to hold the argument of --host etc.
  838 # FIXME: To remove some day.
  839 build=$build_alias
  840 host=$host_alias
  841 target=$target_alias
  842 
  843 # FIXME: To remove some day.
  844 if test "x$host_alias" != x; then
  845   if test "x$build_alias" = x; then
  846     cross_compiling=maybe
  847     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  848     If a cross compiler is detected then cross compile mode will be used." >&2
  849   elif test "x$build_alias" != "x$host_alias"; then
  850     cross_compiling=yes
  851   fi
  852 fi
  853 
  854 ac_tool_prefix=
  855 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  856 
  857 test "$silent" = yes && exec 6>/dev/null
  858 
  859 
  860 # Find the source files, if location was not specified.
  861 if test -z "$srcdir"; then
  862   ac_srcdir_defaulted=yes
  863   # Try the directory containing this script, then its parent.
  864   ac_confdir=`(dirname "$0") 2>/dev/null ||
  865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  866 	 X"$0" : 'X\(//\)[^/]' \| \
  867 	 X"$0" : 'X\(//\)$' \| \
  868 	 X"$0" : 'X\(/\)' \| \
  869 	 .     : '\(.\)' 2>/dev/null ||
  870 echo X"$0" |
  871     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  872   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  873   	  /^X\(\/\/\)$/{ s//\1/; q; }
  874   	  /^X\(\/\).*/{ s//\1/; q; }
  875   	  s/.*/./; q'`
  876   srcdir=$ac_confdir
  877   if test ! -r $srcdir/$ac_unique_file; then
  878     srcdir=..
  879   fi
  880 else
  881   ac_srcdir_defaulted=no
  882 fi
  883 if test ! -r $srcdir/$ac_unique_file; then
  884   if test "$ac_srcdir_defaulted" = yes; then
  885     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  886    { (exit 1); exit 1; }; }
  887   else
  888     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  889    { (exit 1); exit 1; }; }
  890   fi
  891 fi
  892 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  893   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  894    { (exit 1); exit 1; }; }
  895 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  896 ac_env_build_alias_set=${build_alias+set}
  897 ac_env_build_alias_value=$build_alias
  898 ac_cv_env_build_alias_set=${build_alias+set}
  899 ac_cv_env_build_alias_value=$build_alias
  900 ac_env_host_alias_set=${host_alias+set}
  901 ac_env_host_alias_value=$host_alias
  902 ac_cv_env_host_alias_set=${host_alias+set}
  903 ac_cv_env_host_alias_value=$host_alias
  904 ac_env_target_alias_set=${target_alias+set}
  905 ac_env_target_alias_value=$target_alias
  906 ac_cv_env_target_alias_set=${target_alias+set}
  907 ac_cv_env_target_alias_value=$target_alias
  908 ac_env_CXX_set=${CXX+set}
  909 ac_env_CXX_value=$CXX
  910 ac_cv_env_CXX_set=${CXX+set}
  911 ac_cv_env_CXX_value=$CXX
  912 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
  913 ac_env_CXXFLAGS_value=$CXXFLAGS
  914 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
  915 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
  916 ac_env_LDFLAGS_set=${LDFLAGS+set}
  917 ac_env_LDFLAGS_value=$LDFLAGS
  918 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  919 ac_cv_env_LDFLAGS_value=$LDFLAGS
  920 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  921 ac_env_CPPFLAGS_value=$CPPFLAGS
  922 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  923 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  924 ac_env_CC_set=${CC+set}
  925 ac_env_CC_value=$CC
  926 ac_cv_env_CC_set=${CC+set}
  927 ac_cv_env_CC_value=$CC
  928 ac_env_CFLAGS_set=${CFLAGS+set}
  929 ac_env_CFLAGS_value=$CFLAGS
  930 ac_cv_env_CFLAGS_set=${CFLAGS+set}
  931 ac_cv_env_CFLAGS_value=$CFLAGS
  932 ac_env_CPP_set=${CPP+set}
  933 ac_env_CPP_value=$CPP
  934 ac_cv_env_CPP_set=${CPP+set}
  935 ac_cv_env_CPP_value=$CPP
  936 ac_env_CXXCPP_set=${CXXCPP+set}
  937 ac_env_CXXCPP_value=$CXXCPP
  938 ac_cv_env_CXXCPP_set=${CXXCPP+set}
  939 ac_cv_env_CXXCPP_value=$CXXCPP
  940 ac_env_F77_set=${F77+set}
  941 ac_env_F77_value=$F77
  942 ac_cv_env_F77_set=${F77+set}
  943 ac_cv_env_F77_value=$F77
  944 ac_env_FFLAGS_set=${FFLAGS+set}
  945 ac_env_FFLAGS_value=$FFLAGS
  946 ac_cv_env_FFLAGS_set=${FFLAGS+set}
  947 ac_cv_env_FFLAGS_value=$FFLAGS
  948 
  949 #
  950 # Report the --help message.
  951 #
  952 if test "$ac_init_help" = "long"; then
  953   # Omit some internal or obsolete options to make the list less imposing.
  954   # This message is too long to be a string in the A/UX 3.1 sh.
  955   cat <<_ACEOF
  956 \`configure' configures this package to adapt to many kinds of systems.
  957 
  958 Usage: $0 [OPTION]... [VAR=VALUE]...
  959 
  960 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  961 VAR=VALUE.  See below for descriptions of some of the useful variables.
  962 
  963 Defaults for the options are specified in brackets.
  964 
  965 Configuration:
  966   -h, --help              display this help and exit
  967       --help=short        display options specific to this package
  968       --help=recursive    display the short help of all the included packages
  969   -V, --version           display version information and exit
  970   -q, --quiet, --silent   do not print \`checking...' messages
  971       --cache-file=FILE   cache test results in FILE [disabled]
  972   -C, --config-cache      alias for \`--cache-file=config.cache'
  973   -n, --no-create         do not create output files
  974       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  975 
  976 _ACEOF
  977 
  978   cat <<_ACEOF
  979 Installation directories:
  980   --prefix=PREFIX         install architecture-independent files in PREFIX
  981 			  [$ac_default_prefix]
  982   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  983 			  [PREFIX]
  984 
  985 By default, \`make install' will install all the files in
  986 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  987 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  988 for instance \`--prefix=\$HOME'.
  989 
  990 For better control, use the options below.
  991 
  992 Fine tuning of the installation directories:
  993   --bindir=DIR           user executables [EPREFIX/bin]
  994   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  995   --libexecdir=DIR       program executables [EPREFIX/libexec]
  996   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  997   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  998   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  999   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 1000   --libdir=DIR           object code libraries [EPREFIX/lib]
 1001   --includedir=DIR       C header files [PREFIX/include]
 1002   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 1003   --infodir=DIR          info documentation [PREFIX/info]
 1004   --mandir=DIR           man documentation [PREFIX/man]
 1005 _ACEOF
 1006 
 1007   cat <<\_ACEOF
 1008 
 1009 Program names:
 1010   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1011   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1012   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1013 
 1014 System types:
 1015   --build=BUILD     configure for building on BUILD [guessed]
 1016   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1017   --target=TARGET   configure for building compilers for TARGET [HOST]
 1018 _ACEOF
 1019 fi
 1020 
 1021 if test -n "$ac_init_help"; then
 1022 
 1023   cat <<\_ACEOF
 1024 
 1025 Optional Features:
 1026   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1027   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1028   --enable-maintainer-mode  enable make rules and dependencies not useful
 1029 			  (and sometimes confusing) to the casual installer
 1030   --disable-dependency-tracking  speeds up one-time build
 1031   --enable-dependency-tracking   do not reject slow dependency extractors
 1032   --enable-maintainer-mode enable maintainer mode
 1033   --enable-dmalloc-mode enable dmalloc mode
 1034   --enable-dynamic-loading   enable dynamic module loading
 1035   --enable-static@<:@=PKGS@:>@ 
 1036                           build static libraries @<:@default=no@:>@
 1037   --enable-shared@<:@=PKGS@:>@ 
 1038                           build shared libraries @<:@default=yes@:>@
 1039   --enable-fast-install@<:@=PKGS@:>@ 
 1040                           optimize for fast installation @<:@default=yes@:>@
 1041   --disable-libtool-lock  avoid locking (might break parallel builds)
 1042 
 1043 Optional Packages:
 1044   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1045   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1046   --with-included-algos=algo1,algo2,... include algorithms/modes into the library
 1047   --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
 1048   --with-pic              try to use only PIC/non-PIC objects @<:@default=use
 1049                           both@:>@
 1050   --with-tags@<:@=TAGS@:>@ 
 1051                           include additional configurations @<:@automatic@:>@
 1052 
 1053 Some influential environment variables:
 1054   CXX         C++ compiler command
 1055   CXXFLAGS    C++ compiler flags
 1056   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1057               nonstandard directory <lib dir>
 1058   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 1059               headers in a nonstandard directory <include dir>
 1060   CC          C compiler command
 1061   CFLAGS      C compiler flags
 1062   CPP         C preprocessor
 1063   CXXCPP      C++ preprocessor
 1064   F77         Fortran 77 compiler command
 1065   FFLAGS      Fortran 77 compiler flags
 1066 
 1067 Use these variables to override the choices made by `configure' or to help
 1068 it to find libraries and programs with nonstandard names/locations.
 1069 
 1070 _ACEOF
 1071 fi
 1072 
 1073 if test "$ac_init_help" = "recursive"; then
 1074   # If there are subdirs, report their specific --help.
 1075   ac_popdir=`pwd`
 1076   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1077     test -d $ac_dir || continue
 1078     ac_builddir=.
 1079 
 1080 if test "$ac_dir" != .; then
 1081   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 1082   # A "../" for each directory in $ac_dir_suffix.
 1083   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 1084 else
 1085   ac_dir_suffix= ac_top_builddir=
 1086 fi
 1087 
 1088 case $srcdir in
 1089   .)  # No --srcdir option.  We are building in place.
 1090     ac_srcdir=.
 1091     if test -z "$ac_top_builddir"; then
 1092        ac_top_srcdir=.
 1093     else
 1094        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 1095     fi ;;
 1096   [\\/]* | ?:[\\/]* )  # Absolute path.
 1097     ac_srcdir=$srcdir$ac_dir_suffix;
 1098     ac_top_srcdir=$srcdir ;;
 1099   *) # Relative path.
 1100     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 1101     ac_top_srcdir=$ac_top_builddir$srcdir ;;
 1102 esac
 1103 
 1104 # Do not use `cd foo && pwd` to compute absolute paths, because
 1105 # the directories may not exist.
 1106 case `pwd` in
 1107 .) ac_abs_builddir="$ac_dir";;
 1108 *)
 1109   case "$ac_dir" in
 1110   .) ac_abs_builddir=`pwd`;;
 1111   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 1112   *) ac_abs_builddir=`pwd`/"$ac_dir";;
 1113   esac;;
 1114 esac
 1115 case $ac_abs_builddir in
 1116 .) ac_abs_top_builddir=${ac_top_builddir}.;;
 1117 *)
 1118   case ${ac_top_builddir}. in
 1119   .) ac_abs_top_builddir=$ac_abs_builddir;;
 1120   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 1121   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 1122   esac;;
 1123 esac
 1124 case $ac_abs_builddir in
 1125 .) ac_abs_srcdir=$ac_srcdir;;
 1126 *)
 1127   case $ac_srcdir in
 1128   .) ac_abs_srcdir=$ac_abs_builddir;;
 1129   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 1130   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 1131   esac;;
 1132 esac
 1133 case $ac_abs_builddir in
 1134 .) ac_abs_top_srcdir=$ac_top_srcdir;;
 1135 *)
 1136   case $ac_top_srcdir in
 1137   .) ac_abs_top_srcdir=$ac_abs_builddir;;
 1138   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 1139   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 1140   esac;;
 1141 esac
 1142 
 1143     cd $ac_dir
 1144     # Check for guested configure; otherwise get Cygnus style configure.
 1145     if test -f $ac_srcdir/configure.gnu; then
 1146       echo
 1147       $SHELL $ac_srcdir/configure.gnu  --help=recursive
 1148     elif test -f $ac_srcdir/configure; then
 1149       echo
 1150       $SHELL $ac_srcdir/configure  --help=recursive
 1151     elif test -f $ac_srcdir/configure.ac ||
 1152 	   test -f $ac_srcdir/configure.in; then
 1153       echo
 1154       $ac_configure --help
 1155     else
 1156       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1157     fi
 1158     cd $ac_popdir
 1159   done
 1160 fi
 1161 
 1162 test -n "$ac_init_help" && exit 0
 1163 if $ac_init_version; then
 1164   cat <<\_ACEOF
 1165 
 1166 Copyright (C) 2003 Free Software Foundation, Inc.
 1167 This configure script is free software; the Free Software Foundation
 1168 gives unlimited permission to copy, distribute and modify it.
 1169 _ACEOF
 1170   exit 0
 1171 fi
 1172 exec 5>config.log
 1173 cat >&5 <<_ACEOF
 1174 This file contains any messages produced by compilers while
 1175 running configure, to aid debugging if configure makes a mistake.
 1176 
 1177 It was created by $as_me, which was
 1178 generated by GNU Autoconf 2.59.  Invocation command line was
 1179 
 1180   $ $0 $@
 1181 
 1182 _ACEOF
 1183 {
 1184 cat <<_ASUNAME
 1185 @%:@@%:@ --------- @%:@@%:@
 1186 @%:@@%:@ Platform. @%:@@%:@
 1187 @%:@@%:@ --------- @%:@@%:@
 1188 
 1189 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1190 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1191 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1192 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1193 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1194 
 1195 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1196 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1197 
 1198 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1199 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1200 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1201 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 1202 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1203 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1204 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1205 
 1206 _ASUNAME
 1207 
 1208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1209 for as_dir in $PATH
 1210 do
 1211   IFS=$as_save_IFS
 1212   test -z "$as_dir" && as_dir=.
 1213   echo "PATH: $as_dir"
 1214 done
 1215 
 1216 } >&5
 1217 
 1218 cat >&5 <<_ACEOF
 1219 
 1220 
 1221 @%:@@%:@ ----------- @%:@@%:@
 1222 @%:@@%:@ Core tests. @%:@@%:@
 1223 @%:@@%:@ ----------- @%:@@%:@
 1224 
 1225 _ACEOF
 1226 
 1227 
 1228 # Keep a trace of the command line.
 1229 # Strip out --no-create and --no-recursion so they do not pile up.
 1230 # Strip out --silent because we don't want to record it for future runs.
 1231 # Also quote any args containing shell meta-characters.
 1232 # Make two passes to allow for proper duplicate-argument suppression.
 1233 ac_configure_args=
 1234 ac_configure_args0=
 1235 ac_configure_args1=
 1236 ac_sep=
 1237 ac_must_keep_next=false
 1238 for ac_pass in 1 2
 1239 do
 1240   for ac_arg
 1241   do
 1242     case $ac_arg in
 1243     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1244     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1245     | -silent | --silent | --silen | --sile | --sil)
 1246       continue ;;
 1247     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1248       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1249     esac
 1250     case $ac_pass in
 1251     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 1252     2)
 1253       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 1254       if test $ac_must_keep_next = true; then
 1255 	ac_must_keep_next=false # Got value, back to normal.
 1256       else
 1257 	case $ac_arg in
 1258 	  *=* | --config-cache | -C | -disable-* | --disable-* \
 1259 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1260 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1261 	  | -with-* | --with-* | -without-* | --without-* | --x)
 1262 	    case "$ac_configure_args0 " in
 1263 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1264 	    esac
 1265 	    ;;
 1266 	  -* ) ac_must_keep_next=true ;;
 1267 	esac
 1268       fi
 1269       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 1270       # Get rid of the leading space.
 1271       ac_sep=" "
 1272       ;;
 1273     esac
 1274   done
 1275 done
 1276 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 1277 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 1278 
 1279 # When interrupted or exit'd, cleanup temporary files, and complete
 1280 # config.log.  We remove comments because anyway the quotes in there
 1281 # would cause problems or look ugly.
 1282 # WARNING: Be sure not to use single quotes in there, as some shells,
 1283 # such as our DU 5.0 friend, will then `close' the trap.
 1284 trap 'exit_status=$?
 1285   # Save into config.log some information that might help in debugging.
 1286   {
 1287     echo
 1288 
 1289     cat <<\_ASBOX
 1290 @%:@@%:@ ---------------- @%:@@%:@
 1291 @%:@@%:@ Cache variables. @%:@@%:@
 1292 @%:@@%:@ ---------------- @%:@@%:@
 1293 _ASBOX
 1294     echo
 1295     # The following way of writing the cache mishandles newlines in values,
 1296 {
 1297   (set) 2>&1 |
 1298     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 1299     *ac_space=\ *)
 1300       sed -n \
 1301 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 1302 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 1303       ;;
 1304     *)
 1305       sed -n \
 1306 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 1307       ;;
 1308     esac;
 1309 }
 1310     echo
 1311 
 1312     cat <<\_ASBOX
 1313 @%:@@%:@ ----------------- @%:@@%:@
 1314 @%:@@%:@ Output variables. @%:@@%:@
 1315 @%:@@%:@ ----------------- @%:@@%:@
 1316 _ASBOX
 1317     echo
 1318     for ac_var in $ac_subst_vars
 1319     do
 1320       eval ac_val=$`echo $ac_var`
 1321       echo "$ac_var='"'"'$ac_val'"'"'"
 1322     done | sort
 1323     echo
 1324 
 1325     if test -n "$ac_subst_files"; then
 1326       cat <<\_ASBOX
 1327 @%:@@%:@ ------------- @%:@@%:@
 1328 @%:@@%:@ Output files. @%:@@%:@
 1329 @%:@@%:@ ------------- @%:@@%:@
 1330 _ASBOX
 1331       echo
 1332       for ac_var in $ac_subst_files
 1333       do
 1334 	eval ac_val=$`echo $ac_var`
 1335 	echo "$ac_var='"'"'$ac_val'"'"'"
 1336       done | sort
 1337       echo
 1338     fi
 1339 
 1340     if test -s confdefs.h; then
 1341       cat <<\_ASBOX
 1342 @%:@@%:@ ----------- @%:@@%:@
 1343 @%:@@%:@ confdefs.h. @%:@@%:@
 1344 @%:@@%:@ ----------- @%:@@%:@
 1345 _ASBOX
 1346       echo
 1347       sed "/^$/d" confdefs.h | sort
 1348       echo
 1349     fi
 1350     test "$ac_signal" != 0 &&
 1351       echo "$as_me: caught signal $ac_signal"
 1352     echo "$as_me: exit $exit_status"
 1353   } >&5
 1354   rm -f core *.core &&
 1355   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 1356     exit $exit_status
 1357      ' 0
 1358 for ac_signal in 1 2 13 15; do
 1359   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1360 done
 1361 ac_signal=0
 1362 
 1363 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1364 rm -rf conftest* confdefs.h
 1365 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
 1366 echo >confdefs.h
 1367 
 1368 # Predefined preprocessor variables.
 1369 
 1370 cat >>confdefs.h <<_ACEOF
 1371 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
 1372 _ACEOF
 1373 
 1374 
 1375 cat >>confdefs.h <<_ACEOF
 1376 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1377 _ACEOF
 1378 
 1379 
 1380 cat >>confdefs.h <<_ACEOF
 1381 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
 1382 _ACEOF
 1383 
 1384 
 1385 cat >>confdefs.h <<_ACEOF
 1386 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
 1387 _ACEOF
 1388 
 1389 
 1390 cat >>confdefs.h <<_ACEOF
 1391 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1392 _ACEOF
 1393 
 1394 
 1395 # Let the site file select an alternate cache file if it wants to.
 1396 # Prefer explicitly selected file to automatically selected ones.
 1397 if test -z "$CONFIG_SITE"; then
 1398   if test "x$prefix" != xNONE; then
 1399     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 1400   else
 1401     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 1402   fi
 1403 fi
 1404 for ac_site_file in $CONFIG_SITE; do
 1405   if test -r "$ac_site_file"; then
 1406     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 1407 echo "$as_me: loading site script $ac_site_file" >&6;}
 1408     sed 's/^/| /' "$ac_site_file" >&5
 1409     . "$ac_site_file"
 1410   fi
 1411 done
 1412 
 1413 if test -r "$cache_file"; then
 1414   # Some versions of bash will fail to source /dev/null (special
 1415   # files actually), so we avoid doing that.
 1416   if test -f "$cache_file"; then
 1417     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 1418 echo "$as_me: loading cache $cache_file" >&6;}
 1419     case $cache_file in
 1420       [\\/]* | ?:[\\/]* ) . $cache_file;;
 1421       *)                      . ./$cache_file;;
 1422     esac
 1423   fi
 1424 else
 1425   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 1426 echo "$as_me: creating cache $cache_file" >&6;}
 1427   >$cache_file
 1428 fi
 1429 
 1430 # Check that the precious variables saved in the cache have kept the same
 1431 # value.
 1432 ac_cache_corrupted=false
 1433 for ac_var in `(set) 2>&1 |
 1434 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 1435   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1436   eval ac_new_set=\$ac_env_${ac_var}_set
 1437   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 1438   eval ac_new_val="\$ac_env_${ac_var}_value"
 1439   case $ac_old_set,$ac_new_set in
 1440     set,)
 1441       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1442 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1443       ac_cache_corrupted=: ;;
 1444     ,set)
 1445       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 1446 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1447       ac_cache_corrupted=: ;;
 1448     ,);;
 1449     *)
 1450       if test "x$ac_old_val" != "x$ac_new_val"; then
 1451 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 1452 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1453 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 1454 echo "$as_me:   former value:  $ac_old_val" >&2;}
 1455 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 1456 echo "$as_me:   current value: $ac_new_val" >&2;}
 1457 	ac_cache_corrupted=:
 1458       fi;;
 1459   esac
 1460   # Pass precious variables to config.status.
 1461   if test "$ac_new_set" = set; then
 1462     case $ac_new_val in
 1463     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1464       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 1465     *) ac_arg=$ac_var=$ac_new_val ;;
 1466     esac
 1467     case " $ac_configure_args " in
 1468       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 1469       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 1470     esac
 1471   fi
 1472 done
 1473 if $ac_cache_corrupted; then
 1474   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 1475 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 1476   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 1477 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 1478    { (exit 1); exit 1; }; }
 1479 fi
 1480 
 1481 ac_ext=c
 1482 ac_cpp='$CPP $CPPFLAGS'
 1483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1486 
 1487 
 1488 
 1489 
 1490 
 1491 
 1492 
 1493 
 1494 
 1495 
 1496 
 1497 
 1498 
 1499 
 1500 
 1501 
 1502 
 1503 
 1504 
 1505 
 1506 LIBMCRYPT_MAJOR_VERSION=2
 1507 LIBMCRYPT_MINOR_VERSION=5
 1508 LIBMCRYPT_MICRO_VERSION=8
 1509 LIBMCRYPT_VERSION=$LIBMCRYPT_MAJOR_VERSION.$LIBMCRYPT_MINOR_VERSION.$LIBMCRYPT_MICRO_VERSION
 1510 
 1511 LIBMCRYPT_MOST_RECENT_INTERFACE=8
 1512 LIBMCRYPT_CURRENT_INTERFACE_IMPLEMENTATION_NUMBER=$LIBMCRYPT_MICRO_VERSION
 1513 LIBMCRYPT_OLDEST_INTERFACE=4
 1514 
 1515 ac_aux_dir=
 1516 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 1517   if test -f $ac_dir/install-sh; then
 1518     ac_aux_dir=$ac_dir
 1519     ac_install_sh="$ac_aux_dir/install-sh -c"
 1520     break
 1521   elif test -f $ac_dir/install.sh; then
 1522     ac_aux_dir=$ac_dir
 1523     ac_install_sh="$ac_aux_dir/install.sh -c"
 1524     break
 1525   elif test -f $ac_dir/shtool; then
 1526     ac_aux_dir=$ac_dir
 1527     ac_install_sh="$ac_aux_dir/shtool install -c"
 1528     break
 1529   fi
 1530 done
 1531 if test -z "$ac_aux_dir"; then
 1532   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 1533 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 1534    { (exit 1); exit 1; }; }
 1535 fi
 1536 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 1537 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 1538 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 1539 
 1540 # Make sure we can run config.sub.
 1541 $ac_config_sub sun4 >/dev/null 2>&1 ||
 1542   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
 1543 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 1544    { (exit 1); exit 1; }; }
 1545 
 1546 echo "$as_me:$LINENO: checking build system type" >&5
 1547 echo $ECHO_N "checking build system type... $ECHO_C" >&6
 1548 if test "${ac_cv_build+set}" = set; then
 1549   echo $ECHO_N "(cached) $ECHO_C" >&6
 1550 else
 1551   ac_cv_build_alias=$build_alias
 1552 test -z "$ac_cv_build_alias" &&
 1553   ac_cv_build_alias=`$ac_config_guess`
 1554 test -z "$ac_cv_build_alias" &&
 1555   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 1556 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 1557    { (exit 1); exit 1; }; }
 1558 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
 1559   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
 1560 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 1561    { (exit 1); exit 1; }; }
 1562 
 1563 fi
 1564 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 1565 echo "${ECHO_T}$ac_cv_build" >&6
 1566 build=$ac_cv_build
 1567 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 1568 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 1569 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 1570 
 1571 
 1572 echo "$as_me:$LINENO: checking host system type" >&5
 1573 echo $ECHO_N "checking host system type... $ECHO_C" >&6
 1574 if test "${ac_cv_host+set}" = set; then
 1575   echo $ECHO_N "(cached) $ECHO_C" >&6
 1576 else
 1577   ac_cv_host_alias=$host_alias
 1578 test -z "$ac_cv_host_alias" &&
 1579   ac_cv_host_alias=$ac_cv_build_alias
 1580 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
 1581   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 1582 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 1583    { (exit 1); exit 1; }; }
 1584 
 1585 fi
 1586 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 1587 echo "${ECHO_T}$ac_cv_host" >&6
 1588 host=$ac_cv_host
 1589 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 1590 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 1591 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 1592 
 1593 
 1594 echo "$as_me:$LINENO: checking target system type" >&5
 1595 echo $ECHO_N "checking target system type... $ECHO_C" >&6
 1596 if test "${ac_cv_target+set}" = set; then
 1597   echo $ECHO_N "(cached) $ECHO_C" >&6
 1598 else
 1599   ac_cv_target_alias=$target_alias
 1600 test "x$ac_cv_target_alias" = "x" &&
 1601   ac_cv_target_alias=$ac_cv_host_alias
 1602 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
 1603   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
 1604 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
 1605    { (exit 1); exit 1; }; }
 1606 
 1607 fi
 1608 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 1609 echo "${ECHO_T}$ac_cv_target" >&6
 1610 target=$ac_cv_target
 1611 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 1612 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 1613 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 1614 
 1615 
 1616 # The aliases save the names the user supplied, while $host etc.
 1617 # will get canonicalized.
 1618 test -n "$target_alias" &&
 1619   test "$program_prefix$program_suffix$program_transform_name" = \
 1620     NONENONEs,x,x, &&
 1621   program_prefix=${target_alias}-
 1622 am__api_version="1.9"
 1623 # Find a good install program.  We prefer a C program (faster),
 1624 # so one script is as good as another.  But avoid the broken or
 1625 # incompatible versions:
 1626 # SysV /etc/install, /usr/sbin/install
 1627 # SunOS /usr/etc/install
 1628 # IRIX /sbin/install
 1629 # AIX /bin/install
 1630 # AmigaOS /C/install, which installs bootblocks on floppy discs
 1631 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 1632 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 1633 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 1634 # OS/2's system install, which has a completely different semantic
 1635 # ./install, which can be erroneously created by make from ./install.sh.
 1636 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 1637 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 1638 if test -z "$INSTALL"; then
 1639 if test "${ac_cv_path_install+set}" = set; then
 1640   echo $ECHO_N "(cached) $ECHO_C" >&6
 1641 else
 1642   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1643 for as_dir in $PATH
 1644 do
 1645   IFS=$as_save_IFS
 1646   test -z "$as_dir" && as_dir=.
 1647   # Account for people who put trailing slashes in PATH elements.
 1648 case $as_dir/ in
 1649   ./ | .// | /cC/* | \
 1650   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 1651   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 1652   /usr/ucb/* ) ;;
 1653   *)
 1654     # OSF1 and SCO ODT 3.0 have their own names for install.
 1655     # Don't use installbsd from OSF since it installs stuff as root
 1656     # by default.
 1657     for ac_prog in ginstall scoinst install; do
 1658       for ac_exec_ext in '' $ac_executable_extensions; do
 1659 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 1660 	  if test $ac_prog = install &&
 1661 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 1662 	    # AIX install.  It has an incompatible calling convention.
 1663 	    :
 1664 	  elif test $ac_prog = install &&
 1665 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 1666 	    # program-specific install script used by HP pwplus--don't use.
 1667 	    :
 1668 	  else
 1669 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 1670 	    break 3
 1671 	  fi
 1672 	fi
 1673       done
 1674     done
 1675     ;;
 1676 esac
 1677 done
 1678 
 1679 
 1680 fi
 1681   if test "${ac_cv_path_install+set}" = set; then
 1682     INSTALL=$ac_cv_path_install
 1683   else
 1684     # As a last resort, use the slow shell script.  We don't cache a
 1685     # path for INSTALL within a source directory, because that will
 1686     # break other packages using the cache if that directory is
 1687     # removed, or if the path is relative.
 1688     INSTALL=$ac_install_sh
 1689   fi
 1690 fi
 1691 echo "$as_me:$LINENO: result: $INSTALL" >&5
 1692 echo "${ECHO_T}$INSTALL" >&6
 1693 
 1694 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 1695 # It thinks the first close brace ends the variable substitution.
 1696 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 1697 
 1698 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 1699 
 1700 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 1701 
 1702 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 1703 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 1704 # Just in case
 1705 sleep 1
 1706 echo timestamp > conftest.file
 1707 # Do `set' in a subshell so we don't clobber the current shell's
 1708 # arguments.  Must try -L first in case configure is actually a
 1709 # symlink; some systems play weird games with the mod time of symlinks
 1710 # (eg FreeBSD returns the mod time of the symlink's containing
 1711 # directory).
 1712 if (
 1713    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 1714    if test "$*" = "X"; then
 1715       # -L didn't work.
 1716       set X `ls -t $srcdir/configure conftest.file`
 1717    fi
 1718    rm -f conftest.file
 1719    if test "$*" != "X $srcdir/configure conftest.file" \
 1720       && test "$*" != "X conftest.file $srcdir/configure"; then
 1721 
 1722       # If neither matched, then we have a broken ls.  This can happen
 1723       # if, for instance, CONFIG_SHELL is bash and it inherits a
 1724       # broken ls alias from the environment.  This has actually
 1725       # happened.  Such a system could not be considered "sane".
 1726       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 1727 alias in your environment" >&5
 1728 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 1729 alias in your environment" >&2;}
 1730    { (exit 1); exit 1; }; }
 1731    fi
 1732 
 1733    test "$2" = conftest.file
 1734    )
 1735 then
 1736    # Ok.
 1737    :
 1738 else
 1739    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 1740 Check your system clock" >&5
 1741 echo "$as_me: error: newly created file is older than distributed files!
 1742 Check your system clock" >&2;}
 1743    { (exit 1); exit 1; }; }
 1744 fi
 1745 echo "$as_me:$LINENO: result: yes" >&5
 1746 echo "${ECHO_T}yes" >&6
 1747 test "$program_prefix" != NONE &&
 1748   program_transform_name="s,^,$program_prefix,;$program_transform_name"
 1749 # Use a double $ so make ignores it.
 1750 test "$program_suffix" != NONE &&
 1751   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 1752 # Double any \ or $.  echo might interpret backslashes.
 1753 # By default was `s,x,x', remove it if useless.
 1754 cat <<\_ACEOF >conftest.sed
 1755 s/[\\$]/&&/g;s/;s,x,x,$//
 1756 _ACEOF
 1757 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 1758 rm conftest.sed
 1759 
 1760 # expand $ac_aux_dir to an absolute path
 1761 am_aux_dir=`cd $ac_aux_dir && pwd`
 1762 
 1763 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 1764 # Use eval to expand $SHELL
 1765 if eval "$MISSING --run true"; then
 1766   am_missing_run="$MISSING --run "
 1767 else
 1768   am_missing_run=
 1769   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 1770 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 1771 fi
 1772 
 1773 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 1774   # We used to keeping the `.' as first argument, in order to
 1775   # allow $(mkdir_p) to be used without argument.  As in
 1776   #   $(mkdir_p) $(somedir)
 1777   # where $(somedir) is conditionally defined.  However this is wrong
 1778   # for two reasons:
 1779   #  1. if the package is installed by a user who cannot write `.'
 1780   #     make install will fail,
 1781   #  2. the above comment should most certainly read
 1782   #     $(mkdir_p) $(DESTDIR)$(somedir)
 1783   #     so it does not work when $(somedir) is undefined and
 1784   #     $(DESTDIR) is not.
 1785   #  To support the latter case, we have to write
 1786   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 1787   #  so the `.' trick is pointless.
 1788   mkdir_p='mkdir -p --'
 1789 else
 1790   # On NextStep and OpenStep, the `mkdir' command does not
 1791   # recognize any option.  It will interpret all options as
 1792   # directories to create, and then abort because `.' already
 1793   # exists.
 1794   for d in ./-p ./--version;
 1795   do
 1796     test -d $d && rmdir $d
 1797   done
 1798   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 1799   if test -f "$ac_aux_dir/mkinstalldirs"; then
 1800     mkdir_p='$(mkinstalldirs)'
 1801   else
 1802     mkdir_p='$(install_sh) -d'
 1803   fi
 1804 fi
 1805 
 1806 for ac_prog in gawk mawk nawk awk
 1807 do
 1808   # Extract the first word of "$ac_prog", so it can be a program name with args.
 1809 set dummy $ac_prog; ac_word=$2
 1810 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1812 if test "${ac_cv_prog_AWK+set}" = set; then
 1813   echo $ECHO_N "(cached) $ECHO_C" >&6
 1814 else
 1815   if test -n "$AWK"; then
 1816   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 1817 else
 1818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1819 for as_dir in $PATH
 1820 do
 1821   IFS=$as_save_IFS
 1822   test -z "$as_dir" && as_dir=.
 1823   for ac_exec_ext in '' $ac_executable_extensions; do
 1824   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1825     ac_cv_prog_AWK="$ac_prog"
 1826     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1827     break 2
 1828   fi
 1829 done
 1830 done
 1831 
 1832 fi
 1833 fi
 1834 AWK=$ac_cv_prog_AWK
 1835 if test -n "$AWK"; then
 1836   echo "$as_me:$LINENO: result: $AWK" >&5
 1837 echo "${ECHO_T}$AWK" >&6
 1838 else
 1839   echo "$as_me:$LINENO: result: no" >&5
 1840 echo "${ECHO_T}no" >&6
 1841 fi
 1842 
 1843   test -n "$AWK" && break
 1844 done
 1845 
 1846 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 1847 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 1848 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 1849 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 1850   echo $ECHO_N "(cached) $ECHO_C" >&6
 1851 else
 1852   cat >conftest.make <<\_ACEOF
 1853 all:
 1854 	@echo 'ac_maketemp="$(MAKE)"'
 1855 _ACEOF
 1856 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 1857 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 1858 if test -n "$ac_maketemp"; then
 1859   eval ac_cv_prog_make_${ac_make}_set=yes
 1860 else
 1861   eval ac_cv_prog_make_${ac_make}_set=no
 1862 fi
 1863 rm -f conftest.make
 1864 fi
 1865 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 1866   echo "$as_me:$LINENO: result: yes" >&5
 1867 echo "${ECHO_T}yes" >&6
 1868   SET_MAKE=
 1869 else
 1870   echo "$as_me:$LINENO: result: no" >&5
 1871 echo "${ECHO_T}no" >&6
 1872   SET_MAKE="MAKE=${MAKE-make}"
 1873 fi
 1874 
 1875 rm -rf .tst 2>/dev/null
 1876 mkdir .tst 2>/dev/null
 1877 if test -d .tst; then
 1878   am__leading_dot=.
 1879 else
 1880   am__leading_dot=_
 1881 fi
 1882 rmdir .tst 2>/dev/null
 1883 
 1884 # test to see if srcdir already configured
 1885 if test "`cd $srcdir && pwd`" != "`pwd`" &&
 1886    test -f $srcdir/config.status; then
 1887   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 1888 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 1889    { (exit 1); exit 1; }; }
 1890 fi
 1891 
 1892 # test whether we have cygpath
 1893 if test -z "$CYGPATH_W"; then
 1894   if (cygpath --version) >/dev/null 2>/dev/null; then
 1895     CYGPATH_W='cygpath -w'
 1896   else
 1897     CYGPATH_W=echo
 1898   fi
 1899 fi
 1900 
 1901 
 1902 # Define the identity of the package.
 1903  PACKAGE=libmcrypt
 1904  VERSION=$LIBMCRYPT_VERSION
 1905 
 1906 
 1907 cat >>confdefs.h <<_ACEOF
 1908 @%:@define PACKAGE "$PACKAGE"
 1909 _ACEOF
 1910 
 1911  
 1912 cat >>confdefs.h <<_ACEOF
 1913 @%:@define VERSION "$VERSION"
 1914 _ACEOF
 1915 
 1916 # Some tools Automake needs.
 1917 
 1918 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 1919 
 1920 
 1921 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 1922 
 1923 
 1924 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 1925 
 1926 
 1927 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 1928 
 1929 
 1930 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 1931 
 1932 install_sh=${install_sh-"$am_aux_dir/install-sh"}
 1933 
 1934 # Installed binaries are usually stripped using `strip' when the user
 1935 # run `make install-strip'.  However `strip' might not be the right
 1936 # tool to use in cross-compilation environments, therefore Automake
 1937 # will honor the `STRIP' environment variable to overrule this program.
 1938 if test "$cross_compiling" != no; then
 1939   if test -n "$ac_tool_prefix"; then
 1940   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 1941 set dummy ${ac_tool_prefix}strip; ac_word=$2
 1942 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1944 if test "${ac_cv_prog_STRIP+set}" = set; then
 1945   echo $ECHO_N "(cached) $ECHO_C" >&6
 1946 else
 1947   if test -n "$STRIP"; then
 1948   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 1949 else
 1950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1951 for as_dir in $PATH
 1952 do
 1953   IFS=$as_save_IFS
 1954   test -z "$as_dir" && as_dir=.
 1955   for ac_exec_ext in '' $ac_executable_extensions; do
 1956   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1957     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 1958     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1959     break 2
 1960   fi
 1961 done
 1962 done
 1963 
 1964 fi
 1965 fi
 1966 STRIP=$ac_cv_prog_STRIP
 1967 if test -n "$STRIP"; then
 1968   echo "$as_me:$LINENO: result: $STRIP" >&5
 1969 echo "${ECHO_T}$STRIP" >&6
 1970 else
 1971   echo "$as_me:$LINENO: result: no" >&5
 1972 echo "${ECHO_T}no" >&6
 1973 fi
 1974 
 1975 fi
 1976 if test -z "$ac_cv_prog_STRIP"; then
 1977   ac_ct_STRIP=$STRIP
 1978   # Extract the first word of "strip", so it can be a program name with args.
 1979 set dummy strip; ac_word=$2
 1980 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1982 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 1983   echo $ECHO_N "(cached) $ECHO_C" >&6
 1984 else
 1985   if test -n "$ac_ct_STRIP"; then
 1986   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 1987 else
 1988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1989 for as_dir in $PATH
 1990 do
 1991   IFS=$as_save_IFS
 1992   test -z "$as_dir" && as_dir=.
 1993   for ac_exec_ext in '' $ac_executable_extensions; do
 1994   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1995     ac_cv_prog_ac_ct_STRIP="strip"
 1996     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1997     break 2
 1998   fi
 1999 done
 2000 done
 2001 
 2002   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 2003 fi
 2004 fi
 2005 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2006 if test -n "$ac_ct_STRIP"; then
 2007   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 2008 echo "${ECHO_T}$ac_ct_STRIP" >&6
 2009 else
 2010   echo "$as_me:$LINENO: result: no" >&5
 2011 echo "${ECHO_T}no" >&6
 2012 fi
 2013 
 2014   STRIP=$ac_ct_STRIP
 2015 else
 2016   STRIP="$ac_cv_prog_STRIP"
 2017 fi
 2018 
 2019 fi
 2020 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 2021 
 2022 # We need awk for the "check" target.  The system "awk" is bad on
 2023 # some platforms.
 2024 # Always define AMTAR for backward compatibility.
 2025 
 2026 AMTAR=${AMTAR-"${am_missing_run}tar"}
 2027 
 2028 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 2029 
 2030 
 2031 
 2032 
 2033 
 2034           ac_config_headers="$ac_config_headers config.h"
 2035 
 2036 
 2037 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 2038 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
 2039     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 2040 if test "${enable_maintainer_mode+set}" = set; then
 2041   enableval="$enable_maintainer_mode"
 2042   USE_MAINTAINER_MODE=$enableval
 2043 else
 2044   USE_MAINTAINER_MODE=no
 2045 fi; 
 2046   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 2047 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 2048    
 2049 
 2050 if test $USE_MAINTAINER_MODE = yes; then
 2051   MAINTAINER_MODE_TRUE=
 2052   MAINTAINER_MODE_FALSE='#'
 2053 else
 2054   MAINTAINER_MODE_TRUE='#'
 2055   MAINTAINER_MODE_FALSE=
 2056 fi
 2057 
 2058   MAINT=$MAINTAINER_MODE_TRUE
 2059   
 2060 
 2061 
 2062 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2063 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 2064 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 2065 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 2066   echo $ECHO_N "(cached) $ECHO_C" >&6
 2067 else
 2068   cat >conftest.make <<\_ACEOF
 2069 all:
 2070 	@echo 'ac_maketemp="$(MAKE)"'
 2071 _ACEOF
 2072 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 2073 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 2074 if test -n "$ac_maketemp"; then
 2075   eval ac_cv_prog_make_${ac_make}_set=yes
 2076 else
 2077   eval ac_cv_prog_make_${ac_make}_set=no
 2078 fi
 2079 rm -f conftest.make
 2080 fi
 2081 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 2082   echo "$as_me:$LINENO: result: yes" >&5
 2083 echo "${ECHO_T}yes" >&6
 2084   SET_MAKE=
 2085 else
 2086   echo "$as_me:$LINENO: result: no" >&5
 2087 echo "${ECHO_T}no" >&6
 2088   SET_MAKE="MAKE=${MAKE-make}"
 2089 fi
 2090 
 2091 
 2092 ac_ext=cc
 2093 ac_cpp='$CXXCPP $CPPFLAGS'
 2094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 2097 if test -n "$ac_tool_prefix"; then
 2098   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 2099   do
 2100     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2102 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2104 if test "${ac_cv_prog_CXX+set}" = set; then
 2105   echo $ECHO_N "(cached) $ECHO_C" >&6
 2106 else
 2107   if test -n "$CXX"; then
 2108   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 2109 else
 2110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2111 for as_dir in $PATH
 2112 do
 2113   IFS=$as_save_IFS
 2114   test -z "$as_dir" && as_dir=.
 2115   for ac_exec_ext in '' $ac_executable_extensions; do
 2116   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2117     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 2118     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2119     break 2
 2120   fi
 2121 done
 2122 done
 2123 
 2124 fi
 2125 fi
 2126 CXX=$ac_cv_prog_CXX
 2127 if test -n "$CXX"; then
 2128   echo "$as_me:$LINENO: result: $CXX" >&5
 2129 echo "${ECHO_T}$CXX" >&6
 2130 else
 2131   echo "$as_me:$LINENO: result: no" >&5
 2132 echo "${ECHO_T}no" >&6
 2133 fi
 2134 
 2135     test -n "$CXX" && break
 2136   done
 2137 fi
 2138 if test -z "$CXX"; then
 2139   ac_ct_CXX=$CXX
 2140   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 2141 do
 2142   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2143 set dummy $ac_prog; ac_word=$2
 2144 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2146 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 2147   echo $ECHO_N "(cached) $ECHO_C" >&6
 2148 else
 2149   if test -n "$ac_ct_CXX"; then
 2150   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 2151 else
 2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2153 for as_dir in $PATH
 2154 do
 2155   IFS=$as_save_IFS
 2156   test -z "$as_dir" && as_dir=.
 2157   for ac_exec_ext in '' $ac_executable_extensions; do
 2158   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2159     ac_cv_prog_ac_ct_CXX="$ac_prog"
 2160     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2161     break 2
 2162   fi
 2163 done
 2164 done
 2165 
 2166 fi
 2167 fi
 2168 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 2169 if test -n "$ac_ct_CXX"; then
 2170   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 2171 echo "${ECHO_T}$ac_ct_CXX" >&6
 2172 else
 2173   echo "$as_me:$LINENO: result: no" >&5
 2174 echo "${ECHO_T}no" >&6
 2175 fi
 2176 
 2177   test -n "$ac_ct_CXX" && break
 2178 done
 2179 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
 2180 
 2181   CXX=$ac_ct_CXX
 2182 fi
 2183 
 2184 
 2185 # Provide some information about the compiler.
 2186 echo "$as_me:$LINENO:" \
 2187      "checking for C++ compiler version" >&5
 2188 ac_compiler=`set X $ac_compile; echo $2`
 2189 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 2190   (eval $ac_compiler --version </dev/null >&5) 2>&5
 2191   ac_status=$?
 2192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2193   (exit $ac_status); }
 2194 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 2195   (eval $ac_compiler -v </dev/null >&5) 2>&5
 2196   ac_status=$?
 2197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2198   (exit $ac_status); }
 2199 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 2200   (eval $ac_compiler -V </dev/null >&5) 2>&5
 2201   ac_status=$?
 2202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2203   (exit $ac_status); }
 2204 
 2205 cat >conftest.$ac_ext <<_ACEOF
 2206 /* confdefs.h.  */
 2207 _ACEOF
 2208 cat confdefs.h >>conftest.$ac_ext
 2209 cat >>conftest.$ac_ext <<_ACEOF
 2210 /* end confdefs.h.  */
 2211 
 2212 int
 2213 main ()
 2214 {
 2215 
 2216   ;
 2217   return 0;
 2218 }
 2219 _ACEOF
 2220 ac_clean_files_save=$ac_clean_files
 2221 ac_clean_files="$ac_clean_files a.out a.exe b.out"
 2222 # Try to create an executable without -o first, disregard a.out.
 2223 # It will help us diagnose broken compilers, and finding out an intuition
 2224 # of exeext.
 2225 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
 2226 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
 2227 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 2228 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 2229   (eval $ac_link_default) 2>&5
 2230   ac_status=$?
 2231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2232   (exit $ac_status); }; then
 2233   # Find the output, starting from the most likely.  This scheme is
 2234 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
 2235 # resort.
 2236 
 2237 # Be careful to initialize this variable, since it used to be cached.
 2238 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 2239 ac_cv_exeext=
 2240 # b.out is created by i960 compilers.
 2241 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 2242 do
 2243   test -f "$ac_file" || continue
 2244   case $ac_file in
 2245     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 2246 	;;
 2247     conftest.$ac_ext )
 2248 	# This is the source file.
 2249 	;;
 2250     [ab].out )
 2251 	# We found the default executable, but exeext='' is most
 2252 	# certainly right.
 2253 	break;;
 2254     *.* )
 2255 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2256 	# FIXME: I believe we export ac_cv_exeext for Libtool,
 2257 	# but it would be cool to find out if it's true.  Does anybody
 2258 	# maintain Libtool? --akim.
 2259 	export ac_cv_exeext
 2260 	break;;
 2261     * )
 2262 	break;;
 2263   esac
 2264 done
 2265 else
 2266   echo "$as_me: failed program was:" >&5
 2267 sed 's/^/| /' conftest.$ac_ext >&5
 2268 
 2269 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
 2270 See \`config.log' for more details." >&5
 2271 echo "$as_me: error: C++ compiler cannot create executables
 2272 See \`config.log' for more details." >&2;}
 2273    { (exit 77); exit 77; }; }
 2274 fi
 2275 
 2276 ac_exeext=$ac_cv_exeext
 2277 echo "$as_me:$LINENO: result: $ac_file" >&5
 2278 echo "${ECHO_T}$ac_file" >&6
 2279 
 2280 # Check the compiler produces executables we can run.  If not, either
 2281 # the compiler is broken, or we cross compile.
 2282 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
 2283 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
 2284 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 2285 # If not cross compiling, check that we can run a simple program.
 2286 if test "$cross_compiling" != yes; then
 2287   if { ac_try='./$ac_file'
 2288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2289   (eval $ac_try) 2>&5
 2290   ac_status=$?
 2291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2292   (exit $ac_status); }; }; then
 2293     cross_compiling=no
 2294   else
 2295     if test "$cross_compiling" = maybe; then
 2296 	cross_compiling=yes
 2297     else
 2298 	{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
 2299 If you meant to cross compile, use \`--host'.
 2300 See \`config.log' for more details." >&5
 2301 echo "$as_me: error: cannot run C++ compiled programs.
 2302 If you meant to cross compile, use \`--host'.
 2303 See \`config.log' for more details." >&2;}
 2304    { (exit 1); exit 1; }; }
 2305     fi
 2306   fi
 2307 fi
 2308 echo "$as_me:$LINENO: result: yes" >&5
 2309 echo "${ECHO_T}yes" >&6
 2310 
 2311 rm -f a.out a.exe conftest$ac_cv_exeext b.out
 2312 ac_clean_files=$ac_clean_files_save
 2313 # Check the compiler produces executables we can run.  If not, either
 2314 # the compiler is broken, or we cross compile.
 2315 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 2316 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 2317 echo "$as_me:$LINENO: result: $cross_compiling" >&5
 2318 echo "${ECHO_T}$cross_compiling" >&6
 2319 
 2320 echo "$as_me:$LINENO: checking for suffix of executables" >&5
 2321 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 2322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2323   (eval $ac_link) 2>&5
 2324   ac_status=$?
 2325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2326   (exit $ac_status); }; then
 2327   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 2328 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 2329 # work properly (i.e., refer to `conftest.exe'), while it won't with
 2330 # `rm'.
 2331 for ac_file in conftest.exe conftest conftest.*; do
 2332   test -f "$ac_file" || continue
 2333   case $ac_file in
 2334     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 2335     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2336 	  export ac_cv_exeext
 2337 	  break;;
 2338     * ) break;;
 2339   esac
 2340 done
 2341 else
 2342   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 2343 See \`config.log' for more details." >&5
 2344 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 2345 See \`config.log' for more details." >&2;}
 2346    { (exit 1); exit 1; }; }
 2347 fi
 2348 
 2349 rm -f conftest$ac_cv_exeext
 2350 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 2351 echo "${ECHO_T}$ac_cv_exeext" >&6
 2352 
 2353 rm -f conftest.$ac_ext
 2354 EXEEXT=$ac_cv_exeext
 2355 ac_exeext=$EXEEXT
 2356 echo "$as_me:$LINENO: checking for suffix of object files" >&5
 2357 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 2358 if test "${ac_cv_objext+set}" = set; then
 2359   echo $ECHO_N "(cached) $ECHO_C" >&6
 2360 else
 2361   cat >conftest.$ac_ext <<_ACEOF
 2362 /* confdefs.h.  */
 2363 _ACEOF
 2364 cat confdefs.h >>conftest.$ac_ext
 2365 cat >>conftest.$ac_ext <<_ACEOF
 2366 /* end confdefs.h.  */
 2367 
 2368 int
 2369 main ()
 2370 {
 2371 
 2372   ;
 2373   return 0;
 2374 }
 2375 _ACEOF
 2376 rm -f conftest.o conftest.obj
 2377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2378   (eval $ac_compile) 2>&5
 2379   ac_status=$?
 2380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2381   (exit $ac_status); }; then
 2382   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 2383   case $ac_file in
 2384     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 2385     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 2386        break;;
 2387   esac
 2388 done
 2389 else
 2390   echo "$as_me: failed program was:" >&5
 2391 sed 's/^/| /' conftest.$ac_ext >&5
 2392 
 2393 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 2394 See \`config.log' for more details." >&5
 2395 echo "$as_me: error: cannot compute suffix of object files: cannot compile
 2396 See \`config.log' for more details." >&2;}
 2397    { (exit 1); exit 1; }; }
 2398 fi
 2399 
 2400 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 2401 fi
 2402 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 2403 echo "${ECHO_T}$ac_cv_objext" >&6
 2404 OBJEXT=$ac_cv_objext
 2405 ac_objext=$OBJEXT
 2406 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 2407 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 2408 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 2409   echo $ECHO_N "(cached) $ECHO_C" >&6
 2410 else
 2411   cat >conftest.$ac_ext <<_ACEOF
 2412 /* confdefs.h.  */
 2413 _ACEOF
 2414 cat confdefs.h >>conftest.$ac_ext
 2415 cat >>conftest.$ac_ext <<_ACEOF
 2416 /* end confdefs.h.  */
 2417 
 2418 int
 2419 main ()
 2420 {
 2421 #ifndef __GNUC__
 2422        choke me
 2423 #endif
 2424 
 2425   ;
 2426   return 0;
 2427 }
 2428 _ACEOF
 2429 rm -f conftest.$ac_objext
 2430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2431   (eval $ac_compile) 2>conftest.er1
 2432   ac_status=$?
 2433   grep -v '^ *+' conftest.er1 >conftest.err
 2434   rm -f conftest.er1
 2435   cat conftest.err >&5
 2436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2437   (exit $ac_status); } &&
 2438 	 { ac_try='test -z "$ac_cxx_werror_flag"
 2439 			 || test ! -s conftest.err'
 2440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2441   (eval $ac_try) 2>&5
 2442   ac_status=$?
 2443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2444   (exit $ac_status); }; } &&
 2445 	 { ac_try='test -s conftest.$ac_objext'
 2446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2447   (eval $ac_try) 2>&5
 2448   ac_status=$?
 2449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2450   (exit $ac_status); }; }; then
 2451   ac_compiler_gnu=yes
 2452 else
 2453   echo "$as_me: failed program was:" >&5
 2454 sed 's/^/| /' conftest.$ac_ext >&5
 2455 
 2456 ac_compiler_gnu=no
 2457 fi
 2458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2459 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 2460 
 2461 fi
 2462 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 2463 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 2464 GXX=`test $ac_compiler_gnu = yes && echo yes`
 2465 ac_test_CXXFLAGS=${CXXFLAGS+set}
 2466 ac_save_CXXFLAGS=$CXXFLAGS
 2467 CXXFLAGS="-g"
 2468 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 2469 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 2470 if test "${ac_cv_prog_cxx_g+set}" = set; then
 2471   echo $ECHO_N "(cached) $ECHO_C" >&6
 2472 else
 2473   cat >conftest.$ac_ext <<_ACEOF
 2474 /* confdefs.h.  */
 2475 _ACEOF
 2476 cat confdefs.h >>conftest.$ac_ext
 2477 cat >>conftest.$ac_ext <<_ACEOF
 2478 /* end confdefs.h.  */
 2479 
 2480 int
 2481 main ()
 2482 {
 2483 
 2484   ;
 2485   return 0;
 2486 }
 2487 _ACEOF
 2488 rm -f conftest.$ac_objext
 2489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2490   (eval $ac_compile) 2>conftest.er1
 2491   ac_status=$?
 2492   grep -v '^ *+' conftest.er1 >conftest.err
 2493   rm -f conftest.er1
 2494   cat conftest.err >&5
 2495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2496   (exit $ac_status); } &&
 2497 	 { ac_try='test -z "$ac_cxx_werror_flag"
 2498 			 || test ! -s conftest.err'
 2499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2500   (eval $ac_try) 2>&5
 2501   ac_status=$?
 2502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2503   (exit $ac_status); }; } &&
 2504 	 { ac_try='test -s conftest.$ac_objext'
 2505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2506   (eval $ac_try) 2>&5
 2507   ac_status=$?
 2508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2509   (exit $ac_status); }; }; then
 2510   ac_cv_prog_cxx_g=yes
 2511 else
 2512   echo "$as_me: failed program was:" >&5
 2513 sed 's/^/| /' conftest.$ac_ext >&5
 2514 
 2515 ac_cv_prog_cxx_g=no
 2516 fi
 2517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2518 fi
 2519 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 2520 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 2521 if test "$ac_test_CXXFLAGS" = set; then
 2522   CXXFLAGS=$ac_save_CXXFLAGS
 2523 elif test $ac_cv_prog_cxx_g = yes; then
 2524   if test "$GXX" = yes; then
 2525     CXXFLAGS="-g -O2"
 2526   else
 2527     CXXFLAGS="-g"
 2528   fi
 2529 else
 2530   if test "$GXX" = yes; then
 2531     CXXFLAGS="-O2"
 2532   else
 2533     CXXFLAGS=
 2534   fi
 2535 fi
 2536 for ac_declaration in \
 2537    '' \
 2538    'extern "C" void std::exit (int) throw (); using std::exit;' \
 2539    'extern "C" void std::exit (int); using std::exit;' \
 2540    'extern "C" void exit (int) throw ();' \
 2541    'extern "C" void exit (int);' \
 2542    'void exit (int);'
 2543 do
 2544   cat >conftest.$ac_ext <<_ACEOF
 2545 /* confdefs.h.  */
 2546 _ACEOF
 2547 cat confdefs.h >>conftest.$ac_ext
 2548 cat >>conftest.$ac_ext <<_ACEOF
 2549 /* end confdefs.h.  */
 2550 $ac_declaration
 2551 @%:@include <stdlib.h>
 2552 int
 2553 main ()
 2554 {
 2555 exit (42);
 2556   ;
 2557   return 0;
 2558 }
 2559 _ACEOF
 2560 rm -f conftest.$ac_objext
 2561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2562   (eval $ac_compile) 2>conftest.er1
 2563   ac_status=$?
 2564   grep -v '^ *+' conftest.er1 >conftest.err
 2565   rm -f conftest.er1
 2566   cat conftest.err >&5
 2567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2568   (exit $ac_status); } &&
 2569 	 { ac_try='test -z "$ac_cxx_werror_flag"
 2570 			 || test ! -s conftest.err'
 2571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2572   (eval $ac_try) 2>&5
 2573   ac_status=$?
 2574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2575   (exit $ac_status); }; } &&
 2576 	 { ac_try='test -s conftest.$ac_objext'
 2577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2578   (eval $ac_try) 2>&5
 2579   ac_status=$?
 2580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2581   (exit $ac_status); }; }; then
 2582   :
 2583 else
 2584   echo "$as_me: failed program was:" >&5
 2585 sed 's/^/| /' conftest.$ac_ext >&5
 2586 
 2587 continue
 2588 fi
 2589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2590   cat >conftest.$ac_ext <<_ACEOF
 2591 /* confdefs.h.  */
 2592 _ACEOF
 2593 cat confdefs.h >>conftest.$ac_ext
 2594 cat >>conftest.$ac_ext <<_ACEOF
 2595 /* end confdefs.h.  */
 2596 $ac_declaration
 2597 int
 2598 main ()
 2599 {
 2600 exit (42);
 2601   ;
 2602   return 0;
 2603 }
 2604 _ACEOF
 2605 rm -f conftest.$ac_objext
 2606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2607   (eval $ac_compile) 2>conftest.er1
 2608   ac_status=$?
 2609   grep -v '^ *+' conftest.er1 >conftest.err
 2610   rm -f conftest.er1
 2611   cat conftest.err >&5
 2612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2613   (exit $ac_status); } &&
 2614 	 { ac_try='test -z "$ac_cxx_werror_flag"
 2615 			 || test ! -s conftest.err'
 2616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2617   (eval $ac_try) 2>&5
 2618   ac_status=$?
 2619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2620   (exit $ac_status); }; } &&
 2621 	 { ac_try='test -s conftest.$ac_objext'
 2622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2623   (eval $ac_try) 2>&5
 2624   ac_status=$?
 2625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2626   (exit $ac_status); }; }; then
 2627   break
 2628 else
 2629   echo "$as_me: failed program was:" >&5
 2630 sed 's/^/| /' conftest.$ac_ext >&5
 2631 
 2632 fi
 2633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2634 done
 2635 rm -f conftest*
 2636 if test -n "$ac_declaration"; then
 2637   echo '#ifdef __cplusplus' >>confdefs.h
 2638   echo $ac_declaration      >>confdefs.h
 2639   echo '#endif'             >>confdefs.h
 2640 fi
 2641 
 2642 ac_ext=c
 2643 ac_cpp='$CPP $CPPFLAGS'
 2644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2647 DEPDIR="${am__leading_dot}deps"
 2648 
 2649           ac_config_commands="$ac_config_commands depfiles"
 2650 
 2651 
 2652 am_make=${MAKE-make}
 2653 cat > confinc << 'END'
 2654 am__doit:
 2655 	@echo done
 2656 .PHONY: am__doit
 2657 END
 2658 # If we don't find an include directive, just comment out the code.
 2659 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 2660 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 2661 am__include="#"
 2662 am__quote=
 2663 _am_result=none
 2664 # First try GNU make style include.
 2665 echo "include confinc" > confmf
 2666 # We grep out `Entering directory' and `Leaving directory'
 2667 # messages which can occur if `w' ends up in MAKEFLAGS.
 2668 # In particular we don't look at `^make:' because GNU make might
 2669 # be invoked under some other name (usually "gmake"), in which
 2670 # case it prints its new name instead of `make'.
 2671 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 2672    am__include=include
 2673    am__quote=
 2674    _am_result=GNU
 2675 fi
 2676 # Now try BSD make style include.
 2677 if test "$am__include" = "#"; then
 2678    echo '.include "confinc"' > confmf
 2679    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 2680       am__include=.include
 2681       am__quote="\""
 2682       _am_result=BSD
 2683    fi
 2684 fi
 2685 
 2686 
 2687 echo "$as_me:$LINENO: result: $_am_result" >&5
 2688 echo "${ECHO_T}$_am_result" >&6
 2689 rm -f confinc confmf
 2690 
 2691 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 2692 if test "${enable_dependency_tracking+set}" = set; then
 2693   enableval="$enable_dependency_tracking"
 2694   
 2695 fi; 
 2696 if test "x$enable_dependency_tracking" != xno; then
 2697   am_depcomp="$ac_aux_dir/depcomp"
 2698   AMDEPBACKSLASH='\'
 2699 fi
 2700  
 2701 
 2702 if test "x$enable_dependency_tracking" != xno; then
 2703   AMDEP_TRUE=
 2704   AMDEP_FALSE='#'
 2705 else
 2706   AMDEP_TRUE='#'
 2707   AMDEP_FALSE=
 2708 fi
 2709 
 2710 
 2711 
 2712 
 2713 depcc="$CXX"  am_compiler_list=
 2714 
 2715 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 2716 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 2717 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 2718   echo $ECHO_N "(cached) $ECHO_C" >&6
 2719 else
 2720   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 2721   # We make a subdir and do the tests there.  Otherwise we can end up
 2722   # making bogus files that we don't know about and never remove.  For
 2723   # instance it was reported that on HP-UX the gcc test will end up
 2724   # making a dummy file named `D' -- because `-MD' means `put the output
 2725   # in D'.
 2726   mkdir conftest.dir
 2727   # Copy depcomp to subdir because otherwise we won't find it if we're
 2728   # using a relative directory.
 2729   cp "$am_depcomp" conftest.dir
 2730   cd conftest.dir
 2731   # We will build objects and dependencies in a subdirectory because
 2732   # it helps to detect inapplicable dependency modes.  For instance
 2733   # both Tru64's cc and ICC support -MD to output dependencies as a
 2734   # side effect of compilation, but ICC will put the dependencies in
 2735   # the current directory while Tru64 will put them in the object
 2736   # directory.
 2737   mkdir sub
 2738 
 2739   am_cv_CXX_dependencies_compiler_type=none
 2740   if test "$am_compiler_list" = ""; then
 2741      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 2742   fi
 2743   for depmode in $am_compiler_list; do
 2744     # Setup a source with many dependencies, because some compilers
 2745     # like to wrap large dependency lists on column 80 (with \), and
 2746     # we should not choose a depcomp mode which is confused by this.
 2747     #
 2748     # We need to recreate these files for each test, as the compiler may
 2749     # overwrite some of them when testing with obscure command lines.
 2750     # This happens at least with the AIX C compiler.
 2751     : > sub/conftest.c
 2752     for i in 1 2 3 4 5 6; do
 2753       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 2754       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 2755       # Solaris 8's {/usr,}/bin/sh.
 2756       touch sub/conftst$i.h
 2757     done
 2758     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 2759 
 2760     case $depmode in
 2761     nosideeffect)
 2762       # after this tag, mechanisms are not by side-effect, so they'll
 2763       # only be used when explicitly requested
 2764       if test "x$enable_dependency_tracking" = xyes; then
 2765 	continue
 2766       else
 2767 	break
 2768       fi
 2769       ;;
 2770     none) break ;;
 2771     esac
 2772     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 2773     # mode.  It turns out that the SunPro C++ compiler does not properly
 2774     # handle `-M -o', and we need to detect this.
 2775     if depmode=$depmode \
 2776        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 2777        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 2778        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 2779          >/dev/null 2>conftest.err &&
 2780        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 2781        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 2782        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 2783       # icc doesn't choke on unknown options, it will just issue warnings
 2784       # or remarks (even with -Werror).  So we grep stderr for any message
 2785       # that says an option was ignored or not supported.
 2786       # When given -MP, icc 7.0 and 7.1 complain thusly:
 2787       #   icc: Command line warning: ignoring option '-M'; no argument required
 2788       # The diagnosis changed in icc 8.0:
 2789       #   icc: Command line remark: option '-MP' not supported
 2790       if (grep 'ignoring option' conftest.err ||
 2791           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 2792         am_cv_CXX_dependencies_compiler_type=$depmode
 2793         break
 2794       fi
 2795     fi
 2796   done
 2797 
 2798   cd ..
 2799   rm -rf conftest.dir
 2800 else
 2801   am_cv_CXX_dependencies_compiler_type=none
 2802 fi
 2803 
 2804 fi
 2805 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 2806 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 2807 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 2808 
 2809  
 2810 
 2811 if 
 2812   test "x$enable_dependency_tracking" != xno \
 2813   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 2814   am__fastdepCXX_TRUE=
 2815   am__fastdepCXX_FALSE='#'
 2816 else
 2817   am__fastdepCXX_TRUE='#'
 2818   am__fastdepCXX_FALSE=
 2819 fi
 2820 
 2821 
 2822 ac_ext=c
 2823 ac_cpp='$CPP $CPPFLAGS'
 2824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2827 if test -n "$ac_tool_prefix"; then
 2828   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2829 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2830 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2832 if test "${ac_cv_prog_CC+set}" = set; then
 2833   echo $ECHO_N "(cached) $ECHO_C" >&6
 2834 else
 2835   if test -n "$CC"; then
 2836   ac_cv_prog_CC="$CC" # Let the user override the test.
 2837 else
 2838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2839 for as_dir in $PATH
 2840 do
 2841   IFS=$as_save_IFS
 2842   test -z "$as_dir" && as_dir=.
 2843   for ac_exec_ext in '' $ac_executable_extensions; do
 2844   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2845     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2846     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2847     break 2
 2848   fi
 2849 done
 2850 done
 2851 
 2852 fi
 2853 fi
 2854 CC=$ac_cv_prog_CC
 2855 if test -n "$CC"; then
 2856   echo "$as_me:$LINENO: result: $CC" >&5
 2857 echo "${ECHO_T}$CC" >&6
 2858 else
 2859   echo "$as_me:$LINENO: result: no" >&5
 2860 echo "${ECHO_T}no" >&6
 2861 fi
 2862 
 2863 fi
 2864 if test -z "$ac_cv_prog_CC"; then
 2865   ac_ct_CC=$CC
 2866   # Extract the first word of "gcc", so it can be a program name with args.
 2867 set dummy gcc; ac_word=$2
 2868 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2870 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2871   echo $ECHO_N "(cached) $ECHO_C" >&6
 2872 else
 2873   if test -n "$ac_ct_CC"; then
 2874   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2875 else
 2876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2877 for as_dir in $PATH
 2878 do
 2879   IFS=$as_save_IFS
 2880   test -z "$as_dir" && as_dir=.
 2881   for ac_exec_ext in '' $ac_executable_extensions; do
 2882   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2883     ac_cv_prog_ac_ct_CC="gcc"
 2884     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2885     break 2
 2886   fi
 2887 done
 2888 done
 2889 
 2890 fi
 2891 fi
 2892 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2893 if test -n "$ac_ct_CC"; then
 2894   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2895 echo "${ECHO_T}$ac_ct_CC" >&6
 2896 else
 2897   echo "$as_me:$LINENO: result: no" >&5
 2898 echo "${ECHO_T}no" >&6
 2899 fi
 2900 
 2901   CC=$ac_ct_CC
 2902 else
 2903   CC="$ac_cv_prog_CC"
 2904 fi
 2905 
 2906 if test -z "$CC"; then
 2907   if test -n "$ac_tool_prefix"; then
 2908   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 2909 set dummy ${ac_tool_prefix}cc; ac_word=$2
 2910 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2912 if test "${ac_cv_prog_CC+set}" = set; then
 2913   echo $ECHO_N "(cached) $ECHO_C" >&6
 2914 else
 2915   if test -n "$CC"; then
 2916   ac_cv_prog_CC="$CC" # Let the user override the test.
 2917 else
 2918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2919 for as_dir in $PATH
 2920 do
 2921   IFS=$as_save_IFS
 2922   test -z "$as_dir" && as_dir=.
 2923   for ac_exec_ext in '' $ac_executable_extensions; do
 2924   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2925     ac_cv_prog_CC="${ac_tool_prefix}cc"
 2926     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2927     break 2
 2928   fi
 2929 done
 2930 done
 2931 
 2932 fi
 2933 fi
 2934 CC=$ac_cv_prog_CC
 2935 if test -n "$CC"; then
 2936   echo "$as_me:$LINENO: result: $CC" >&5
 2937 echo "${ECHO_T}$CC" >&6
 2938 else
 2939   echo "$as_me:$LINENO: result: no" >&5
 2940 echo "${ECHO_T}no" >&6
 2941 fi
 2942 
 2943 fi
 2944 if test -z "$ac_cv_prog_CC"; then
 2945   ac_ct_CC=$CC
 2946   # Extract the first word of "cc", so it can be a program name with args.
 2947 set dummy cc; ac_word=$2
 2948 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2950 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2951   echo $ECHO_N "(cached) $ECHO_C" >&6
 2952 else
 2953   if test -n "$ac_ct_CC"; then
 2954   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2955 else
 2956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2957 for as_dir in $PATH
 2958 do
 2959   IFS=$as_save_IFS
 2960   test -z "$as_dir" && as_dir=.
 2961   for ac_exec_ext in '' $ac_executable_extensions; do
 2962   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2963     ac_cv_prog_ac_ct_CC="cc"
 2964     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2965     break 2
 2966   fi
 2967 done
 2968 done
 2969 
 2970 fi
 2971 fi
 2972 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2973 if test -n "$ac_ct_CC"; then
 2974   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2975 echo "${ECHO_T}$ac_ct_CC" >&6
 2976 else
 2977   echo "$as_me:$LINENO: result: no" >&5
 2978 echo "${ECHO_T}no" >&6
 2979 fi
 2980 
 2981   CC=$ac_ct_CC
 2982 else
 2983   CC="$ac_cv_prog_CC"
 2984 fi
 2985 
 2986 fi
 2987 if test -z "$CC"; then
 2988   # Extract the first word of "cc", so it can be a program name with args.
 2989 set dummy cc; ac_word=$2
 2990 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2992 if test "${ac_cv_prog_CC+set}" = set; then
 2993   echo $ECHO_N "(cached) $ECHO_C" >&6
 2994 else
 2995   if test -n "$CC"; then
 2996   ac_cv_prog_CC="$CC" # Let the user override the test.
 2997 else
 2998   ac_prog_rejected=no
 2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3000 for as_dir in $PATH
 3001 do
 3002   IFS=$as_save_IFS
 3003   test -z "$as_dir" && as_dir=.
 3004   for ac_exec_ext in '' $ac_executable_extensions; do
 3005   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3006     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 3007        ac_prog_rejected=yes
 3008        continue
 3009      fi
 3010     ac_cv_prog_CC="cc"
 3011     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3012     break 2
 3013   fi
 3014 done
 3015 done
 3016 
 3017 if test $ac_prog_rejected = yes; then
 3018   # We found a bogon in the path, so make sure we never use it.
 3019   set dummy $ac_cv_prog_CC
 3020   shift
 3021   if test $@%:@ != 0; then
 3022     # We chose a different compiler from the bogus one.
 3023     # However, it has the same basename, so the bogon will be chosen
 3024     # first if we set CC to just the basename; use the full file name.
 3025     shift
 3026     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 3027   fi
 3028 fi
 3029 fi
 3030 fi
 3031 CC=$ac_cv_prog_CC
 3032 if test -n "$CC"; then
 3033   echo "$as_me:$LINENO: result: $CC" >&5
 3034 echo "${ECHO_T}$CC" >&6
 3035 else
 3036   echo "$as_me:$LINENO: result: no" >&5
 3037 echo "${ECHO_T}no" >&6
 3038 fi
 3039 
 3040 fi
 3041 if test -z "$CC"; then
 3042   if test -n "$ac_tool_prefix"; then
 3043   for ac_prog in cl
 3044   do
 3045     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3046 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3047 echo "$as_me:$LINENO: checking for $ac_word" >&5
 3048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3049 if test "${ac_cv_prog_CC+set}" = set; then
 3050   echo $ECHO_N "(cached) $ECHO_C" >&6
 3051 else
 3052   if test -n "$CC"; then
 3053   ac_cv_prog_CC="$CC" # Let the user override the test.
 3054 else
 3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3056 for as_dir in $PATH
 3057 do
 3058   IFS=$as_save_IFS
 3059   test -z "$as_dir" && as_dir=.
 3060   for ac_exec_ext in '' $ac_executable_extensions; do
 3061   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3062     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3063     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3064     break 2
 3065   fi
 3066 done
 3067 done
 3068 
 3069 fi
 3070 fi
 3071 CC=$ac_cv_prog_CC
 3072 if test -n "$CC"; then
 3073   echo "$as_me:$LINENO: result: $CC" >&5
 3074 echo "${ECHO_T}$CC" >&6
 3075 else
 3076   echo "$as_me:$LINENO: result: no" >&5
 3077 echo "${ECHO_T}no" >&6
 3078 fi
 3079 
 3080     test -n "$CC" && break
 3081   done
 3082 fi
 3083 if test -z "$CC"; then
 3084   ac_ct_CC=$CC
 3085   for ac_prog in cl
 3086 do
 3087   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3088 set dummy $ac_prog; ac_word=$2
 3089 echo "$as_me:$LINENO: checking for $ac_word" >&5
 3090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3091 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 3092   echo $ECHO_N "(cached) $ECHO_C" >&6
 3093 else
 3094   if test -n "$ac_ct_CC"; then
 3095   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3096 else
 3097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3098 for as_dir in $PATH
 3099 do
 3100   IFS=$as_save_IFS
 3101   test -z "$as_dir" && as_dir=.
 3102   for ac_exec_ext in '' $ac_executable_extensions; do
 3103   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3104     ac_cv_prog_ac_ct_CC="$ac_prog"
 3105     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3106     break 2
 3107   fi
 3108 done
 3109 done
 3110 
 3111 fi
 3112 fi
 3113 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3114 if test -n "$ac_ct_CC"; then
 3115   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 3116 echo "${ECHO_T}$ac_ct_CC" >&6
 3117 else
 3118   echo "$as_me:$LINENO: result: no" >&5
 3119 echo "${ECHO_T}no" >&6
 3120 fi
 3121 
 3122   test -n "$ac_ct_CC" && break
 3123 done
 3124 
 3125   CC=$ac_ct_CC
 3126 fi
 3127 
 3128 fi
 3129 
 3130 
 3131 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 3132 See \`config.log' for more details." >&5
 3133 echo "$as_me: error: no acceptable C compiler found in \$PATH
 3134 See \`config.log' for more details." >&2;}
 3135    { (exit 1); exit 1; }; }
 3136 
 3137 # Provide some information about the compiler.
 3138 echo "$as_me:$LINENO:" \
 3139      "checking for C compiler version" >&5
 3140 ac_compiler=`set X $ac_compile; echo $2`
 3141 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 3142   (eval $ac_compiler --version </dev/null >&5) 2>&5
 3143   ac_status=$?
 3144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3145   (exit $ac_status); }
 3146 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 3147   (eval $ac_compiler -v </dev/null >&5) 2>&5
 3148   ac_status=$?
 3149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3150   (exit $ac_status); }
 3151 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 3152   (eval $ac_compiler -V </dev/null >&5) 2>&5
 3153   ac_status=$?
 3154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3155   (exit $ac_status); }
 3156 
 3157 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 3158 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 3159 if test "${ac_cv_c_compiler_gnu+set}" = set; then
 3160   echo $ECHO_N "(cached) $ECHO_C" >&6
 3161 else
 3162   cat >conftest.$ac_ext <<_ACEOF
 3163 /* confdefs.h.  */
 3164 _ACEOF
 3165 cat confdefs.h >>conftest.$ac_ext
 3166 cat >>conftest.$ac_ext <<_ACEOF
 3167 /* end confdefs.h.  */
 3168 
 3169 int
 3170 main ()
 3171 {
 3172 #ifndef __GNUC__
 3173        choke me
 3174 #endif
 3175 
 3176   ;
 3177   return 0;
 3178 }
 3179 _ACEOF
 3180 rm -f conftest.$ac_objext
 3181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3182   (eval $ac_compile) 2>conftest.er1
 3183   ac_status=$?
 3184   grep -v '^ *+' conftest.er1 >conftest.err
 3185   rm -f conftest.er1
 3186   cat conftest.err >&5
 3187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3188   (exit $ac_status); } &&
 3189 	 { ac_try='test -z "$ac_c_werror_flag"
 3190 			 || test ! -s conftest.err'
 3191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3192   (eval $ac_try) 2>&5
 3193   ac_status=$?
 3194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3195   (exit $ac_status); }; } &&
 3196 	 { ac_try='test -s conftest.$ac_objext'
 3197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3198   (eval $ac_try) 2>&5
 3199   ac_status=$?
 3200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3201   (exit $ac_status); }; }; then
 3202   ac_compiler_gnu=yes
 3203 else
 3204   echo "$as_me: failed program was:" >&5
 3205 sed 's/^/| /' conftest.$ac_ext >&5
 3206 
 3207 ac_compiler_gnu=no
 3208 fi
 3209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3210 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3211 
 3212 fi
 3213 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 3214 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 3215 GCC=`test $ac_compiler_gnu = yes && echo yes`
 3216 ac_test_CFLAGS=${CFLAGS+set}
 3217 ac_save_CFLAGS=$CFLAGS
 3218 CFLAGS="-g"
 3219 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 3220 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 3221 if test "${ac_cv_prog_cc_g+set}" = set; then
 3222   echo $ECHO_N "(cached) $ECHO_C" >&6
 3223 else
 3224   cat >conftest.$ac_ext <<_ACEOF
 3225 /* confdefs.h.  */
 3226 _ACEOF
 3227 cat confdefs.h >>conftest.$ac_ext
 3228 cat >>conftest.$ac_ext <<_ACEOF
 3229 /* end confdefs.h.  */
 3230 
 3231 int
 3232 main ()
 3233 {
 3234 
 3235   ;
 3236   return 0;
 3237 }
 3238 _ACEOF
 3239 rm -f conftest.$ac_objext
 3240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3241   (eval $ac_compile) 2>conftest.er1
 3242   ac_status=$?
 3243   grep -v '^ *+' conftest.er1 >conftest.err
 3244   rm -f conftest.er1
 3245   cat conftest.err >&5
 3246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3247   (exit $ac_status); } &&
 3248 	 { ac_try='test -z "$ac_c_werror_flag"
 3249 			 || test ! -s conftest.err'
 3250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3251   (eval $ac_try) 2>&5
 3252   ac_status=$?
 3253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3254   (exit $ac_status); }; } &&
 3255 	 { ac_try='test -s conftest.$ac_objext'
 3256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3257   (eval $ac_try) 2>&5
 3258   ac_status=$?
 3259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3260   (exit $ac_status); }; }; then
 3261   ac_cv_prog_cc_g=yes
 3262 else
 3263   echo "$as_me: failed program was:" >&5
 3264 sed 's/^/| /' conftest.$ac_ext >&5
 3265 
 3266 ac_cv_prog_cc_g=no
 3267 fi
 3268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3269 fi
 3270 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 3271 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 3272 if test "$ac_test_CFLAGS" = set; then
 3273   CFLAGS=$ac_save_CFLAGS
 3274 elif test $ac_cv_prog_cc_g = yes; then
 3275   if test "$GCC" = yes; then
 3276     CFLAGS="-g -O2"
 3277   else
 3278     CFLAGS="-g"
 3279   fi
 3280 else
 3281   if test "$GCC" = yes; then
 3282     CFLAGS="-O2"
 3283   else
 3284     CFLAGS=
 3285   fi
 3286 fi
 3287 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 3288 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 3289 if test "${ac_cv_prog_cc_stdc+set}" = set; then
 3290   echo $ECHO_N "(cached) $ECHO_C" >&6
 3291 else
 3292   ac_cv_prog_cc_stdc=no
 3293 ac_save_CC=$CC
 3294 cat >conftest.$ac_ext <<_ACEOF
 3295 /* confdefs.h.  */
 3296 _ACEOF
 3297 cat confdefs.h >>conftest.$ac_ext
 3298 cat >>conftest.$ac_ext <<_ACEOF
 3299 /* end confdefs.h.  */
 3300 #include <stdarg.h>
 3301 #include <stdio.h>
 3302 #include <sys/types.h>
 3303 #include <sys/stat.h>
 3304 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3305 struct buf { int x; };
 3306 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3307 static char *e (p, i)
 3308      char **p;
 3309      int i;
 3310 {
 3311   return p[i];
 3312 }
 3313 static char *f (char * (*g) (char **, int), char **p, ...)
 3314 {
 3315   char *s;
 3316   va_list v;
 3317   va_start (v,p);
 3318   s = g (p, va_arg (v,int));
 3319   va_end (v);
 3320   return s;
 3321 }
 3322 
 3323 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3324    function prototypes and stuff, but not '\xHH' hex character constants.
 3325    These don't provoke an error unfortunately, instead are silently treated
 3326    as 'x'.  The following induces an error, until -std1 is added to get
 3327    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3328    array size at least.  It's necessary to write '\x00'==0 to get something
 3329    that's true only with -std1.  */
 3330 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3331 
 3332 int test (int i, double x);
 3333 struct s1 {int (*f) (int a);};
 3334 struct s2 {int (*f) (double a);};
 3335 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3336 int argc;
 3337 char **argv;
 3338 int
 3339 main ()
 3340 {
 3341 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3342   ;
 3343   return 0;
 3344 }
 3345 _ACEOF
 3346 # Don't try gcc -ansi; that turns off useful extensions and
 3347 # breaks some systems' header files.
 3348 # AIX			-qlanglvl=ansi
 3349 # Ultrix and OSF/1	-std1
 3350 # HP-UX 10.20 and later	-Ae
 3351 # HP-UX older versions	-Aa -D_HPUX_SOURCE
 3352 # SVR4			-Xc -D__EXTENSIONS__
 3353 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3354 do
 3355   CC="$ac_save_CC $ac_arg"
 3356   rm -f conftest.$ac_objext
 3357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3358   (eval $ac_compile) 2>conftest.er1
 3359   ac_status=$?
 3360   grep -v '^ *+' conftest.er1 >conftest.err
 3361   rm -f conftest.er1
 3362   cat conftest.err >&5
 3363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3364   (exit $ac_status); } &&
 3365 	 { ac_try='test -z "$ac_c_werror_flag"
 3366 			 || test ! -s conftest.err'
 3367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3368   (eval $ac_try) 2>&5
 3369   ac_status=$?
 3370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3371   (exit $ac_status); }; } &&
 3372 	 { ac_try='test -s conftest.$ac_objext'
 3373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3374   (eval $ac_try) 2>&5
 3375   ac_status=$?
 3376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3377   (exit $ac_status); }; }; then
 3378   ac_cv_prog_cc_stdc=$ac_arg
 3379 break
 3380 else
 3381   echo "$as_me: failed program was:" >&5
 3382 sed 's/^/| /' conftest.$ac_ext >&5
 3383 
 3384 fi
 3385 rm -f conftest.err conftest.$ac_objext 
 3386 done
 3387 rm -f conftest.$ac_ext conftest.$ac_objext
 3388 CC=$ac_save_CC
 3389 
 3390 fi
 3391 
 3392 case "x$ac_cv_prog_cc_stdc" in
 3393   x|xno)
 3394     echo "$as_me:$LINENO: result: none needed" >&5
 3395 echo "${ECHO_T}none needed" >&6 ;;
 3396   *)
 3397     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 3398 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 3399     CC="$CC $ac_cv_prog_cc_stdc" ;;
 3400 esac
 3401 
 3402 # Some people use a C++ compiler to compile C.  Since we use `exit',
 3403 # in C++ we need to declare it.  In case someone uses the same compiler
 3404 # for both compiling C and C++ we need to have the C++ compiler decide
 3405 # the declaration of exit, since it's the most demanding environment.
 3406 cat >conftest.$ac_ext <<_ACEOF
 3407 @%:@ifndef __cplusplus
 3408   choke me
 3409 @%:@endif
 3410 _ACEOF
 3411 rm -f conftest.$ac_objext
 3412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3413   (eval $ac_compile) 2>conftest.er1
 3414   ac_status=$?
 3415   grep -v '^ *+' conftest.er1 >conftest.err
 3416   rm -f conftest.er1
 3417   cat conftest.err >&5
 3418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3419   (exit $ac_status); } &&
 3420 	 { ac_try='test -z "$ac_c_werror_flag"
 3421 			 || test ! -s conftest.err'
 3422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3423   (eval $ac_try) 2>&5
 3424   ac_status=$?
 3425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3426   (exit $ac_status); }; } &&
 3427 	 { ac_try='test -s conftest.$ac_objext'
 3428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3429   (eval $ac_try) 2>&5
 3430   ac_status=$?
 3431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3432   (exit $ac_status); }; }; then
 3433   for ac_declaration in \
 3434    '' \
 3435    'extern "C" void std::exit (int) throw (); using std::exit;' \
 3436    'extern "C" void std::exit (int); using std::exit;' \
 3437    'extern "C" void exit (int) throw ();' \
 3438    'extern "C" void exit (int);' \
 3439    'void exit (int);'
 3440 do
 3441   cat >conftest.$ac_ext <<_ACEOF
 3442 /* confdefs.h.  */
 3443 _ACEOF
 3444 cat confdefs.h >>conftest.$ac_ext
 3445 cat >>conftest.$ac_ext <<_ACEOF
 3446 /* end confdefs.h.  */
 3447 $ac_declaration
 3448 @%:@include <stdlib.h>
 3449 int
 3450 main ()
 3451 {
 3452 exit (42);
 3453   ;
 3454   return 0;
 3455 }
 3456 _ACEOF
 3457 rm -f conftest.$ac_objext
 3458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3459   (eval $ac_compile) 2>conftest.er1
 3460   ac_status=$?
 3461   grep -v '^ *+' conftest.er1 >conftest.err
 3462   rm -f conftest.er1
 3463   cat conftest.err >&5
 3464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3465   (exit $ac_status); } &&
 3466 	 { ac_try='test -z "$ac_c_werror_flag"
 3467 			 || test ! -s conftest.err'
 3468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3469   (eval $ac_try) 2>&5
 3470   ac_status=$?
 3471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3472   (exit $ac_status); }; } &&
 3473 	 { ac_try='test -s conftest.$ac_objext'
 3474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3475   (eval $ac_try) 2>&5
 3476   ac_status=$?
 3477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3478   (exit $ac_status); }; }; then
 3479   :
 3480 else
 3481   echo "$as_me: failed program was:" >&5
 3482 sed 's/^/| /' conftest.$ac_ext >&5
 3483 
 3484 continue
 3485 fi
 3486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3487   cat >conftest.$ac_ext <<_ACEOF
 3488 /* confdefs.h.  */
 3489 _ACEOF
 3490 cat confdefs.h >>conftest.$ac_ext
 3491 cat >>conftest.$ac_ext <<_ACEOF
 3492 /* end confdefs.h.  */
 3493 $ac_declaration
 3494 int
 3495 main ()
 3496 {
 3497 exit (42);
 3498   ;
 3499   return 0;
 3500 }
 3501 _ACEOF
 3502 rm -f conftest.$ac_objext
 3503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3504   (eval $ac_compile) 2>conftest.er1
 3505   ac_status=$?
 3506   grep -v '^ *+' conftest.er1 >conftest.err
 3507   rm -f conftest.er1
 3508   cat conftest.err >&5
 3509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3510   (exit $ac_status); } &&
 3511 	 { ac_try='test -z "$ac_c_werror_flag"
 3512 			 || test ! -s conftest.err'
 3513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3514   (eval $ac_try) 2>&5
 3515   ac_status=$?
 3516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3517   (exit $ac_status); }; } &&
 3518 	 { ac_try='test -s conftest.$ac_objext'
 3519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3520   (eval $ac_try) 2>&5
 3521   ac_status=$?
 3522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3523   (exit $ac_status); }; }; then
 3524   break
 3525 else
 3526   echo "$as_me: failed program was:" >&5
 3527 sed 's/^/| /' conftest.$ac_ext >&5
 3528 
 3529 fi
 3530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3531 done
 3532 rm -f conftest*
 3533 if test -n "$ac_declaration"; then
 3534   echo '#ifdef __cplusplus' >>confdefs.h
 3535   echo $ac_declaration      >>confdefs.h
 3536   echo '#endif'             >>confdefs.h
 3537 fi
 3538 
 3539 else
 3540   echo "$as_me: failed program was:" >&5
 3541 sed 's/^/| /' conftest.$ac_ext >&5
 3542 
 3543 fi
 3544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3545 ac_ext=c
 3546 ac_cpp='$CPP $CPPFLAGS'
 3547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3550 
 3551 depcc="$CC"   am_compiler_list=
 3552 
 3553 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 3554 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 3555 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 3556   echo $ECHO_N "(cached) $ECHO_C" >&6
 3557 else
 3558   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3559   # We make a subdir and do the tests there.  Otherwise we can end up
 3560   # making bogus files that we don't know about and never remove.  For
 3561   # instance it was reported that on HP-UX the gcc test will end up
 3562   # making a dummy file named `D' -- because `-MD' means `put the output
 3563   # in D'.
 3564   mkdir conftest.dir
 3565   # Copy depcomp to subdir because otherwise we won't find it if we're
 3566   # using a relative directory.
 3567   cp "$am_depcomp" conftest.dir
 3568   cd conftest.dir
 3569   # We will build objects and dependencies in a subdirectory because
 3570   # it helps to detect inapplicable dependency modes.  For instance
 3571   # both Tru64's cc and ICC support -MD to output dependencies as a
 3572   # side effect of compilation, but ICC will put the dependencies in
 3573   # the current directory while Tru64 will put them in the object
 3574   # directory.
 3575   mkdir sub
 3576 
 3577   am_cv_CC_dependencies_compiler_type=none
 3578   if test "$am_compiler_list" = ""; then
 3579      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3580   fi
 3581   for depmode in $am_compiler_list; do
 3582     # Setup a source with many dependencies, because some compilers
 3583     # like to wrap large dependency lists on column 80 (with \), and
 3584     # we should not choose a depcomp mode which is confused by this.
 3585     #
 3586     # We need to recreate these files for each test, as the compiler may
 3587     # overwrite some of them when testing with obscure command lines.
 3588     # This happens at least with the AIX C compiler.
 3589     : > sub/conftest.c
 3590     for i in 1 2 3 4 5 6; do
 3591       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3592       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3593       # Solaris 8's {/usr,}/bin/sh.
 3594       touch sub/conftst$i.h
 3595     done
 3596     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3597 
 3598     case $depmode in
 3599     nosideeffect)
 3600       # after this tag, mechanisms are not by side-effect, so they'll
 3601       # only be used when explicitly requested
 3602       if test "x$enable_dependency_tracking" = xyes; then
 3603 	continue
 3604       else
 3605 	break
 3606       fi
 3607       ;;
 3608     none) break ;;
 3609     esac
 3610     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3611     # mode.  It turns out that the SunPro C++ compiler does not properly
 3612     # handle `-M -o', and we need to detect this.
 3613     if depmode=$depmode \
 3614        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 3615        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3616        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 3617          >/dev/null 2>conftest.err &&
 3618        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3619        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 3620        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3621       # icc doesn't choke on unknown options, it will just issue warnings
 3622       # or remarks (even with -Werror).  So we grep stderr for any message
 3623       # that says an option was ignored or not supported.
 3624       # When given -MP, icc 7.0 and 7.1 complain thusly:
 3625       #   icc: Command line warning: ignoring option '-M'; no argument required
 3626       # The diagnosis changed in icc 8.0:
 3627       #   icc: Command line remark: option '-MP' not supported
 3628       if (grep 'ignoring option' conftest.err ||
 3629           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3630         am_cv_CC_dependencies_compiler_type=$depmode
 3631         break
 3632       fi
 3633     fi
 3634   done
 3635 
 3636   cd ..
 3637   rm -rf conftest.dir
 3638 else
 3639   am_cv_CC_dependencies_compiler_type=none
 3640 fi
 3641 
 3642 fi
 3643 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 3644 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 3645 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 3646 
 3647  
 3648 
 3649 if 
 3650   test "x$enable_dependency_tracking" != xno \
 3651   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 3652   am__fastdepCC_TRUE=
 3653   am__fastdepCC_FALSE='#'
 3654 else
 3655   am__fastdepCC_TRUE='#'
 3656   am__fastdepCC_FALSE=
 3657 fi
 3658 
 3659 
 3660 ac_ext=c
 3661 ac_cpp='$CPP $CPPFLAGS'
 3662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3665 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 3666 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 3667 # On Suns, sometimes $CPP names a directory.
 3668 if test -n "$CPP" && test -d "$CPP"; then
 3669   CPP=
 3670 fi
 3671 if test -z "$CPP"; then
 3672   if test "${ac_cv_prog_CPP+set}" = set; then
 3673   echo $ECHO_N "(cached) $ECHO_C" >&6
 3674 else
 3675       # Double quotes because CPP needs to be expanded
 3676     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 3677     do
 3678       ac_preproc_ok=false
 3679 for ac_c_preproc_warn_flag in '' yes
 3680 do
 3681   # Use a header file that comes with gcc, so configuring glibc
 3682   # with a fresh cross-compiler works.
 3683   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3684   # <limits.h> exists even on freestanding compilers.
 3685   # On the NeXT, cc -E runs the code through the compiler's parser,
 3686   # not just through cpp. "Syntax error" is here to catch this case.
 3687   cat >conftest.$ac_ext <<_ACEOF
 3688 /* confdefs.h.  */
 3689 _ACEOF
 3690 cat confdefs.h >>conftest.$ac_ext
 3691 cat >>conftest.$ac_ext <<_ACEOF
 3692 /* end confdefs.h.  */
 3693 @%:@ifdef __STDC__
 3694 @%:@ include <limits.h>
 3695 @%:@else
 3696 @%:@ include <assert.h>
 3697 @%:@endif
 3698 		     Syntax error
 3699 _ACEOF
 3700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3701   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3702   ac_status=$?
 3703   grep -v '^ *+' conftest.er1 >conftest.err
 3704   rm -f conftest.er1
 3705   cat conftest.err >&5
 3706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3707   (exit $ac_status); } >/dev/null; then
 3708   if test -s conftest.err; then
 3709     ac_cpp_err=$ac_c_preproc_warn_flag
 3710     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3711   else
 3712     ac_cpp_err=
 3713   fi
 3714 else
 3715   ac_cpp_err=yes
 3716 fi
 3717 if test -z "$ac_cpp_err"; then
 3718   :
 3719 else
 3720   echo "$as_me: failed program was:" >&5
 3721 sed 's/^/| /' conftest.$ac_ext >&5
 3722 
 3723   # Broken: fails on valid input.
 3724 continue
 3725 fi
 3726 rm -f conftest.err conftest.$ac_ext
 3727 
 3728   # OK, works on sane cases.  Now check whether non-existent headers
 3729   # can be detected and how.
 3730   cat >conftest.$ac_ext <<_ACEOF
 3731 /* confdefs.h.  */
 3732 _ACEOF
 3733 cat confdefs.h >>conftest.$ac_ext
 3734 cat >>conftest.$ac_ext <<_ACEOF
 3735 /* end confdefs.h.  */
 3736 @%:@include <ac_nonexistent.h>
 3737 _ACEOF
 3738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3739   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3740   ac_status=$?
 3741   grep -v '^ *+' conftest.er1 >conftest.err
 3742   rm -f conftest.er1
 3743   cat conftest.err >&5
 3744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3745   (exit $ac_status); } >/dev/null; then
 3746   if test -s conftest.err; then
 3747     ac_cpp_err=$ac_c_preproc_warn_flag
 3748     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3749   else
 3750     ac_cpp_err=
 3751   fi
 3752 else
 3753   ac_cpp_err=yes
 3754 fi
 3755 if test -z "$ac_cpp_err"; then
 3756   # Broken: success on invalid input.
 3757 continue
 3758 else
 3759   echo "$as_me: failed program was:" >&5
 3760 sed 's/^/| /' conftest.$ac_ext >&5
 3761 
 3762   # Passes both tests.
 3763 ac_preproc_ok=:
 3764 break
 3765 fi
 3766 rm -f conftest.err conftest.$ac_ext
 3767 
 3768 done
 3769 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3770 rm -f conftest.err conftest.$ac_ext
 3771 if $ac_preproc_ok; then
 3772   break
 3773 fi
 3774 
 3775     done
 3776     ac_cv_prog_CPP=$CPP
 3777   
 3778 fi
 3779   CPP=$ac_cv_prog_CPP
 3780 else
 3781   ac_cv_prog_CPP=$CPP
 3782 fi
 3783 echo "$as_me:$LINENO: result: $CPP" >&5
 3784 echo "${ECHO_T}$CPP" >&6
 3785 ac_preproc_ok=false
 3786 for ac_c_preproc_warn_flag in '' yes
 3787 do
 3788   # Use a header file that comes with gcc, so configuring glibc
 3789   # with a fresh cross-compiler works.
 3790   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3791   # <limits.h> exists even on freestanding compilers.
 3792   # On the NeXT, cc -E runs the code through the compiler's parser,
 3793   # not just through cpp. "Syntax error" is here to catch this case.
 3794   cat >conftest.$ac_ext <<_ACEOF
 3795 /* confdefs.h.  */
 3796 _ACEOF
 3797 cat confdefs.h >>conftest.$ac_ext
 3798 cat >>conftest.$ac_ext <<_ACEOF
 3799 /* end confdefs.h.  */
 3800 @%:@ifdef __STDC__
 3801 @%:@ include <limits.h>
 3802 @%:@else
 3803 @%:@ include <assert.h>
 3804 @%:@endif
 3805 		     Syntax error
 3806 _ACEOF
 3807 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3808   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3809   ac_status=$?
 3810   grep -v '^ *+' conftest.er1 >conftest.err
 3811   rm -f conftest.er1
 3812   cat conftest.err >&5
 3813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3814   (exit $ac_status); } >/dev/null; then
 3815   if test -s conftest.err; then
 3816     ac_cpp_err=$ac_c_preproc_warn_flag
 3817     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3818   else
 3819     ac_cpp_err=
 3820   fi
 3821 else
 3822   ac_cpp_err=yes
 3823 fi
 3824 if test -z "$ac_cpp_err"; then
 3825   :
 3826 else
 3827   echo "$as_me: failed program was:" >&5
 3828 sed 's/^/| /' conftest.$ac_ext >&5
 3829 
 3830   # Broken: fails on valid input.
 3831 continue
 3832 fi
 3833 rm -f conftest.err conftest.$ac_ext
 3834 
 3835   # OK, works on sane cases.  Now check whether non-existent headers
 3836   # can be detected and how.
 3837   cat >conftest.$ac_ext <<_ACEOF
 3838 /* confdefs.h.  */
 3839 _ACEOF
 3840 cat confdefs.h >>conftest.$ac_ext
 3841 cat >>conftest.$ac_ext <<_ACEOF
 3842 /* end confdefs.h.  */
 3843 @%:@include <ac_nonexistent.h>
 3844 _ACEOF
 3845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3846   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3847   ac_status=$?
 3848   grep -v '^ *+' conftest.er1 >conftest.err
 3849   rm -f conftest.er1
 3850   cat conftest.err >&5
 3851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3852   (exit $ac_status); } >/dev/null; then
 3853   if test -s conftest.err; then
 3854     ac_cpp_err=$ac_c_preproc_warn_flag
 3855     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3856   else
 3857     ac_cpp_err=
 3858   fi
 3859 else
 3860   ac_cpp_err=yes
 3861 fi
 3862 if test -z "$ac_cpp_err"; then
 3863   # Broken: success on invalid input.
 3864 continue
 3865 else
 3866   echo "$as_me: failed program was:" >&5
 3867 sed 's/^/| /' conftest.$ac_ext >&5
 3868 
 3869   # Passes both tests.
 3870 ac_preproc_ok=:
 3871 break
 3872 fi
 3873 rm -f conftest.err conftest.$ac_ext
 3874 
 3875 done
 3876 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3877 rm -f conftest.err conftest.$ac_ext
 3878 if $ac_preproc_ok; then
 3879   :
 3880 else
 3881   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 3882 See \`config.log' for more details." >&5
 3883 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 3884 See \`config.log' for more details." >&2;}
 3885    { (exit 1); exit 1; }; }
 3886 fi
 3887 
 3888 ac_ext=c
 3889 ac_cpp='$CPP $CPPFLAGS'
 3890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3893 
 3894 # Find a good install program.  We prefer a C program (faster),
 3895 # so one script is as good as another.  But avoid the broken or
 3896 # incompatible versions:
 3897 # SysV /etc/install, /usr/sbin/install
 3898 # SunOS /usr/etc/install
 3899 # IRIX /sbin/install
 3900 # AIX /bin/install
 3901 # AmigaOS /C/install, which installs bootblocks on floppy discs
 3902 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 3903 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 3904 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 3905 # OS/2's system install, which has a completely different semantic
 3906 # ./install, which can be erroneously created by make from ./install.sh.
 3907 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 3908 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 3909 if test -z "$INSTALL"; then
 3910 if test "${ac_cv_path_install+set}" = set; then
 3911   echo $ECHO_N "(cached) $ECHO_C" >&6
 3912 else
 3913   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3914 for as_dir in $PATH
 3915 do
 3916   IFS=$as_save_IFS
 3917   test -z "$as_dir" && as_dir=.
 3918   # Account for people who put trailing slashes in PATH elements.
 3919 case $as_dir/ in
 3920   ./ | .// | /cC/* | \
 3921   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 3922   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 3923   /usr/ucb/* ) ;;
 3924   *)
 3925     # OSF1 and SCO ODT 3.0 have their own names for install.
 3926     # Don't use installbsd from OSF since it installs stuff as root
 3927     # by default.
 3928     for ac_prog in ginstall scoinst install; do
 3929       for ac_exec_ext in '' $ac_executable_extensions; do
 3930 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 3931 	  if test $ac_prog = install &&
 3932 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 3933 	    # AIX install.  It has an incompatible calling convention.
 3934 	    :
 3935 	  elif test $ac_prog = install &&
 3936 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 3937 	    # program-specific install script used by HP pwplus--don't use.
 3938 	    :
 3939 	  else
 3940 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 3941 	    break 3
 3942 	  fi
 3943 	fi
 3944       done
 3945     done
 3946     ;;
 3947 esac
 3948 done
 3949 
 3950 
 3951 fi
 3952   if test "${ac_cv_path_install+set}" = set; then
 3953     INSTALL=$ac_cv_path_install
 3954   else
 3955     # As a last resort, use the slow shell script.  We don't cache a
 3956     # path for INSTALL within a source directory, because that will
 3957     # break other packages using the cache if that directory is
 3958     # removed, or if the path is relative.
 3959     INSTALL=$ac_install_sh
 3960   fi
 3961 fi
 3962 echo "$as_me:$LINENO: result: $INSTALL" >&5
 3963 echo "${ECHO_T}$INSTALL" >&6
 3964 
 3965 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 3966 # It thinks the first close brace ends the variable substitution.
 3967 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 3968 
 3969 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 3970 
 3971 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 3972 
 3973 echo "$as_me:$LINENO: checking whether ln -s works" >&5
 3974 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 3975 LN_S=$as_ln_s
 3976 if test "$LN_S" = "ln -s"; then
 3977   echo "$as_me:$LINENO: result: yes" >&5
 3978 echo "${ECHO_T}yes" >&6
 3979 else
 3980   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 3981 echo "${ECHO_T}no, using $LN_S" >&6
 3982 fi
 3983 
 3984 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3985 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 3986 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 3987 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 3988   echo $ECHO_N "(cached) $ECHO_C" >&6
 3989 else
 3990   cat >conftest.make <<\_ACEOF
 3991 all:
 3992 	@echo 'ac_maketemp="$(MAKE)"'
 3993 _ACEOF
 3994 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 3995 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 3996 if test -n "$ac_maketemp"; then
 3997   eval ac_cv_prog_make_${ac_make}_set=yes
 3998 else
 3999   eval ac_cv_prog_make_${ac_make}_set=no
 4000 fi
 4001 rm -f conftest.make
 4002 fi
 4003 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 4004   echo "$as_me:$LINENO: result: yes" >&5
 4005 echo "${ECHO_T}yes" >&6
 4006   SET_MAKE=
 4007 else
 4008   echo "$as_me:$LINENO: result: no" >&5
 4009 echo "${ECHO_T}no" >&6
 4010   SET_MAKE="MAKE=${MAKE-make}"
 4011 fi
 4012 
 4013 
 4014 case "$host_os" in
 4015         *w32*)
 4016                 LDFLAGS="$LDFLAGS -no-undefined"
 4017                 
 4018 cat >>confdefs.h <<\_ACEOF
 4019 @%:@define WIN32 1
 4020 _ACEOF
 4021 
 4022         ;;
 4023         *win32*) 
 4024                 LDFLAGS="$LDFLAGS -no-undefined"
 4025                 
 4026 cat >>confdefs.h <<\_ACEOF
 4027 @%:@define WIN32 1
 4028 _ACEOF
 4029 
 4030         ;;
 4031         cygwin*) 
 4032                 LDFLAGS="$LDFLAGS -no-undefined"
 4033                 
 4034 cat >>confdefs.h <<\_ACEOF
 4035 @%:@define WIN32 1
 4036 _ACEOF
 4037 
 4038         ;;
 4039 esac
 4040 
 4041 # Find a good install program.  We prefer a C program (faster),
 4042 # so one script is as good as another.  But avoid the broken or
 4043 # incompatible versions:
 4044 # SysV /etc/install, /usr/sbin/install
 4045 # SunOS /usr/etc/install
 4046 # IRIX /sbin/install
 4047 # AIX /bin/install
 4048 # AmigaOS /C/install, which installs bootblocks on floppy discs
 4049 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 4050 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 4051 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 4052 # OS/2's system install, which has a completely different semantic
 4053 # ./install, which can be erroneously created by make from ./install.sh.
 4054 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 4055 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 4056 if test -z "$INSTALL"; then
 4057 if test "${ac_cv_path_install+set}" = set; then
 4058   echo $ECHO_N "(cached) $ECHO_C" >&6
 4059 else
 4060   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4061 for as_dir in $PATH
 4062 do
 4063   IFS=$as_save_IFS
 4064   test -z "$as_dir" && as_dir=.
 4065   # Account for people who put trailing slashes in PATH elements.
 4066 case $as_dir/ in
 4067   ./ | .// | /cC/* | \
 4068   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 4069   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 4070   /usr/ucb/* ) ;;
 4071   *)
 4072     # OSF1 and SCO ODT 3.0 have their own names for install.
 4073     # Don't use installbsd from OSF since it installs stuff as root
 4074     # by default.
 4075     for ac_prog in ginstall scoinst install; do
 4076       for ac_exec_ext in '' $ac_executable_extensions; do
 4077 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 4078 	  if test $ac_prog = install &&
 4079 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 4080 	    # AIX install.  It has an incompatible calling convention.
 4081 	    :
 4082 	  elif test $ac_prog = install &&
 4083 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 4084 	    # program-specific install script used by HP pwplus--don't use.
 4085 	    :
 4086 	  else
 4087 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 4088 	    break 3
 4089 	  fi
 4090 	fi
 4091       done
 4092     done
 4093     ;;
 4094 esac
 4095 done
 4096 
 4097 
 4098 fi
 4099   if test "${ac_cv_path_install+set}" = set; then
 4100     INSTALL=$ac_cv_path_install
 4101   else
 4102     # As a last resort, use the slow shell script.  We don't cache a
 4103     # path for INSTALL within a source directory, because that will
 4104     # break other packages using the cache if that directory is
 4105     # removed, or if the path is relative.
 4106     INSTALL=$ac_install_sh
 4107   fi
 4108 fi
 4109 echo "$as_me:$LINENO: result: $INSTALL" >&5
 4110 echo "${ECHO_T}$INSTALL" >&6
 4111 
 4112 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 4113 # It thinks the first close brace ends the variable substitution.
 4114 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 4115 
 4116 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 4117 
 4118 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 4119 
 4120 echo "$as_me:$LINENO: checking whether ln -s works" >&5
 4121 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 4122 LN_S=$as_ln_s
 4123 if test "$LN_S" = "ln -s"; then
 4124   echo "$as_me:$LINENO: result: yes" >&5
 4125 echo "${ECHO_T}yes" >&6
 4126 else
 4127   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 4128 echo "${ECHO_T}no, using $LN_S" >&6
 4129 fi
 4130 
 4131 
 4132 
 4133 opt_maintainer_mode=no
 4134 echo "$as_me:$LINENO: checking whether in maintanance mode" >&5
 4135 echo $ECHO_N "checking whether in maintanance mode... $ECHO_C" >&6
 4136 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 4137 if test "${enable_maintainer_mode+set}" = set; then
 4138   enableval="$enable_maintainer_mode"
 4139   opt_maintainer_mode=$enableval
 4140 fi; 
 4141 echo "$as_me:$LINENO: result: $opt_maintainer_mode" >&5
 4142 echo "${ECHO_T}$opt_maintainer_mode" >&6
 4143 
 4144 opt_dmalloc_mode=no
 4145 echo "$as_me:$LINENO: checking whether in dmalloc mode" >&5
 4146 echo $ECHO_N "checking whether in dmalloc mode... $ECHO_C" >&6
 4147 # Check whether --enable-dmalloc-mode or --disable-dmalloc-mode was given.
 4148 if test "${enable_dmalloc_mode+set}" = set; then
 4149   enableval="$enable_dmalloc_mode"
 4150   opt_dmalloc_mode=$enableval
 4151 fi; 
 4152 echo "$as_me:$LINENO: result: $opt_dmalloc_mode" >&5
 4153 echo "${ECHO_T}$opt_dmalloc_mode" >&6
 4154 
 4155 
 4156 if test x$ac_cv_c_compiler_gnu = xyes; then
 4157 	if test x$opt_maintainer_mode = xyes; then
 4158 	  CFLAGS=" -ggdb3 -O2 -Wall -Wpointer-arith"
 4159 	fi
 4160 
 4161 	if test x$opt_dmalloc_mode = xyes; then
 4162 	  
 4163 
 4164 echo "$as_me:$LINENO: checking for main in -ldmalloc" >&5
 4165 echo $ECHO_N "checking for main in -ldmalloc... $ECHO_C" >&6
 4166 if test "${ac_cv_lib_dmalloc_main+set}" = set; then
 4167   echo $ECHO_N "(cached) $ECHO_C" >&6
 4168 else
 4169   ac_check_lib_save_LIBS=$LIBS
 4170 LIBS="-ldmalloc  $LIBS"
 4171 cat >conftest.$ac_ext <<_ACEOF
 4172 /* confdefs.h.  */
 4173 _ACEOF
 4174 cat confdefs.h >>conftest.$ac_ext
 4175 cat >>conftest.$ac_ext <<_ACEOF
 4176 /* end confdefs.h.  */
 4177 
 4178 
 4179 int
 4180 main ()
 4181 {
 4182 main ();
 4183   ;
 4184   return 0;
 4185 }
 4186 _ACEOF
 4187 rm -f conftest.$ac_objext conftest$ac_exeext
 4188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4189   (eval $ac_link) 2>conftest.er1
 4190   ac_status=$?
 4191   grep -v '^ *+' conftest.er1 >conftest.err
 4192   rm -f conftest.er1
 4193   cat conftest.err >&5
 4194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4195   (exit $ac_status); } &&
 4196 	 { ac_try='test -z "$ac_c_werror_flag"
 4197 			 || test ! -s conftest.err'
 4198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4199   (eval $ac_try) 2>&5
 4200   ac_status=$?
 4201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4202   (exit $ac_status); }; } &&
 4203 	 { ac_try='test -s conftest$ac_exeext'
 4204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4205   (eval $ac_try) 2>&5
 4206   ac_status=$?
 4207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4208   (exit $ac_status); }; }; then
 4209   ac_cv_lib_dmalloc_main=yes
 4210 else
 4211   echo "$as_me: failed program was:" >&5
 4212 sed 's/^/| /' conftest.$ac_ext >&5
 4213 
 4214 ac_cv_lib_dmalloc_main=no
 4215 fi
 4216 rm -f conftest.err conftest.$ac_objext \
 4217       conftest$ac_exeext conftest.$ac_ext
 4218 LIBS=$ac_check_lib_save_LIBS
 4219 fi
 4220 echo "$as_me:$LINENO: result: $ac_cv_lib_dmalloc_main" >&5
 4221 echo "${ECHO_T}$ac_cv_lib_dmalloc_main" >&6
 4222 if test $ac_cv_lib_dmalloc_main = yes; then
 4223   cat >>confdefs.h <<_ACEOF
 4224 @%:@define HAVE_LIBDMALLOC 1
 4225 _ACEOF
 4226 
 4227   LIBS="-ldmalloc $LIBS"
 4228 
 4229 fi
 4230 
 4231 	  
 4232 cat >>confdefs.h <<\_ACEOF
 4233 @%:@define USE_DMALLOC 1
 4234 _ACEOF
 4235 
 4236 	fi
 4237 fi
 4238 
 4239 opt_enable_ltdl=no
 4240 echo "$as_me:$LINENO: checking whether to enable dynamic module loading" >&5
 4241 echo $ECHO_N "checking whether to enable dynamic module loading... $ECHO_C" >&6
 4242 # Check whether --enable-dynamic-loading or --disable-dynamic-loading was given.
 4243 if test "${enable_dynamic_loading+set}" = set; then
 4244   enableval="$enable_dynamic_loading"
 4245   opt_enable_ltdl=$enableval
 4246 fi; 
 4247 echo "$as_me:$LINENO: result: $opt_enable_ltdl" >&5
 4248 echo "${ECHO_T}$opt_enable_ltdl" >&6
 4249 
 4250 MCRYPT_MODE_MODULES="cbc cfb ctr ecb ncfb nofb ofb stream"
 4251 MCRYPT_ALGORITHM_MODULES="threeway cast-128 gost rijndael-128 safer-sk64 twofish \
 4252  arcfour cast-256 loki97 rijndael-192 saferplus wake \
 4253  blowfish-compat des rijndael-256 serpent xtea \
 4254  blowfish enigma rc2 safer-sk128 tripledes"
 4255 
 4256 
 4257 if test "x$opt_enable_ltdl" != xno; then
 4258  touch lib/mcrypt_internal.h
 4259 
 4260  echo "$as_me:$LINENO: checking for lt_dlmutex_register in -lltdl" >&5
 4261 echo $ECHO_N "checking for lt_dlmutex_register in -lltdl... $ECHO_C" >&6
 4262 if test "${ac_cv_lib_ltdl_lt_dlmutex_register+set}" = set; then
 4263   echo $ECHO_N "(cached) $ECHO_C" >&6
 4264 else
 4265   ac_check_lib_save_LIBS=$LIBS
 4266 LIBS="-lltdl  $LIBS"
 4267 cat >conftest.$ac_ext <<_ACEOF
 4268 /* confdefs.h.  */
 4269 _ACEOF
 4270 cat confdefs.h >>conftest.$ac_ext
 4271 cat >>conftest.$ac_ext <<_ACEOF
 4272 /* end confdefs.h.  */
 4273 
 4274 /* Override any gcc2 internal prototype to avoid an error.  */
 4275 #ifdef __cplusplus
 4276 extern "C"
 4277 #endif
 4278 /* We use char because int might match the return type of a gcc2
 4279    builtin and then its argument prototype would still apply.  */
 4280 char lt_dlmutex_register ();
 4281 int
 4282 main ()
 4283 {
 4284 lt_dlmutex_register ();
 4285   ;
 4286   return 0;
 4287 }
 4288 _ACEOF
 4289 rm -f conftest.$ac_objext conftest$ac_exeext
 4290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4291   (eval $ac_link) 2>conftest.er1
 4292   ac_status=$?
 4293   grep -v '^ *+' conftest.er1 >conftest.err
 4294   rm -f conftest.er1
 4295   cat conftest.err >&5
 4296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4297   (exit $ac_status); } &&
 4298 	 { ac_try='test -z "$ac_c_werror_flag"
 4299 			 || test ! -s conftest.err'
 4300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4301   (eval $ac_try) 2>&5
 4302   ac_status=$?
 4303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4304   (exit $ac_status); }; } &&
 4305 	 { ac_try='test -s conftest$ac_exeext'
 4306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4307   (eval $ac_try) 2>&5
 4308   ac_status=$?
 4309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4310   (exit $ac_status); }; }; then
 4311   ac_cv_lib_ltdl_lt_dlmutex_register=yes
 4312 else
 4313   echo "$as_me: failed program was:" >&5
 4314 sed 's/^/| /' conftest.$ac_ext >&5
 4315 
 4316 ac_cv_lib_ltdl_lt_dlmutex_register=no
 4317 fi
 4318 rm -f conftest.err conftest.$ac_objext \
 4319       conftest$ac_exeext conftest.$ac_ext
 4320 LIBS=$ac_check_lib_save_LIBS
 4321 fi
 4322 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlmutex_register" >&5
 4323 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlmutex_register" >&6
 4324 if test $ac_cv_lib_ltdl_lt_dlmutex_register = yes; then
 4325   
 4326 cat >>confdefs.h <<\_ACEOF
 4327 @%:@define DLMUTEX 1
 4328 _ACEOF
 4329 
 4330 fi
 4331 
 4332 
 4333     echo "$as_me:$LINENO: checking for lt_dlinit in -lltdl" >&5
 4334 echo $ECHO_N "checking for lt_dlinit in -lltdl... $ECHO_C" >&6
 4335 if test "${ac_cv_lib_ltdl_lt_dlinit+set}" = set; then
 4336   echo $ECHO_N "(cached) $ECHO_C" >&6
 4337 else
 4338   ac_check_lib_save_LIBS=$LIBS
 4339 LIBS="-lltdl  $LIBS"
 4340 cat >conftest.$ac_ext <<_ACEOF
 4341 /* confdefs.h.  */
 4342 _ACEOF
 4343 cat confdefs.h >>conftest.$ac_ext
 4344 cat >>conftest.$ac_ext <<_ACEOF
 4345 /* end confdefs.h.  */
 4346 
 4347 /* Override any gcc2 internal prototype to avoid an error.  */
 4348 #ifdef __cplusplus
 4349 extern "C"
 4350 #endif
 4351 /* We use char because int might match the return type of a gcc2
 4352    builtin and then its argument prototype would still apply.  */
 4353 char lt_dlinit ();
 4354 int
 4355 main ()
 4356 {
 4357 lt_dlinit ();
 4358   ;
 4359   return 0;
 4360 }
 4361 _ACEOF
 4362 rm -f conftest.$ac_objext conftest$ac_exeext
 4363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4364   (eval $ac_link) 2>conftest.er1
 4365   ac_status=$?
 4366   grep -v '^ *+' conftest.er1 >conftest.err
 4367   rm -f conftest.er1
 4368   cat conftest.err >&5
 4369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4370   (exit $ac_status); } &&
 4371 	 { ac_try='test -z "$ac_c_werror_flag"
 4372 			 || test ! -s conftest.err'
 4373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4374   (eval $ac_try) 2>&5
 4375   ac_status=$?
 4376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4377   (exit $ac_status); }; } &&
 4378 	 { ac_try='test -s conftest$ac_exeext'
 4379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4380   (eval $ac_try) 2>&5
 4381   ac_status=$?
 4382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4383   (exit $ac_status); }; }; then
 4384   ac_cv_lib_ltdl_lt_dlinit=yes
 4385 else
 4386   echo "$as_me: failed program was:" >&5
 4387 sed 's/^/| /' conftest.$ac_ext >&5
 4388 
 4389 ac_cv_lib_ltdl_lt_dlinit=no
 4390 fi
 4391 rm -f conftest.err conftest.$ac_objext \
 4392       conftest$ac_exeext conftest.$ac_ext
 4393 LIBS=$ac_check_lib_save_LIBS
 4394 fi
 4395 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlinit" >&5
 4396 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlinit" >&6
 4397 if test $ac_cv_lib_ltdl_lt_dlinit = yes; then
 4398   test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no
 4399 else
 4400   if test x"$enable_ltdl_install" = xno; then
 4401      { echo "$as_me:$LINENO: WARNING: libltdl not installed, but installation disabled" >&5
 4402 echo "$as_me: WARNING: libltdl not installed, but installation disabled" >&2;}
 4403    else
 4404      enable_ltdl_install=yes
 4405    fi
 4406   
 4407 fi
 4408 
 4409   if test x"$enable_ltdl_install" = x"yes"; then
 4410     ac_configure_args="$ac_configure_args --enable-ltdl-install"
 4411     LIBLTDL='${top_builddir}/''libltdl'/libltdl.la
 4412     LTDLINCL='-I${top_srcdir}/''libltdl'
 4413   else
 4414     ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
 4415     LIBLTDL="-lltdl"
 4416     LTDLINCL=
 4417   fi
 4418   # For backwards non-gettext consistent compatibility...
 4419   INCLTDL="$LTDLINCL"
 4420 
 4421  
 4422  
 4423  LIBLTDL_DIR=libltdl
 4424  
 4425 
 4426            
 4427 
 4428 subdirs="$subdirs libltdl"
 4429 
 4430  # Check whether --enable-static or --disable-static was given.
 4431 if test "${enable_static+set}" = set; then
 4432   enableval="$enable_static"
 4433   p=${PACKAGE-default}
 4434     case $enableval in
 4435     yes) enable_static=yes ;;
 4436     no) enable_static=no ;;
 4437     *)
 4438      enable_static=no
 4439       # Look at the argument we got.  We use all the common list separators.
 4440       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 4441       for pkg in $enableval; do
 4442 	IFS="$lt_save_ifs"
 4443 	if test "X$pkg" = "X$p"; then
 4444 	  enable_static=yes
 4445 	fi
 4446       done
 4447       IFS="$lt_save_ifs"
 4448       ;;
 4449     esac
 4450 else
 4451   enable_static=no
 4452 fi; 
 4453 
 4454 
 4455 
 4456  
 4457 cat >>confdefs.h <<\_ACEOF
 4458 @%:@define USE_LTDL 1
 4459 _ACEOF
 4460 
 4461 
 4462  if test x$LIBLTDL = x; then
 4463 	:
 4464  else
 4465 	LTLIBS="-lltdl"
 4466  fi
 4467  opt_include_algos=no
 4468 
 4469 # create the names of the .la libraries to install
 4470  for i in $MCRYPT_ALGORITHM_MODULES
 4471  do \
 4472   INSTALL_ALGORITHM_MODULES="$INSTALL_ALGORITHM_MODULES $i.la"
 4473  done
 4474 
 4475  for i in $MCRYPT_MODE_MODULES
 4476  do \
 4477   INSTALL_MODE_MODULES="$INSTALL_MODE_MODULES $i.la"
 4478  done
 4479 
 4480  
 4481  
 4482 
 4483 else
 4484  for i in $MCRYPT_ALGORITHM_MODULES
 4485  do \
 4486   NOINSTALL_ALGORITHM_MODULES="$NOINSTALL_ALGORITHM_MODULES $i.la"
 4487  done
 4488 
 4489  for i in $MCRYPT_MODE_MODULES
 4490  do \
 4491   NOINSTALL_MODE_MODULES="$NOINSTALL_MODE_MODULES $i.la"
 4492  done
 4493 
 4494  
 4495  
 4496 
 4497  opt_include_algos="$MCRYPT_MODE_MODULES $MCRYPT_ALGORITHM_MODULES"
 4498  echo "***"
 4499  echo "*** Dynamic loading has been disabled"
 4500 fi
 4501 
 4502 echo "$as_me:$LINENO: checking which algorithms to include into library" >&5
 4503 echo $ECHO_N "checking which algorithms to include into library... $ECHO_C" >&6
 4504 
 4505 # Check whether --with-included-algos or --without-included-algos was given.
 4506 if test "${with_included_algos+set}" = set; then
 4507   withval="$with_included_algos"
 4508   touch lib/mcrypt_internal.h
 4509 opt_include_algos=$withval
 4510 fi; 
 4511 
 4512 if test "x$opt_include_algos" = xyes; then
 4513 	opt_include_algos=""
 4514 fi
 4515 if test "x$opt_include_algos" = xno; then
 4516 	opt_include_algos=""
 4517 fi
 4518 
 4519 
 4520 EXTRA_OBJECTS=""
 4521 ALG=`echo -n $opt_include_algos|sed "s/,/ /g"|sed "s/\n/ /g"`
 4522 for i in $ALG
 4523 do \
 4524 test -f modules/algorithms/$i.c && EXTRA_OBJECTS="$EXTRA_OBJECTS ../modules/algorithms/$i.lo"
 4525 test -f modules/modes/$i.c && EXTRA_OBJECTS="$EXTRA_OBJECTS ../modules/modes/$i.lo"
 4526 done
 4527 
 4528 echo "$as_me:$LINENO: result: $opt_include_algos" >&5
 4529 echo "${ECHO_T}$opt_include_algos" >&6
 4530 
 4531 
 4532 EXTRA_ALGOS=$ALG
 4533 
 4534 
 4535 
 4536 
 4537 
 4538 
 4539 
 4540 
 4541 
 4542 
 4543 
 4544 
 4545 LT_CURRENT=$LIBMCRYPT_MOST_RECENT_INTERFACE
 4546 LT_REVISION=$LIBMCRYPT_CURRENT_INTERFACE_IMPLEMENTATION_NUMBER
 4547 LT_AGE=`expr $LIBMCRYPT_MOST_RECENT_INTERFACE - $LIBMCRYPT_OLDEST_INTERFACE`
 4548 
 4549 
 4550 
 4551 
 4552 
 4553 
 4554 
 4555 
 4556 
 4557 ac_header_dirent=no
 4558 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
 4559   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 4560 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
 4561 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
 4562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4563   echo $ECHO_N "(cached) $ECHO_C" >&6
 4564 else
 4565   cat >conftest.$ac_ext <<_ACEOF
 4566 /* confdefs.h.  */
 4567 _ACEOF
 4568 cat confdefs.h >>conftest.$ac_ext
 4569 cat >>conftest.$ac_ext <<_ACEOF
 4570 /* end confdefs.h.  */
 4571 #include <sys/types.h>
 4572 #include <$ac_hdr>
 4573 
 4574 int
 4575 main ()
 4576 {
 4577 if ((DIR *) 0)
 4578 return 0;
 4579   ;
 4580   return 0;
 4581 }
 4582 _ACEOF
 4583 rm -f conftest.$ac_objext
 4584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4585   (eval $ac_compile) 2>conftest.er1
 4586   ac_status=$?
 4587   grep -v '^ *+' conftest.er1 >conftest.err
 4588   rm -f conftest.er1
 4589   cat conftest.err >&5
 4590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4591   (exit $ac_status); } &&
 4592 	 { ac_try='test -z "$ac_c_werror_flag"
 4593 			 || test ! -s conftest.err'
 4594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4595   (eval $ac_try) 2>&5
 4596   ac_status=$?
 4597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4598   (exit $ac_status); }; } &&
 4599 	 { ac_try='test -s conftest.$ac_objext'
 4600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4601   (eval $ac_try) 2>&5
 4602   ac_status=$?
 4603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4604   (exit $ac_status); }; }; then
 4605   eval "$as_ac_Header=yes"
 4606 else
 4607   echo "$as_me: failed program was:" >&5
 4608 sed 's/^/| /' conftest.$ac_ext >&5
 4609 
 4610 eval "$as_ac_Header=no"
 4611 fi
 4612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4613 fi
 4614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 4617   cat >>confdefs.h <<_ACEOF
 4618 @%:@define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 4619 _ACEOF
 4620 
 4621 ac_header_dirent=$ac_hdr; break
 4622 fi
 4623 
 4624 done
 4625 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 4626 if test $ac_header_dirent = dirent.h; then
 4627   echo "$as_me:$LINENO: checking for library containing opendir" >&5
 4628 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
 4629 if test "${ac_cv_search_opendir+set}" = set; then
 4630   echo $ECHO_N "(cached) $ECHO_C" >&6
 4631 else
 4632   ac_func_search_save_LIBS=$LIBS
 4633 ac_cv_search_opendir=no
 4634 cat >conftest.$ac_ext <<_ACEOF
 4635 /* confdefs.h.  */
 4636 _ACEOF
 4637 cat confdefs.h >>conftest.$ac_ext
 4638 cat >>conftest.$ac_ext <<_ACEOF
 4639 /* end confdefs.h.  */
 4640 
 4641 /* Override any gcc2 internal prototype to avoid an error.  */
 4642 #ifdef __cplusplus
 4643 extern "C"
 4644 #endif
 4645 /* We use char because int might match the return type of a gcc2
 4646    builtin and then its argument prototype would still apply.  */
 4647 char opendir ();
 4648 int
 4649 main ()
 4650 {
 4651 opendir ();
 4652   ;
 4653   return 0;
 4654 }
 4655 _ACEOF
 4656 rm -f conftest.$ac_objext conftest$ac_exeext
 4657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4658   (eval $ac_link) 2>conftest.er1
 4659   ac_status=$?
 4660   grep -v '^ *+' conftest.er1 >conftest.err
 4661   rm -f conftest.er1
 4662   cat conftest.err >&5
 4663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4664   (exit $ac_status); } &&
 4665 	 { ac_try='test -z "$ac_c_werror_flag"
 4666 			 || test ! -s conftest.err'
 4667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4668   (eval $ac_try) 2>&5
 4669   ac_status=$?
 4670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4671   (exit $ac_status); }; } &&
 4672 	 { ac_try='test -s conftest$ac_exeext'
 4673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4674   (eval $ac_try) 2>&5
 4675   ac_status=$?
 4676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4677   (exit $ac_status); }; }; then
 4678   ac_cv_search_opendir="none required"
 4679 else
 4680   echo "$as_me: failed program was:" >&5
 4681 sed 's/^/| /' conftest.$ac_ext >&5
 4682 
 4683 fi
 4684 rm -f conftest.err conftest.$ac_objext \
 4685       conftest$ac_exeext conftest.$ac_ext
 4686 if test "$ac_cv_search_opendir" = no; then
 4687   for ac_lib in dir; do
 4688     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 4689     cat >conftest.$ac_ext <<_ACEOF
 4690 /* confdefs.h.  */
 4691 _ACEOF
 4692 cat confdefs.h >>conftest.$ac_ext
 4693 cat >>conftest.$ac_ext <<_ACEOF
 4694 /* end confdefs.h.  */
 4695 
 4696 /* Override any gcc2 internal prototype to avoid an error.  */
 4697 #ifdef __cplusplus
 4698 extern "C"
 4699 #endif
 4700 /* We use char because int might match the return type of a gcc2
 4701    builtin and then its argument prototype would still apply.  */
 4702 char opendir ();
 4703 int
 4704 main ()
 4705 {
 4706 opendir ();
 4707   ;
 4708   return 0;
 4709 }
 4710 _ACEOF
 4711 rm -f conftest.$ac_objext conftest$ac_exeext
 4712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4713   (eval $ac_link) 2>conftest.er1
 4714   ac_status=$?
 4715   grep -v '^ *+' conftest.er1 >conftest.err
 4716   rm -f conftest.er1
 4717   cat conftest.err >&5
 4718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4719   (exit $ac_status); } &&
 4720 	 { ac_try='test -z "$ac_c_werror_flag"
 4721 			 || test ! -s conftest.err'
 4722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4723   (eval $ac_try) 2>&5
 4724   ac_status=$?
 4725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4726   (exit $ac_status); }; } &&
 4727 	 { ac_try='test -s conftest$ac_exeext'
 4728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4729   (eval $ac_try) 2>&5
 4730   ac_status=$?
 4731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4732   (exit $ac_status); }; }; then
 4733   ac_cv_search_opendir="-l$ac_lib"
 4734 break
 4735 else
 4736   echo "$as_me: failed program was:" >&5
 4737 sed 's/^/| /' conftest.$ac_ext >&5
 4738 
 4739 fi
 4740 rm -f conftest.err conftest.$ac_objext \
 4741       conftest$ac_exeext conftest.$ac_ext
 4742   done
 4743 fi
 4744 LIBS=$ac_func_search_save_LIBS
 4745 fi
 4746 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 4747 echo "${ECHO_T}$ac_cv_search_opendir" >&6
 4748 if test "$ac_cv_search_opendir" != no; then
 4749   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
 4750   
 4751 fi
 4752 
 4753 else
 4754   echo "$as_me:$LINENO: checking for library containing opendir" >&5
 4755 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
 4756 if test "${ac_cv_search_opendir+set}" = set; then
 4757   echo $ECHO_N "(cached) $ECHO_C" >&6
 4758 else
 4759   ac_func_search_save_LIBS=$LIBS
 4760 ac_cv_search_opendir=no
 4761 cat >conftest.$ac_ext <<_ACEOF
 4762 /* confdefs.h.  */
 4763 _ACEOF
 4764 cat confdefs.h >>conftest.$ac_ext
 4765 cat >>conftest.$ac_ext <<_ACEOF
 4766 /* end confdefs.h.  */
 4767 
 4768 /* Override any gcc2 internal prototype to avoid an error.  */
 4769 #ifdef __cplusplus
 4770 extern "C"
 4771 #endif
 4772 /* We use char because int might match the return type of a gcc2
 4773    builtin and then its argument prototype would still apply.  */
 4774 char opendir ();
 4775 int
 4776 main ()
 4777 {
 4778 opendir ();
 4779   ;
 4780   return 0;
 4781 }
 4782 _ACEOF
 4783 rm -f conftest.$ac_objext conftest$ac_exeext
 4784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4785   (eval $ac_link) 2>conftest.er1
 4786   ac_status=$?
 4787   grep -v '^ *+' conftest.er1 >conftest.err
 4788   rm -f conftest.er1
 4789   cat conftest.err >&5
 4790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4791   (exit $ac_status); } &&
 4792 	 { ac_try='test -z "$ac_c_werror_flag"
 4793 			 || test ! -s conftest.err'
 4794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4795   (eval $ac_try) 2>&5
 4796   ac_status=$?
 4797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4798   (exit $ac_status); }; } &&
 4799 	 { ac_try='test -s conftest$ac_exeext'
 4800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4801   (eval $ac_try) 2>&5
 4802   ac_status=$?
 4803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4804   (exit $ac_status); }; }; then
 4805   ac_cv_search_opendir="none required"
 4806 else
 4807   echo "$as_me: failed program was:" >&5
 4808 sed 's/^/| /' conftest.$ac_ext >&5
 4809 
 4810 fi
 4811 rm -f conftest.err conftest.$ac_objext \
 4812       conftest$ac_exeext conftest.$ac_ext
 4813 if test "$ac_cv_search_opendir" = no; then
 4814   for ac_lib in x; do
 4815     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 4816     cat >conftest.$ac_ext <<_ACEOF
 4817 /* confdefs.h.  */
 4818 _ACEOF
 4819 cat confdefs.h >>conftest.$ac_ext
 4820 cat >>conftest.$ac_ext <<_ACEOF
 4821 /* end confdefs.h.  */
 4822 
 4823 /* Override any gcc2 internal prototype to avoid an error.  */
 4824 #ifdef __cplusplus
 4825 extern "C"
 4826 #endif
 4827 /* We use char because int might match the return type of a gcc2
 4828    builtin and then its argument prototype would still apply.  */
 4829 char opendir ();
 4830 int
 4831 main ()
 4832 {
 4833 opendir ();
 4834   ;
 4835   return 0;
 4836 }
 4837 _ACEOF
 4838 rm -f conftest.$ac_objext conftest$ac_exeext
 4839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4840   (eval $ac_link) 2>conftest.er1
 4841   ac_status=$?
 4842   grep -v '^ *+' conftest.er1 >conftest.err
 4843   rm -f conftest.er1
 4844   cat conftest.err >&5
 4845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4846   (exit $ac_status); } &&
 4847 	 { ac_try='test -z "$ac_c_werror_flag"
 4848 			 || test ! -s conftest.err'
 4849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4850   (eval $ac_try) 2>&5
 4851   ac_status=$?
 4852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4853   (exit $ac_status); }; } &&
 4854 	 { ac_try='test -s conftest$ac_exeext'
 4855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4856   (eval $ac_try) 2>&5
 4857   ac_status=$?
 4858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4859   (exit $ac_status); }; }; then
 4860   ac_cv_search_opendir="-l$ac_lib"
 4861 break
 4862 else
 4863   echo "$as_me: failed program was:" >&5
 4864 sed 's/^/| /' conftest.$ac_ext >&5
 4865 
 4866 fi
 4867 rm -f conftest.err conftest.$ac_objext \
 4868       conftest$ac_exeext conftest.$ac_ext
 4869   done
 4870 fi
 4871 LIBS=$ac_func_search_save_LIBS
 4872 fi
 4873 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 4874 echo "${ECHO_T}$ac_cv_search_opendir" >&6
 4875 if test "$ac_cv_search_opendir" != no; then
 4876   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
 4877   
 4878 fi
 4879 
 4880 fi
 4881 
 4882 
 4883 echo "$as_me:$LINENO: checking for egrep" >&5
 4884 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 4885 if test "${ac_cv_prog_egrep+set}" = set; then
 4886   echo $ECHO_N "(cached) $ECHO_C" >&6
 4887 else
 4888   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 4889     then ac_cv_prog_egrep='grep -E'
 4890     else ac_cv_prog_egrep='egrep'
 4891     fi
 4892 fi
 4893 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 4894 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 4895  EGREP=$ac_cv_prog_egrep
 4896  
 4897 
 4898 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 4899 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 4900 if test "${ac_cv_header_stdc+set}" = set; then
 4901   echo $ECHO_N "(cached) $ECHO_C" >&6
 4902 else
 4903   cat >conftest.$ac_ext <<_ACEOF
 4904 /* confdefs.h.  */
 4905 _ACEOF
 4906 cat confdefs.h >>conftest.$ac_ext
 4907 cat >>conftest.$ac_ext <<_ACEOF
 4908 /* end confdefs.h.  */
 4909 #include <stdlib.h>
 4910 #include <stdarg.h>
 4911 #include <string.h>
 4912 #include <float.h>
 4913 
 4914 int
 4915 main ()
 4916 {
 4917 
 4918   ;
 4919   return 0;
 4920 }
 4921 _ACEOF
 4922 rm -f conftest.$ac_objext
 4923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4924   (eval $ac_compile) 2>conftest.er1
 4925   ac_status=$?
 4926   grep -v '^ *+' conftest.er1 >conftest.err
 4927   rm -f conftest.er1
 4928   cat conftest.err >&5
 4929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4930   (exit $ac_status); } &&
 4931 	 { ac_try='test -z "$ac_c_werror_flag"
 4932 			 || test ! -s conftest.err'
 4933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4934   (eval $ac_try) 2>&5
 4935   ac_status=$?
 4936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4937   (exit $ac_status); }; } &&
 4938 	 { ac_try='test -s conftest.$ac_objext'
 4939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4940   (eval $ac_try) 2>&5
 4941   ac_status=$?
 4942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4943   (exit $ac_status); }; }; then
 4944   ac_cv_header_stdc=yes
 4945 else
 4946   echo "$as_me: failed program was:" >&5
 4947 sed 's/^/| /' conftest.$ac_ext >&5
 4948 
 4949 ac_cv_header_stdc=no
 4950 fi
 4951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4952 
 4953 if test $ac_cv_header_stdc = yes; then
 4954   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 4955   cat >conftest.$ac_ext <<_ACEOF
 4956 /* confdefs.h.  */
 4957 _ACEOF
 4958 cat confdefs.h >>conftest.$ac_ext
 4959 cat >>conftest.$ac_ext <<_ACEOF
 4960 /* end confdefs.h.  */
 4961 #include <string.h>
 4962 
 4963 _ACEOF
 4964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4965   $EGREP "memchr" >/dev/null 2>&1; then
 4966   :
 4967 else
 4968   ac_cv_header_stdc=no
 4969 fi
 4970 rm -f conftest*
 4971 
 4972 fi
 4973 
 4974 if test $ac_cv_header_stdc = yes; then
 4975   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 4976   cat >conftest.$ac_ext <<_ACEOF
 4977 /* confdefs.h.  */
 4978 _ACEOF
 4979 cat confdefs.h >>conftest.$ac_ext
 4980 cat >>conftest.$ac_ext <<_ACEOF
 4981 /* end confdefs.h.  */
 4982 #include <stdlib.h>
 4983 
 4984 _ACEOF
 4985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4986   $EGREP "free" >/dev/null 2>&1; then
 4987   :
 4988 else
 4989   ac_cv_header_stdc=no
 4990 fi
 4991 rm -f conftest*
 4992 
 4993 fi
 4994 
 4995 if test $ac_cv_header_stdc = yes; then
 4996   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 4997   if test "$cross_compiling" = yes; then
 4998   :
 4999 else
 5000   cat >conftest.$ac_ext <<_ACEOF
 5001 /* confdefs.h.  */
 5002 _ACEOF
 5003 cat confdefs.h >>conftest.$ac_ext
 5004 cat >>conftest.$ac_ext <<_ACEOF
 5005 /* end confdefs.h.  */
 5006 #include <ctype.h>
 5007 #if ((' ' & 0x0FF) == 0x020)
 5008 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 5009 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 5010 #else
 5011 # define ISLOWER(c) \
 5012 		   (('a' <= (c) && (c) <= 'i') \
 5013 		     || ('j' <= (c) && (c) <= 'r') \
 5014 		     || ('s' <= (c) && (c) <= 'z'))
 5015 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 5016 #endif
 5017 
 5018 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 5019 int
 5020 main ()
 5021 {
 5022   int i;
 5023   for (i = 0; i < 256; i++)
 5024     if (XOR (islower (i), ISLOWER (i))
 5025 	|| toupper (i) != TOUPPER (i))
 5026       exit(2);
 5027   exit (0);
 5028 }
 5029 _ACEOF
 5030 rm -f conftest$ac_exeext
 5031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5032   (eval $ac_link) 2>&5
 5033   ac_status=$?
 5034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5035   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 5036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5037   (eval $ac_try) 2>&5
 5038   ac_status=$?
 5039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5040   (exit $ac_status); }; }; then
 5041   :
 5042 else
 5043   echo "$as_me: program exited with status $ac_status" >&5
 5044 echo "$as_me: failed program was:" >&5
 5045 sed 's/^/| /' conftest.$ac_ext >&5
 5046 
 5047 ( exit $ac_status )
 5048 ac_cv_header_stdc=no
 5049 fi
 5050 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 5051 fi
 5052 fi
 5053 fi
 5054 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 5055 echo "${ECHO_T}$ac_cv_header_stdc" >&6
 5056 if test $ac_cv_header_stdc = yes; then
 5057   
 5058 cat >>confdefs.h <<\_ACEOF
 5059 @%:@define STDC_HEADERS 1
 5060 _ACEOF
 5061 
 5062 fi
 5063 
 5064 echo "$as_me:$LINENO: checking for inline" >&5
 5065 echo $ECHO_N "checking for inline... $ECHO_C" >&6
 5066 if test "${ac_cv_c_inline+set}" = set; then
 5067   echo $ECHO_N "(cached) $ECHO_C" >&6
 5068 else
 5069   ac_cv_c_inline=no
 5070 for ac_kw in inline __inline__ __inline; do
 5071   cat >conftest.$ac_ext <<_ACEOF
 5072 /* confdefs.h.  */
 5073 _ACEOF
 5074 cat confdefs.h >>conftest.$ac_ext
 5075 cat >>conftest.$ac_ext <<_ACEOF
 5076 /* end confdefs.h.  */
 5077 #ifndef __cplusplus
 5078 typedef int foo_t;
 5079 static $ac_kw foo_t static_foo () {return 0; }
 5080 $ac_kw foo_t foo () {return 0; }
 5081 #endif
 5082 
 5083 _ACEOF
 5084 rm -f conftest.$ac_objext
 5085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5086   (eval $ac_compile) 2>conftest.er1
 5087   ac_status=$?
 5088   grep -v '^ *+' conftest.er1 >conftest.err
 5089   rm -f conftest.er1
 5090   cat conftest.err >&5
 5091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5092   (exit $ac_status); } &&
 5093 	 { ac_try='test -z "$ac_c_werror_flag"
 5094 			 || test ! -s conftest.err'
 5095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5096   (eval $ac_try) 2>&5
 5097   ac_status=$?
 5098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5099   (exit $ac_status); }; } &&
 5100 	 { ac_try='test -s conftest.$ac_objext'
 5101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5102   (eval $ac_try) 2>&5
 5103   ac_status=$?
 5104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5105   (exit $ac_status); }; }; then
 5106   ac_cv_c_inline=$ac_kw; break
 5107 else
 5108   echo "$as_me: failed program was:" >&5
 5109 sed 's/^/| /' conftest.$ac_ext >&5
 5110 
 5111 fi
 5112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5113 done
 5114 
 5115 fi
 5116 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 5117 echo "${ECHO_T}$ac_cv_c_inline" >&6
 5118 
 5119 
 5120 case $ac_cv_c_inline in
 5121   inline | yes) ;;
 5122   *)
 5123     case $ac_cv_c_inline in
 5124       no) ac_val=;;
 5125       *) ac_val=$ac_cv_c_inline;;
 5126     esac
 5127     cat >>confdefs.h <<_ACEOF
 5128 #ifndef __cplusplus
 5129 #define inline $ac_val
 5130 #endif
 5131 _ACEOF
 5132     ;;
 5133 esac
 5134 
 5135 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 5136 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 5137 if test "${ac_cv_c_const+set}" = set; then
 5138   echo $ECHO_N "(cached) $ECHO_C" >&6
 5139 else
 5140   cat >conftest.$ac_ext <<_ACEOF
 5141 /* confdefs.h.  */
 5142 _ACEOF
 5143 cat confdefs.h >>conftest.$ac_ext
 5144 cat >>conftest.$ac_ext <<_ACEOF
 5145 /* end confdefs.h.  */
 5146 
 5147 int
 5148 main ()
 5149 {
 5150 /* FIXME: Include the comments suggested by Paul. */
 5151 #ifndef __cplusplus
 5152   /* Ultrix mips cc rejects this.  */
 5153   typedef int charset[2];
 5154   const charset x;
 5155   /* SunOS 4.1.1 cc rejects this.  */
 5156   char const *const *ccp;
 5157   char **p;
 5158   /* NEC SVR4.0.2 mips cc rejects this.  */
 5159   struct point {int x, y;};
 5160   static struct point const zero = {0,0};
 5161   /* AIX XL C 1.02.0.0 rejects this.
 5162      It does not let you subtract one const X* pointer from another in
 5163      an arm of an if-expression whose if-part is not a constant
 5164      expression */
 5165   const char *g = "string";
 5166   ccp = &g + (g ? g-g : 0);
 5167   /* HPUX 7.0 cc rejects these. */
 5168   ++ccp;
 5169   p = (char**) ccp;
 5170   ccp = (char const *const *) p;
 5171   { /* SCO 3.2v4 cc rejects this.  */
 5172     char *t;
 5173     char const *s = 0 ? (char *) 0 : (char const *) 0;
 5174 
 5175     *t++ = 0;
 5176   }
 5177   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 5178     int x[] = {25, 17};
 5179     const int *foo = &x[0];
 5180     ++foo;
 5181   }
 5182   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 5183     typedef const int *iptr;
 5184     iptr p = 0;
 5185     ++p;
 5186   }
 5187   { /* AIX XL C 1.02.0.0 rejects this saying
 5188        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 5189     struct s { int j; const int *ap[3]; };
 5190     struct s *b; b->j = 5;
 5191   }
 5192   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 5193     const int foo = 10;
 5194   }
 5195 #endif
 5196 
 5197   ;
 5198   return 0;
 5199 }
 5200 _ACEOF
 5201 rm -f conftest.$ac_objext
 5202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5203   (eval $ac_compile) 2>conftest.er1
 5204   ac_status=$?
 5205   grep -v '^ *+' conftest.er1 >conftest.err
 5206   rm -f conftest.er1
 5207   cat conftest.err >&5
 5208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5209   (exit $ac_status); } &&
 5210 	 { ac_try='test -z "$ac_c_werror_flag"
 5211 			 || test ! -s conftest.err'
 5212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5213   (eval $ac_try) 2>&5
 5214   ac_status=$?
 5215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5216   (exit $ac_status); }; } &&
 5217 	 { ac_try='test -s conftest.$ac_objext'
 5218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5219   (eval $ac_try) 2>&5
 5220   ac_status=$?
 5221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5222   (exit $ac_status); }; }; then
 5223   ac_cv_c_const=yes
 5224 else
 5225   echo "$as_me: failed program was:" >&5
 5226 sed 's/^/| /' conftest.$ac_ext >&5
 5227 
 5228 ac_cv_c_const=no
 5229 fi
 5230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5231 fi
 5232 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 5233 echo "${ECHO_T}$ac_cv_c_const" >&6
 5234 if test $ac_cv_c_const = no; then
 5235   
 5236 cat >>confdefs.h <<\_ACEOF
 5237 @%:@define const 
 5238 _ACEOF
 5239 
 5240 fi
 5241 
 5242 
 5243 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 5244 
 5245 
 5246 
 5247 
 5248 
 5249 
 5250 
 5251 
 5252 
 5253 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 5254 		  inttypes.h stdint.h unistd.h
 5255 do
 5256 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5257 echo "$as_me:$LINENO: checking for $ac_header" >&5
 5258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 5259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5260   echo $ECHO_N "(cached) $ECHO_C" >&6
 5261 else
 5262   cat >conftest.$ac_ext <<_ACEOF
 5263 /* confdefs.h.  */
 5264 _ACEOF
 5265 cat confdefs.h >>conftest.$ac_ext
 5266 cat >>conftest.$ac_ext <<_ACEOF
 5267 /* end confdefs.h.  */
 5268 $ac_includes_default
 5269 
 5270 @%:@include <$ac_header>
 5271 _ACEOF
 5272 rm -f conftest.$ac_objext
 5273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5274   (eval $ac_compile) 2>conftest.er1
 5275   ac_status=$?
 5276   grep -v '^ *+' conftest.er1 >conftest.err
 5277   rm -f conftest.er1
 5278   cat conftest.err >&5
 5279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5280   (exit $ac_status); } &&
 5281 	 { ac_try='test -z "$ac_c_werror_flag"
 5282 			 || test ! -s conftest.err'
 5283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5284   (eval $ac_try) 2>&5
 5285   ac_status=$?
 5286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5287   (exit $ac_status); }; } &&
 5288 	 { ac_try='test -s conftest.$ac_objext'
 5289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5290   (eval $ac_try) 2>&5
 5291   ac_status=$?
 5292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5293   (exit $ac_status); }; }; then
 5294   eval "$as_ac_Header=yes"
 5295 else
 5296   echo "$as_me: failed program was:" >&5
 5297 sed 's/^/| /' conftest.$ac_ext >&5
 5298 
 5299 eval "$as_ac_Header=no"
 5300 fi
 5301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5302 fi
 5303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 5304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 5305 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 5306   cat >>confdefs.h <<_ACEOF
 5307 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5308 _ACEOF
 5309  
 5310 fi
 5311 
 5312 done
 5313 
 5314 
 5315 
 5316 
 5317 
 5318 
 5319 
 5320 
 5321 
 5322 for ac_header in argz.h byteswap.h dirent.h dlfcn.h endian.h malloc.h memory.h
 5323 do
 5324 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5326   echo "$as_me:$LINENO: checking for $ac_header" >&5
 5327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 5328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5329   echo $ECHO_N "(cached) $ECHO_C" >&6
 5330 fi
 5331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 5332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 5333 else
 5334   # Is the header compilable?
 5335 echo "$as_me:$LINENO: checking $ac_header usability" >&5
 5336 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 5337 cat >conftest.$ac_ext <<_ACEOF
 5338 /* confdefs.h.  */
 5339 _ACEOF
 5340 cat confdefs.h >>conftest.$ac_ext
 5341 cat >>conftest.$ac_ext <<_ACEOF
 5342 /* end confdefs.h.  */
 5343 $ac_includes_default
 5344 @%:@include <$ac_header>
 5345 _ACEOF
 5346 rm -f conftest.$ac_objext
 5347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5348   (eval $ac_compile) 2>conftest.er1
 5349   ac_status=$?
 5350   grep -v '^ *+' conftest.er1 >conftest.err
 5351   rm -f conftest.er1
 5352   cat conftest.err >&5
 5353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5354   (exit $ac_status); } &&
 5355 	 { ac_try='test -z "$ac_c_werror_flag"
 5356 			 || test ! -s conftest.err'
 5357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5358   (eval $ac_try) 2>&5
 5359   ac_status=$?
 5360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5361   (exit $ac_status); }; } &&
 5362 	 { ac_try='test -s conftest.$ac_objext'
 5363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5364   (eval $ac_try) 2>&5
 5365   ac_status=$?
 5366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5367   (exit $ac_status); }; }; then
 5368   ac_header_compiler=yes
 5369 else
 5370   echo "$as_me: failed program was:" >&5
 5371 sed 's/^/| /' conftest.$ac_ext >&5
 5372 
 5373 ac_header_compiler=no
 5374 fi
 5375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5376 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 5377 echo "${ECHO_T}$ac_header_compiler" >&6
 5378 
 5379 # Is the header present?
 5380 echo "$as_me:$LINENO: checking $ac_header presence" >&5
 5381 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 5382 cat >conftest.$ac_ext <<_ACEOF
 5383 /* confdefs.h.  */
 5384 _ACEOF
 5385 cat confdefs.h >>conftest.$ac_ext
 5386 cat >>conftest.$ac_ext <<_ACEOF
 5387 /* end confdefs.h.  */
 5388 @%:@include <$ac_header>
 5389 _ACEOF
 5390 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 5391   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 5392   ac_status=$?
 5393   grep -v '^ *+' conftest.er1 >conftest.err
 5394   rm -f conftest.er1
 5395   cat conftest.err >&5
 5396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5397   (exit $ac_status); } >/dev/null; then
 5398   if test -s conftest.err; then
 5399     ac_cpp_err=$ac_c_preproc_warn_flag
 5400     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 5401   else
 5402     ac_cpp_err=
 5403   fi
 5404 else
 5405   ac_cpp_err=yes
 5406 fi
 5407 if test -z "$ac_cpp_err"; then
 5408   ac_header_preproc=yes
 5409 else
 5410   echo "$as_me: failed program was:" >&5
 5411 sed 's/^/| /' conftest.$ac_ext >&5
 5412 
 5413   ac_header_preproc=no
 5414 fi
 5415 rm -f conftest.err conftest.$ac_ext
 5416 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 5417 echo "${ECHO_T}$ac_header_preproc" >&6
 5418 
 5419 # So?  What about this header?
 5420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 5421   yes:no: )
 5422     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 5423 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 5424     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 5425 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 5426     ac_header_preproc=yes
 5427     ;;
 5428   no:yes:* )
 5429     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 5430 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 5431     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 5432 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 5433     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 5434 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 5435     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 5436 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 5437     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 5438 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 5439     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 5440 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 5441     (
 5442       cat <<\_ASBOX
 5443 @%:@@%:@ ------------------------------------------ @%:@@%:@
 5444 @%:@@%:@ Report this to the AC_PACKAGE_NAME lists.  @%:@@%:@
 5445 @%:@@%:@ ------------------------------------------ @%:@@%:@
 5446 _ASBOX
 5447     ) |
 5448       sed "s/^/$as_me: WARNING:     /" >&2
 5449     ;;
 5450 esac
 5451 echo "$as_me:$LINENO: checking for $ac_header" >&5
 5452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 5453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5454   echo $ECHO_N "(cached) $ECHO_C" >&6
 5455 else
 5456   eval "$as_ac_Header=\$ac_header_preproc"
 5457 fi
 5458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 5459 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 5460 
 5461 fi
 5462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 5463   cat >>confdefs.h <<_ACEOF
 5464 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5465 _ACEOF
 5466  
 5467 fi
 5468 
 5469 done
 5470 
 5471 
 5472 
 5473 
 5474 for ac_header in stdlib.h string.h strings.h
 5475 do
 5476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5478   echo "$as_me:$LINENO: checking for $ac_header" >&5
 5479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 5480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5481   echo $ECHO_N "(cached) $ECHO_C" >&6
 5482 fi
 5483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 5484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 5485 else
 5486   # Is the header compilable?
 5487 echo "$as_me:$LINENO: checking $ac_header usability" >&5
 5488 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 5489 cat >conftest.$ac_ext <<_ACEOF
 5490 /* confdefs.h.  */
 5491 _ACEOF
 5492 cat confdefs.h >>conftest.$ac_ext
 5493 cat >>conftest.$ac_ext <<_ACEOF
 5494 /* end confdefs.h.  */
 5495 $ac_includes_default
 5496 @%:@include <$ac_header>
 5497 _ACEOF
 5498 rm -f conftest.$ac_objext
 5499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5500   (eval $ac_compile) 2>conftest.er1
 5501   ac_status=$?
 5502   grep -v '^ *+' conftest.er1 >conftest.err
 5503   rm -f conftest.er1
 5504   cat conftest.err >&5
 5505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5506   (exit $ac_status); } &&
 5507 	 { ac_try='test -z "$ac_c_werror_flag"
 5508 			 || test ! -s conftest.err'
 5509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5510   (eval $ac_try) 2>&5
 5511   ac_status=$?
 5512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5513   (exit $ac_status); }; } &&
 5514 	 { ac_try='test -s conftest.$ac_objext'
 5515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5516   (eval $ac_try) 2>&5
 5517   ac_status=$?
 5518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5519   (exit $ac_status); }; }; then
 5520   ac_header_compiler=yes
 5521 else
 5522   echo "$as_me: failed program was:" >&5
 5523 sed 's/^/| /' conftest.$ac_ext >&5
 5524 
 5525 ac_header_compiler=no
 5526 fi
 5527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5528 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 5529 echo "${ECHO_T}$ac_header_compiler" >&6
 5530 
 5531 # Is the header present?
 5532 echo "$as_me:$LINENO: checking $ac_header presence" >&5
 5533 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 5534 cat >conftest.$ac_ext <<_ACEOF
 5535 /* confdefs.h.  */
 5536 _ACEOF
 5537 cat confdefs.h >>conftest.$ac_ext
 5538 cat >>conftest.$ac_ext <<_ACEOF
 5539 /* end confdefs.h.  */
 5540 @%:@include <$ac_header>
 5541 _ACEOF
 5542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 5543   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 5544   ac_status=$?
 5545   grep -v '^ *+' conftest.er1 >conftest.err
 5546   rm -f conftest.er1
 5547   cat conftest.err >&5
 5548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5549   (exit $ac_status); } >/dev/null; then
 5550   if test -s conftest.err; then
 5551     ac_cpp_err=$ac_c_preproc_warn_flag
 5552     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 5553   else
 5554     ac_cpp_err=
 5555   fi
 5556 else
 5557   ac_cpp_err=yes
 5558 fi
 5559 if test -z "$ac_cpp_err"; then
 5560   ac_header_preproc=yes
 5561 else
 5562   echo "$as_me: failed program was:" >&5
 5563 sed 's/^/| /' conftest.$ac_ext >&5
 5564 
 5565   ac_header_preproc=no
 5566 fi
 5567 rm -f conftest.err conftest.$ac_ext
 5568 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 5569 echo "${ECHO_T}$ac_header_preproc" >&6
 5570 
 5571 # So?  What about this header?
 5572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 5573   yes:no: )
 5574     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 5575 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 5576     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 5577 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 5578     ac_header_preproc=yes
 5579     ;;
 5580   no:yes:* )
 5581     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 5582 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 5583     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 5584 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 5585     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 5586 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 5587     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 5588 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 5589     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 5590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 5591     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 5592 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 5593     (
 5594       cat <<\_ASBOX
 5595 @%:@@%:@ ------------------------------------------ @%:@@%:@
 5596 @%:@@%:@ Report this to the AC_PACKAGE_NAME lists.  @%:@@%:@
 5597 @%:@@%:@ ------------------------------------------ @%:@@%:@
 5598 _ASBOX
 5599     ) |
 5600       sed "s/^/$as_me: WARNING:     /" >&2
 5601     ;;
 5602 esac
 5603 echo "$as_me:$LINENO: checking for $ac_header" >&5
 5604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 5605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5606   echo $ECHO_N "(cached) $ECHO_C" >&6
 5607 else
 5608   eval "$as_ac_Header=\$ac_header_preproc"
 5609 fi
 5610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 5611 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 5612 
 5613 fi
 5614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 5615   cat >>confdefs.h <<_ACEOF
 5616 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5617 _ACEOF
 5618  
 5619 fi
 5620 
 5621 done
 5622 
 5623 
 5624 
 5625 
 5626 for ac_header in sys/endian.h sys/types.h sys/mman.h
 5627 do
 5628 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5630   echo "$as_me:$LINENO: checking for $ac_header" >&5
 5631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 5632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5633   echo $ECHO_N "(cached) $ECHO_C" >&6
 5634 fi
 5635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 5636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 5637 else
 5638   # Is the header compilable?
 5639 echo "$as_me:$LINENO: checking $ac_header usability" >&5
 5640 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 5641 cat >conftest.$ac_ext <<_ACEOF
 5642 /* confdefs.h.  */
 5643 _ACEOF
 5644 cat confdefs.h >>conftest.$ac_ext
 5645 cat >>conftest.$ac_ext <<_ACEOF
 5646 /* end confdefs.h.  */
 5647 $ac_includes_default
 5648 @%:@include <$ac_header>
 5649 _ACEOF
 5650 rm -f conftest.$ac_objext
 5651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5652   (eval $ac_compile) 2>conftest.er1
 5653   ac_status=$?
 5654   grep -v '^ *+' conftest.er1 >conftest.err
 5655   rm -f conftest.er1
 5656   cat conftest.err >&5
 5657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5658   (exit $ac_status); } &&
 5659 	 { ac_try='test -z "$ac_c_werror_flag"
 5660 			 || test ! -s conftest.err'
 5661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5662   (eval $ac_try) 2>&5
 5663   ac_status=$?
 5664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5665   (exit $ac_status); }; } &&
 5666 	 { ac_try='test -s conftest.$ac_objext'
 5667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5668   (eval $ac_try) 2>&5
 5669   ac_status=$?
 5670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5671   (exit $ac_status); }; }; then
 5672   ac_header_compiler=yes
 5673 else
 5674   echo "$as_me: failed program was:" >&5
 5675 sed 's/^/| /' conftest.$ac_ext >&5
 5676 
 5677 ac_header_compiler=no
 5678 fi
 5679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 5681 echo "${ECHO_T}$ac_header_compiler" >&6
 5682 
 5683 # Is the header present?
 5684 echo "$as_me:$LINENO: checking $ac_header presence" >&5
 5685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 5686 cat >conftest.$ac_ext <<_ACEOF
 5687 /* confdefs.h.  */
 5688 _ACEOF
 5689 cat confdefs.h >>conftest.$ac_ext
 5690 cat >>conftest.$ac_ext <<_ACEOF
 5691 /* end confdefs.h.  */
 5692 @%:@include <$ac_header>
 5693 _ACEOF
 5694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 5695   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 5696   ac_status=$?
 5697   grep -v '^ *+' conftest.er1 >conftest.err
 5698   rm -f conftest.er1
 5699   cat conftest.err >&5
 5700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5701   (exit $ac_status); } >/dev/null; then
 5702   if test -s conftest.err; then
 5703     ac_cpp_err=$ac_c_preproc_warn_flag
 5704     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 5705   else
 5706     ac_cpp_err=
 5707   fi
 5708 else
 5709   ac_cpp_err=yes
 5710 fi
 5711 if test -z "$ac_cpp_err"; then
 5712   ac_header_preproc=yes
 5713 else
 5714   echo "$as_me: failed program was:" >&5
 5715 sed 's/^/| /' conftest.$ac_ext >&5
 5716 
 5717   ac_header_preproc=no
 5718 fi
 5719 rm -f conftest.err conftest.$ac_ext
 5720 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 5721 echo "${ECHO_T}$ac_header_preproc" >&6
 5722 
 5723 # So?  What about this header?
 5724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 5725   yes:no: )
 5726     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 5727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 5728     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 5729 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 5730     ac_header_preproc=yes
 5731     ;;
 5732   no:yes:* )
 5733     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 5734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 5735     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 5736 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 5737     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 5738 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 5739     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 5740 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 5741     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 5742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 5743     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 5744 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 5745     (
 5746       cat <<\_ASBOX
 5747 @%:@@%:@ ------------------------------------------ @%:@@%:@
 5748 @%:@@%:@ Report this to the AC_PACKAGE_NAME lists.  @%:@@%:@
 5749 @%:@@%:@ ------------------------------------------ @%:@@%:@
 5750 _ASBOX
 5751     ) |
 5752       sed "s/^/$as_me: WARNING:     /" >&2
 5753     ;;
 5754 esac
 5755 echo "$as_me:$LINENO: checking for $ac_header" >&5
 5756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 5757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5758   echo $ECHO_N "(cached) $ECHO_C" >&6
 5759 else
 5760   eval "$as_ac_Header=\$ac_header_preproc"
 5761 fi
 5762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 5763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 5764 
 5765 fi
 5766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 5767   cat >>confdefs.h <<_ACEOF
 5768 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5769 _ACEOF
 5770  
 5771 fi
 5772 
 5773 done
 5774 
 5775 
 5776 
 5777 for ac_header in limits.h unistd.h
 5778 do
 5779 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5781   echo "$as_me:$LINENO: checking for $ac_header" >&5
 5782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 5783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5784   echo $ECHO_N "(cached) $ECHO_C" >&6
 5785 fi
 5786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 5787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 5788 else
 5789   # Is the header compilable?
 5790 echo "$as_me:$LINENO: checking $ac_header usability" >&5
 5791 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 5792 cat >conftest.$ac_ext <<_ACEOF
 5793 /* confdefs.h.  */
 5794 _ACEOF
 5795 cat confdefs.h >>conftest.$ac_ext
 5796 cat >>conftest.$ac_ext <<_ACEOF
 5797 /* end confdefs.h.  */
 5798 $ac_includes_default
 5799 @%:@include <$ac_header>
 5800 _ACEOF
 5801 rm -f conftest.$ac_objext
 5802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5803   (eval $ac_compile) 2>conftest.er1
 5804   ac_status=$?
 5805   grep -v '^ *+' conftest.er1 >conftest.err
 5806   rm -f conftest.er1
 5807   cat conftest.err >&5
 5808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5809   (exit $ac_status); } &&
 5810 	 { ac_try='test -z "$ac_c_werror_flag"
 5811 			 || test ! -s conftest.err'
 5812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5813   (eval $ac_try) 2>&5
 5814   ac_status=$?
 5815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5816   (exit $ac_status); }; } &&
 5817 	 { ac_try='test -s conftest.$ac_objext'
 5818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5819   (eval $ac_try) 2>&5
 5820   ac_status=$?
 5821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5822   (exit $ac_status); }; }; then
 5823   ac_header_compiler=yes
 5824 else
 5825   echo "$as_me: failed program was:" >&5
 5826 sed 's/^/| /' conftest.$ac_ext >&5
 5827 
 5828 ac_header_compiler=no
 5829 fi
 5830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5831 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 5832 echo "${ECHO_T}$ac_header_compiler" >&6
 5833 
 5834 # Is the header present?
 5835 echo "$as_me:$LINENO: checking $ac_header presence" >&5
 5836 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 5837 cat >conftest.$ac_ext <<_ACEOF
 5838 /* confdefs.h.  */
 5839 _ACEOF
 5840 cat confdefs.h >>conftest.$ac_ext
 5841 cat >>conftest.$ac_ext <<_ACEOF
 5842 /* end confdefs.h.  */
 5843 @%:@include <$ac_header>
 5844 _ACEOF
 5845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 5846   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 5847   ac_status=$?
 5848   grep -v '^ *+' conftest.er1 >conftest.err
 5849   rm -f conftest.er1
 5850   cat conftest.err >&5
 5851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5852   (exit $ac_status); } >/dev/null; then
 5853   if test -s conftest.err; then
 5854     ac_cpp_err=$ac_c_preproc_warn_flag
 5855     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 5856   else
 5857     ac_cpp_err=
 5858   fi
 5859 else
 5860   ac_cpp_err=yes
 5861 fi
 5862 if test -z "$ac_cpp_err"; then
 5863   ac_header_preproc=yes
 5864 else
 5865   echo "$as_me: failed program was:" >&5
 5866 sed 's/^/| /' conftest.$ac_ext >&5
 5867 
 5868   ac_header_preproc=no
 5869 fi
 5870 rm -f conftest.err conftest.$ac_ext
 5871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 5872 echo "${ECHO_T}$ac_header_preproc" >&6
 5873 
 5874 # So?  What about this header?
 5875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 5876   yes:no: )
 5877     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 5878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 5879     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 5880 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 5881     ac_header_preproc=yes
 5882     ;;
 5883   no:yes:* )
 5884     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 5885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 5886     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 5887 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 5888     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 5889 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 5890     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 5891 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 5892     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 5893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 5894     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 5895 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 5896     (
 5897       cat <<\_ASBOX
 5898 @%:@@%:@ ------------------------------------------ @%:@@%:@
 5899 @%:@@%:@ Report this to the AC_PACKAGE_NAME lists.  @%:@@%:@
 5900 @%:@@%:@ ------------------------------------------ @%:@@%:@
 5901 _ASBOX
 5902     ) |
 5903       sed "s/^/$as_me: WARNING:     /" >&2
 5904     ;;
 5905 esac
 5906 echo "$as_me:$LINENO: checking for $ac_header" >&5
 5907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 5908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5909   echo $ECHO_N "(cached) $ECHO_C" >&6
 5910 else
 5911   eval "$as_ac_Header=\$ac_header_preproc"
 5912 fi
 5913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 5914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 5915 
 5916 fi
 5917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 5918   cat >>confdefs.h <<_ACEOF
 5919 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5920 _ACEOF
 5921  
 5922 fi
 5923 
 5924 done
 5925 
 5926 
 5927 echo "$as_me:$LINENO: checking whether closedir returns void" >&5
 5928 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
 5929 if test "${ac_cv_func_closedir_void+set}" = set; then
 5930   echo $ECHO_N "(cached) $ECHO_C" >&6
 5931 else
 5932   if test "$cross_compiling" = yes; then
 5933   ac_cv_func_closedir_void=yes
 5934 else
 5935   cat >conftest.$ac_ext <<_ACEOF
 5936 /* confdefs.h.  */
 5937 _ACEOF
 5938 cat confdefs.h >>conftest.$ac_ext
 5939 cat >>conftest.$ac_ext <<_ACEOF
 5940 /* end confdefs.h.  */
 5941 $ac_includes_default
 5942 #include <$ac_header_dirent>
 5943 #ifndef __cplusplus
 5944 int closedir ();
 5945 #endif
 5946 
 5947 int
 5948 main ()
 5949 {
 5950 exit (closedir (opendir (".")) != 0);
 5951   ;
 5952   return 0;
 5953 }
 5954 _ACEOF
 5955 rm -f conftest$ac_exeext
 5956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5957   (eval $ac_link) 2>&5
 5958   ac_status=$?
 5959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5960   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 5961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5962   (eval $ac_try) 2>&5
 5963   ac_status=$?
 5964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5965   (exit $ac_status); }; }; then
 5966   ac_cv_func_closedir_void=no
 5967 else
 5968   echo "$as_me: program exited with status $ac_status" >&5
 5969 echo "$as_me: failed program was:" >&5
 5970 sed 's/^/| /' conftest.$ac_ext >&5
 5971 
 5972 ( exit $ac_status )
 5973 ac_cv_func_closedir_void=yes
 5974 fi
 5975 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 5976 fi
 5977 fi
 5978 echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
 5979 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
 5980 if test $ac_cv_func_closedir_void = yes; then
 5981   
 5982 cat >>confdefs.h <<\_ACEOF
 5983 @%:@define CLOSEDIR_VOID 1
 5984 _ACEOF
 5985 
 5986 fi
 5987 
 5988 
 5989 for ac_header in stdlib.h
 5990 do
 5991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5993   echo "$as_me:$LINENO: checking for $ac_header" >&5
 5994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 5995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5996   echo $ECHO_N "(cached) $ECHO_C" >&6
 5997 fi
 5998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 5999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 6000 else
 6001   # Is the header compilable?
 6002 echo "$as_me:$LINENO: checking $ac_header usability" >&5
 6003 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 6004 cat >conftest.$ac_ext <<_ACEOF
 6005 /* confdefs.h.  */
 6006 _ACEOF
 6007 cat confdefs.h >>conftest.$ac_ext
 6008 cat >>conftest.$ac_ext <<_ACEOF
 6009 /* end confdefs.h.  */
 6010 $ac_includes_default
 6011 @%:@include <$ac_header>
 6012 _ACEOF
 6013 rm -f conftest.$ac_objext
 6014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6015   (eval $ac_compile) 2>conftest.er1
 6016   ac_status=$?
 6017   grep -v '^ *+' conftest.er1 >conftest.err
 6018   rm -f conftest.er1
 6019   cat conftest.err >&5
 6020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6021   (exit $ac_status); } &&
 6022 	 { ac_try='test -z "$ac_c_werror_flag"
 6023 			 || test ! -s conftest.err'
 6024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6025   (eval $ac_try) 2>&5
 6026   ac_status=$?
 6027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6028   (exit $ac_status); }; } &&
 6029 	 { ac_try='test -s conftest.$ac_objext'
 6030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6031   (eval $ac_try) 2>&5
 6032   ac_status=$?
 6033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6034   (exit $ac_status); }; }; then
 6035   ac_header_compiler=yes
 6036 else
 6037   echo "$as_me: failed program was:" >&5
 6038 sed 's/^/| /' conftest.$ac_ext >&5
 6039 
 6040 ac_header_compiler=no
 6041 fi
 6042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6043 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 6044 echo "${ECHO_T}$ac_header_compiler" >&6
 6045 
 6046 # Is the header present?
 6047 echo "$as_me:$LINENO: checking $ac_header presence" >&5
 6048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 6049 cat >conftest.$ac_ext <<_ACEOF
 6050 /* confdefs.h.  */
 6051 _ACEOF
 6052 cat confdefs.h >>conftest.$ac_ext
 6053 cat >>conftest.$ac_ext <<_ACEOF
 6054 /* end confdefs.h.  */
 6055 @%:@include <$ac_header>
 6056 _ACEOF
 6057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 6058   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 6059   ac_status=$?
 6060   grep -v '^ *+' conftest.er1 >conftest.err
 6061   rm -f conftest.er1
 6062   cat conftest.err >&5
 6063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6064   (exit $ac_status); } >/dev/null; then
 6065   if test -s conftest.err; then
 6066     ac_cpp_err=$ac_c_preproc_warn_flag
 6067     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 6068   else
 6069     ac_cpp_err=
 6070   fi
 6071 else
 6072   ac_cpp_err=yes
 6073 fi
 6074 if test -z "$ac_cpp_err"; then
 6075   ac_header_preproc=yes
 6076 else
 6077   echo "$as_me: failed program was:" >&5
 6078 sed 's/^/| /' conftest.$ac_ext >&5
 6079 
 6080   ac_header_preproc=no
 6081 fi
 6082 rm -f conftest.err conftest.$ac_ext
 6083 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 6084 echo "${ECHO_T}$ac_header_preproc" >&6
 6085 
 6086 # So?  What about this header?
 6087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 6088   yes:no: )
 6089     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 6090 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 6091     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 6092 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 6093     ac_header_preproc=yes
 6094     ;;
 6095   no:yes:* )
 6096     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 6097 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 6098     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 6099 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 6100     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 6101 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 6102     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 6103 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 6104     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 6105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 6106     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 6107 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 6108     (
 6109       cat <<\_ASBOX
 6110 @%:@@%:@ ------------------------------------------ @%:@@%:@
 6111 @%:@@%:@ Report this to the AC_PACKAGE_NAME lists.  @%:@@%:@
 6112 @%:@@%:@ ------------------------------------------ @%:@@%:@
 6113 _ASBOX
 6114     ) |
 6115       sed "s/^/$as_me: WARNING:     /" >&2
 6116     ;;
 6117 esac
 6118 echo "$as_me:$LINENO: checking for $ac_header" >&5
 6119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 6120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 6121   echo $ECHO_N "(cached) $ECHO_C" >&6
 6122 else
 6123   eval "$as_ac_Header=\$ac_header_preproc"
 6124 fi
 6125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 6126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 6127 
 6128 fi
 6129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 6130   cat >>confdefs.h <<_ACEOF
 6131 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 6132 _ACEOF
 6133  
 6134 fi
 6135 
 6136 done
 6137 
 6138 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
 6139 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
 6140 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
 6141   echo $ECHO_N "(cached) $ECHO_C" >&6
 6142 else
 6143   if test "$cross_compiling" = yes; then
 6144   ac_cv_func_malloc_0_nonnull=no
 6145 else
 6146   cat >conftest.$ac_ext <<_ACEOF
 6147 /* confdefs.h.  */
 6148 _ACEOF
 6149 cat confdefs.h >>conftest.$ac_ext
 6150 cat >>conftest.$ac_ext <<_ACEOF
 6151 /* end confdefs.h.  */
 6152 #if STDC_HEADERS || HAVE_STDLIB_H
 6153 # include <stdlib.h>
 6154 #else
 6155 char *malloc ();
 6156 #endif
 6157 
 6158 int
 6159 main ()
 6160 {
 6161 exit (malloc (0) ? 0 : 1);
 6162   ;
 6163   return 0;
 6164 }
 6165 _ACEOF
 6166 rm -f conftest$ac_exeext
 6167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 6168   (eval $ac_link) 2>&5
 6169   ac_status=$?
 6170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6171   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 6172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6173   (eval $ac_try) 2>&5
 6174   ac_status=$?
 6175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6176   (exit $ac_status); }; }; then
 6177   ac_cv_func_malloc_0_nonnull=yes
 6178 else
 6179   echo "$as_me: program exited with status $ac_status" >&5
 6180 echo "$as_me: failed program was:" >&5
 6181 sed 's/^/| /' conftest.$ac_ext >&5
 6182 
 6183 ( exit $ac_status )
 6184 ac_cv_func_malloc_0_nonnull=no
 6185 fi
 6186 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 6187 fi
 6188 fi
 6189 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
 6190 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
 6191 if test $ac_cv_func_malloc_0_nonnull = yes; then
 6192   
 6193 cat >>confdefs.h <<\_ACEOF
 6194 @%:@define HAVE_MALLOC 1
 6195 _ACEOF
 6196 
 6197 else
 6198   cat >>confdefs.h <<\_ACEOF
 6199 @%:@define HAVE_MALLOC 0
 6200 _ACEOF
 6201 
 6202    case $LIB@&t@OBJS in
 6203     "malloc.$ac_objext"   | \
 6204   *" malloc.$ac_objext"   | \
 6205     "malloc.$ac_objext "* | \
 6206   *" malloc.$ac_objext "* ) ;;
 6207   *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext" ;;
 6208 esac
 6209 
 6210    
 6211 cat >>confdefs.h <<\_ACEOF
 6212 @%:@define malloc rpl_malloc
 6213 _ACEOF
 6214 
 6215 fi
 6216 
 6217 
 6218 
 6219 echo "$as_me:$LINENO: checking for working memcmp" >&5
 6220 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
 6221 if test "${ac_cv_func_memcmp_working+set}" = set; then
 6222   echo $ECHO_N "(cached) $ECHO_C" >&6
 6223 else
 6224   if test "$cross_compiling" = yes; then
 6225   ac_cv_func_memcmp_working=no
 6226 else
 6227   cat >conftest.$ac_ext <<_ACEOF
 6228 /* confdefs.h.  */
 6229 _ACEOF
 6230 cat confdefs.h >>conftest.$ac_ext
 6231 cat >>conftest.$ac_ext <<_ACEOF
 6232 /* end confdefs.h.  */
 6233 $ac_includes_default
 6234 int
 6235 main ()
 6236 {
 6237 
 6238   /* Some versions of memcmp are not 8-bit clean.  */
 6239   char c0 = 0x40, c1 = 0x80, c2 = 0x81;
 6240   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
 6241     exit (1);
 6242 
 6243   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
 6244      or more and with at least one buffer not starting on a 4-byte boundary.
 6245      William Lewis provided this test program.   */
 6246   {
 6247     char foo[21];
 6248     char bar[21];
 6249     int i;
 6250     for (i = 0; i < 4; i++)
 6251       {
 6252 	char *a = foo + i;
 6253 	char *b = bar + i;
 6254 	strcpy (a, "--------01111111");
 6255 	strcpy (b, "--------10000000");
 6256 	if (memcmp (a, b, 16) >= 0)
 6257 	  exit (1);
 6258       }
 6259     exit (0);
 6260   }
 6261 
 6262   ;
 6263   return 0;
 6264 }
 6265 _ACEOF
 6266 rm -f conftest$ac_exeext
 6267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 6268   (eval $ac_link) 2>&5
 6269   ac_status=$?
 6270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6271   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 6272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6273   (eval $ac_try) 2>&5
 6274   ac_status=$?
 6275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6276   (exit $ac_status); }; }; then
 6277   ac_cv_func_memcmp_working=yes
 6278 else
 6279   echo "$as_me: program exited with status $ac_status" >&5
 6280 echo "$as_me: failed program was:" >&5
 6281 sed 's/^/| /' conftest.$ac_ext >&5
 6282 
 6283 ( exit $ac_status )
 6284 ac_cv_func_memcmp_working=no
 6285 fi
 6286 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 6287 fi
 6288 fi
 6289 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
 6290 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
 6291 test $ac_cv_func_memcmp_working = no && case $LIB@&t@OBJS in
 6292     "memcmp.$ac_objext"   | \
 6293   *" memcmp.$ac_objext"   | \
 6294     "memcmp.$ac_objext "* | \
 6295   *" memcmp.$ac_objext "* ) ;;
 6296   *) LIB@&t@OBJS="$LIB@&t@OBJS memcmp.$ac_objext" ;;
 6297 esac
 6298 
 6299 
 6300 
 6301 for ac_header in stdlib.h
 6302 do
 6303 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 6304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 6305   echo "$as_me:$LINENO: checking for $ac_header" >&5
 6306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 6307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 6308   echo $ECHO_N "(cached) $ECHO_C" >&6
 6309 fi
 6310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 6311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 6312 else
 6313   # Is the header compilable?
 6314 echo "$as_me:$LINENO: checking $ac_header usability" >&5
 6315 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 6316 cat >conftest.$ac_ext <<_ACEOF
 6317 /* confdefs.h.  */
 6318 _ACEOF
 6319 cat confdefs.h >>conftest.$ac_ext
 6320 cat >>conftest.$ac_ext <<_ACEOF
 6321 /* end confdefs.h.  */
 6322 $ac_includes_default
 6323 @%:@include <$ac_header>
 6324 _ACEOF
 6325 rm -f conftest.$ac_objext
 6326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6327   (eval $ac_compile) 2>conftest.er1
 6328   ac_status=$?
 6329   grep -v '^ *+' conftest.er1 >conftest.err
 6330   rm -f conftest.er1
 6331   cat conftest.err >&5
 6332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6333   (exit $ac_status); } &&
 6334 	 { ac_try='test -z "$ac_c_werror_flag"
 6335 			 || test ! -s conftest.err'
 6336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6337   (eval $ac_try) 2>&5
 6338   ac_status=$?
 6339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6340   (exit $ac_status); }; } &&
 6341 	 { ac_try='test -s conftest.$ac_objext'
 6342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6343   (eval $ac_try) 2>&5
 6344   ac_status=$?
 6345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6346   (exit $ac_status); }; }; then
 6347   ac_header_compiler=yes
 6348 else
 6349   echo "$as_me: failed program was:" >&5
 6350 sed 's/^/| /' conftest.$ac_ext >&5
 6351 
 6352 ac_header_compiler=no
 6353 fi
 6354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6355 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 6356 echo "${ECHO_T}$ac_header_compiler" >&6
 6357 
 6358 # Is the header present?
 6359 echo "$as_me:$LINENO: checking $ac_header presence" >&5
 6360 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 6361 cat >conftest.$ac_ext <<_ACEOF
 6362 /* confdefs.h.  */
 6363 _ACEOF
 6364 cat confdefs.h >>conftest.$ac_ext
 6365 cat >>conftest.$ac_ext <<_ACEOF
 6366 /* end confdefs.h.  */
 6367 @%:@include <$ac_header>
 6368 _ACEOF
 6369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 6370   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 6371   ac_status=$?
 6372   grep -v '^ *+' conftest.er1 >conftest.err
 6373   rm -f conftest.er1
 6374   cat conftest.err >&5
 6375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6376   (exit $ac_status); } >/dev/null; then
 6377   if test -s conftest.err; then
 6378     ac_cpp_err=$ac_c_preproc_warn_flag
 6379     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 6380   else
 6381     ac_cpp_err=
 6382   fi
 6383 else
 6384   ac_cpp_err=yes
 6385 fi
 6386 if test -z "$ac_cpp_err"; then
 6387   ac_header_preproc=yes
 6388 else
 6389   echo "$as_me: failed program was:" >&5
 6390 sed 's/^/| /' conftest.$ac_ext >&5
 6391 
 6392   ac_header_preproc=no
 6393 fi
 6394 rm -f conftest.err conftest.$ac_ext
 6395 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 6396 echo "${ECHO_T}$ac_header_preproc" >&6
 6397 
 6398 # So?  What about this header?
 6399 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 6400   yes:no: )
 6401     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 6402 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 6403     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 6404 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 6405     ac_header_preproc=yes
 6406     ;;
 6407   no:yes:* )
 6408     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 6409 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 6410     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 6411 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 6412     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 6413 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 6414     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 6415 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 6416     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 6417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 6418     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 6419 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 6420     (
 6421       cat <<\_ASBOX
 6422 @%:@@%:@ ------------------------------------------ @%:@@%:@
 6423 @%:@@%:@ Report this to the AC_PACKAGE_NAME lists.  @%:@@%:@
 6424 @%:@@%:@ ------------------------------------------ @%:@@%:@
 6425 _ASBOX
 6426     ) |
 6427       sed "s/^/$as_me: WARNING:     /" >&2
 6428     ;;
 6429 esac
 6430 echo "$as_me:$LINENO: checking for $ac_header" >&5
 6431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 6432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 6433   echo $ECHO_N "(cached) $ECHO_C" >&6
 6434 else
 6435   eval "$as_ac_Header=\$ac_header_preproc"
 6436 fi
 6437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 6438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 6439 
 6440 fi
 6441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 6442   cat >>confdefs.h <<_ACEOF
 6443 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 6444 _ACEOF
 6445  
 6446 fi
 6447 
 6448 done
 6449 
 6450 echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
 6451 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
 6452 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
 6453   echo $ECHO_N "(cached) $ECHO_C" >&6
 6454 else
 6455   if test "$cross_compiling" = yes; then
 6456   ac_cv_func_realloc_0_nonnull=no
 6457 else
 6458   cat >conftest.$ac_ext <<_ACEOF
 6459 /* confdefs.h.  */
 6460 _ACEOF
 6461 cat confdefs.h >>conftest.$ac_ext
 6462 cat >>conftest.$ac_ext <<_ACEOF
 6463 /* end confdefs.h.  */
 6464 #if STDC_HEADERS || HAVE_STDLIB_H
 6465 # include <stdlib.h>
 6466 #else
 6467 char *realloc ();
 6468 #endif
 6469 
 6470 int
 6471 main ()
 6472 {
 6473 exit (realloc (0, 0) ? 0 : 1);
 6474   ;
 6475   return 0;
 6476 }
 6477 _ACEOF
 6478 rm -f conftest$ac_exeext
 6479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 6480   (eval $ac_link) 2>&5
 6481   ac_status=$?
 6482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6483   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 6484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6485   (eval $ac_try) 2>&5
 6486   ac_status=$?
 6487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6488   (exit $ac_status); }; }; then
 6489   ac_cv_func_realloc_0_nonnull=yes
 6490 else
 6491   echo "$as_me: program exited with status $ac_status" >&5
 6492 echo "$as_me: failed program was:" >&5
 6493 sed 's/^/| /' conftest.$ac_ext >&5
 6494 
 6495 ( exit $ac_status )
 6496 ac_cv_func_realloc_0_nonnull=no
 6497 fi
 6498 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 6499 fi
 6500 fi
 6501 echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
 6502 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
 6503 if test $ac_cv_func_realloc_0_nonnull = yes; then
 6504   
 6505 cat >>confdefs.h <<\_ACEOF
 6506 @%:@define HAVE_REALLOC 1
 6507 _ACEOF
 6508 
 6509 else
 6510   cat >>confdefs.h <<\_ACEOF
 6511 @%:@define HAVE_REALLOC 0
 6512 _ACEOF
 6513 
 6514    case $LIB@&t@OBJS in
 6515     "realloc.$ac_objext"   | \
 6516   *" realloc.$ac_objext"   | \
 6517     "realloc.$ac_objext "* | \
 6518   *" realloc.$ac_objext "* ) ;;
 6519   *) LIB@&t@OBJS="$LIB@&t@OBJS realloc.$ac_objext" ;;
 6520 esac
 6521 
 6522    
 6523 cat >>confdefs.h <<\_ACEOF
 6524 @%:@define realloc rpl_realloc
 6525 _ACEOF
 6526 
 6527 fi
 6528 
 6529 
 6530 
 6531 
 6532 
 6533 
 6534 
 6535 
 6536 
 6537 
 6538 
 6539 
 6540 for ac_func in bzero memmove memset mlock readdir_r strchr strdup strrchr
 6541 do
 6542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 6543 echo "$as_me:$LINENO: checking for $ac_func" >&5
 6544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 6545 if eval "test \"\${$as_ac_var+set}\" = set"; then
 6546   echo $ECHO_N "(cached) $ECHO_C" >&6
 6547 else
 6548   cat >conftest.$ac_ext <<_ACEOF
 6549 /* confdefs.h.  */
 6550 _ACEOF
 6551 cat confdefs.h >>conftest.$ac_ext
 6552 cat >>conftest.$ac_ext <<_ACEOF
 6553 /* end confdefs.h.  */
 6554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 6555    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 6556 #define $ac_func innocuous_$ac_func
 6557 
 6558 /* System header to define __stub macros and hopefully few prototypes,
 6559     which can conflict with char $ac_func (); below.
 6560     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 6561     <limits.h> exists even on freestanding compilers.  */
 6562 
 6563 #ifdef __STDC__
 6564 # include <limits.h>
 6565 #else
 6566 # include <assert.h>
 6567 #endif
 6568 
 6569 #undef $ac_func
 6570 
 6571 /* Override any gcc2 internal prototype to avoid an error.  */
 6572 #ifdef __cplusplus
 6573 extern "C"
 6574 {
 6575 #endif
 6576 /* We use char because int might match the return type of a gcc2
 6577    builtin and then its argument prototype would still apply.  */
 6578 char $ac_func ();
 6579 /* The GNU C library defines this for functions which it implements
 6580     to always fail with ENOSYS.  Some functions are actually named
 6581     something starting with __ and the normal name is an alias.  */
 6582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 6583 choke me
 6584 #else
 6585 char (*f) () = $ac_func;
 6586 #endif
 6587 #ifdef __cplusplus
 6588 }
 6589 #endif
 6590 
 6591 int
 6592 main ()
 6593 {
 6594 return f != $ac_func;
 6595   ;
 6596   return 0;
 6597 }
 6598 _ACEOF
 6599 rm -f conftest.$ac_objext conftest$ac_exeext
 6600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 6601   (eval $ac_link) 2>conftest.er1
 6602   ac_status=$?
 6603   grep -v '^ *+' conftest.er1 >conftest.err
 6604   rm -f conftest.er1
 6605   cat conftest.err >&5
 6606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6607   (exit $ac_status); } &&
 6608 	 { ac_try='test -z "$ac_c_werror_flag"
 6609 			 || test ! -s conftest.err'
 6610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6611   (eval $ac_try) 2>&5
 6612   ac_status=$?
 6613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6614   (exit $ac_status); }; } &&
 6615 	 { ac_try='test -s conftest$ac_exeext'
 6616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6617   (eval $ac_try) 2>&5
 6618   ac_status=$?
 6619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6620   (exit $ac_status); }; }; then
 6621   eval "$as_ac_var=yes"
 6622 else
 6623   echo "$as_me: failed program was:" >&5
 6624 sed 's/^/| /' conftest.$ac_ext >&5
 6625 
 6626 eval "$as_ac_var=no"
 6627 fi
 6628 rm -f conftest.err conftest.$ac_objext \
 6629       conftest$ac_exeext conftest.$ac_ext
 6630 fi
 6631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 6632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 6633 if test `eval echo '${'$as_ac_var'}'` = yes; then
 6634   cat >>confdefs.h <<_ACEOF
 6635 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 6636 _ACEOF
 6637  
 6638 fi
 6639 done
 6640 
 6641 
 6642 for ac_func in readdir,,
 6643 do
 6644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 6645 echo "$as_me:$LINENO: checking for $ac_func" >&5
 6646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 6647 if eval "test \"\${$as_ac_var+set}\" = set"; then
 6648   echo $ECHO_N "(cached) $ECHO_C" >&6
 6649 else
 6650   cat >conftest.$ac_ext <<_ACEOF
 6651 /* confdefs.h.  */
 6652 _ACEOF
 6653 cat confdefs.h >>conftest.$ac_ext
 6654 cat >>conftest.$ac_ext <<_ACEOF
 6655 /* end confdefs.h.  */
 6656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 6657    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 6658 #define $ac_func innocuous_$ac_func
 6659 
 6660 /* System header to define __stub macros and hopefully few prototypes,
 6661     which can conflict with char $ac_func (); below.
 6662     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 6663     <limits.h> exists even on freestanding compilers.  */
 6664 
 6665 #ifdef __STDC__
 6666 # include <limits.h>
 6667 #else
 6668 # include <assert.h>
 6669 #endif
 6670 
 6671 #undef $ac_func
 6672 
 6673 /* Override any gcc2 internal prototype to avoid an error.  */
 6674 #ifdef __cplusplus
 6675 extern "C"
 6676 {
 6677 #endif
 6678 /* We use char because int might match the return type of a gcc2
 6679    builtin and then its argument prototype would still apply.  */
 6680 char $ac_func ();
 6681 /* The GNU C library defines this for functions which it implements
 6682     to always fail with ENOSYS.  Some functions are actually named
 6683     something starting with __ and the normal name is an alias.  */
 6684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 6685 choke me
 6686 #else
 6687 char (*f) () = $ac_func;
 6688 #endif
 6689 #ifdef __cplusplus
 6690 }
 6691 #endif
 6692 
 6693 int
 6694 main ()
 6695 {
 6696 return f != $ac_func;
 6697   ;
 6698   return 0;
 6699 }
 6700 _ACEOF
 6701 rm -f conftest.$ac_objext conftest$ac_exeext
 6702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 6703   (eval $ac_link) 2>conftest.er1
 6704   ac_status=$?
 6705   grep -v '^ *+' conftest.er1 >conftest.err
 6706   rm -f conftest.er1
 6707   cat conftest.err >&5
 6708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6709   (exit $ac_status); } &&
 6710 	 { ac_try='test -z "$ac_c_werror_flag"
 6711 			 || test ! -s conftest.err'
 6712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6713   (eval $ac_try) 2>&5
 6714   ac_status=$?
 6715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6716   (exit $ac_status); }; } &&
 6717 	 { ac_try='test -s conftest$ac_exeext'
 6718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6719   (eval $ac_try) 2>&5
 6720   ac_status=$?
 6721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6722   (exit $ac_status); }; }; then
 6723   eval "$as_ac_var=yes"
 6724 else
 6725   echo "$as_me: failed program was:" >&5
 6726 sed 's/^/| /' conftest.$ac_ext >&5
 6727 
 6728 eval "$as_ac_var=no"
 6729 fi
 6730 rm -f conftest.err conftest.$ac_objext \
 6731       conftest$ac_exeext conftest.$ac_ext
 6732 fi
 6733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 6734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 6735 if test `eval echo '${'$as_ac_var'}'` = yes; then
 6736   cat >>confdefs.h <<_ACEOF
 6737 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 6738 _ACEOF
 6739  
 6740 fi
 6741 done
 6742 
 6743 
 6744 for ac_func in bcopy,,
 6745 do
 6746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 6747 echo "$as_me:$LINENO: checking for $ac_func" >&5
 6748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 6749 if eval "test \"\${$as_ac_var+set}\" = set"; then
 6750   echo $ECHO_N "(cached) $ECHO_C" >&6
 6751 else
 6752   cat >conftest.$ac_ext <<_ACEOF
 6753 /* confdefs.h.  */
 6754 _ACEOF
 6755 cat confdefs.h >>conftest.$ac_ext
 6756 cat >>conftest.$ac_ext <<_ACEOF
 6757 /* end confdefs.h.  */
 6758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 6759    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 6760 #define $ac_func innocuous_$ac_func
 6761 
 6762 /* System header to define __stub macros and hopefully few prototypes,
 6763     which can conflict with char $ac_func (); below.
 6764     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 6765     <limits.h> exists even on freestanding compilers.  */
 6766 
 6767 #ifdef __STDC__
 6768 # include <limits.h>
 6769 #else
 6770 # include <assert.h>
 6771 #endif
 6772 
 6773 #undef $ac_func
 6774 
 6775 /* Override any gcc2 internal prototype to avoid an error.  */
 6776 #ifdef __cplusplus
 6777 extern "C"
 6778 {
 6779 #endif
 6780 /* We use char because int might match the return type of a gcc2
 6781    builtin and then its argument prototype would still apply.  */
 6782 char $ac_func ();
 6783 /* The GNU C library defines this for functions which it implements
 6784     to always fail with ENOSYS.  Some functions are actually named
 6785     something starting with __ and the normal name is an alias.  */
 6786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 6787 choke me
 6788 #else
 6789 char (*f) () = $ac_func;
 6790 #endif
 6791 #ifdef __cplusplus
 6792 }
 6793 #endif
 6794 
 6795 int
 6796 main ()
 6797 {
 6798 return f != $ac_func;
 6799   ;
 6800   return 0;
 6801 }
 6802 _ACEOF
 6803 rm -f conftest.$ac_objext conftest$ac_exeext
 6804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 6805   (eval $ac_link) 2>conftest.er1
 6806   ac_status=$?
 6807   grep -v '^ *+' conftest.er1 >conftest.err
 6808   rm -f conftest.er1
 6809   cat conftest.err >&5
 6810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6811   (exit $ac_status); } &&
 6812 	 { ac_try='test -z "$ac_c_werror_flag"
 6813 			 || test ! -s conftest.err'
 6814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6815   (eval $ac_try) 2>&5
 6816   ac_status=$?
 6817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6818   (exit $ac_status); }; } &&
 6819 	 { ac_try='test -s conftest$ac_exeext'
 6820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6821   (eval $ac_try) 2>&5
 6822   ac_status=$?
 6823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6824   (exit $ac_status); }; }; then
 6825   eval "$as_ac_var=yes"
 6826 else
 6827   echo "$as_me: failed program was:" >&5
 6828 sed 's/^/| /' conftest.$ac_ext >&5
 6829 
 6830 eval "$as_ac_var=no"
 6831 fi
 6832 rm -f conftest.err conftest.$ac_objext \
 6833       conftest$ac_exeext conftest.$ac_ext
 6834 fi
 6835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 6836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 6837 if test `eval echo '${'$as_ac_var'}'` = yes; then
 6838   cat >>confdefs.h <<_ACEOF
 6839 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 6840 _ACEOF
 6841  
 6842 fi
 6843 done
 6844 
 6845 
 6846 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 6847 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
 6848 if test "${ac_cv_c_bigendian+set}" = set; then
 6849   echo $ECHO_N "(cached) $ECHO_C" >&6
 6850 else
 6851   # See if sys/param.h defines the BYTE_ORDER macro.
 6852 cat >conftest.$ac_ext <<_ACEOF
 6853 /* confdefs.h.  */
 6854 _ACEOF
 6855 cat confdefs.h >>conftest.$ac_ext
 6856 cat >>conftest.$ac_ext <<_ACEOF
 6857 /* end confdefs.h.  */
 6858 #include <sys/types.h>
 6859 #include <sys/param.h>
 6860 
 6861 int
 6862 main ()
 6863 {
 6864 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 6865  bogus endian macros
 6866 #endif
 6867 
 6868   ;
 6869   return 0;
 6870 }
 6871 _ACEOF
 6872 rm -f conftest.$ac_objext
 6873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6874   (eval $ac_compile) 2>conftest.er1
 6875   ac_status=$?
 6876   grep -v '^ *+' conftest.er1 >conftest.err
 6877   rm -f conftest.er1
 6878   cat conftest.err >&5
 6879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6880   (exit $ac_status); } &&
 6881 	 { ac_try='test -z "$ac_c_werror_flag"
 6882 			 || test ! -s conftest.err'
 6883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6884   (eval $ac_try) 2>&5
 6885   ac_status=$?
 6886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6887   (exit $ac_status); }; } &&
 6888 	 { ac_try='test -s conftest.$ac_objext'
 6889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6890   (eval $ac_try) 2>&5
 6891   ac_status=$?
 6892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6893   (exit $ac_status); }; }; then
 6894   # It does; now see whether it defined to BIG_ENDIAN or not.
 6895 cat >conftest.$ac_ext <<_ACEOF
 6896 /* confdefs.h.  */
 6897 _ACEOF
 6898 cat confdefs.h >>conftest.$ac_ext
 6899 cat >>conftest.$ac_ext <<_ACEOF
 6900 /* end confdefs.h.  */
 6901 #include <sys/types.h>
 6902 #include <sys/param.h>
 6903 
 6904 int
 6905 main ()
 6906 {
 6907 #if BYTE_ORDER != BIG_ENDIAN
 6908  not big endian
 6909 #endif
 6910 
 6911   ;
 6912   return 0;
 6913 }
 6914 _ACEOF
 6915 rm -f conftest.$ac_objext
 6916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6917   (eval $ac_compile) 2>conftest.er1
 6918   ac_status=$?
 6919   grep -v '^ *+' conftest.er1 >conftest.err
 6920   rm -f conftest.er1
 6921   cat conftest.err >&5
 6922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6923   (exit $ac_status); } &&
 6924 	 { ac_try='test -z "$ac_c_werror_flag"
 6925 			 || test ! -s conftest.err'
 6926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6927   (eval $ac_try) 2>&5
 6928   ac_status=$?
 6929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6930   (exit $ac_status); }; } &&
 6931 	 { ac_try='test -s conftest.$ac_objext'
 6932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6933   (eval $ac_try) 2>&5
 6934   ac_status=$?
 6935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6936   (exit $ac_status); }; }; then
 6937   ac_cv_c_bigendian=yes
 6938 else
 6939   echo "$as_me: failed program was:" >&5
 6940 sed 's/^/| /' conftest.$ac_ext >&5
 6941 
 6942 ac_cv_c_bigendian=no
 6943 fi
 6944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6945 else
 6946   echo "$as_me: failed program was:" >&5
 6947 sed 's/^/| /' conftest.$ac_ext >&5
 6948 
 6949 # It does not; compile a test program.
 6950 if test "$cross_compiling" = yes; then
 6951   # try to guess the endianness by grepping values into an object file
 6952   ac_cv_c_bigendian=unknown
 6953   cat >conftest.$ac_ext <<_ACEOF
 6954 /* confdefs.h.  */
 6955 _ACEOF
 6956 cat confdefs.h >>conftest.$ac_ext
 6957 cat >>conftest.$ac_ext <<_ACEOF
 6958 /* end confdefs.h.  */
 6959 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 6960 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 6961 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
 6962 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 6963 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 6964 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
 6965 int
 6966 main ()
 6967 {
 6968  _ascii (); _ebcdic (); 
 6969   ;
 6970   return 0;
 6971 }
 6972 _ACEOF
 6973 rm -f conftest.$ac_objext
 6974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6975   (eval $ac_compile) 2>conftest.er1
 6976   ac_status=$?
 6977   grep -v '^ *+' conftest.er1 >conftest.err
 6978   rm -f conftest.er1
 6979   cat conftest.err >&5
 6980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6981   (exit $ac_status); } &&
 6982 	 { ac_try='test -z "$ac_c_werror_flag"
 6983 			 || test ! -s conftest.err'
 6984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6985   (eval $ac_try) 2>&5
 6986   ac_status=$?
 6987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6988   (exit $ac_status); }; } &&
 6989 	 { ac_try='test -s conftest.$ac_objext'
 6990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6991   (eval $ac_try) 2>&5
 6992   ac_status=$?
 6993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6994   (exit $ac_status); }; }; then
 6995   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
 6996   ac_cv_c_bigendian=yes
 6997 fi
 6998 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 6999   if test "$ac_cv_c_bigendian" = unknown; then
 7000     ac_cv_c_bigendian=no
 7001   else
 7002     # finding both strings is unlikely to happen, but who knows?
 7003     ac_cv_c_bigendian=unknown
 7004   fi
 7005 fi
 7006 else
 7007   echo "$as_me: failed program was:" >&5
 7008 sed 's/^/| /' conftest.$ac_ext >&5
 7009 
 7010 fi
 7011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7012 else
 7013   cat >conftest.$ac_ext <<_ACEOF
 7014 /* confdefs.h.  */
 7015 _ACEOF
 7016 cat confdefs.h >>conftest.$ac_ext
 7017 cat >>conftest.$ac_ext <<_ACEOF
 7018 /* end confdefs.h.  */
 7019 int
 7020 main ()
 7021 {
 7022   /* Are we little or big endian?  From Harbison&Steele.  */
 7023   union
 7024   {
 7025     long l;
 7026     char c[sizeof (long)];
 7027   } u;
 7028   u.l = 1;
 7029   exit (u.c[sizeof (long) - 1] == 1);
 7030 }
 7031 _ACEOF
 7032 rm -f conftest$ac_exeext
 7033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 7034   (eval $ac_link) 2>&5
 7035   ac_status=$?
 7036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7037   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 7038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7039   (eval $ac_try) 2>&5
 7040   ac_status=$?
 7041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7042   (exit $ac_status); }; }; then
 7043   ac_cv_c_bigendian=no
 7044 else
 7045   echo "$as_me: program exited with status $ac_status" >&5
 7046 echo "$as_me: failed program was:" >&5
 7047 sed 's/^/| /' conftest.$ac_ext >&5
 7048 
 7049 ( exit $ac_status )
 7050 ac_cv_c_bigendian=yes
 7051 fi
 7052 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 7053 fi
 7054 fi
 7055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7056 fi
 7057 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 7058 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
 7059 case $ac_cv_c_bigendian in
 7060   yes)
 7061     
 7062 cat >>confdefs.h <<\_ACEOF
 7063 @%:@define WORDS_BIGENDIAN 1
 7064 _ACEOF
 7065  ;;
 7066   no)
 7067      ;;
 7068   *)
 7069     { { echo "$as_me:$LINENO: error: unknown endianness
 7070 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
 7071 echo "$as_me: error: unknown endianness
 7072 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
 7073    { (exit 1); exit 1; }; } ;;
 7074 esac
 7075 
 7076 echo "$as_me:$LINENO: checking for unsigned long int" >&5
 7077 echo $ECHO_N "checking for unsigned long int... $ECHO_C" >&6
 7078 if test "${ac_cv_type_unsigned_long_int+set}" = set; then
 7079   echo $ECHO_N "(cached) $ECHO_C" >&6
 7080 else
 7081   cat >conftest.$ac_ext <<_ACEOF
 7082 /* confdefs.h.  */
 7083 _ACEOF
 7084 cat confdefs.h >>conftest.$ac_ext
 7085 cat >>conftest.$ac_ext <<_ACEOF
 7086 /* end confdefs.h.  */
 7087 $ac_includes_default
 7088 int
 7089 main ()
 7090 {
 7091 if ((unsigned long int *) 0)
 7092   return 0;
 7093 if (sizeof (unsigned long int))
 7094   return 0;
 7095   ;
 7096   return 0;
 7097 }
 7098 _ACEOF
 7099 rm -f conftest.$ac_objext
 7100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7101   (eval $ac_compile) 2>conftest.er1
 7102   ac_status=$?
 7103   grep -v '^ *+' conftest.er1 >conftest.err
 7104   rm -f conftest.er1
 7105   cat conftest.err >&5
 7106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7107   (exit $ac_status); } &&
 7108 	 { ac_try='test -z "$ac_c_werror_flag"
 7109 			 || test ! -s conftest.err'
 7110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7111   (eval $ac_try) 2>&5
 7112   ac_status=$?
 7113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7114   (exit $ac_status); }; } &&
 7115 	 { ac_try='test -s conftest.$ac_objext'
 7116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7117   (eval $ac_try) 2>&5
 7118   ac_status=$?
 7119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7120   (exit $ac_status); }; }; then
 7121   ac_cv_type_unsigned_long_int=yes
 7122 else
 7123   echo "$as_me: failed program was:" >&5
 7124 sed 's/^/| /' conftest.$ac_ext >&5
 7125 
 7126 ac_cv_type_unsigned_long_int=no
 7127 fi
 7128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7129 fi
 7130 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_int" >&5
 7131 echo "${ECHO_T}$ac_cv_type_unsigned_long_int" >&6
 7132 
 7133 echo "$as_me:$LINENO: checking size of unsigned long int" >&5
 7134 echo $ECHO_N "checking size of unsigned long int... $ECHO_C" >&6
 7135 if test "${ac_cv_sizeof_unsigned_long_int+set}" = set; then
 7136   echo $ECHO_N "(cached) $ECHO_C" >&6
 7137 else
 7138   if test "$ac_cv_type_unsigned_long_int" = yes; then
 7139   # The cast to unsigned long works around a bug in the HP C Compiler
 7140   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 7141   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 7142   # This bug is HP SR number 8606223364.
 7143   if test "$cross_compiling" = yes; then
 7144   # Depending upon the size, compute the lo and hi bounds.
 7145 cat >conftest.$ac_ext <<_ACEOF
 7146 /* confdefs.h.  */
 7147 _ACEOF
 7148 cat confdefs.h >>conftest.$ac_ext
 7149 cat >>conftest.$ac_ext <<_ACEOF
 7150 /* end confdefs.h.  */
 7151 $ac_includes_default
 7152 int
 7153 main ()
 7154 {
 7155 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long int))) >= 0)@:>@;
 7156 test_array @<:@0@:>@ = 0
 7157 
 7158   ;
 7159   return 0;
 7160 }
 7161 _ACEOF
 7162 rm -f conftest.$ac_objext
 7163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7164   (eval $ac_compile) 2>conftest.er1
 7165   ac_status=$?
 7166   grep -v '^ *+' conftest.er1 >conftest.err
 7167   rm -f conftest.er1
 7168   cat conftest.err >&5
 7169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7170   (exit $ac_status); } &&
 7171 	 { ac_try='test -z "$ac_c_werror_flag"
 7172 			 || test ! -s conftest.err'
 7173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7174   (eval $ac_try) 2>&5
 7175   ac_status=$?
 7176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7177   (exit $ac_status); }; } &&
 7178 	 { ac_try='test -s conftest.$ac_objext'
 7179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7180   (eval $ac_try) 2>&5
 7181   ac_status=$?
 7182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7183   (exit $ac_status); }; }; then
 7184   ac_lo=0 ac_mid=0
 7185   while :; do
 7186     cat >conftest.$ac_ext <<_ACEOF
 7187 /* confdefs.h.  */
 7188 _ACEOF
 7189 cat confdefs.h >>conftest.$ac_ext
 7190 cat >>conftest.$ac_ext <<_ACEOF
 7191 /* end confdefs.h.  */
 7192 $ac_includes_default
 7193 int
 7194 main ()
 7195 {
 7196 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long int))) <= $ac_mid)@:>@;
 7197 test_array @<:@0@:>@ = 0
 7198 
 7199   ;
 7200   return 0;
 7201 }
 7202 _ACEOF
 7203 rm -f conftest.$ac_objext
 7204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7205   (eval $ac_compile) 2>conftest.er1
 7206   ac_status=$?
 7207   grep -v '^ *+' conftest.er1 >conftest.err
 7208   rm -f conftest.er1
 7209   cat conftest.err >&5
 7210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7211   (exit $ac_status); } &&
 7212 	 { ac_try='test -z "$ac_c_werror_flag"
 7213 			 || test ! -s conftest.err'
 7214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7215   (eval $ac_try) 2>&5
 7216   ac_status=$?
 7217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7218   (exit $ac_status); }; } &&
 7219 	 { ac_try='test -s conftest.$ac_objext'
 7220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7221   (eval $ac_try) 2>&5
 7222   ac_status=$?
 7223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7224   (exit $ac_status); }; }; then
 7225   ac_hi=$ac_mid; break
 7226 else
 7227   echo "$as_me: failed program was:" >&5
 7228 sed 's/^/| /' conftest.$ac_ext >&5
 7229 
 7230 ac_lo=`expr $ac_mid + 1`
 7231 		    if test $ac_lo -le $ac_mid; then
 7232 		      ac_lo= ac_hi=
 7233 		      break
 7234 		    fi
 7235 		    ac_mid=`expr 2 '*' $ac_mid + 1`
 7236 fi
 7237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7238   done
 7239 else
 7240   echo "$as_me: failed program was:" >&5
 7241 sed 's/^/| /' conftest.$ac_ext >&5
 7242 
 7243 cat >conftest.$ac_ext <<_ACEOF
 7244 /* confdefs.h.  */
 7245 _ACEOF
 7246 cat confdefs.h >>conftest.$ac_ext
 7247 cat >>conftest.$ac_ext <<_ACEOF
 7248 /* end confdefs.h.  */
 7249 $ac_includes_default
 7250 int
 7251 main ()
 7252 {
 7253 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long int))) < 0)@:>@;
 7254 test_array @<:@0@:>@ = 0
 7255 
 7256   ;
 7257   return 0;
 7258 }
 7259 _ACEOF
 7260 rm -f conftest.$ac_objext
 7261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7262   (eval $ac_compile) 2>conftest.er1
 7263   ac_status=$?
 7264   grep -v '^ *+' conftest.er1 >conftest.err
 7265   rm -f conftest.er1
 7266   cat conftest.err >&5
 7267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7268   (exit $ac_status); } &&
 7269 	 { ac_try='test -z "$ac_c_werror_flag"
 7270 			 || test ! -s conftest.err'
 7271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7272   (eval $ac_try) 2>&5
 7273   ac_status=$?
 7274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7275   (exit $ac_status); }; } &&
 7276 	 { ac_try='test -s conftest.$ac_objext'
 7277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7278   (eval $ac_try) 2>&5
 7279   ac_status=$?
 7280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7281   (exit $ac_status); }; }; then
 7282   ac_hi=-1 ac_mid=-1
 7283   while :; do
 7284     cat >conftest.$ac_ext <<_ACEOF
 7285 /* confdefs.h.  */
 7286 _ACEOF
 7287 cat confdefs.h >>conftest.$ac_ext
 7288 cat >>conftest.$ac_ext <<_ACEOF
 7289 /* end confdefs.h.  */
 7290 $ac_includes_default
 7291 int
 7292 main ()
 7293 {
 7294 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long int))) >= $ac_mid)@:>@;
 7295 test_array @<:@0@:>@ = 0
 7296 
 7297   ;
 7298   return 0;
 7299 }
 7300 _ACEOF
 7301 rm -f conftest.$ac_objext
 7302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7303   (eval $ac_compile) 2>conftest.er1
 7304   ac_status=$?
 7305   grep -v '^ *+' conftest.er1 >conftest.err
 7306   rm -f conftest.er1
 7307   cat conftest.err >&5
 7308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7309   (exit $ac_status); } &&
 7310 	 { ac_try='test -z "$ac_c_werror_flag"
 7311 			 || test ! -s conftest.err'
 7312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7313   (eval $ac_try) 2>&5
 7314   ac_status=$?
 7315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7316   (exit $ac_status); }; } &&
 7317 	 { ac_try='test -s conftest.$ac_objext'
 7318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7319   (eval $ac_try) 2>&5
 7320   ac_status=$?
 7321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7322   (exit $ac_status); }; }; then
 7323   ac_lo=$ac_mid; break
 7324 else
 7325   echo "$as_me: failed program was:" >&5
 7326 sed 's/^/| /' conftest.$ac_ext >&5
 7327 
 7328 ac_hi=`expr '(' $ac_mid ')' - 1`
 7329 		       if test $ac_mid -le $ac_hi; then
 7330 			 ac_lo= ac_hi=
 7331 			 break
 7332 		       fi
 7333 		       ac_mid=`expr 2 '*' $ac_mid`
 7334 fi
 7335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7336   done
 7337 else
 7338   echo "$as_me: failed program was:" >&5
 7339 sed 's/^/| /' conftest.$ac_ext >&5
 7340 
 7341 ac_lo= ac_hi=
 7342 fi
 7343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7344 fi
 7345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7346 # Binary search between lo and hi bounds.
 7347 while test "x$ac_lo" != "x$ac_hi"; do
 7348   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 7349   cat >conftest.$ac_ext <<_ACEOF
 7350 /* confdefs.h.  */
 7351 _ACEOF
 7352 cat confdefs.h >>conftest.$ac_ext
 7353 cat >>conftest.$ac_ext <<_ACEOF
 7354 /* end confdefs.h.  */
 7355 $ac_includes_default
 7356 int
 7357 main ()
 7358 {
 7359 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long int))) <= $ac_mid)@:>@;
 7360 test_array @<:@0@:>@ = 0
 7361 
 7362   ;
 7363   return 0;
 7364 }
 7365 _ACEOF
 7366 rm -f conftest.$ac_objext
 7367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7368   (eval $ac_compile) 2>conftest.er1
 7369   ac_status=$?
 7370   grep -v '^ *+' conftest.er1 >conftest.err
 7371   rm -f conftest.er1
 7372   cat conftest.err >&5
 7373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7374   (exit $ac_status); } &&
 7375 	 { ac_try='test -z "$ac_c_werror_flag"
 7376 			 || test ! -s conftest.err'
 7377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7378   (eval $ac_try) 2>&5
 7379   ac_status=$?
 7380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7381   (exit $ac_status); }; } &&
 7382 	 { ac_try='test -s conftest.$ac_objext'
 7383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7384   (eval $ac_try) 2>&5
 7385   ac_status=$?
 7386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7387   (exit $ac_status); }; }; then
 7388   ac_hi=$ac_mid
 7389 else
 7390   echo "$as_me: failed program was:" >&5
 7391 sed 's/^/| /' conftest.$ac_ext >&5
 7392 
 7393 ac_lo=`expr '(' $ac_mid ')' + 1`
 7394 fi
 7395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7396 done
 7397 case $ac_lo in
 7398 ?*) ac_cv_sizeof_unsigned_long_int=$ac_lo;;
 7399 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long int), 77
 7400 See \`config.log' for more details." >&5
 7401 echo "$as_me: error: cannot compute sizeof (unsigned long int), 77
 7402 See \`config.log' for more details." >&2;}
 7403    { (exit 1); exit 1; }; } ;;
 7404 esac
 7405 else
 7406   if test "$cross_compiling" = yes; then
 7407   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 7408 See \`config.log' for more details." >&5
 7409 echo "$as_me: error: cannot run test program while cross compiling
 7410 See \`config.log' for more details." >&2;}
 7411    { (exit 1); exit 1; }; }
 7412 else
 7413   cat >conftest.$ac_ext <<_ACEOF
 7414 /* confdefs.h.  */
 7415 _ACEOF
 7416 cat confdefs.h >>conftest.$ac_ext
 7417 cat >>conftest.$ac_ext <<_ACEOF
 7418 /* end confdefs.h.  */
 7419 $ac_includes_default
 7420 long longval () { return (long) (sizeof (unsigned long int)); }
 7421 unsigned long ulongval () { return (long) (sizeof (unsigned long int)); }
 7422 @%:@include <stdio.h>
 7423 @%:@include <stdlib.h>
 7424 int
 7425 main ()
 7426 {
 7427 
 7428   FILE *f = fopen ("conftest.val", "w");
 7429   if (! f)
 7430     exit (1);
 7431   if (((long) (sizeof (unsigned long int))) < 0)
 7432     {
 7433       long i = longval ();
 7434       if (i != ((long) (sizeof (unsigned long int))))
 7435 	exit (1);
 7436       fprintf (f, "%ld\n", i);
 7437     }
 7438   else
 7439     {
 7440       unsigned long i = ulongval ();
 7441       if (i != ((long) (sizeof (unsigned long int))))
 7442 	exit (1);
 7443       fprintf (f, "%lu\n", i);
 7444     }
 7445   exit (ferror (f) || fclose (f) != 0);
 7446 
 7447   ;
 7448   return 0;
 7449 }
 7450 _ACEOF
 7451 rm -f conftest$ac_exeext
 7452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 7453   (eval $ac_link) 2>&5
 7454   ac_status=$?
 7455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7456   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 7457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7458   (eval $ac_try) 2>&5
 7459   ac_status=$?
 7460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7461   (exit $ac_status); }; }; then
 7462   ac_cv_sizeof_unsigned_long_int=`cat conftest.val`
 7463 else
 7464   echo "$as_me: program exited with status $ac_status" >&5
 7465 echo "$as_me: failed program was:" >&5
 7466 sed 's/^/| /' conftest.$ac_ext >&5
 7467 
 7468 ( exit $ac_status )
 7469 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long int), 77
 7470 See \`config.log' for more details." >&5
 7471 echo "$as_me: error: cannot compute sizeof (unsigned long int), 77
 7472 See \`config.log' for more details." >&2;}
 7473    { (exit 1); exit 1; }; }
 7474 fi
 7475 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 7476 fi
 7477 fi
 7478 rm -f conftest.val
 7479 else
 7480   ac_cv_sizeof_unsigned_long_int=0
 7481 fi
 7482 fi
 7483 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_int" >&5
 7484 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_int" >&6
 7485 cat >>confdefs.h <<_ACEOF
 7486 @%:@define SIZEOF_UNSIGNED_LONG_INT $ac_cv_sizeof_unsigned_long_int
 7487 _ACEOF
 7488 
 7489 
 7490 echo "$as_me:$LINENO: checking for unsigned int" >&5
 7491 echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6
 7492 if test "${ac_cv_type_unsigned_int+set}" = set; then
 7493   echo $ECHO_N "(cached) $ECHO_C" >&6
 7494 else
 7495   cat >conftest.$ac_ext <<_ACEOF
 7496 /* confdefs.h.  */
 7497 _ACEOF
 7498 cat confdefs.h >>conftest.$ac_ext
 7499 cat >>conftest.$ac_ext <<_ACEOF
 7500 /* end confdefs.h.  */
 7501 $ac_includes_default
 7502 int
 7503 main ()
 7504 {
 7505 if ((unsigned int *) 0)
 7506   return 0;
 7507 if (sizeof (unsigned int))
 7508   return 0;
 7509   ;
 7510   return 0;
 7511 }
 7512 _ACEOF
 7513 rm -f conftest.$ac_objext
 7514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7515   (eval $ac_compile) 2>conftest.er1
 7516   ac_status=$?
 7517   grep -v '^ *+' conftest.er1 >conftest.err
 7518   rm -f conftest.er1
 7519   cat conftest.err >&5
 7520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7521   (exit $ac_status); } &&
 7522 	 { ac_try='test -z "$ac_c_werror_flag"
 7523 			 || test ! -s conftest.err'
 7524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7525   (eval $ac_try) 2>&5
 7526   ac_status=$?
 7527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7528   (exit $ac_status); }; } &&
 7529 	 { ac_try='test -s conftest.$ac_objext'
 7530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7531   (eval $ac_try) 2>&5
 7532   ac_status=$?
 7533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7534   (exit $ac_status); }; }; then
 7535   ac_cv_type_unsigned_int=yes
 7536 else
 7537   echo "$as_me: failed program was:" >&5
 7538 sed 's/^/| /' conftest.$ac_ext >&5
 7539 
 7540 ac_cv_type_unsigned_int=no
 7541 fi
 7542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7543 fi
 7544 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
 7545 echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6
 7546 
 7547 echo "$as_me:$LINENO: checking size of unsigned int" >&5
 7548 echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6
 7549 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
 7550   echo $ECHO_N "(cached) $ECHO_C" >&6
 7551 else
 7552   if test "$ac_cv_type_unsigned_int" = yes; then
 7553   # The cast to unsigned long works around a bug in the HP C Compiler
 7554   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 7555   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 7556   # This bug is HP SR number 8606223364.
 7557   if test "$cross_compiling" = yes; then
 7558   # Depending upon the size, compute the lo and hi bounds.
 7559 cat >conftest.$ac_ext <<_ACEOF
 7560 /* confdefs.h.  */
 7561 _ACEOF
 7562 cat confdefs.h >>conftest.$ac_ext
 7563 cat >>conftest.$ac_ext <<_ACEOF
 7564 /* end confdefs.h.  */
 7565 $ac_includes_default
 7566 int
 7567 main ()
 7568 {
 7569 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) >= 0)@:>@;
 7570 test_array @<:@0@:>@ = 0
 7571 
 7572   ;
 7573   return 0;
 7574 }
 7575 _ACEOF
 7576 rm -f conftest.$ac_objext
 7577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7578   (eval $ac_compile) 2>conftest.er1
 7579   ac_status=$?
 7580   grep -v '^ *+' conftest.er1 >conftest.err
 7581   rm -f conftest.er1
 7582   cat conftest.err >&5
 7583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7584   (exit $ac_status); } &&
 7585 	 { ac_try='test -z "$ac_c_werror_flag"
 7586 			 || test ! -s conftest.err'
 7587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7588   (eval $ac_try) 2>&5
 7589   ac_status=$?
 7590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7591   (exit $ac_status); }; } &&
 7592 	 { ac_try='test -s conftest.$ac_objext'
 7593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7594   (eval $ac_try) 2>&5
 7595   ac_status=$?
 7596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7597   (exit $ac_status); }; }; then
 7598   ac_lo=0 ac_mid=0
 7599   while :; do
 7600     cat >conftest.$ac_ext <<_ACEOF
 7601 /* confdefs.h.  */
 7602 _ACEOF
 7603 cat confdefs.h >>conftest.$ac_ext
 7604 cat >>conftest.$ac_ext <<_ACEOF
 7605 /* end confdefs.h.  */
 7606 $ac_includes_default
 7607 int
 7608 main ()
 7609 {
 7610 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)@:>@;
 7611 test_array @<:@0@:>@ = 0
 7612 
 7613   ;
 7614   return 0;
 7615 }
 7616 _ACEOF
 7617 rm -f conftest.$ac_objext
 7618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7619   (eval $ac_compile) 2>conftest.er1
 7620   ac_status=$?
 7621   grep -v '^ *+' conftest.er1 >conftest.err
 7622   rm -f conftest.er1
 7623   cat conftest.err >&5
 7624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7625   (exit $ac_status); } &&
 7626 	 { ac_try='test -z "$ac_c_werror_flag"
 7627 			 || test ! -s conftest.err'
 7628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7629   (eval $ac_try) 2>&5
 7630   ac_status=$?
 7631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7632   (exit $ac_status); }; } &&
 7633 	 { ac_try='test -s conftest.$ac_objext'
 7634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7635   (eval $ac_try) 2>&5
 7636   ac_status=$?
 7637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7638   (exit $ac_status); }; }; then
 7639   ac_hi=$ac_mid; break
 7640 else
 7641   echo "$as_me: failed program was:" >&5
 7642 sed 's/^/| /' conftest.$ac_ext >&5
 7643 
 7644 ac_lo=`expr $ac_mid + 1`
 7645 		    if test $ac_lo -le $ac_mid; then
 7646 		      ac_lo= ac_hi=
 7647 		      break
 7648 		    fi
 7649 		    ac_mid=`expr 2 '*' $ac_mid + 1`
 7650 fi
 7651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7652   done
 7653 else
 7654   echo "$as_me: failed program was:" >&5
 7655 sed 's/^/| /' conftest.$ac_ext >&5
 7656 
 7657 cat >conftest.$ac_ext <<_ACEOF
 7658 /* confdefs.h.  */
 7659 _ACEOF
 7660 cat confdefs.h >>conftest.$ac_ext
 7661 cat >>conftest.$ac_ext <<_ACEOF
 7662 /* end confdefs.h.  */
 7663 $ac_includes_default
 7664 int
 7665 main ()
 7666 {
 7667 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) < 0)@:>@;
 7668 test_array @<:@0@:>@ = 0
 7669 
 7670   ;
 7671   return 0;
 7672 }
 7673 _ACEOF
 7674 rm -f conftest.$ac_objext
 7675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7676   (eval $ac_compile) 2>conftest.er1
 7677   ac_status=$?
 7678   grep -v '^ *+' conftest.er1 >conftest.err
 7679   rm -f conftest.er1
 7680   cat conftest.err >&5
 7681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7682   (exit $ac_status); } &&
 7683 	 { ac_try='test -z "$ac_c_werror_flag"
 7684 			 || test ! -s conftest.err'
 7685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7686   (eval $ac_try) 2>&5
 7687   ac_status=$?
 7688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7689   (exit $ac_status); }; } &&
 7690 	 { ac_try='test -s conftest.$ac_objext'
 7691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7692   (eval $ac_try) 2>&5
 7693   ac_status=$?
 7694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7695   (exit $ac_status); }; }; then
 7696   ac_hi=-1 ac_mid=-1
 7697   while :; do
 7698     cat >conftest.$ac_ext <<_ACEOF
 7699 /* confdefs.h.  */
 7700 _ACEOF
 7701 cat confdefs.h >>conftest.$ac_ext
 7702 cat >>conftest.$ac_ext <<_ACEOF
 7703 /* end confdefs.h.  */
 7704 $ac_includes_default
 7705 int
 7706 main ()
 7707 {
 7708 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) >= $ac_mid)@:>@;
 7709 test_array @<:@0@:>@ = 0
 7710 
 7711   ;
 7712   return 0;
 7713 }
 7714 _ACEOF
 7715 rm -f conftest.$ac_objext
 7716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7717   (eval $ac_compile) 2>conftest.er1
 7718   ac_status=$?
 7719   grep -v '^ *+' conftest.er1 >conftest.err
 7720   rm -f conftest.er1
 7721   cat conftest.err >&5
 7722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7723   (exit $ac_status); } &&
 7724 	 { ac_try='test -z "$ac_c_werror_flag"
 7725 			 || test ! -s conftest.err'
 7726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7727   (eval $ac_try) 2>&5
 7728   ac_status=$?
 7729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7730   (exit $ac_status); }; } &&
 7731 	 { ac_try='test -s conftest.$ac_objext'
 7732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7733   (eval $ac_try) 2>&5
 7734   ac_status=$?
 7735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7736   (exit $ac_status); }; }; then
 7737   ac_lo=$ac_mid; break
 7738 else
 7739   echo "$as_me: failed program was:" >&5
 7740 sed 's/^/| /' conftest.$ac_ext >&5
 7741 
 7742 ac_hi=`expr '(' $ac_mid ')' - 1`
 7743 		       if test $ac_mid -le $ac_hi; then
 7744 			 ac_lo= ac_hi=
 7745 			 break
 7746 		       fi
 7747 		       ac_mid=`expr 2 '*' $ac_mid`
 7748 fi
 7749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7750   done
 7751 else
 7752   echo "$as_me: failed program was:" >&5
 7753 sed 's/^/| /' conftest.$ac_ext >&5
 7754 
 7755 ac_lo= ac_hi=
 7756 fi
 7757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7758 fi
 7759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7760 # Binary search between lo and hi bounds.
 7761 while test "x$ac_lo" != "x$ac_hi"; do
 7762   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 7763   cat >conftest.$ac_ext <<_ACEOF
 7764 /* confdefs.h.  */
 7765 _ACEOF
 7766 cat confdefs.h >>conftest.$ac_ext
 7767 cat >>conftest.$ac_ext <<_ACEOF
 7768 /* end confdefs.h.  */
 7769 $ac_includes_default
 7770 int
 7771 main ()
 7772 {
 7773 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)@:>@;
 7774 test_array @<:@0@:>@ = 0
 7775 
 7776   ;
 7777   return 0;
 7778 }
 7779 _ACEOF
 7780 rm -f conftest.$ac_objext
 7781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7782   (eval $ac_compile) 2>conftest.er1
 7783   ac_status=$?
 7784   grep -v '^ *+' conftest.er1 >conftest.err
 7785   rm -f conftest.er1
 7786   cat conftest.err >&5
 7787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7788   (exit $ac_status); } &&
 7789 	 { ac_try='test -z "$ac_c_werror_flag"
 7790 			 || test ! -s conftest.err'
 7791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7792   (eval $ac_try) 2>&5
 7793   ac_status=$?
 7794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7795   (exit $ac_status); }; } &&
 7796 	 { ac_try='test -s conftest.$ac_objext'
 7797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7798   (eval $ac_try) 2>&5
 7799   ac_status=$?
 7800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7801   (exit $ac_status); }; }; then
 7802   ac_hi=$ac_mid
 7803 else
 7804   echo "$as_me: failed program was:" >&5
 7805 sed 's/^/| /' conftest.$ac_ext >&5
 7806 
 7807 ac_lo=`expr '(' $ac_mid ')' + 1`
 7808 fi
 7809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7810 done
 7811 case $ac_lo in
 7812 ?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
 7813 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
 7814 See \`config.log' for more details." >&5
 7815 echo "$as_me: error: cannot compute sizeof (unsigned int), 77
 7816 See \`config.log' for more details." >&2;}
 7817    { (exit 1); exit 1; }; } ;;
 7818 esac
 7819 else
 7820   if test "$cross_compiling" = yes; then
 7821   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 7822 See \`config.log' for more details." >&5
 7823 echo "$as_me: error: cannot run test program while cross compiling
 7824 See \`config.log' for more details." >&2;}
 7825    { (exit 1); exit 1; }; }
 7826 else
 7827   cat >conftest.$ac_ext <<_ACEOF
 7828 /* confdefs.h.  */
 7829 _ACEOF
 7830 cat confdefs.h >>conftest.$ac_ext
 7831 cat >>conftest.$ac_ext <<_ACEOF
 7832 /* end confdefs.h.  */
 7833 $ac_includes_default
 7834 long longval () { return (long) (sizeof (unsigned int)); }
 7835 unsigned long ulongval () { return (long) (sizeof (unsigned int)); }
 7836 @%:@include <stdio.h>
 7837 @%:@include <stdlib.h>
 7838 int
 7839 main ()
 7840 {
 7841 
 7842   FILE *f = fopen ("conftest.val", "w");
 7843   if (! f)
 7844     exit (1);
 7845   if (((long) (sizeof (unsigned int))) < 0)
 7846     {
 7847       long i = longval ();
 7848       if (i != ((long) (sizeof (unsigned int))))
 7849 	exit (1);
 7850       fprintf (f, "%ld\n", i);
 7851     }
 7852   else
 7853     {
 7854       unsigned long i = ulongval ();
 7855       if (i != ((long) (sizeof (unsigned int))))
 7856 	exit (1);
 7857       fprintf (f, "%lu\n", i);
 7858     }
 7859   exit (ferror (f) || fclose (f) != 0);
 7860 
 7861   ;
 7862   return 0;
 7863 }
 7864 _ACEOF
 7865 rm -f conftest$ac_exeext
 7866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 7867   (eval $ac_link) 2>&5
 7868   ac_status=$?
 7869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7870   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 7871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7872   (eval $ac_try) 2>&5
 7873   ac_status=$?
 7874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7875   (exit $ac_status); }; }; then
 7876   ac_cv_sizeof_unsigned_int=`cat conftest.val`
 7877 else
 7878   echo "$as_me: program exited with status $ac_status" >&5
 7879 echo "$as_me: failed program was:" >&5
 7880 sed 's/^/| /' conftest.$ac_ext >&5
 7881 
 7882 ( exit $ac_status )
 7883 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
 7884 See \`config.log' for more details." >&5
 7885 echo "$as_me: error: cannot compute sizeof (unsigned int), 77
 7886 See \`config.log' for more details." >&2;}
 7887    { (exit 1); exit 1; }; }
 7888 fi
 7889 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 7890 fi
 7891 fi
 7892 rm -f conftest.val
 7893 else
 7894   ac_cv_sizeof_unsigned_int=0
 7895 fi
 7896 fi
 7897 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
 7898 echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6
 7899 cat >>confdefs.h <<_ACEOF
 7900 @%:@define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
 7901 _ACEOF
 7902 
 7903 
 7904 echo "$as_me:$LINENO: checking for unsigned short int" >&5
 7905 echo $ECHO_N "checking for unsigned short int... $ECHO_C" >&6
 7906 if test "${ac_cv_type_unsigned_short_int+set}" = set; then
 7907   echo $ECHO_N "(cached) $ECHO_C" >&6
 7908 else
 7909   cat >conftest.$ac_ext <<_ACEOF
 7910 /* confdefs.h.  */
 7911 _ACEOF
 7912 cat confdefs.h >>conftest.$ac_ext
 7913 cat >>conftest.$ac_ext <<_ACEOF
 7914 /* end confdefs.h.  */
 7915 $ac_includes_default
 7916 int
 7917 main ()
 7918 {
 7919 if ((unsigned short int *) 0)
 7920   return 0;
 7921 if (sizeof (unsigned short int))
 7922   return 0;
 7923   ;
 7924   return 0;
 7925 }
 7926 _ACEOF
 7927 rm -f conftest.$ac_objext
 7928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7929   (eval $ac_compile) 2>conftest.er1
 7930   ac_status=$?
 7931   grep -v '^ *+' conftest.er1 >conftest.err
 7932   rm -f conftest.er1
 7933   cat conftest.err >&5
 7934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7935   (exit $ac_status); } &&
 7936 	 { ac_try='test -z "$ac_c_werror_flag"
 7937 			 || test ! -s conftest.err'
 7938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7939   (eval $ac_try) 2>&5
 7940   ac_status=$?
 7941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7942   (exit $ac_status); }; } &&
 7943 	 { ac_try='test -s conftest.$ac_objext'
 7944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7945   (eval $ac_try) 2>&5
 7946   ac_status=$?
 7947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7948   (exit $ac_status); }; }; then
 7949   ac_cv_type_unsigned_short_int=yes
 7950 else
 7951   echo "$as_me: failed program was:" >&5
 7952 sed 's/^/| /' conftest.$ac_ext >&5
 7953 
 7954 ac_cv_type_unsigned_short_int=no
 7955 fi
 7956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7957 fi
 7958 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short_int" >&5
 7959 echo "${ECHO_T}$ac_cv_type_unsigned_short_int" >&6
 7960 
 7961 echo "$as_me:$LINENO: checking size of unsigned short int" >&5
 7962 echo $ECHO_N "checking size of unsigned short int... $ECHO_C" >&6
 7963 if test "${ac_cv_sizeof_unsigned_short_int+set}" = set; then
 7964   echo $ECHO_N "(cached) $ECHO_C" >&6
 7965 else
 7966   if test "$ac_cv_type_unsigned_short_int" = yes; then
 7967   # The cast to unsigned long works around a bug in the HP C Compiler
 7968   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 7969   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 7970   # This bug is HP SR number 8606223364.
 7971   if test "$cross_compiling" = yes; then
 7972   # Depending upon the size, compute the lo and hi bounds.
 7973 cat >conftest.$ac_ext <<_ACEOF
 7974 /* confdefs.h.  */
 7975 _ACEOF
 7976 cat confdefs.h >>conftest.$ac_ext
 7977 cat >>conftest.$ac_ext <<_ACEOF
 7978 /* end confdefs.h.  */
 7979 $ac_includes_default
 7980 int
 7981 main ()
 7982 {
 7983 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short int))) >= 0)@:>@;
 7984 test_array @<:@0@:>@ = 0
 7985 
 7986   ;
 7987   return 0;
 7988 }
 7989 _ACEOF
 7990 rm -f conftest.$ac_objext
 7991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7992   (eval $ac_compile) 2>conftest.er1
 7993   ac_status=$?
 7994   grep -v '^ *+' conftest.er1 >conftest.err
 7995   rm -f conftest.er1
 7996   cat conftest.err >&5
 7997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7998   (exit $ac_status); } &&
 7999 	 { ac_try='test -z "$ac_c_werror_flag"
 8000 			 || test ! -s conftest.err'
 8001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8002   (eval $ac_try) 2>&5
 8003   ac_status=$?
 8004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8005   (exit $ac_status); }; } &&
 8006 	 { ac_try='test -s conftest.$ac_objext'
 8007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8008   (eval $ac_try) 2>&5
 8009   ac_status=$?
 8010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8011   (exit $ac_status); }; }; then
 8012   ac_lo=0 ac_mid=0
 8013   while :; do
 8014     cat >conftest.$ac_ext <<_ACEOF
 8015 /* confdefs.h.  */
 8016 _ACEOF
 8017 cat confdefs.h >>conftest.$ac_ext
 8018 cat >>conftest.$ac_ext <<_ACEOF
 8019 /* end confdefs.h.  */
 8020 $ac_includes_default
 8021 int
 8022 main ()
 8023 {
 8024 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short int))) <= $ac_mid)@:>@;
 8025 test_array @<:@0@:>@ = 0
 8026 
 8027   ;
 8028   return 0;
 8029 }
 8030 _ACEOF
 8031 rm -f conftest.$ac_objext
 8032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8033   (eval $ac_compile) 2>conftest.er1
 8034   ac_status=$?
 8035   grep -v '^ *+' conftest.er1 >conftest.err
 8036   rm -f conftest.er1
 8037   cat conftest.err >&5
 8038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8039   (exit $ac_status); } &&
 8040 	 { ac_try='test -z "$ac_c_werror_flag"
 8041 			 || test ! -s conftest.err'
 8042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8043   (eval $ac_try) 2>&5
 8044   ac_status=$?
 8045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8046   (exit $ac_status); }; } &&
 8047 	 { ac_try='test -s conftest.$ac_objext'
 8048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8049   (eval $ac_try) 2>&5
 8050   ac_status=$?
 8051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8052   (exit $ac_status); }; }; then
 8053   ac_hi=$ac_mid; break
 8054 else
 8055   echo "$as_me: failed program was:" >&5
 8056 sed 's/^/| /' conftest.$ac_ext >&5
 8057 
 8058 ac_lo=`expr $ac_mid + 1`
 8059 		    if test $ac_lo -le $ac_mid; then
 8060 		      ac_lo= ac_hi=
 8061 		      break
 8062 		    fi
 8063 		    ac_mid=`expr 2 '*' $ac_mid + 1`
 8064 fi
 8065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8066   done
 8067 else
 8068   echo "$as_me: failed program was:" >&5
 8069 sed 's/^/| /' conftest.$ac_ext >&5
 8070 
 8071 cat >conftest.$ac_ext <<_ACEOF
 8072 /* confdefs.h.  */
 8073 _ACEOF
 8074 cat confdefs.h >>conftest.$ac_ext
 8075 cat >>conftest.$ac_ext <<_ACEOF
 8076 /* end confdefs.h.  */
 8077 $ac_includes_default
 8078 int
 8079 main ()
 8080 {
 8081 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short int))) < 0)@:>@;
 8082 test_array @<:@0@:>@ = 0
 8083 
 8084   ;
 8085   return 0;
 8086 }
 8087 _ACEOF
 8088 rm -f conftest.$ac_objext
 8089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8090   (eval $ac_compile) 2>conftest.er1
 8091   ac_status=$?
 8092   grep -v '^ *+' conftest.er1 >conftest.err
 8093   rm -f conftest.er1
 8094   cat conftest.err >&5
 8095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8096   (exit $ac_status); } &&
 8097 	 { ac_try='test -z "$ac_c_werror_flag"
 8098 			 || test ! -s conftest.err'
 8099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8100   (eval $ac_try) 2>&5
 8101   ac_status=$?
 8102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8103   (exit $ac_status); }; } &&
 8104 	 { ac_try='test -s conftest.$ac_objext'
 8105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8106   (eval $ac_try) 2>&5
 8107   ac_status=$?
 8108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8109   (exit $ac_status); }; }; then
 8110   ac_hi=-1 ac_mid=-1
 8111   while :; do
 8112     cat >conftest.$ac_ext <<_ACEOF
 8113 /* confdefs.h.  */
 8114 _ACEOF
 8115 cat confdefs.h >>conftest.$ac_ext
 8116 cat >>conftest.$ac_ext <<_ACEOF
 8117 /* end confdefs.h.  */
 8118 $ac_includes_default
 8119 int
 8120 main ()
 8121 {
 8122 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short int))) >= $ac_mid)@:>@;
 8123 test_array @<:@0@:>@ = 0
 8124 
 8125   ;
 8126   return 0;
 8127 }
 8128 _ACEOF
 8129 rm -f conftest.$ac_objext
 8130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8131   (eval $ac_compile) 2>conftest.er1
 8132   ac_status=$?
 8133   grep -v '^ *+' conftest.er1 >conftest.err
 8134   rm -f conftest.er1
 8135   cat conftest.err >&5
 8136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8137   (exit $ac_status); } &&
 8138 	 { ac_try='test -z "$ac_c_werror_flag"
 8139 			 || test ! -s conftest.err'
 8140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8141   (eval $ac_try) 2>&5
 8142   ac_status=$?
 8143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8144   (exit $ac_status); }; } &&
 8145 	 { ac_try='test -s conftest.$ac_objext'
 8146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8147   (eval $ac_try) 2>&5
 8148   ac_status=$?
 8149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8150   (exit $ac_status); }; }; then
 8151   ac_lo=$ac_mid; break
 8152 else
 8153   echo "$as_me: failed program was:" >&5
 8154 sed 's/^/| /' conftest.$ac_ext >&5
 8155 
 8156 ac_hi=`expr '(' $ac_mid ')' - 1`
 8157 		       if test $ac_mid -le $ac_hi; then
 8158 			 ac_lo= ac_hi=
 8159 			 break
 8160 		       fi
 8161 		       ac_mid=`expr 2 '*' $ac_mid`
 8162 fi
 8163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8164   done
 8165 else
 8166   echo "$as_me: failed program was:" >&5
 8167 sed 's/^/| /' conftest.$ac_ext >&5
 8168 
 8169 ac_lo= ac_hi=
 8170 fi
 8171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8172 fi
 8173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8174 # Binary search between lo and hi bounds.
 8175 while test "x$ac_lo" != "x$ac_hi"; do
 8176   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 8177   cat >conftest.$ac_ext <<_ACEOF
 8178 /* confdefs.h.  */
 8179 _ACEOF
 8180 cat confdefs.h >>conftest.$ac_ext
 8181 cat >>conftest.$ac_ext <<_ACEOF
 8182 /* end confdefs.h.  */
 8183 $ac_includes_default
 8184 int
 8185 main ()
 8186 {
 8187 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short int))) <= $ac_mid)@:>@;
 8188 test_array @<:@0@:>@ = 0
 8189 
 8190   ;
 8191   return 0;
 8192 }
 8193 _ACEOF
 8194 rm -f conftest.$ac_objext
 8195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8196   (eval $ac_compile) 2>conftest.er1
 8197   ac_status=$?
 8198   grep -v '^ *+' conftest.er1 >conftest.err
 8199   rm -f conftest.er1
 8200   cat conftest.err >&5
 8201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8202   (exit $ac_status); } &&
 8203 	 { ac_try='test -z "$ac_c_werror_flag"
 8204 			 || test ! -s conftest.err'
 8205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8206   (eval $ac_try) 2>&5
 8207   ac_status=$?
 8208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8209   (exit $ac_status); }; } &&
 8210 	 { ac_try='test -s conftest.$ac_objext'
 8211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8212   (eval $ac_try) 2>&5
 8213   ac_status=$?
 8214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8215   (exit $ac_status); }; }; then
 8216   ac_hi=$ac_mid
 8217 else
 8218   echo "$as_me: failed program was:" >&5
 8219 sed 's/^/| /' conftest.$ac_ext >&5
 8220 
 8221 ac_lo=`expr '(' $ac_mid ')' + 1`
 8222 fi
 8223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8224 done
 8225 case $ac_lo in
 8226 ?*) ac_cv_sizeof_unsigned_short_int=$ac_lo;;
 8227 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short int), 77
 8228 See \`config.log' for more details." >&5
 8229 echo "$as_me: error: cannot compute sizeof (unsigned short int), 77
 8230 See \`config.log' for more details." >&2;}
 8231    { (exit 1); exit 1; }; } ;;
 8232 esac
 8233 else
 8234   if test "$cross_compiling" = yes; then
 8235   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 8236 See \`config.log' for more details." >&5
 8237 echo "$as_me: error: cannot run test program while cross compiling
 8238 See \`config.log' for more details." >&2;}
 8239    { (exit 1); exit 1; }; }
 8240 else
 8241   cat >conftest.$ac_ext <<_ACEOF
 8242 /* confdefs.h.  */
 8243 _ACEOF
 8244 cat confdefs.h >>conftest.$ac_ext
 8245 cat >>conftest.$ac_ext <<_ACEOF
 8246 /* end confdefs.h.  */
 8247 $ac_includes_default
 8248 long longval () { return (long) (sizeof (unsigned short int)); }
 8249 unsigned long ulongval () { return (long) (sizeof (unsigned short int)); }
 8250 @%:@include <stdio.h>
 8251 @%:@include <stdlib.h>
 8252 int
 8253 main ()
 8254 {
 8255 
 8256   FILE *f = fopen ("conftest.val", "w");
 8257   if (! f)
 8258     exit (1);
 8259   if (((long) (sizeof (unsigned short int))) < 0)
 8260     {
 8261       long i = longval ();
 8262       if (i != ((long) (sizeof (unsigned short int))))
 8263 	exit (1);
 8264       fprintf (f, "%ld\n", i);
 8265     }
 8266   else
 8267     {
 8268       unsigned long i = ulongval ();
 8269       if (i != ((long) (sizeof (unsigned short int))))
 8270 	exit (1);
 8271       fprintf (f, "%lu\n", i);
 8272     }
 8273   exit (ferror (f) || fclose (f) != 0);
 8274 
 8275   ;
 8276   return 0;
 8277 }
 8278 _ACEOF
 8279 rm -f conftest$ac_exeext
 8280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 8281   (eval $ac_link) 2>&5
 8282   ac_status=$?
 8283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8284   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 8285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8286   (eval $ac_try) 2>&5
 8287   ac_status=$?
 8288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8289   (exit $ac_status); }; }; then
 8290   ac_cv_sizeof_unsigned_short_int=`cat conftest.val`
 8291 else
 8292   echo "$as_me: program exited with status $ac_status" >&5
 8293 echo "$as_me: failed program was:" >&5
 8294 sed 's/^/| /' conftest.$ac_ext >&5
 8295 
 8296 ( exit $ac_status )
 8297 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short int), 77
 8298 See \`config.log' for more details." >&5
 8299 echo "$as_me: error: cannot compute sizeof (unsigned short int), 77
 8300 See \`config.log' for more details." >&2;}
 8301    { (exit 1); exit 1; }; }
 8302 fi
 8303 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 8304 fi
 8305 fi
 8306 rm -f conftest.val
 8307 else
 8308   ac_cv_sizeof_unsigned_short_int=0
 8309 fi
 8310 fi
 8311 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short_int" >&5
 8312 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short_int" >&6
 8313 cat >>confdefs.h <<_ACEOF
 8314 @%:@define SIZEOF_UNSIGNED_SHORT_INT $ac_cv_sizeof_unsigned_short_int
 8315 _ACEOF
 8316 
 8317 
 8318 echo "$as_me:$LINENO: checking for unsigned char" >&5
 8319 echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6
 8320 if test "${ac_cv_type_unsigned_char+set}" = set; then
 8321   echo $ECHO_N "(cached) $ECHO_C" >&6
 8322 else
 8323   cat >conftest.$ac_ext <<_ACEOF
 8324 /* confdefs.h.  */
 8325 _ACEOF
 8326 cat confdefs.h >>conftest.$ac_ext
 8327 cat >>conftest.$ac_ext <<_ACEOF
 8328 /* end confdefs.h.  */
 8329 $ac_includes_default
 8330 int
 8331 main ()
 8332 {
 8333 if ((unsigned char *) 0)
 8334   return 0;
 8335 if (sizeof (unsigned char))
 8336   return 0;
 8337   ;
 8338   return 0;
 8339 }
 8340 _ACEOF
 8341 rm -f conftest.$ac_objext
 8342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8343   (eval $ac_compile) 2>conftest.er1
 8344   ac_status=$?
 8345   grep -v '^ *+' conftest.er1 >conftest.err
 8346   rm -f conftest.er1
 8347   cat conftest.err >&5
 8348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8349   (exit $ac_status); } &&
 8350 	 { ac_try='test -z "$ac_c_werror_flag"
 8351 			 || test ! -s conftest.err'
 8352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8353   (eval $ac_try) 2>&5
 8354   ac_status=$?
 8355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8356   (exit $ac_status); }; } &&
 8357 	 { ac_try='test -s conftest.$ac_objext'
 8358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8359   (eval $ac_try) 2>&5
 8360   ac_status=$?
 8361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8362   (exit $ac_status); }; }; then
 8363   ac_cv_type_unsigned_char=yes
 8364 else
 8365   echo "$as_me: failed program was:" >&5
 8366 sed 's/^/| /' conftest.$ac_ext >&5
 8367 
 8368 ac_cv_type_unsigned_char=no
 8369 fi
 8370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8371 fi
 8372 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5
 8373 echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6
 8374 
 8375 echo "$as_me:$LINENO: checking size of unsigned char" >&5
 8376 echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6
 8377 if test "${ac_cv_sizeof_unsigned_char+set}" = set; then
 8378   echo $ECHO_N "(cached) $ECHO_C" >&6
 8379 else
 8380   if test "$ac_cv_type_unsigned_char" = yes; then
 8381   # The cast to unsigned long works around a bug in the HP C Compiler
 8382   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8383   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8384   # This bug is HP SR number 8606223364.
 8385   if test "$cross_compiling" = yes; then
 8386   # Depending upon the size, compute the lo and hi bounds.
 8387 cat >conftest.$ac_ext <<_ACEOF
 8388 /* confdefs.h.  */
 8389 _ACEOF
 8390 cat confdefs.h >>conftest.$ac_ext
 8391 cat >>conftest.$ac_ext <<_ACEOF
 8392 /* end confdefs.h.  */
 8393 $ac_includes_default
 8394 int
 8395 main ()
 8396 {
 8397 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) >= 0)@:>@;
 8398 test_array @<:@0@:>@ = 0
 8399 
 8400   ;
 8401   return 0;
 8402 }
 8403 _ACEOF
 8404 rm -f conftest.$ac_objext
 8405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8406   (eval $ac_compile) 2>conftest.er1
 8407   ac_status=$?
 8408   grep -v '^ *+' conftest.er1 >conftest.err
 8409   rm -f conftest.er1
 8410   cat conftest.err >&5
 8411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8412   (exit $ac_status); } &&
 8413 	 { ac_try='test -z "$ac_c_werror_flag"
 8414 			 || test ! -s conftest.err'
 8415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8416   (eval $ac_try) 2>&5
 8417   ac_status=$?
 8418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8419   (exit $ac_status); }; } &&
 8420 	 { ac_try='test -s conftest.$ac_objext'
 8421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8422   (eval $ac_try) 2>&5
 8423   ac_status=$?
 8424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8425   (exit $ac_status); }; }; then
 8426   ac_lo=0 ac_mid=0
 8427   while :; do
 8428     cat >conftest.$ac_ext <<_ACEOF
 8429 /* confdefs.h.  */
 8430 _ACEOF
 8431 cat confdefs.h >>conftest.$ac_ext
 8432 cat >>conftest.$ac_ext <<_ACEOF
 8433 /* end confdefs.h.  */
 8434 $ac_includes_default
 8435 int
 8436 main ()
 8437 {
 8438 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) <= $ac_mid)@:>@;
 8439 test_array @<:@0@:>@ = 0
 8440 
 8441   ;
 8442   return 0;
 8443 }
 8444 _ACEOF
 8445 rm -f conftest.$ac_objext
 8446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8447   (eval $ac_compile) 2>conftest.er1
 8448   ac_status=$?
 8449   grep -v '^ *+' conftest.er1 >conftest.err
 8450   rm -f conftest.er1
 8451   cat conftest.err >&5
 8452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8453   (exit $ac_status); } &&
 8454 	 { ac_try='test -z "$ac_c_werror_flag"
 8455 			 || test ! -s conftest.err'
 8456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8457   (eval $ac_try) 2>&5
 8458   ac_status=$?
 8459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8460   (exit $ac_status); }; } &&
 8461 	 { ac_try='test -s conftest.$ac_objext'
 8462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8463   (eval $ac_try) 2>&5
 8464   ac_status=$?
 8465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8466   (exit $ac_status); }; }; then
 8467   ac_hi=$ac_mid; break
 8468 else
 8469   echo "$as_me: failed program was:" >&5
 8470 sed 's/^/| /' conftest.$ac_ext >&5
 8471 
 8472 ac_lo=`expr $ac_mid + 1`
 8473 		    if test $ac_lo -le $ac_mid; then
 8474 		      ac_lo= ac_hi=
 8475 		      break
 8476 		    fi
 8477 		    ac_mid=`expr 2 '*' $ac_mid + 1`
 8478 fi
 8479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8480   done
 8481 else
 8482   echo "$as_me: failed program was:" >&5
 8483 sed 's/^/| /' conftest.$ac_ext >&5
 8484 
 8485 cat >conftest.$ac_ext <<_ACEOF
 8486 /* confdefs.h.  */
 8487 _ACEOF
 8488 cat confdefs.h >>conftest.$ac_ext
 8489 cat >>conftest.$ac_ext <<_ACEOF
 8490 /* end confdefs.h.  */
 8491 $ac_includes_default
 8492 int
 8493 main ()
 8494 {
 8495 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) < 0)@:>@;
 8496 test_array @<:@0@:>@ = 0
 8497 
 8498   ;
 8499   return 0;
 8500 }
 8501 _ACEOF
 8502 rm -f conftest.$ac_objext
 8503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8504   (eval $ac_compile) 2>conftest.er1
 8505   ac_status=$?
 8506   grep -v '^ *+' conftest.er1 >conftest.err
 8507   rm -f conftest.er1
 8508   cat conftest.err >&5
 8509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8510   (exit $ac_status); } &&
 8511 	 { ac_try='test -z "$ac_c_werror_flag"
 8512 			 || test ! -s conftest.err'
 8513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8514   (eval $ac_try) 2>&5
 8515   ac_status=$?
 8516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8517   (exit $ac_status); }; } &&
 8518 	 { ac_try='test -s conftest.$ac_objext'
 8519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8520   (eval $ac_try) 2>&5
 8521   ac_status=$?
 8522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8523   (exit $ac_status); }; }; then
 8524   ac_hi=-1 ac_mid=-1
 8525   while :; do
 8526     cat >conftest.$ac_ext <<_ACEOF
 8527 /* confdefs.h.  */
 8528 _ACEOF
 8529 cat confdefs.h >>conftest.$ac_ext
 8530 cat >>conftest.$ac_ext <<_ACEOF
 8531 /* end confdefs.h.  */
 8532 $ac_includes_default
 8533 int
 8534 main ()
 8535 {
 8536 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) >= $ac_mid)@:>@;
 8537 test_array @<:@0@:>@ = 0
 8538 
 8539   ;
 8540   return 0;
 8541 }
 8542 _ACEOF
 8543 rm -f conftest.$ac_objext
 8544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8545   (eval $ac_compile) 2>conftest.er1
 8546   ac_status=$?
 8547   grep -v '^ *+' conftest.er1 >conftest.err
 8548   rm -f conftest.er1
 8549   cat conftest.err >&5
 8550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8551   (exit $ac_status); } &&
 8552 	 { ac_try='test -z "$ac_c_werror_flag"
 8553 			 || test ! -s conftest.err'
 8554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8555   (eval $ac_try) 2>&5
 8556   ac_status=$?
 8557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8558   (exit $ac_status); }; } &&
 8559 	 { ac_try='test -s conftest.$ac_objext'
 8560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8561   (eval $ac_try) 2>&5
 8562   ac_status=$?
 8563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8564   (exit $ac_status); }; }; then
 8565   ac_lo=$ac_mid; break
 8566 else
 8567   echo "$as_me: failed program was:" >&5
 8568 sed 's/^/| /' conftest.$ac_ext >&5
 8569 
 8570 ac_hi=`expr '(' $ac_mid ')' - 1`
 8571 		       if test $ac_mid -le $ac_hi; then
 8572 			 ac_lo= ac_hi=
 8573 			 break
 8574 		       fi
 8575 		       ac_mid=`expr 2 '*' $ac_mid`
 8576 fi
 8577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8578   done
 8579 else
 8580   echo "$as_me: failed program was:" >&5
 8581 sed 's/^/| /' conftest.$ac_ext >&5
 8582 
 8583 ac_lo= ac_hi=
 8584 fi
 8585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8586 fi
 8587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8588 # Binary search between lo and hi bounds.
 8589 while test "x$ac_lo" != "x$ac_hi"; do
 8590   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 8591   cat >conftest.$ac_ext <<_ACEOF
 8592 /* confdefs.h.  */
 8593 _ACEOF
 8594 cat confdefs.h >>conftest.$ac_ext
 8595 cat >>conftest.$ac_ext <<_ACEOF
 8596 /* end confdefs.h.  */
 8597 $ac_includes_default
 8598 int
 8599 main ()
 8600 {
 8601 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) <= $ac_mid)@:>@;
 8602 test_array @<:@0@:>@ = 0
 8603 
 8604   ;
 8605   return 0;
 8606 }
 8607 _ACEOF
 8608 rm -f conftest.$ac_objext
 8609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8610   (eval $ac_compile) 2>conftest.er1
 8611   ac_status=$?
 8612   grep -v '^ *+' conftest.er1 >conftest.err
 8613   rm -f conftest.er1
 8614   cat conftest.err >&5
 8615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8616   (exit $ac_status); } &&
 8617 	 { ac_try='test -z "$ac_c_werror_flag"
 8618 			 || test ! -s conftest.err'
 8619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8620   (eval $ac_try) 2>&5
 8621   ac_status=$?
 8622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8623   (exit $ac_status); }; } &&
 8624 	 { ac_try='test -s conftest.$ac_objext'
 8625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8626   (eval $ac_try) 2>&5
 8627   ac_status=$?
 8628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8629   (exit $ac_status); }; }; then
 8630   ac_hi=$ac_mid
 8631 else
 8632   echo "$as_me: failed program was:" >&5
 8633 sed 's/^/| /' conftest.$ac_ext >&5
 8634 
 8635 ac_lo=`expr '(' $ac_mid ')' + 1`
 8636 fi
 8637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8638 done
 8639 case $ac_lo in
 8640 ?*) ac_cv_sizeof_unsigned_char=$ac_lo;;
 8641 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char), 77
 8642 See \`config.log' for more details." >&5
 8643 echo "$as_me: error: cannot compute sizeof (unsigned char), 77
 8644 See \`config.log' for more details." >&2;}
 8645    { (exit 1); exit 1; }; } ;;
 8646 esac
 8647 else
 8648   if test "$cross_compiling" = yes; then
 8649   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 8650 See \`config.log' for more details." >&5
 8651 echo "$as_me: error: cannot run test program while cross compiling
 8652 See \`config.log' for more details." >&2;}
 8653    { (exit 1); exit 1; }; }
 8654 else
 8655   cat >conftest.$ac_ext <<_ACEOF
 8656 /* confdefs.h.  */
 8657 _ACEOF
 8658 cat confdefs.h >>conftest.$ac_ext
 8659 cat >>conftest.$ac_ext <<_ACEOF
 8660 /* end confdefs.h.  */
 8661 $ac_includes_default
 8662 long longval () { return (long) (sizeof (unsigned char)); }
 8663 unsigned long ulongval () { return (long) (sizeof (unsigned char)); }
 8664 @%:@include <stdio.h>
 8665 @%:@include <stdlib.h>
 8666 int
 8667 main ()
 8668 {
 8669 
 8670   FILE *f = fopen ("conftest.val", "w");
 8671   if (! f)
 8672     exit (1);
 8673   if (((long) (sizeof (unsigned char))) < 0)
 8674     {
 8675       long i = longval ();
 8676       if (i != ((long) (sizeof (unsigned char))))
 8677 	exit (1);
 8678       fprintf (f, "%ld\n", i);
 8679     }
 8680   else
 8681     {
 8682       unsigned long i = ulongval ();
 8683       if (i != ((long) (sizeof (unsigned char))))
 8684 	exit (1);
 8685       fprintf (f, "%lu\n", i);
 8686     }
 8687   exit (ferror (f) || fclose (f) != 0);
 8688 
 8689   ;
 8690   return 0;
 8691 }
 8692 _ACEOF
 8693 rm -f conftest$ac_exeext
 8694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 8695   (eval $ac_link) 2>&5
 8696   ac_status=$?
 8697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8698   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 8699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8700   (eval $ac_try) 2>&5
 8701   ac_status=$?
 8702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8703   (exit $ac_status); }; }; then
 8704   ac_cv_sizeof_unsigned_char=`cat conftest.val`
 8705 else
 8706   echo "$as_me: program exited with status $ac_status" >&5
 8707 echo "$as_me: failed program was:" >&5
 8708 sed 's/^/| /' conftest.$ac_ext >&5
 8709 
 8710 ( exit $ac_status )
 8711 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char), 77
 8712 See \`config.log' for more details." >&5
 8713 echo "$as_me: error: cannot compute sizeof (unsigned char), 77
 8714 See \`config.log' for more details." >&2;}
 8715    { (exit 1); exit 1; }; }
 8716 fi
 8717 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 8718 fi
 8719 fi
 8720 rm -f conftest.val
 8721 else
 8722   ac_cv_sizeof_unsigned_char=0
 8723 fi
 8724 fi
 8725 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
 8726 echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6
 8727 cat >>confdefs.h <<_ACEOF
 8728 @%:@define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
 8729 _ACEOF
 8730 
 8731 
 8732 
 8733 
 8734 
 8735 
 8736 
 8737 
 8738 
 8739 
 8740 # Check whether --enable-shared or --disable-shared was given.
 8741 if test "${enable_shared+set}" = set; then
 8742   enableval="$enable_shared"
 8743   p=${PACKAGE-default}
 8744     case $enableval in
 8745     yes) enable_shared=yes ;;
 8746     no) enable_shared=no ;;
 8747     *)
 8748       enable_shared=no
 8749       # Look at the argument we got.  We use all the common list separators.
 8750       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 8751       for pkg in $enableval; do
 8752 	IFS="$lt_save_ifs"
 8753 	if test "X$pkg" = "X$p"; then
 8754 	  enable_shared=yes
 8755 	fi
 8756       done
 8757       IFS="$lt_save_ifs"
 8758       ;;
 8759     esac
 8760 else
 8761   enable_shared=yes
 8762 fi; 
 8763 
 8764 # Check whether --enable-fast-install or --disable-fast-install was given.
 8765 if test "${enable_fast_install+set}" = set; then
 8766   enableval="$enable_fast_install"
 8767   p=${PACKAGE-default}
 8768     case $enableval in
 8769     yes) enable_fast_install=yes ;;
 8770     no) enable_fast_install=no ;;
 8771     *)
 8772       enable_fast_install=no
 8773       # Look at the argument we got.  We use all the common list separators.
 8774       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 8775       for pkg in $enableval; do
 8776 	IFS="$lt_save_ifs"
 8777 	if test "X$pkg" = "X$p"; then
 8778 	  enable_fast_install=yes
 8779 	fi
 8780       done
 8781       IFS="$lt_save_ifs"
 8782       ;;
 8783     esac
 8784 else
 8785   enable_fast_install=yes
 8786 fi; 
 8787 
 8788 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 8789 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 8790 if test "${lt_cv_path_SED+set}" = set; then
 8791   echo $ECHO_N "(cached) $ECHO_C" >&6
 8792 else
 8793   # Loop through the user's path and test for sed and gsed.
 8794 # Then use that list of sed's as ones to test for truncation.
 8795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8796 for as_dir in $PATH
 8797 do
 8798   IFS=$as_save_IFS
 8799   test -z "$as_dir" && as_dir=.
 8800   for lt_ac_prog in sed gsed; do
 8801     for ac_exec_ext in '' $ac_executable_extensions; do
 8802       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 8803         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 8804       fi
 8805     done
 8806   done
 8807 done
 8808 IFS=$as_save_IFS
 8809 lt_ac_max=0
 8810 lt_ac_count=0
 8811 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
 8812 # along with /bin/sed that truncates output.
 8813 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 8814   test ! -f $lt_ac_sed && continue
 8815   cat /dev/null > conftest.in
 8816   lt_ac_count=0
 8817   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 8818   # Check for GNU sed and select it if it is found.
 8819   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 8820     lt_cv_path_SED=$lt_ac_sed
 8821     break
 8822   fi
 8823   while true; do
 8824     cat conftest.in conftest.in >conftest.tmp
 8825     mv conftest.tmp conftest.in
 8826     cp conftest.in conftest.nl
 8827     echo >>conftest.nl
 8828     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 8829     cmp -s conftest.out conftest.nl || break
 8830     # 10000 chars as input seems more than enough
 8831     test $lt_ac_count -gt 10 && break
 8832     lt_ac_count=`expr $lt_ac_count + 1`
 8833     if test $lt_ac_count -gt $lt_ac_max; then
 8834       lt_ac_max=$lt_ac_count
 8835       lt_cv_path_SED=$lt_ac_sed
 8836     fi
 8837   done
 8838 done
 8839 
 8840 fi
 8841 
 8842 SED=$lt_cv_path_SED
 8843 
 8844 echo "$as_me:$LINENO: result: $SED" >&5
 8845 echo "${ECHO_T}$SED" >&6
 8846 
 8847 
 8848 # Check whether --with-gnu-ld or --without-gnu-ld was given.
 8849 if test "${with_gnu_ld+set}" = set; then
 8850   withval="$with_gnu_ld"
 8851   test "$withval" = no || with_gnu_ld=yes
 8852 else
 8853   with_gnu_ld=no
 8854 fi; 
 8855 ac_prog=ld
 8856 if test "$GCC" = yes; then
 8857   # Check if gcc -print-prog-name=ld gives a path.
 8858   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 8859 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 8860   case $host in
 8861   *-*-mingw*)
 8862     # gcc leaves a trailing carriage return which upsets mingw
 8863     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 8864   *)
 8865     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 8866   esac
 8867   case $ac_prog in
 8868     # Accept absolute paths.
 8869     [\\/]* | ?:[\\/]*)
 8870       re_direlt='/[^/][^/]*/\.\./'
 8871       # Canonicalize the pathname of ld
 8872       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 8873       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 8874 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 8875       done
 8876       test -z "$LD" && LD="$ac_prog"
 8877       ;;
 8878   "")
 8879     # If it fails, then pretend we aren't using GCC.
 8880     ac_prog=ld
 8881     ;;
 8882   *)
 8883     # If it is relative, then search for the first ld in PATH.
 8884     with_gnu_ld=unknown
 8885     ;;
 8886   esac
 8887 elif test "$with_gnu_ld" = yes; then
 8888   echo "$as_me:$LINENO: checking for GNU ld" >&5
 8889 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 8890 else
 8891   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 8892 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 8893 fi
 8894 if test "${lt_cv_path_LD+set}" = set; then
 8895   echo $ECHO_N "(cached) $ECHO_C" >&6
 8896 else
 8897   if test -z "$LD"; then
 8898   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 8899   for ac_dir in $PATH; do
 8900     IFS="$lt_save_ifs"
 8901     test -z "$ac_dir" && ac_dir=.
 8902     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 8903       lt_cv_path_LD="$ac_dir/$ac_prog"
 8904       # Check to see if the program is GNU ld.  I'd rather use --version,
 8905       # but apparently some variants of GNU ld only accept -v.
 8906       # Break only if it was the GNU/non-GNU ld that we prefer.
 8907       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 8908       *GNU* | *'with BFD'*)
 8909 	test "$with_gnu_ld" != no && break
 8910 	;;
 8911       *)
 8912 	test "$with_gnu_ld" != yes && break
 8913 	;;
 8914       esac
 8915     fi
 8916   done
 8917   IFS="$lt_save_ifs"
 8918 else
 8919   lt_cv_path_LD="$LD" # Let the user override the test with a path.
 8920 fi
 8921 fi
 8922 
 8923 LD="$lt_cv_path_LD"
 8924 if test -n "$LD"; then
 8925   echo "$as_me:$LINENO: result: $LD" >&5
 8926 echo "${ECHO_T}$LD" >&6
 8927 else
 8928   echo "$as_me:$LINENO: result: no" >&5
 8929 echo "${ECHO_T}no" >&6
 8930 fi
 8931 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 8932 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 8933    { (exit 1); exit 1; }; }
 8934 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 8935 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 8936 if test "${lt_cv_prog_gnu_ld+set}" = set; then
 8937   echo $ECHO_N "(cached) $ECHO_C" >&6
 8938 else
 8939   # I'd rather use --version here, but apparently some GNU lds only accept -v.
 8940 case `$LD -v 2>&1 </dev/null` in
 8941 *GNU* | *'with BFD'*)
 8942   lt_cv_prog_gnu_ld=yes
 8943   ;;
 8944 *)
 8945   lt_cv_prog_gnu_ld=no
 8946   ;;
 8947 esac
 8948 fi
 8949 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 8950 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 8951 with_gnu_ld=$lt_cv_prog_gnu_ld
 8952 
 8953 
 8954 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 8955 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 8956 if test "${lt_cv_ld_reload_flag+set}" = set; then
 8957   echo $ECHO_N "(cached) $ECHO_C" >&6
 8958 else
 8959   lt_cv_ld_reload_flag='-r'
 8960 fi
 8961 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 8962 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 8963 reload_flag=$lt_cv_ld_reload_flag
 8964 case $reload_flag in
 8965 "" | " "*) ;;
 8966 *) reload_flag=" $reload_flag" ;;
 8967 esac
 8968 reload_cmds='$LD$reload_flag -o $output$reload_objs'
 8969 case $host_os in
 8970   darwin*)
 8971     if test "$GCC" = yes; then
 8972       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 8973     else
 8974       reload_cmds='$LD$reload_flag -o $output$reload_objs'
 8975     fi
 8976     ;;
 8977 esac
 8978 
 8979 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 8980 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 8981 if test "${lt_cv_path_NM+set}" = set; then
 8982   echo $ECHO_N "(cached) $ECHO_C" >&6
 8983 else
 8984   if test -n "$NM"; then
 8985   # Let the user override the test.
 8986   lt_cv_path_NM="$NM"
 8987 else
 8988   lt_nm_to_check="${ac_tool_prefix}nm"
 8989   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 
 8990     lt_nm_to_check="$lt_nm_to_check nm"
 8991   fi
 8992   for lt_tmp_nm in $lt_nm_to_check; do
 8993     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 8994     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 8995       IFS="$lt_save_ifs"
 8996       test -z "$ac_dir" && ac_dir=.
 8997       tmp_nm="$ac_dir/$lt_tmp_nm"
 8998       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 8999 	# Check to see if the nm accepts a BSD-compat flag.
 9000 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
 9001 	#   nm: unknown option "B" ignored
 9002 	# Tru64's nm complains that /dev/null is an invalid object file
 9003 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 9004 	*/dev/null* | *'Invalid file or object type'*)
 9005 	  lt_cv_path_NM="$tmp_nm -B"
 9006 	  break
 9007 	  ;;
 9008 	*)
 9009 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 9010 	  */dev/null*)
 9011 	    lt_cv_path_NM="$tmp_nm -p"
 9012 	    break
 9013 	    ;;
 9014 	  *)
 9015 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 9016 	    continue # so that we can try to find one that supports BSD flags
 9017 	    ;;
 9018 	  esac
 9019 	  ;;
 9020 	esac
 9021       fi
 9022     done
 9023     IFS="$lt_save_ifs"
 9024   done
 9025   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 9026 fi
 9027 fi
 9028 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 9029 echo "${ECHO_T}$lt_cv_path_NM" >&6
 9030 NM="$lt_cv_path_NM"
 9031 
 9032 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 9033 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 9034 if test "${lt_cv_deplibs_check_method+set}" = set; then
 9035   echo $ECHO_N "(cached) $ECHO_C" >&6
 9036 else
 9037   lt_cv_file_magic_cmd='$MAGIC_CMD'
 9038 lt_cv_file_magic_test_file=
 9039 lt_cv_deplibs_check_method='unknown'
 9040 # Need to set the preceding variable on all platforms that support
 9041 # interlibrary dependencies.
 9042 # 'none' -- dependencies not supported.
 9043 # `unknown' -- same as none, but documents that we really don't know.
 9044 # 'pass_all' -- all dependencies passed with no checks.
 9045 # 'test_compile' -- check by making test program.
 9046 # 'file_magic [[regex]]' -- check by looking for files in library path
 9047 # which responds to the $file_magic_cmd with a given extended regex.
 9048 # If you have `file' or equivalent on your system and you're not sure
 9049 # whether `pass_all' will *always* work, you probably want this one.
 9050 
 9051 case $host_os in
 9052 aix4* | aix5*)
 9053   lt_cv_deplibs_check_method=pass_all
 9054   ;;
 9055 
 9056 beos*)
 9057   lt_cv_deplibs_check_method=pass_all
 9058   ;;
 9059 
 9060 bsdi[45]*)
 9061   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 9062   lt_cv_file_magic_cmd='/usr/bin/file -L'
 9063   lt_cv_file_magic_test_file=/shlib/libc.so
 9064   ;;
 9065 
 9066 cygwin*)
 9067   # func_win32_libid is a shell function defined in ltmain.sh
 9068   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 9069   lt_cv_file_magic_cmd='func_win32_libid'
 9070   ;;
 9071 
 9072 mingw* | pw32*)
 9073   # Base MSYS/MinGW do not provide the 'file' command needed by
 9074   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
 9075   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 9076   lt_cv_file_magic_cmd='$OBJDUMP -f'
 9077   ;;
 9078 
 9079 darwin* | rhapsody*)
 9080   lt_cv_deplibs_check_method=pass_all
 9081   ;;
 9082 
 9083 freebsd* | kfreebsd*-gnu | dragonfly*)
 9084   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 9085     case $host_cpu in
 9086     i*86 )
 9087       # Not sure whether the presence of OpenBSD here was a mistake.
 9088       # Let's accept both of them until this is cleared up.
 9089       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 9090       lt_cv_file_magic_cmd=/usr/bin/file
 9091       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 9092       ;;
 9093     esac
 9094   else
 9095     lt_cv_deplibs_check_method=pass_all
 9096   fi
 9097   ;;
 9098 
 9099 gnu*)
 9100   lt_cv_deplibs_check_method=pass_all
 9101   ;;
 9102 
 9103 hpux10.20* | hpux11*)
 9104   lt_cv_file_magic_cmd=/usr/bin/file
 9105   case $host_cpu in
 9106   ia64*)
 9107     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 9108     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 9109     ;;
 9110   hppa*64*)
 9111     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]'
 9112     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 9113     ;;
 9114   *)
 9115     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 9116     lt_cv_file_magic_test_file=/usr/lib/libc.sl
 9117     ;;
 9118   esac
 9119   ;;
 9120 
 9121 interix3*)
 9122   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 9123   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 9124   ;;
 9125 
 9126 irix5* | irix6* | nonstopux*)
 9127   case $LD in
 9128   *-32|*"-32 ") libmagic=32-bit;;
 9129   *-n32|*"-n32 ") libmagic=N32;;
 9130   *-64|*"-64 ") libmagic=64-bit;;
 9131   *) libmagic=never-match;;
 9132   esac
 9133   lt_cv_deplibs_check_method=pass_all
 9134   ;;
 9135 
 9136 # This must be Linux ELF.
 9137 linux*)
 9138   lt_cv_deplibs_check_method=pass_all
 9139   ;;
 9140 
 9141 netbsd*)
 9142   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 9143     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 9144   else
 9145     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 9146   fi
 9147   ;;
 9148 
 9149 newos6*)
 9150   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 9151   lt_cv_file_magic_cmd=/usr/bin/file
 9152   lt_cv_file_magic_test_file=/usr/lib/libnls.so
 9153   ;;
 9154 
 9155 nto-qnx*)
 9156   lt_cv_deplibs_check_method=unknown
 9157   ;;
 9158 
 9159 openbsd*)
 9160   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 9161     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 9162   else
 9163     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 9164   fi
 9165   ;;
 9166 
 9167 osf3* | osf4* | osf5*)
 9168   lt_cv_deplibs_check_method=pass_all
 9169   ;;
 9170 
 9171 solaris*)
 9172   lt_cv_deplibs_check_method=pass_all
 9173   ;;
 9174 
 9175 sysv4 | sysv4.3*)
 9176   case $host_vendor in
 9177   motorola)
 9178     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]'
 9179     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 9180     ;;
 9181   ncr)
 9182     lt_cv_deplibs_check_method=pass_all
 9183     ;;
 9184   sequent)
 9185     lt_cv_file_magic_cmd='/bin/file'
 9186     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 9187     ;;
 9188   sni)
 9189     lt_cv_file_magic_cmd='/bin/file'
 9190     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 9191     lt_cv_file_magic_test_file=/lib/libc.so
 9192     ;;
 9193   siemens)
 9194     lt_cv_deplibs_check_method=pass_all
 9195     ;;
 9196   pc)
 9197     lt_cv_deplibs_check_method=pass_all
 9198     ;;
 9199   esac
 9200   ;;
 9201 
 9202 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 9203   lt_cv_deplibs_check_method=pass_all
 9204   ;;
 9205 esac
 9206 
 9207 fi
 9208 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 9209 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 9210 file_magic_cmd=$lt_cv_file_magic_cmd
 9211 deplibs_check_method=$lt_cv_deplibs_check_method
 9212 test -z "$deplibs_check_method" && deplibs_check_method=unknown
 9213 
 9214 
 9215 
 9216 
 9217 # If no C compiler was specified, use CC.
 9218 LTCC=${LTCC-"$CC"}
 9219 
 9220 # If no C compiler flags were specified, use CFLAGS.
 9221 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 9222 
 9223 # Allow CC to be a program name with arguments.
 9224 compiler=$CC
 9225 
 9226 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 9227 if test "${enable_libtool_lock+set}" = set; then
 9228   enableval="$enable_libtool_lock"
 9229   
 9230 fi; 
 9231 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 9232 
 9233 # Some flags need to be propagated to the compiler or linker for good
 9234 # libtool support.
 9235 case $host in
 9236 ia64-*-hpux*)
 9237   # Find out which ABI we are using.
 9238   echo 'int i;' > conftest.$ac_ext
 9239   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9240   (eval $ac_compile) 2>&5
 9241   ac_status=$?
 9242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9243   (exit $ac_status); }; then
 9244     case `/usr/bin/file conftest.$ac_objext` in
 9245     *ELF-32*)
 9246       HPUX_IA64_MODE="32"
 9247       ;;
 9248     *ELF-64*)
 9249       HPUX_IA64_MODE="64"
 9250       ;;
 9251     esac
 9252   fi
 9253   rm -rf conftest*
 9254   ;;
 9255 *-*-irix6*)
 9256   # Find out which ABI we are using.
 9257   echo '#line __oline__ "configure"' > conftest.$ac_ext
 9258   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9259   (eval $ac_compile) 2>&5
 9260   ac_status=$?
 9261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9262   (exit $ac_status); }; then
 9263    if test "$lt_cv_prog_gnu_ld" = yes; then
 9264     case `/usr/bin/file conftest.$ac_objext` in
 9265     *32-bit*)
 9266       LD="${LD-ld} -melf32bsmip"
 9267       ;;
 9268     *N32*)
 9269       LD="${LD-ld} -melf32bmipn32"
 9270       ;;
 9271     *64-bit*)
 9272       LD="${LD-ld} -melf64bmip"
 9273       ;;
 9274     esac
 9275    else
 9276     case `/usr/bin/file conftest.$ac_objext` in
 9277     *32-bit*)
 9278       LD="${LD-ld} -32"
 9279       ;;
 9280     *N32*)
 9281       LD="${LD-ld} -n32"
 9282       ;;
 9283     *64-bit*)
 9284       LD="${LD-ld} -64"
 9285       ;;
 9286     esac
 9287    fi
 9288   fi
 9289   rm -rf conftest*
 9290   ;;
 9291 
 9292 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 9293   # Find out which ABI we are using.
 9294   echo 'int i;' > conftest.$ac_ext
 9295   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9296   (eval $ac_compile) 2>&5
 9297   ac_status=$?
 9298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9299   (exit $ac_status); }; then
 9300     case `/usr/bin/file conftest.o` in
 9301     *32-bit*)
 9302       case $host in
 9303         x86_64-*linux*)
 9304           LD="${LD-ld} -m elf_i386"
 9305           ;;
 9306         ppc64-*linux*|powerpc64-*linux*)
 9307           LD="${LD-ld} -m elf32ppclinux"
 9308           ;;
 9309         s390x-*linux*)
 9310           LD="${LD-ld} -m elf_s390"
 9311           ;;
 9312         sparc64-*linux*)
 9313           LD="${LD-ld} -m elf32_sparc"
 9314           ;;
 9315       esac
 9316       ;;
 9317     *64-bit*)
 9318       case $host in
 9319         x86_64-*linux*)
 9320           LD="${LD-ld} -m elf_x86_64"
 9321           ;;
 9322         ppc*-*linux*|powerpc*-*linux*)
 9323           LD="${LD-ld} -m elf64ppc"
 9324           ;;
 9325         s390*-*linux*)
 9326           LD="${LD-ld} -m elf64_s390"
 9327           ;;
 9328         sparc*-*linux*)
 9329           LD="${LD-ld} -m elf64_sparc"
 9330           ;;
 9331       esac
 9332       ;;
 9333     esac
 9334   fi
 9335   rm -rf conftest*
 9336   ;;
 9337 
 9338 *-*-sco3.2v5*)
 9339   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 9340   SAVE_CFLAGS="$CFLAGS"
 9341   CFLAGS="$CFLAGS -belf"
 9342   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 9343 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 9344 if test "${lt_cv_cc_needs_belf+set}" = set; then
 9345   echo $ECHO_N "(cached) $ECHO_C" >&6
 9346 else
 9347   ac_ext=c
 9348 ac_cpp='$CPP $CPPFLAGS'
 9349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 9350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 9351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 9352 
 9353      cat >conftest.$ac_ext <<_ACEOF
 9354 /* confdefs.h.  */
 9355 _ACEOF
 9356 cat confdefs.h >>conftest.$ac_ext
 9357 cat >>conftest.$ac_ext <<_ACEOF
 9358 /* end confdefs.h.  */
 9359 
 9360 int
 9361 main ()
 9362 {
 9363 
 9364   ;
 9365   return 0;
 9366 }
 9367 _ACEOF
 9368 rm -f conftest.$ac_objext conftest$ac_exeext
 9369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 9370   (eval $ac_link) 2>conftest.er1
 9371   ac_status=$?
 9372   grep -v '^ *+' conftest.er1 >conftest.err
 9373   rm -f conftest.er1
 9374   cat conftest.err >&5
 9375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9376   (exit $ac_status); } &&
 9377 	 { ac_try='test -z "$ac_c_werror_flag"
 9378 			 || test ! -s conftest.err'
 9379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9380   (eval $ac_try) 2>&5
 9381   ac_status=$?
 9382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9383   (exit $ac_status); }; } &&
 9384 	 { ac_try='test -s conftest$ac_exeext'
 9385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9386   (eval $ac_try) 2>&5
 9387   ac_status=$?
 9388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9389   (exit $ac_status); }; }; then
 9390   lt_cv_cc_needs_belf=yes
 9391 else
 9392   echo "$as_me: failed program was:" >&5
 9393 sed 's/^/| /' conftest.$ac_ext >&5
 9394 
 9395 lt_cv_cc_needs_belf=no
 9396 fi
 9397 rm -f conftest.err conftest.$ac_objext \
 9398       conftest$ac_exeext conftest.$ac_ext
 9399      ac_ext=c
 9400 ac_cpp='$CPP $CPPFLAGS'
 9401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 9402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 9403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 9404 
 9405 fi
 9406 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 9407 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 9408   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 9409     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 9410     CFLAGS="$SAVE_CFLAGS"
 9411   fi
 9412   ;;
 9413 sparc*-*solaris*)
 9414   # Find out which ABI we are using.
 9415   echo 'int i;' > conftest.$ac_ext
 9416   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9417   (eval $ac_compile) 2>&5
 9418   ac_status=$?
 9419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9420   (exit $ac_status); }; then
 9421     case `/usr/bin/file conftest.o` in
 9422     *64-bit*)
 9423       case $lt_cv_prog_gnu_ld in
 9424       yes*) LD="${LD-ld} -m elf64_sparc" ;;
 9425       *)    LD="${LD-ld} -64" ;;
 9426       esac
 9427       ;;
 9428     esac
 9429   fi
 9430   rm -rf conftest*
 9431   ;;
 9432 
 9433 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
 9434   if test -n "$ac_tool_prefix"; then
 9435   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 9436 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 9437 echo "$as_me:$LINENO: checking for $ac_word" >&5
 9438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 9439 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
 9440   echo $ECHO_N "(cached) $ECHO_C" >&6
 9441 else
 9442   if test -n "$DLLTOOL"; then
 9443   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 9444 else
 9445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9446 for as_dir in $PATH
 9447 do
 9448   IFS=$as_save_IFS
 9449   test -z "$as_dir" && as_dir=.
 9450   for ac_exec_ext in '' $ac_executable_extensions; do
 9451   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9452     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 9453     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 9454     break 2
 9455   fi
 9456 done
 9457 done
 9458 
 9459 fi
 9460 fi
 9461 DLLTOOL=$ac_cv_prog_DLLTOOL
 9462 if test -n "$DLLTOOL"; then
 9463   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 9464 echo "${ECHO_T}$DLLTOOL" >&6
 9465 else
 9466   echo "$as_me:$LINENO: result: no" >&5
 9467 echo "${ECHO_T}no" >&6
 9468 fi
 9469 
 9470 fi
 9471 if test -z "$ac_cv_prog_DLLTOOL"; then
 9472   ac_ct_DLLTOOL=$DLLTOOL
 9473   # Extract the first word of "dlltool", so it can be a program name with args.
 9474 set dummy dlltool; ac_word=$2
 9475 echo "$as_me:$LINENO: checking for $ac_word" >&5
 9476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 9477 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
 9478   echo $ECHO_N "(cached) $ECHO_C" >&6
 9479 else
 9480   if test -n "$ac_ct_DLLTOOL"; then
 9481   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 9482 else
 9483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9484 for as_dir in $PATH
 9485 do
 9486   IFS=$as_save_IFS
 9487   test -z "$as_dir" && as_dir=.
 9488   for ac_exec_ext in '' $ac_executable_extensions; do
 9489   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9490     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 9491     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 9492     break 2
 9493   fi
 9494 done
 9495 done
 9496 
 9497   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
 9498 fi
 9499 fi
 9500 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 9501 if test -n "$ac_ct_DLLTOOL"; then
 9502   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 9503 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
 9504 else
 9505   echo "$as_me:$LINENO: result: no" >&5
 9506 echo "${ECHO_T}no" >&6
 9507 fi
 9508 
 9509   DLLTOOL=$ac_ct_DLLTOOL
 9510 else
 9511   DLLTOOL="$ac_cv_prog_DLLTOOL"
 9512 fi
 9513 
 9514   if test -n "$ac_tool_prefix"; then
 9515   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 9516 set dummy ${ac_tool_prefix}as; ac_word=$2
 9517 echo "$as_me:$LINENO: checking for $ac_word" >&5
 9518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 9519 if test "${ac_cv_prog_AS+set}" = set; then
 9520   echo $ECHO_N "(cached) $ECHO_C" >&6
 9521 else
 9522   if test -n "$AS"; then
 9523   ac_cv_prog_AS="$AS" # Let the user override the test.
 9524 else
 9525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9526 for as_dir in $PATH
 9527 do
 9528   IFS=$as_save_IFS
 9529   test -z "$as_dir" && as_dir=.
 9530   for ac_exec_ext in '' $ac_executable_extensions; do
 9531   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9532     ac_cv_prog_AS="${ac_tool_prefix}as"
 9533     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 9534     break 2
 9535   fi
 9536 done
 9537 done
 9538 
 9539 fi
 9540 fi
 9541 AS=$ac_cv_prog_AS
 9542 if test -n "$AS"; then
 9543   echo "$as_me:$LINENO: result: $AS" >&5
 9544 echo "${ECHO_T}$AS" >&6
 9545 else
 9546   echo "$as_me:$LINENO: result: no" >&5
 9547 echo "${ECHO_T}no" >&6
 9548 fi
 9549 
 9550 fi
 9551 if test -z "$ac_cv_prog_AS"; then
 9552   ac_ct_AS=$AS
 9553   # Extract the first word of "as", so it can be a program name with args.
 9554 set dummy as; ac_word=$2
 9555 echo "$as_me:$LINENO: checking for $ac_word" >&5
 9556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 9557 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
 9558   echo $ECHO_N "(cached) $ECHO_C" >&6
 9559 else
 9560   if test -n "$ac_ct_AS"; then
 9561   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 9562 else
 9563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9564 for as_dir in $PATH
 9565 do
 9566   IFS=$as_save_IFS
 9567   test -z "$as_dir" && as_dir=.
 9568   for ac_exec_ext in '' $ac_executable_extensions; do
 9569   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9570     ac_cv_prog_ac_ct_AS="as"
 9571     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 9572     break 2
 9573   fi
 9574 done
 9575 done
 9576 
 9577   test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
 9578 fi
 9579 fi
 9580 ac_ct_AS=$ac_cv_prog_ac_ct_AS
 9581 if test -n "$ac_ct_AS"; then
 9582   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
 9583 echo "${ECHO_T}$ac_ct_AS" >&6
 9584 else
 9585   echo "$as_me:$LINENO: result: no" >&5
 9586 echo "${ECHO_T}no" >&6
 9587 fi
 9588 
 9589   AS=$ac_ct_AS
 9590 else
 9591   AS="$ac_cv_prog_AS"
 9592 fi
 9593 
 9594   if test -n "$ac_tool_prefix"; then
 9595   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 9596 set dummy ${ac_tool_prefix}objdump; ac_word=$2
 9597 echo "$as_me:$LINENO: checking for $ac_word" >&5
 9598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 9599 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 9600   echo $ECHO_N "(cached) $ECHO_C" >&6
 9601 else
 9602   if test -n "$OBJDUMP"; then
 9603   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 9604 else
 9605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9606 for as_dir in $PATH
 9607 do
 9608   IFS=$as_save_IFS
 9609   test -z "$as_dir" && as_dir=.
 9610   for ac_exec_ext in '' $ac_executable_extensions; do
 9611   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9612     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 9613     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 9614     break 2
 9615   fi
 9616 done
 9617 done
 9618 
 9619 fi
 9620 fi
 9621 OBJDUMP=$ac_cv_prog_OBJDUMP
 9622 if test -n "$OBJDUMP"; then
 9623   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 9624 echo "${ECHO_T}$OBJDUMP" >&6
 9625 else
 9626   echo "$as_me:$LINENO: result: no" >&5
 9627 echo "${ECHO_T}no" >&6
 9628 fi
 9629 
 9630 fi
 9631 if test -z "$ac_cv_prog_OBJDUMP"; then
 9632   ac_ct_OBJDUMP=$OBJDUMP
 9633   # Extract the first word of "objdump", so it can be a program name with args.
 9634 set dummy objdump; ac_word=$2
 9635 echo "$as_me:$LINENO: checking for $ac_word" >&5
 9636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 9637 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 9638   echo $ECHO_N "(cached) $ECHO_C" >&6
 9639 else
 9640   if test -n "$ac_ct_OBJDUMP"; then
 9641   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 9642 else
 9643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9644 for as_dir in $PATH
 9645 do
 9646   IFS=$as_save_IFS
 9647   test -z "$as_dir" && as_dir=.
 9648   for ac_exec_ext in '' $ac_executable_extensions; do
 9649   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9650     ac_cv_prog_ac_ct_OBJDUMP="objdump"
 9651     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 9652     break 2
 9653   fi
 9654 done
 9655 done
 9656 
 9657   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
 9658 fi
 9659 fi
 9660 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 9661 if test -n "$ac_ct_OBJDUMP"; then
 9662   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 9663 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
 9664 else
 9665   echo "$as_me:$LINENO: result: no" >&5
 9666 echo "${ECHO_T}no" >&6
 9667 fi
 9668 
 9669   OBJDUMP=$ac_ct_OBJDUMP
 9670 else
 9671   OBJDUMP="$ac_cv_prog_OBJDUMP"
 9672 fi
 9673 
 9674   ;;
 9675   
 9676 esac
 9677 
 9678 need_locks="$enable_libtool_lock"
 9679 
 9680 
 9681 
 9682 for ac_header in dlfcn.h
 9683 do
 9684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 9685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 9686   echo "$as_me:$LINENO: checking for $ac_header" >&5
 9687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 9688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 9689   echo $ECHO_N "(cached) $ECHO_C" >&6
 9690 fi
 9691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 9692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 9693 else
 9694   # Is the header compilable?
 9695 echo "$as_me:$LINENO: checking $ac_header usability" >&5
 9696 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 9697 cat >conftest.$ac_ext <<_ACEOF
 9698 /* confdefs.h.  */
 9699 _ACEOF
 9700 cat confdefs.h >>conftest.$ac_ext
 9701 cat >>conftest.$ac_ext <<_ACEOF
 9702 /* end confdefs.h.  */
 9703 $ac_includes_default
 9704 @%:@include <$ac_header>
 9705 _ACEOF
 9706 rm -f conftest.$ac_objext
 9707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9708   (eval $ac_compile) 2>conftest.er1
 9709   ac_status=$?
 9710   grep -v '^ *+' conftest.er1 >conftest.err
 9711   rm -f conftest.er1
 9712   cat conftest.err >&5
 9713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9714   (exit $ac_status); } &&
 9715 	 { ac_try='test -z "$ac_c_werror_flag"
 9716 			 || test ! -s conftest.err'
 9717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9718   (eval $ac_try) 2>&5
 9719   ac_status=$?
 9720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9721   (exit $ac_status); }; } &&
 9722 	 { ac_try='test -s conftest.$ac_objext'
 9723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9724   (eval $ac_try) 2>&5
 9725   ac_status=$?
 9726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9727   (exit $ac_status); }; }; then
 9728   ac_header_compiler=yes
 9729 else
 9730   echo "$as_me: failed program was:" >&5
 9731 sed 's/^/| /' conftest.$ac_ext >&5
 9732 
 9733 ac_header_compiler=no
 9734 fi
 9735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 9736 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 9737 echo "${ECHO_T}$ac_header_compiler" >&6
 9738 
 9739 # Is the header present?
 9740 echo "$as_me:$LINENO: checking $ac_header presence" >&5
 9741 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 9742 cat >conftest.$ac_ext <<_ACEOF
 9743 /* confdefs.h.  */
 9744 _ACEOF
 9745 cat confdefs.h >>conftest.$ac_ext
 9746 cat >>conftest.$ac_ext <<_ACEOF
 9747 /* end confdefs.h.  */
 9748 @%:@include <$ac_header>
 9749 _ACEOF
 9750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 9751   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 9752   ac_status=$?
 9753   grep -v '^ *+' conftest.er1 >conftest.err
 9754   rm -f conftest.er1
 9755   cat conftest.err >&5
 9756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9757   (exit $ac_status); } >/dev/null; then
 9758   if test -s conftest.err; then
 9759     ac_cpp_err=$ac_c_preproc_warn_flag
 9760     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 9761   else
 9762     ac_cpp_err=
 9763   fi
 9764 else
 9765   ac_cpp_err=yes
 9766 fi
 9767 if test -z "$ac_cpp_err"; then
 9768   ac_header_preproc=yes
 9769 else
 9770   echo "$as_me: failed program was:" >&5
 9771 sed 's/^/| /' conftest.$ac_ext >&5
 9772 
 9773   ac_header_preproc=no
 9774 fi
 9775 rm -f conftest.err conftest.$ac_ext
 9776 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 9777 echo "${ECHO_T}$ac_header_preproc" >&6
 9778 
 9779 # So?  What about this header?
 9780 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 9781   yes:no: )
 9782     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 9783 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 9784     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 9785 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 9786     ac_header_preproc=yes
 9787     ;;
 9788   no:yes:* )
 9789     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 9790 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 9791     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 9792 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 9793     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 9794 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 9795     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 9796 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 9797     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 9798 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 9799     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 9800 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 9801     (
 9802       cat <<\_ASBOX
 9803 @%:@@%:@ ------------------------------------------ @%:@@%:@
 9804 @%:@@%:@ Report this to the AC_PACKAGE_NAME lists.  @%:@@%:@
 9805 @%:@@%:@ ------------------------------------------ @%:@@%:@
 9806 _ASBOX
 9807     ) |
 9808       sed "s/^/$as_me: WARNING:     /" >&2
 9809     ;;
 9810 esac
 9811 echo "$as_me:$LINENO: checking for $ac_header" >&5
 9812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 9813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 9814   echo $ECHO_N "(cached) $ECHO_C" >&6
 9815 else
 9816   eval "$as_ac_Header=\$ac_header_preproc"
 9817 fi
 9818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 9819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 9820 
 9821 fi
 9822 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 9823   cat >>confdefs.h <<_ACEOF
 9824 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 9825 _ACEOF
 9826  
 9827 fi
 9828 
 9829 done
 9830 
 9831 
 9832 
 9833 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 9834     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 9835     (test "X$CXX" != "Xg++"))) ; then
 9836   ac_ext=cc
 9837 ac_cpp='$CXXCPP $CPPFLAGS'
 9838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 9839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 9840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 9841 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 9842 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 9843 if test -z "$CXXCPP"; then
 9844   if test "${ac_cv_prog_CXXCPP+set}" = set; then
 9845   echo $ECHO_N "(cached) $ECHO_C" >&6
 9846 else
 9847       # Double quotes because CXXCPP needs to be expanded
 9848     for CXXCPP in "$CXX -E" "/lib/cpp"
 9849     do
 9850       ac_preproc_ok=false
 9851 for ac_cxx_preproc_warn_flag in '' yes
 9852 do
 9853   # Use a header file that comes with gcc, so configuring glibc
 9854   # with a fresh cross-compiler works.
 9855   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 9856   # <limits.h> exists even on freestanding compilers.
 9857   # On the NeXT, cc -E runs the code through the compiler's parser,
 9858   # not just through cpp. "Syntax error" is here to catch this case.
 9859   cat >conftest.$ac_ext <<_ACEOF
 9860 /* confdefs.h.  */
 9861 _ACEOF
 9862 cat confdefs.h >>conftest.$ac_ext
 9863 cat >>conftest.$ac_ext <<_ACEOF
 9864 /* end confdefs.h.  */
 9865 @%:@ifdef __STDC__
 9866 @%:@ include <limits.h>
 9867 @%:@else
 9868 @%:@ include <assert.h>
 9869 @%:@endif
 9870 		     Syntax error
 9871 _ACEOF
 9872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 9873   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 9874   ac_status=$?
 9875   grep -v '^ *+' conftest.er1 >conftest.err
 9876   rm -f conftest.er1
 9877   cat conftest.err >&5
 9878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9879   (exit $ac_status); } >/dev/null; then
 9880   if test -s conftest.err; then
 9881     ac_cpp_err=$ac_cxx_preproc_warn_flag
 9882     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 9883   else
 9884     ac_cpp_err=
 9885   fi
 9886 else
 9887   ac_cpp_err=yes
 9888 fi
 9889 if test -z "$ac_cpp_err"; then
 9890   :
 9891 else
 9892   echo "$as_me: failed program was:" >&5
 9893 sed 's/^/| /' conftest.$ac_ext >&5
 9894 
 9895   # Broken: fails on valid input.
 9896 continue
 9897 fi
 9898 rm -f conftest.err conftest.$ac_ext
 9899 
 9900   # OK, works on sane cases.  Now check whether non-existent headers
 9901   # can be detected and how.
 9902   cat >conftest.$ac_ext <<_ACEOF
 9903 /* confdefs.h.  */
 9904 _ACEOF
 9905 cat confdefs.h >>conftest.$ac_ext
 9906 cat >>conftest.$ac_ext <<_ACEOF
 9907 /* end confdefs.h.  */
 9908 @%:@include <ac_nonexistent.h>
 9909 _ACEOF
 9910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 9911   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 9912   ac_status=$?
 9913   grep -v '^ *+' conftest.er1 >conftest.err
 9914   rm -f conftest.er1
 9915   cat conftest.err >&5
 9916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9917   (exit $ac_status); } >/dev/null; then
 9918   if test -s conftest.err; then
 9919     ac_cpp_err=$ac_cxx_preproc_warn_flag
 9920     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 9921   else
 9922     ac_cpp_err=
 9923   fi
 9924 else
 9925   ac_cpp_err=yes
 9926 fi
 9927 if test -z "$ac_cpp_err"; then
 9928   # Broken: success on invalid input.
 9929 continue
 9930 else
 9931   echo "$as_me: failed program was:" >&5
 9932 sed 's/^/| /' conftest.$ac_ext >&5
 9933 
 9934   # Passes both tests.
 9935 ac_preproc_ok=:
 9936 break
 9937 fi
 9938 rm -f conftest.err conftest.$ac_ext
 9939 
 9940 done
 9941 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 9942 rm -f conftest.err conftest.$ac_ext
 9943 if $ac_preproc_ok; then
 9944   break
 9945 fi
 9946 
 9947     done
 9948     ac_cv_prog_CXXCPP=$CXXCPP
 9949   
 9950 fi
 9951   CXXCPP=$ac_cv_prog_CXXCPP
 9952 else
 9953   ac_cv_prog_CXXCPP=$CXXCPP
 9954 fi
 9955 echo "$as_me:$LINENO: result: $CXXCPP" >&5
 9956 echo "${ECHO_T}$CXXCPP" >&6
 9957 ac_preproc_ok=false
 9958 for ac_cxx_preproc_warn_flag in '' yes
 9959 do
 9960   # Use a header file that comes with gcc, so configuring glibc
 9961   # with a fresh cross-compiler works.
 9962   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 9963   # <limits.h> exists even on freestanding compilers.
 9964   # On the NeXT, cc -E runs the code through the compiler's parser,
 9965   # not just through cpp. "Syntax error" is here to catch this case.
 9966   cat >conftest.$ac_ext <<_ACEOF
 9967 /* confdefs.h.  */
 9968 _ACEOF
 9969 cat confdefs.h >>conftest.$ac_ext
 9970 cat >>conftest.$ac_ext <<_ACEOF
 9971 /* end confdefs.h.  */
 9972 @%:@ifdef __STDC__
 9973 @%:@ include <limits.h>
 9974 @%:@else
 9975 @%:@ include <assert.h>
 9976 @%:@endif
 9977 		     Syntax error
 9978 _ACEOF
 9979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 9980   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 9981   ac_status=$?
 9982   grep -v '^ *+' conftest.er1 >conftest.err
 9983   rm -f conftest.er1
 9984   cat conftest.err >&5
 9985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9986   (exit $ac_status); } >/dev/null; then
 9987   if test -s conftest.err; then
 9988     ac_cpp_err=$ac_cxx_preproc_warn_flag
 9989     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 9990   else
 9991     ac_cpp_err=
 9992   fi
 9993 else
 9994   ac_cpp_err=yes
 9995 fi
 9996 if test -z "$ac_cpp_err"; then
 9997   :
 9998 else
 9999   echo "$as_me: failed program was:" >&5
10000 sed 's/^/| /' conftest.$ac_ext >&5
10001 
10002   # Broken: fails on valid input.
10003 continue
10004 fi
10005 rm -f conftest.err conftest.$ac_ext
10006 
10007   # OK, works on sane cases.  Now check whether non-existent headers
10008   # can be detected and how.
10009   cat >conftest.$ac_ext <<_ACEOF
10010 /* confdefs.h.  */
10011 _ACEOF
10012 cat confdefs.h >>conftest.$ac_ext
10013 cat >>conftest.$ac_ext <<_ACEOF
10014 /* end confdefs.h.  */
10015 @%:@include <ac_nonexistent.h>
10016 _ACEOF
10017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10018   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10019   ac_status=$?
10020   grep -v '^ *+' conftest.er1 >conftest.err
10021   rm -f conftest.er1
10022   cat conftest.err >&5
10023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024   (exit $ac_status); } >/dev/null; then
10025   if test -s conftest.err; then
10026     ac_cpp_err=$ac_cxx_preproc_warn_flag
10027     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10028   else
10029     ac_cpp_err=
10030   fi
10031 else
10032   ac_cpp_err=yes
10033 fi
10034 if test -z "$ac_cpp_err"; then
10035   # Broken: success on invalid input.
10036 continue
10037 else
10038   echo "$as_me: failed program was:" >&5
10039 sed 's/^/| /' conftest.$ac_ext >&5
10040 
10041   # Passes both tests.
10042 ac_preproc_ok=:
10043 break
10044 fi
10045 rm -f conftest.err conftest.$ac_ext
10046 
10047 done
10048 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10049 rm -f conftest.err conftest.$ac_ext
10050 if $ac_preproc_ok; then
10051   :
10052 else
10053   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10054 See \`config.log' for more details." >&5
10055 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10056 See \`config.log' for more details." >&2;}
10057    { (exit 1); exit 1; }; }
10058 fi
10059 
10060 ac_ext=cc
10061 ac_cpp='$CXXCPP $CPPFLAGS'
10062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10065 
10066 fi
10067 
10068 
10069 ac_ext=f
10070 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
10071 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10072 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
10073 if test -n "$ac_tool_prefix"; then
10074   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
10075   do
10076     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10077 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10078 echo "$as_me:$LINENO: checking for $ac_word" >&5
10079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10080 if test "${ac_cv_prog_F77+set}" = set; then
10081   echo $ECHO_N "(cached) $ECHO_C" >&6
10082 else
10083   if test -n "$F77"; then
10084   ac_cv_prog_F77="$F77" # Let the user override the test.
10085 else
10086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10087 for as_dir in $PATH
10088 do
10089   IFS=$as_save_IFS
10090   test -z "$as_dir" && as_dir=.
10091   for ac_exec_ext in '' $ac_executable_extensions; do
10092   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10093     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
10094     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10095     break 2
10096   fi
10097 done
10098 done
10099 
10100 fi
10101 fi
10102 F77=$ac_cv_prog_F77
10103 if test -n "$F77"; then
10104   echo "$as_me:$LINENO: result: $F77" >&5
10105 echo "${ECHO_T}$F77" >&6
10106 else
10107   echo "$as_me:$LINENO: result: no" >&5
10108 echo "${ECHO_T}no" >&6
10109 fi
10110 
10111     test -n "$F77" && break
10112   done
10113 fi
10114 if test -z "$F77"; then
10115   ac_ct_F77=$F77
10116   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
10117 do
10118   # Extract the first word of "$ac_prog", so it can be a program name with args.
10119 set dummy $ac_prog; ac_word=$2
10120 echo "$as_me:$LINENO: checking for $ac_word" >&5
10121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10122 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
10123   echo $ECHO_N "(cached) $ECHO_C" >&6
10124 else
10125   if test -n "$ac_ct_F77"; then
10126   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
10127 else
10128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10129 for as_dir in $PATH
10130 do
10131   IFS=$as_save_IFS
10132   test -z "$as_dir" && as_dir=.
10133   for ac_exec_ext in '' $ac_executable_extensions; do
10134   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10135     ac_cv_prog_ac_ct_F77="$ac_prog"
10136     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10137     break 2
10138   fi
10139 done
10140 done
10141 
10142 fi
10143 fi
10144 ac_ct_F77=$ac_cv_prog_ac_ct_F77
10145 if test -n "$ac_ct_F77"; then
10146   echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
10147 echo "${ECHO_T}$ac_ct_F77" >&6
10148 else
10149   echo "$as_me:$LINENO: result: no" >&5
10150 echo "${ECHO_T}no" >&6
10151 fi
10152 
10153   test -n "$ac_ct_F77" && break
10154 done
10155 
10156   F77=$ac_ct_F77
10157 fi
10158 
10159 
10160 # Provide some information about the compiler.
10161 echo "$as_me:__oline__:" \
10162      "checking for Fortran 77 compiler version" >&5
10163 ac_compiler=`set X $ac_compile; echo $2`
10164 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10165   (eval $ac_compiler --version </dev/null >&5) 2>&5
10166   ac_status=$?
10167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10168   (exit $ac_status); }
10169 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10170   (eval $ac_compiler -v </dev/null >&5) 2>&5
10171   ac_status=$?
10172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10173   (exit $ac_status); }
10174 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10175   (eval $ac_compiler -V </dev/null >&5) 2>&5
10176   ac_status=$?
10177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178   (exit $ac_status); }
10179 rm -f a.out
10180 
10181 # If we don't use `.F' as extension, the preprocessor is not run on the
10182 # input file.  (Note that this only needs to work for GNU compilers.)
10183 ac_save_ext=$ac_ext
10184 ac_ext=F
10185 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
10186 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
10187 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
10188   echo $ECHO_N "(cached) $ECHO_C" >&6
10189 else
10190   cat >conftest.$ac_ext <<_ACEOF
10191       program main
10192 #ifndef __GNUC__
10193        choke me
10194 #endif
10195 
10196       end
10197 _ACEOF
10198 rm -f conftest.$ac_objext
10199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10200   (eval $ac_compile) 2>conftest.er1
10201   ac_status=$?
10202   grep -v '^ *+' conftest.er1 >conftest.err
10203   rm -f conftest.er1
10204   cat conftest.err >&5
10205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206   (exit $ac_status); } &&
10207 	 { ac_try='test -z "$ac_f77_werror_flag"
10208 			 || test ! -s conftest.err'
10209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10210   (eval $ac_try) 2>&5
10211   ac_status=$?
10212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213   (exit $ac_status); }; } &&
10214 	 { ac_try='test -s conftest.$ac_objext'
10215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10216   (eval $ac_try) 2>&5
10217   ac_status=$?
10218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10219   (exit $ac_status); }; }; then
10220   ac_compiler_gnu=yes
10221 else
10222   echo "$as_me: failed program was:" >&5
10223 sed 's/^/| /' conftest.$ac_ext >&5
10224 
10225 ac_compiler_gnu=no
10226 fi
10227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10228 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
10229 
10230 fi
10231 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
10232 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
10233 ac_ext=$ac_save_ext
10234 ac_test_FFLAGS=${FFLAGS+set}
10235 ac_save_FFLAGS=$FFLAGS
10236 FFLAGS=
10237 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
10238 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
10239 if test "${ac_cv_prog_f77_g+set}" = set; then
10240   echo $ECHO_N "(cached) $ECHO_C" >&6
10241 else
10242   FFLAGS=-g
10243 cat >conftest.$ac_ext <<_ACEOF
10244       program main
10245 
10246       end
10247 _ACEOF
10248 rm -f conftest.$ac_objext
10249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10250   (eval $ac_compile) 2>conftest.er1
10251   ac_status=$?
10252   grep -v '^ *+' conftest.er1 >conftest.err
10253   rm -f conftest.er1
10254   cat conftest.err >&5
10255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256   (exit $ac_status); } &&
10257 	 { ac_try='test -z "$ac_f77_werror_flag"
10258 			 || test ! -s conftest.err'
10259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10260   (eval $ac_try) 2>&5
10261   ac_status=$?
10262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263   (exit $ac_status); }; } &&
10264 	 { ac_try='test -s conftest.$ac_objext'
10265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10266   (eval $ac_try) 2>&5
10267   ac_status=$?
10268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269   (exit $ac_status); }; }; then
10270   ac_cv_prog_f77_g=yes
10271 else
10272   echo "$as_me: failed program was:" >&5
10273 sed 's/^/| /' conftest.$ac_ext >&5
10274 
10275 ac_cv_prog_f77_g=no
10276 fi
10277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10278 
10279 fi
10280 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
10281 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
10282 if test "$ac_test_FFLAGS" = set; then
10283   FFLAGS=$ac_save_FFLAGS
10284 elif test $ac_cv_prog_f77_g = yes; then
10285   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
10286     FFLAGS="-g -O2"
10287   else
10288     FFLAGS="-g"
10289   fi
10290 else
10291   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
10292     FFLAGS="-O2"
10293   else
10294     FFLAGS=
10295   fi
10296 fi
10297 
10298 G77=`test $ac_compiler_gnu = yes && echo yes`
10299 ac_ext=c
10300 ac_cpp='$CPP $CPPFLAGS'
10301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10304 
10305 
10306 
10307 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
10308 
10309 # find the maximum length of command line arguments
10310 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
10311 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
10312 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
10313   echo $ECHO_N "(cached) $ECHO_C" >&6
10314 else
10315     i=0
10316   teststring="ABCD"
10317 
10318   case $build_os in
10319   msdosdjgpp*)
10320     # On DJGPP, this test can blow up pretty badly due to problems in libc
10321     # (any single argument exceeding 2000 bytes causes a buffer overrun
10322     # during glob expansion).  Even if it were fixed, the result of this
10323     # check would be larger than it should be.
10324     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
10325     ;;
10326 
10327   gnu*)
10328     # Under GNU Hurd, this test is not required because there is
10329     # no limit to the length of command line arguments.
10330     # Libtool will interpret -1 as no limit whatsoever
10331     lt_cv_sys_max_cmd_len=-1;
10332     ;;
10333 
10334   cygwin* | mingw*)
10335     # On Win9x/ME, this test blows up -- it succeeds, but takes
10336     # about 5 minutes as the teststring grows exponentially.
10337     # Worse, since 9x/ME are not pre-emptively multitasking,
10338     # you end up with a "frozen" computer, even though with patience
10339     # the test eventually succeeds (with a max line length of 256k).
10340     # Instead, let's just punt: use the minimum linelength reported by
10341     # all of the supported platforms: 8192 (on NT/2K/XP).
10342     lt_cv_sys_max_cmd_len=8192;
10343     ;;
10344 
10345   amigaos*)
10346     # On AmigaOS with pdksh, this test takes hours, literally.
10347     # So we just punt and use a minimum line length of 8192.
10348     lt_cv_sys_max_cmd_len=8192;
10349     ;;
10350 
10351   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
10352     # This has been around since 386BSD, at least.  Likely further.
10353     if test -x /sbin/sysctl; then
10354       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
10355     elif test -x /usr/sbin/sysctl; then
10356       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
10357     else
10358       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
10359     fi
10360     # And add a safety zone
10361     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
10362     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
10363     ;;
10364 
10365   interix*)
10366     # We know the value 262144 and hardcode it with a safety zone (like BSD)
10367     lt_cv_sys_max_cmd_len=196608
10368     ;;
10369 
10370   osf*)
10371     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
10372     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
10373     # nice to cause kernel panics so lets avoid the loop below.
10374     # First set a reasonable default.
10375     lt_cv_sys_max_cmd_len=16384
10376     #
10377     if test -x /sbin/sysconfig; then
10378       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
10379         *1*) lt_cv_sys_max_cmd_len=-1 ;;
10380       esac
10381     fi
10382     ;;
10383   sco3.2v5*)
10384     lt_cv_sys_max_cmd_len=102400
10385     ;;
10386   sysv5* | sco5v6* | sysv4.2uw2*)
10387     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
10388     if test -n "$kargmax"; then
10389       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
10390     else
10391       lt_cv_sys_max_cmd_len=32768
10392     fi
10393     ;;
10394   *)
10395     # If test is not a shell built-in, we'll probably end up computing a
10396     # maximum length that is only half of the actual maximum length, but
10397     # we can't tell.
10398     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
10399     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
10400 	       = "XX$teststring") >/dev/null 2>&1 &&
10401 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
10402 	    lt_cv_sys_max_cmd_len=$new_result &&
10403 	    test $i != 17 # 1/2 MB should be enough
10404     do
10405       i=`expr $i + 1`
10406       teststring=$teststring$teststring
10407     done
10408     teststring=
10409     # Add a significant safety factor because C++ compilers can tack on massive
10410     # amounts of additional arguments before passing them to the linker.
10411     # It appears as though 1/2 is a usable value.
10412     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
10413     ;;
10414   esac
10415 
10416 fi
10417 
10418 if test -n $lt_cv_sys_max_cmd_len ; then
10419   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
10420 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
10421 else
10422   echo "$as_me:$LINENO: result: none" >&5
10423 echo "${ECHO_T}none" >&6
10424 fi
10425 
10426 
10427 
10428 
10429 # Check for command to grab the raw symbol name followed by C symbol from nm.
10430 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
10431 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
10432 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
10433   echo $ECHO_N "(cached) $ECHO_C" >&6
10434 else
10435   
10436 # These are sane defaults that work on at least a few old systems.
10437 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
10438 
10439 # Character class describing NM global symbol codes.
10440 symcode='[BCDEGRST]'
10441 
10442 # Regexp to match symbols that can be accessed directly from C.
10443 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10444 
10445 # Transform an extracted symbol line into a proper C declaration
10446 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
10447 
10448 # Transform an extracted symbol line into symbol name and symbol address
10449 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'"
10450 
10451 # Define system-specific variables.
10452 case $host_os in
10453 aix*)
10454   symcode='[BCDT]'
10455   ;;
10456 cygwin* | mingw* | pw32*)
10457   symcode='[ABCDGISTW]'
10458   ;;
10459 hpux*) # Its linker distinguishes data from code symbols
10460   if test "$host_cpu" = ia64; then
10461     symcode='[ABCDEGRST]'
10462   fi
10463   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10464   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'"
10465   ;;
10466 linux*)
10467   if test "$host_cpu" = ia64; then
10468     symcode='[ABCDGIRSTW]'
10469     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10470     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'"
10471   fi
10472   ;;
10473 irix* | nonstopux*)
10474   symcode='[BCDEGRST]'
10475   ;;
10476 osf*)
10477   symcode='[BCDEGQRST]'
10478   ;;
10479 solaris*)
10480   symcode='[BDRT]'
10481   ;;
10482 sco3.2v5*)
10483   symcode='[DT]'
10484   ;;
10485 sysv4.2uw2*)
10486   symcode='[DT]'
10487   ;;
10488 sysv5* | sco5v6* | unixware* | OpenUNIX*)
10489   symcode='[ABDT]'
10490   ;;
10491 sysv4)
10492   symcode='[DFNSTU]'
10493   ;;
10494 esac
10495 
10496 # Handle CRLF in mingw tool chain
10497 opt_cr=
10498 case $build_os in
10499 mingw*)
10500   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10501   ;;
10502 esac
10503 
10504 # If we're using GNU nm, then use its standard symbol codes.
10505 case `$NM -V 2>&1` in
10506 *GNU* | *'with BFD'*)
10507   symcode='[ABCDGIRSTW]' ;;
10508 esac
10509 
10510 # Try without a prefix undercore, then with it.
10511 for ac_symprfx in "" "_"; do
10512 
10513   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
10514   symxfrm="\\1 $ac_symprfx\\2 \\2"
10515 
10516   # Write the raw and C identifiers.
10517   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
10518 
10519   # Check to see that the pipe works correctly.
10520   pipe_works=no
10521 
10522   rm -f conftest*
10523   cat > conftest.$ac_ext <<EOF
10524 #ifdef __cplusplus
10525 extern "C" {
10526 #endif
10527 char nm_test_var;
10528 void nm_test_func(){}
10529 #ifdef __cplusplus
10530 }
10531 #endif
10532 int main(){nm_test_var='a';nm_test_func();return(0);}
10533 EOF
10534 
10535   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10536   (eval $ac_compile) 2>&5
10537   ac_status=$?
10538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539   (exit $ac_status); }; then
10540     # Now try to grab the symbols.
10541     nlist=conftest.nm
10542     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
10543   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
10544   ac_status=$?
10545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546   (exit $ac_status); } && test -s "$nlist"; then
10547       # Try sorting and uniquifying the output.
10548       if sort "$nlist" | uniq > "$nlist"T; then
10549 	mv -f "$nlist"T "$nlist"
10550       else
10551 	rm -f "$nlist"T
10552       fi
10553 
10554       # Make sure that we snagged all the symbols we need.
10555       if grep ' nm_test_var$' "$nlist" >/dev/null; then
10556 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
10557 	  cat <<EOF > conftest.$ac_ext
10558 #ifdef __cplusplus
10559 extern "C" {
10560 #endif
10561 
10562 EOF
10563 	  # Now generate the symbol file.
10564 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
10565 
10566 	  cat <<EOF >> conftest.$ac_ext
10567 #if defined (__STDC__) && __STDC__
10568 # define lt_ptr_t void *
10569 #else
10570 # define lt_ptr_t char *
10571 # define const
10572 #endif
10573 
10574 /* The mapping between symbol names and symbols. */
10575 const struct {
10576   const char *name;
10577   lt_ptr_t address;
10578 }
10579 lt_preloaded_symbols[] =
10580 {
10581 EOF
10582 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
10583 	  cat <<\EOF >> conftest.$ac_ext
10584   {0, (lt_ptr_t) 0}
10585 };
10586 
10587 #ifdef __cplusplus
10588 }
10589 #endif
10590 EOF
10591 	  # Now try linking the two files.
10592 	  mv conftest.$ac_objext conftstm.$ac_objext
10593 	  lt_save_LIBS="$LIBS"
10594 	  lt_save_CFLAGS="$CFLAGS"
10595 	  LIBS="conftstm.$ac_objext"
10596 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
10597 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10598   (eval $ac_link) 2>&5
10599   ac_status=$?
10600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601   (exit $ac_status); } && test -s conftest${ac_exeext}; then
10602 	    pipe_works=yes
10603 	  fi
10604 	  LIBS="$lt_save_LIBS"
10605 	  CFLAGS="$lt_save_CFLAGS"
10606 	else
10607 	  echo "cannot find nm_test_func in $nlist" >&5
10608 	fi
10609       else
10610 	echo "cannot find nm_test_var in $nlist" >&5
10611       fi
10612     else
10613       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
10614     fi
10615   else
10616     echo "$progname: failed program was:" >&5
10617     cat conftest.$ac_ext >&5
10618   fi
10619   rm -f conftest* conftst*
10620 
10621   # Do not use the global_symbol_pipe unless it works.
10622   if test "$pipe_works" = yes; then
10623     break
10624   else
10625     lt_cv_sys_global_symbol_pipe=
10626   fi
10627 done
10628 
10629 fi
10630 
10631 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10632   lt_cv_sys_global_symbol_to_cdecl=
10633 fi
10634 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10635   echo "$as_me:$LINENO: result: failed" >&5
10636 echo "${ECHO_T}failed" >&6
10637 else
10638   echo "$as_me:$LINENO: result: ok" >&5
10639 echo "${ECHO_T}ok" >&6
10640 fi
10641 
10642 echo "$as_me:$LINENO: checking for objdir" >&5
10643 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
10644 if test "${lt_cv_objdir+set}" = set; then
10645   echo $ECHO_N "(cached) $ECHO_C" >&6
10646 else
10647   rm -f .libs 2>/dev/null
10648 mkdir .libs 2>/dev/null
10649 if test -d .libs; then
10650   lt_cv_objdir=.libs
10651 else
10652   # MS-DOS does not allow filenames that begin with a dot.
10653   lt_cv_objdir=_libs
10654 fi
10655 rmdir .libs 2>/dev/null
10656 fi
10657 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
10658 echo "${ECHO_T}$lt_cv_objdir" >&6
10659 objdir=$lt_cv_objdir
10660 
10661 
10662 
10663 
10664 
10665 case $host_os in
10666 aix3*)
10667   # AIX sometimes has problems with the GCC collect2 program.  For some
10668   # reason, if we set the COLLECT_NAMES environment variable, the problems
10669   # vanish in a puff of smoke.
10670   if test "X${COLLECT_NAMES+set}" != Xset; then
10671     COLLECT_NAMES=
10672     export COLLECT_NAMES
10673   fi
10674   ;;
10675 esac
10676 
10677 # Sed substitution that helps us do robust quoting.  It backslashifies
10678 # metacharacters that are still active within double-quoted strings.
10679 Xsed='sed -e 1s/^X//'
10680 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
10681 
10682 # Same as above, but do not quote variable references.
10683 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
10684 
10685 # Sed substitution to delay expansion of an escaped shell variable in a
10686 # double_quote_subst'ed string.
10687 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
10688 
10689 # Sed substitution to avoid accidental globbing in evaled expressions
10690 no_glob_subst='s/\*/\\\*/g'
10691 
10692 # Constants:
10693 rm="rm -f"
10694 
10695 # Global variables:
10696 default_ofile=libtool
10697 can_build_shared=yes
10698 
10699 # All known linkers require a `.a' archive for static linking (except MSVC,
10700 # which needs '.lib').
10701 libext=a
10702 ltmain="$ac_aux_dir/ltmain.sh"
10703 ofile="$default_ofile"
10704 with_gnu_ld="$lt_cv_prog_gnu_ld"
10705 
10706 if test -n "$ac_tool_prefix"; then
10707   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
10708 set dummy ${ac_tool_prefix}ar; ac_word=$2
10709 echo "$as_me:$LINENO: checking for $ac_word" >&5
10710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10711 if test "${ac_cv_prog_AR+set}" = set; then
10712   echo $ECHO_N "(cached) $ECHO_C" >&6
10713 else
10714   if test -n "$AR"; then
10715   ac_cv_prog_AR="$AR" # Let the user override the test.
10716 else
10717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10718 for as_dir in $PATH
10719 do
10720   IFS=$as_save_IFS
10721   test -z "$as_dir" && as_dir=.
10722   for ac_exec_ext in '' $ac_executable_extensions; do
10723   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10724     ac_cv_prog_AR="${ac_tool_prefix}ar"
10725     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10726     break 2
10727   fi
10728 done
10729 done
10730 
10731 fi
10732 fi
10733 AR=$ac_cv_prog_AR
10734 if test -n "$AR"; then
10735   echo "$as_me:$LINENO: result: $AR" >&5
10736 echo "${ECHO_T}$AR" >&6
10737 else
10738   echo "$as_me:$LINENO: result: no" >&5
10739 echo "${ECHO_T}no" >&6
10740 fi
10741 
10742 fi
10743 if test -z "$ac_cv_prog_AR"; then
10744   ac_ct_AR=$AR
10745   # Extract the first word of "ar", so it can be a program name with args.
10746 set dummy ar; ac_word=$2
10747 echo "$as_me:$LINENO: checking for $ac_word" >&5
10748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10749 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
10750   echo $ECHO_N "(cached) $ECHO_C" >&6
10751 else
10752   if test -n "$ac_ct_AR"; then
10753   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
10754 else
10755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10756 for as_dir in $PATH
10757 do
10758   IFS=$as_save_IFS
10759   test -z "$as_dir" && as_dir=.
10760   for ac_exec_ext in '' $ac_executable_extensions; do
10761   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10762     ac_cv_prog_ac_ct_AR="ar"
10763     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10764     break 2
10765   fi
10766 done
10767 done
10768 
10769   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
10770 fi
10771 fi
10772 ac_ct_AR=$ac_cv_prog_ac_ct_AR
10773 if test -n "$ac_ct_AR"; then
10774   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
10775 echo "${ECHO_T}$ac_ct_AR" >&6
10776 else
10777   echo "$as_me:$LINENO: result: no" >&5
10778 echo "${ECHO_T}no" >&6
10779 fi
10780 
10781   AR=$ac_ct_AR
10782 else
10783   AR="$ac_cv_prog_AR"
10784 fi
10785 
10786 if test -n "$ac_tool_prefix"; then
10787   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10788 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
10789 echo "$as_me:$LINENO: checking for $ac_word" >&5
10790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10791 if test "${ac_cv_prog_RANLIB+set}" = set; then
10792   echo $ECHO_N "(cached) $ECHO_C" >&6
10793 else
10794   if test -n "$RANLIB"; then
10795   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10796 else
10797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10798 for as_dir in $PATH
10799 do
10800   IFS=$as_save_IFS
10801   test -z "$as_dir" && as_dir=.
10802   for ac_exec_ext in '' $ac_executable_extensions; do
10803   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10804     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
10805     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10806     break 2
10807   fi
10808 done
10809 done
10810 
10811 fi
10812 fi
10813 RANLIB=$ac_cv_prog_RANLIB
10814 if test -n "$RANLIB"; then
10815   echo "$as_me:$LINENO: result: $RANLIB" >&5
10816 echo "${ECHO_T}$RANLIB" >&6
10817 else
10818   echo "$as_me:$LINENO: result: no" >&5
10819 echo "${ECHO_T}no" >&6
10820 fi
10821 
10822 fi
10823 if test -z "$ac_cv_prog_RANLIB"; then
10824   ac_ct_RANLIB=$RANLIB
10825   # Extract the first word of "ranlib", so it can be a program name with args.
10826 set dummy ranlib; ac_word=$2
10827 echo "$as_me:$LINENO: checking for $ac_word" >&5
10828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10829 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
10830   echo $ECHO_N "(cached) $ECHO_C" >&6
10831 else
10832   if test -n "$ac_ct_RANLIB"; then
10833   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
10834 else
10835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10836 for as_dir in $PATH
10837 do
10838   IFS=$as_save_IFS
10839   test -z "$as_dir" && as_dir=.
10840   for ac_exec_ext in '' $ac_executable_extensions; do
10841   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10842     ac_cv_prog_ac_ct_RANLIB="ranlib"
10843     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10844     break 2
10845   fi
10846 done
10847 done
10848 
10849   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
10850 fi
10851 fi
10852 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
10853 if test -n "$ac_ct_RANLIB"; then
10854   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
10855 echo "${ECHO_T}$ac_ct_RANLIB" >&6
10856 else
10857   echo "$as_me:$LINENO: result: no" >&5
10858 echo "${ECHO_T}no" >&6
10859 fi
10860 
10861   RANLIB=$ac_ct_RANLIB
10862 else
10863   RANLIB="$ac_cv_prog_RANLIB"
10864 fi
10865 
10866 if test -n "$ac_tool_prefix"; then
10867   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
10868 set dummy ${ac_tool_prefix}strip; ac_word=$2
10869 echo "$as_me:$LINENO: checking for $ac_word" >&5
10870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10871 if test "${ac_cv_prog_STRIP+set}" = set; then
10872   echo $ECHO_N "(cached) $ECHO_C" >&6
10873 else
10874   if test -n "$STRIP"; then
10875   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10876 else
10877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10878 for as_dir in $PATH
10879 do
10880   IFS=$as_save_IFS
10881   test -z "$as_dir" && as_dir=.
10882   for ac_exec_ext in '' $ac_executable_extensions; do
10883   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10884     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
10885     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10886     break 2
10887   fi
10888 done
10889 done
10890 
10891 fi
10892 fi
10893 STRIP=$ac_cv_prog_STRIP
10894 if test -n "$STRIP"; then
10895   echo "$as_me:$LINENO: result: $STRIP" >&5
10896 echo "${ECHO_T}$STRIP" >&6
10897 else
10898   echo "$as_me:$LINENO: result: no" >&5
10899 echo "${ECHO_T}no" >&6
10900 fi
10901 
10902 fi
10903 if test -z "$ac_cv_prog_STRIP"; then
10904   ac_ct_STRIP=$STRIP
10905   # Extract the first word of "strip", so it can be a program name with args.
10906 set dummy strip; ac_word=$2
10907 echo "$as_me:$LINENO: checking for $ac_word" >&5
10908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10909 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
10910   echo $ECHO_N "(cached) $ECHO_C" >&6
10911 else
10912   if test -n "$ac_ct_STRIP"; then
10913   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
10914 else
10915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10916 for as_dir in $PATH
10917 do
10918   IFS=$as_save_IFS
10919   test -z "$as_dir" && as_dir=.
10920   for ac_exec_ext in '' $ac_executable_extensions; do
10921   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10922     ac_cv_prog_ac_ct_STRIP="strip"
10923     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10924     break 2
10925   fi
10926 done
10927 done
10928 
10929   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
10930 fi
10931 fi
10932 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
10933 if test -n "$ac_ct_STRIP"; then
10934   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
10935 echo "${ECHO_T}$ac_ct_STRIP" >&6
10936 else
10937   echo "$as_me:$LINENO: result: no" >&5
10938 echo "${ECHO_T}no" >&6
10939 fi
10940 
10941   STRIP=$ac_ct_STRIP
10942 else
10943   STRIP="$ac_cv_prog_STRIP"
10944 fi
10945 
10946 
10947 old_CC="$CC"
10948 old_CFLAGS="$CFLAGS"
10949 
10950 # Set sane defaults for various variables
10951 test -z "$AR" && AR=ar
10952 test -z "$AR_FLAGS" && AR_FLAGS=cru
10953 test -z "$AS" && AS=as
10954 test -z "$CC" && CC=cc
10955 test -z "$LTCC" && LTCC=$CC
10956 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10957 test -z "$DLLTOOL" && DLLTOOL=dlltool
10958 test -z "$LD" && LD=ld
10959 test -z "$LN_S" && LN_S="ln -s"
10960 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10961 test -z "$NM" && NM=nm
10962 test -z "$SED" && SED=sed
10963 test -z "$OBJDUMP" && OBJDUMP=objdump
10964 test -z "$RANLIB" && RANLIB=:
10965 test -z "$STRIP" && STRIP=:
10966 test -z "$ac_objext" && ac_objext=o
10967 
10968 # Determine commands to create old-style static archives.
10969 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
10970 old_postinstall_cmds='chmod 644 $oldlib'
10971 old_postuninstall_cmds=
10972 
10973 if test -n "$RANLIB"; then
10974   case $host_os in
10975   openbsd*)
10976     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
10977     ;;
10978   *)
10979     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
10980     ;;
10981   esac
10982   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
10983 fi
10984 
10985 for cc_temp in $compiler""; do
10986   case $cc_temp in
10987     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10988     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10989     \-*) ;;
10990     *) break;;
10991   esac
10992 done
10993 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10994 
10995 
10996 # Only perform the check for file, if the check method requires it
10997 case $deplibs_check_method in
10998 file_magic*)
10999   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11000     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
11001 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
11002 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11003   echo $ECHO_N "(cached) $ECHO_C" >&6
11004 else
11005   case $MAGIC_CMD in
11006 [\\/*] |  ?:[\\/]*)
11007   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11008   ;;
11009 *)
11010   lt_save_MAGIC_CMD="$MAGIC_CMD"
11011   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11012   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11013   for ac_dir in $ac_dummy; do
11014     IFS="$lt_save_ifs"
11015     test -z "$ac_dir" && ac_dir=.
11016     if test -f $ac_dir/${ac_tool_prefix}file; then
11017       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11018       if test -n "$file_magic_test_file"; then
11019 	case $deplibs_check_method in
11020 	"file_magic "*)
11021 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11022 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11023 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11024 	    $EGREP "$file_magic_regex" > /dev/null; then
11025 	    :
11026 	  else
11027 	    cat <<EOF 1>&2
11028 
11029 *** Warning: the command libtool uses to detect shared libraries,
11030 *** $file_magic_cmd, produces output that libtool cannot recognize.
11031 *** The result is that libtool may fail to recognize shared libraries
11032 *** as such.  This will affect the creation of libtool libraries that
11033 *** depend on shared libraries, but programs linked with such libtool
11034 *** libraries will work regardless of this problem.  Nevertheless, you
11035 *** may want to report the problem to your system manager and/or to
11036 *** bug-libtool@gnu.org
11037 
11038 EOF
11039 	  fi ;;
11040 	esac
11041       fi
11042       break
11043     fi
11044   done
11045   IFS="$lt_save_ifs"
11046   MAGIC_CMD="$lt_save_MAGIC_CMD"
11047   ;;
11048 esac
11049 fi
11050 
11051 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11052 if test -n "$MAGIC_CMD"; then
11053   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11054 echo "${ECHO_T}$MAGIC_CMD" >&6
11055 else
11056   echo "$as_me:$LINENO: result: no" >&5
11057 echo "${ECHO_T}no" >&6
11058 fi
11059 
11060 if test -z "$lt_cv_path_MAGIC_CMD"; then
11061   if test -n "$ac_tool_prefix"; then
11062     echo "$as_me:$LINENO: checking for file" >&5
11063 echo $ECHO_N "checking for file... $ECHO_C" >&6
11064 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11065   echo $ECHO_N "(cached) $ECHO_C" >&6
11066 else
11067   case $MAGIC_CMD in
11068 [\\/*] |  ?:[\\/]*)
11069   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11070   ;;
11071 *)
11072   lt_save_MAGIC_CMD="$MAGIC_CMD"
11073   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11074   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11075   for ac_dir in $ac_dummy; do
11076     IFS="$lt_save_ifs"
11077     test -z "$ac_dir" && ac_dir=.
11078     if test -f $ac_dir/file; then
11079       lt_cv_path_MAGIC_CMD="$ac_dir/file"
11080       if test -n "$file_magic_test_file"; then
11081 	case $deplibs_check_method in
11082 	"file_magic "*)
11083 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11084 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11085 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11086 	    $EGREP "$file_magic_regex" > /dev/null; then
11087 	    :
11088 	  else
11089 	    cat <<EOF 1>&2
11090 
11091 *** Warning: the command libtool uses to detect shared libraries,
11092 *** $file_magic_cmd, produces output that libtool cannot recognize.
11093 *** The result is that libtool may fail to recognize shared libraries
11094 *** as such.  This will affect the creation of libtool libraries that
11095 *** depend on shared libraries, but programs linked with such libtool
11096 *** libraries will work regardless of this problem.  Nevertheless, you
11097 *** may want to report the problem to your system manager and/or to
11098 *** bug-libtool@gnu.org
11099 
11100 EOF
11101 	  fi ;;
11102 	esac
11103       fi
11104       break
11105     fi
11106   done
11107   IFS="$lt_save_ifs"
11108   MAGIC_CMD="$lt_save_MAGIC_CMD"
11109   ;;
11110 esac
11111 fi
11112 
11113 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11114 if test -n "$MAGIC_CMD"; then
11115   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11116 echo "${ECHO_T}$MAGIC_CMD" >&6
11117 else
11118   echo "$as_me:$LINENO: result: no" >&5
11119 echo "${ECHO_T}no" >&6
11120 fi
11121 
11122   else
11123     MAGIC_CMD=:
11124   fi
11125 fi
11126 
11127   fi
11128   ;;
11129 esac
11130 
11131 enable_dlopen=yes
11132 enable_win32_dll=yes
11133 
11134 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
11135 if test "${enable_libtool_lock+set}" = set; then
11136   enableval="$enable_libtool_lock"
11137   
11138 fi; 
11139 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
11140 
11141 
11142 # Check whether --with-pic or --without-pic was given.
11143 if test "${with_pic+set}" = set; then
11144   withval="$with_pic"
11145   pic_mode="$withval"
11146 else
11147   pic_mode=default
11148 fi; 
11149 test -z "$pic_mode" && pic_mode=default
11150 
11151 # Use C for the default configuration in the libtool script
11152 tagname=
11153 lt_save_CC="$CC"
11154 ac_ext=c
11155 ac_cpp='$CPP $CPPFLAGS'
11156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11159 
11160 
11161 # Source file extension for C test sources.
11162 ac_ext=c
11163 
11164 # Object file extension for compiled C test sources.
11165 objext=o
11166 objext=$objext
11167 
11168 # Code to be used in simple compile tests
11169 lt_simple_compile_test_code="int some_variable = 0;\n"
11170 
11171 # Code to be used in simple link tests
11172 lt_simple_link_test_code='int main(){return(0);}\n'
11173 
11174 
11175 # If no C compiler was specified, use CC.
11176 LTCC=${LTCC-"$CC"}
11177 
11178 # If no C compiler flags were specified, use CFLAGS.
11179 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11180 
11181 # Allow CC to be a program name with arguments.
11182 compiler=$CC
11183 
11184 
11185 # save warnings/boilerplate of simple test code
11186 ac_outfile=conftest.$ac_objext
11187 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
11188 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11189 _lt_compiler_boilerplate=`cat conftest.err`
11190 $rm conftest*
11191 
11192 ac_outfile=conftest.$ac_objext
11193 printf "$lt_simple_link_test_code" >conftest.$ac_ext
11194 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11195 _lt_linker_boilerplate=`cat conftest.err`
11196 $rm conftest*
11197 
11198 
11199 ## CAVEAT EMPTOR:
11200 ## There is no encapsulation within the following macros, do not change
11201 ## the running order or otherwise move them around unless you know exactly
11202 ## what you are doing...
11203 
11204 lt_prog_compiler_no_builtin_flag=
11205 
11206 if test "$GCC" = yes; then
11207   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
11208 
11209   
11210 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11211 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
11212 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
11213   echo $ECHO_N "(cached) $ECHO_C" >&6
11214 else
11215   lt_cv_prog_compiler_rtti_exceptions=no
11216   ac_outfile=conftest.$ac_objext
11217    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11218    lt_compiler_flag="-fno-rtti -fno-exceptions"
11219    # Insert the option either (1) after the last *FLAGS variable, or
11220    # (2) before a word containing "conftest.", or (3) at the end.
11221    # Note that $ac_compile itself does not contain backslashes and begins
11222    # with a dollar sign (not a hyphen), so the echo should work correctly.
11223    # The option is referenced via a variable to avoid confusing sed.
11224    lt_compile=`echo "$ac_compile" | $SED \
11225    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11226    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11227    -e 's:$: $lt_compiler_flag:'`
11228    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
11229    (eval "$lt_compile" 2>conftest.err)
11230    ac_status=$?
11231    cat conftest.err >&5
11232    echo "$as_me:__oline__: \$? = $ac_status" >&5
11233    if (exit $ac_status) && test -s "$ac_outfile"; then
11234      # The compiler can only warn and ignore the option if not recognized
11235      # So say no if there are warnings other than the usual output.
11236      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11237      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11238      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11239        lt_cv_prog_compiler_rtti_exceptions=yes
11240      fi
11241    fi
11242    $rm conftest*
11243 
11244 fi
11245 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11246 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
11247 
11248 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
11249     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11250 else
11251     :
11252 fi
11253 
11254 fi
11255 
11256 lt_prog_compiler_wl=
11257 lt_prog_compiler_pic=
11258 lt_prog_compiler_static=
11259 
11260 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11261 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11262  
11263   if test "$GCC" = yes; then
11264     lt_prog_compiler_wl='-Wl,'
11265     lt_prog_compiler_static='-static'
11266 
11267     case $host_os in
11268       aix*)
11269       # All AIX code is PIC.
11270       if test "$host_cpu" = ia64; then
11271 	# AIX 5 now supports IA64 processor
11272 	lt_prog_compiler_static='-Bstatic'
11273       fi
11274       ;;
11275 
11276     amigaos*)
11277       # FIXME: we need at least 68020 code to build shared libraries, but
11278       # adding the `-m68020' flag to GCC prevents building anything better,
11279       # like `-m68040'.
11280       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11281       ;;
11282 
11283     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11284       # PIC is the default for these OSes.
11285       ;;
11286 
11287     mingw* | pw32* | os2*)
11288       # This hack is so that the source file can tell whether it is being
11289       # built for inclusion in a dll (and should export symbols for example).
11290       lt_prog_compiler_pic='-DDLL_EXPORT'
11291       ;;
11292 
11293     darwin* | rhapsody*)
11294       # PIC is the default on this platform
11295       # Common symbols not allowed in MH_DYLIB files
11296       lt_prog_compiler_pic='-fno-common'
11297       ;;
11298 
11299     interix3*)
11300       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11301       # Instead, we relocate shared libraries at runtime.
11302       ;;
11303 
11304     msdosdjgpp*)
11305       # Just because we use GCC doesn't mean we suddenly get shared libraries
11306       # on systems that don't support them.
11307       lt_prog_compiler_can_build_shared=no
11308       enable_shared=no
11309       ;;
11310 
11311     sysv4*MP*)
11312       if test -d /usr/nec; then
11313 	lt_prog_compiler_pic=-Kconform_pic
11314       fi
11315       ;;
11316 
11317     hpux*)
11318       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11319       # not for PA HP-UX.
11320       case $host_cpu in
11321       hppa*64*|ia64*)
11322 	# +Z the default
11323 	;;
11324       *)
11325 	lt_prog_compiler_pic='-fPIC'
11326 	;;
11327       esac
11328       ;;
11329 
11330     *)
11331       lt_prog_compiler_pic='-fPIC'
11332       ;;
11333     esac
11334   else
11335     # PORTME Check for flag to pass linker flags through the system compiler.
11336     case $host_os in
11337     aix*)
11338       lt_prog_compiler_wl='-Wl,'
11339       if test "$host_cpu" = ia64; then
11340 	# AIX 5 now supports IA64 processor
11341 	lt_prog_compiler_static='-Bstatic'
11342       else
11343 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11344       fi
11345       ;;
11346       darwin*)
11347         # PIC is the default on this platform
11348         # Common symbols not allowed in MH_DYLIB files
11349        case $cc_basename in
11350          xlc*)
11351          lt_prog_compiler_pic='-qnocommon'
11352          lt_prog_compiler_wl='-Wl,'
11353          ;;
11354        esac
11355        ;;
11356 
11357     mingw* | pw32* | os2*)
11358       # This hack is so that the source file can tell whether it is being
11359       # built for inclusion in a dll (and should export symbols for example).
11360       lt_prog_compiler_pic='-DDLL_EXPORT'
11361       ;;
11362 
11363     hpux9* | hpux10* | hpux11*)
11364       lt_prog_compiler_wl='-Wl,'
11365       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11366       # not for PA HP-UX.
11367       case $host_cpu in
11368       hppa*64*|ia64*)
11369 	# +Z the default
11370 	;;
11371       *)
11372 	lt_prog_compiler_pic='+Z'
11373 	;;
11374       esac
11375       # Is there a better lt_prog_compiler_static that works with the bundled CC?
11376       lt_prog_compiler_static='${wl}-a ${wl}archive'
11377       ;;
11378 
11379     irix5* | irix6* | nonstopux*)
11380       lt_prog_compiler_wl='-Wl,'
11381       # PIC (with -KPIC) is the default.
11382       lt_prog_compiler_static='-non_shared'
11383       ;;
11384 
11385     newsos6)
11386       lt_prog_compiler_pic='-KPIC'
11387       lt_prog_compiler_static='-Bstatic'
11388       ;;
11389 
11390     linux*)
11391       case $cc_basename in
11392       icc* | ecc*)
11393 	lt_prog_compiler_wl='-Wl,'
11394 	lt_prog_compiler_pic='-KPIC'
11395 	lt_prog_compiler_static='-static'
11396         ;;
11397       pgcc* | pgf77* | pgf90* | pgf95*)
11398         # Portland Group compilers (*not* the Pentium gcc compiler,
11399 	# which looks to be a dead project)
11400 	lt_prog_compiler_wl='-Wl,'
11401 	lt_prog_compiler_pic='-fpic'
11402 	lt_prog_compiler_static='-Bstatic'
11403         ;;
11404       ccc*)
11405         lt_prog_compiler_wl='-Wl,'
11406         # All Alpha code is PIC.
11407         lt_prog_compiler_static='-non_shared'
11408         ;;
11409       esac
11410       ;;
11411 
11412     osf3* | osf4* | osf5*)
11413       lt_prog_compiler_wl='-Wl,'
11414       # All OSF/1 code is PIC.
11415       lt_prog_compiler_static='-non_shared'
11416       ;;
11417 
11418     solaris*)
11419       lt_prog_compiler_pic='-KPIC'
11420       lt_prog_compiler_static='-Bstatic'
11421       case $cc_basename in
11422       f77* | f90* | f95*)
11423 	lt_prog_compiler_wl='-Qoption ld ';;
11424       *)
11425 	lt_prog_compiler_wl='-Wl,';;
11426       esac
11427       ;;
11428 
11429     sunos4*)
11430       lt_prog_compiler_wl='-Qoption ld '
11431       lt_prog_compiler_pic='-PIC'
11432       lt_prog_compiler_static='-Bstatic'
11433       ;;
11434 
11435     sysv4 | sysv4.2uw2* | sysv4.3*)
11436       lt_prog_compiler_wl='-Wl,'
11437       lt_prog_compiler_pic='-KPIC'
11438       lt_prog_compiler_static='-Bstatic'
11439       ;;
11440 
11441     sysv4*MP*)
11442       if test -d /usr/nec ;then
11443 	lt_prog_compiler_pic='-Kconform_pic'
11444 	lt_prog_compiler_static='-Bstatic'
11445       fi
11446       ;;
11447 
11448     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11449       lt_prog_compiler_wl='-Wl,'
11450       lt_prog_compiler_pic='-KPIC'
11451       lt_prog_compiler_static='-Bstatic'
11452       ;;
11453 
11454     unicos*)
11455       lt_prog_compiler_wl='-Wl,'
11456       lt_prog_compiler_can_build_shared=no
11457       ;;
11458 
11459     uts4*)
11460       lt_prog_compiler_pic='-pic'
11461       lt_prog_compiler_static='-Bstatic'
11462       ;;
11463 
11464     *)
11465       lt_prog_compiler_can_build_shared=no
11466       ;;
11467     esac
11468   fi
11469 
11470 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
11471 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
11472 
11473 #
11474 # Check to make sure the PIC flag actually works.
11475 #
11476 if test -n "$lt_prog_compiler_pic"; then
11477   
11478 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11479 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
11480 if test "${lt_prog_compiler_pic_works+set}" = set; then
11481   echo $ECHO_N "(cached) $ECHO_C" >&6
11482 else
11483   lt_prog_compiler_pic_works=no
11484   ac_outfile=conftest.$ac_objext
11485    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11486    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11487    # Insert the option either (1) after the last *FLAGS variable, or
11488    # (2) before a word containing "conftest.", or (3) at the end.
11489    # Note that $ac_compile itself does not contain backslashes and begins
11490    # with a dollar sign (not a hyphen), so the echo should work correctly.
11491    # The option is referenced via a variable to avoid confusing sed.
11492    lt_compile=`echo "$ac_compile" | $SED \
11493    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11494    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11495    -e 's:$: $lt_compiler_flag:'`
11496    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
11497    (eval "$lt_compile" 2>conftest.err)
11498    ac_status=$?
11499    cat conftest.err >&5
11500    echo "$as_me:__oline__: \$? = $ac_status" >&5
11501    if (exit $ac_status) && test -s "$ac_outfile"; then
11502      # The compiler can only warn and ignore the option if not recognized
11503      # So say no if there are warnings other than the usual output.
11504      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11505      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11506      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11507        lt_prog_compiler_pic_works=yes
11508      fi
11509    fi
11510    $rm conftest*
11511 
11512 fi
11513 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
11514 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
11515 
11516 if test x"$lt_prog_compiler_pic_works" = xyes; then
11517     case $lt_prog_compiler_pic in
11518      "" | " "*) ;;
11519      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11520      esac
11521 else
11522     lt_prog_compiler_pic=
11523      lt_prog_compiler_can_build_shared=no
11524 fi
11525 
11526 fi
11527 case $host_os in
11528   # For platforms which do not support PIC, -DPIC is meaningless:
11529   *djgpp*)
11530     lt_prog_compiler_pic=
11531     ;;
11532   *)
11533     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11534     ;;
11535 esac
11536 
11537 #
11538 # Check to make sure the static flag actually works.
11539 #
11540 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11541 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11542 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11543 if test "${lt_prog_compiler_static_works+set}" = set; then
11544   echo $ECHO_N "(cached) $ECHO_C" >&6
11545 else
11546   lt_prog_compiler_static_works=no
11547    save_LDFLAGS="$LDFLAGS"
11548    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11549    printf "$lt_simple_link_test_code" > conftest.$ac_ext
11550    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11551      # The linker can only warn and ignore the option if not recognized
11552      # So say no if there are warnings
11553      if test -s conftest.err; then
11554        # Append any errors to the config.log.
11555        cat conftest.err 1>&5
11556        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11557        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11558        if diff conftest.exp conftest.er2 >/dev/null; then
11559          lt_prog_compiler_static_works=yes
11560        fi
11561      else
11562        lt_prog_compiler_static_works=yes
11563      fi
11564    fi
11565    $rm conftest*
11566    LDFLAGS="$save_LDFLAGS"
11567 
11568 fi
11569 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
11570 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
11571 
11572 if test x"$lt_prog_compiler_static_works" = xyes; then
11573     :
11574 else
11575     lt_prog_compiler_static=
11576 fi
11577 
11578 
11579 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11580 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11581 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
11582   echo $ECHO_N "(cached) $ECHO_C" >&6
11583 else
11584   lt_cv_prog_compiler_c_o=no
11585    $rm -r conftest 2>/dev/null
11586    mkdir conftest
11587    cd conftest
11588    mkdir out
11589    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11590 
11591    lt_compiler_flag="-o out/conftest2.$ac_objext"
11592    # Insert the option either (1) after the last *FLAGS variable, or
11593    # (2) before a word containing "conftest.", or (3) at the end.
11594    # Note that $ac_compile itself does not contain backslashes and begins
11595    # with a dollar sign (not a hyphen), so the echo should work correctly.
11596    lt_compile=`echo "$ac_compile" | $SED \
11597    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11598    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11599    -e 's:$: $lt_compiler_flag:'`
11600    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
11601    (eval "$lt_compile" 2>out/conftest.err)
11602    ac_status=$?
11603    cat out/conftest.err >&5
11604    echo "$as_me:__oline__: \$? = $ac_status" >&5
11605    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11606    then
11607      # The compiler can only warn and ignore the option if not recognized
11608      # So say no if there are warnings
11609      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11610      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11611      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11612        lt_cv_prog_compiler_c_o=yes
11613      fi
11614    fi
11615    chmod u+w . 2>&5
11616    $rm conftest*
11617    # SGI C++ compiler will create directory out/ii_files/ for
11618    # template instantiation
11619    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
11620    $rm out/* && rmdir out
11621    cd ..
11622    rmdir conftest
11623    $rm conftest*
11624 
11625 fi
11626 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
11627 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
11628 
11629 
11630 hard_links="nottested"
11631 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11632   # do not overwrite the value of need_locks provided by the user
11633   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11634 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11635   hard_links=yes
11636   $rm conftest*
11637   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11638   touch conftest.a
11639   ln conftest.a conftest.b 2>&5 || hard_links=no
11640   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11641   echo "$as_me:$LINENO: result: $hard_links" >&5
11642 echo "${ECHO_T}$hard_links" >&6
11643   if test "$hard_links" = no; then
11644     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11645 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11646     need_locks=warn
11647   fi
11648 else
11649   need_locks=no
11650 fi
11651 
11652 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11653 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11654 
11655   runpath_var=
11656   allow_undefined_flag=
11657   enable_shared_with_static_runtimes=no
11658   archive_cmds=
11659   archive_expsym_cmds=
11660   old_archive_From_new_cmds=
11661   old_archive_from_expsyms_cmds=
11662   export_dynamic_flag_spec=
11663   whole_archive_flag_spec=
11664   thread_safe_flag_spec=
11665   hardcode_libdir_flag_spec=
11666   hardcode_libdir_flag_spec_ld=
11667   hardcode_libdir_separator=
11668   hardcode_direct=no
11669   hardcode_minus_L=no
11670   hardcode_shlibpath_var=unsupported
11671   link_all_deplibs=unknown
11672   hardcode_automatic=no
11673   module_cmds=
11674   module_expsym_cmds=
11675   always_export_symbols=no
11676   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11677   # include_expsyms should be a list of space-separated symbols to be *always*
11678   # included in the symbol list
11679   include_expsyms=
11680   # exclude_expsyms can be an extended regexp of symbols to exclude
11681   # it will be wrapped by ` (' and `)$', so one must not match beginning or
11682   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11683   # as well as any symbol that contains `d'.
11684   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
11685   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11686   # platforms (ab)use it in PIC code, but their linkers get confused if
11687   # the symbol is explicitly referenced.  Since portable code cannot
11688   # rely on this symbol name, it's probably fine to never include it in
11689   # preloaded symbol tables.
11690   extract_expsyms_cmds=
11691   # Just being paranoid about ensuring that cc_basename is set.
11692   for cc_temp in $compiler""; do
11693   case $cc_temp in
11694     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11695     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11696     \-*) ;;
11697     *) break;;
11698   esac
11699 done
11700 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11701 
11702   case $host_os in
11703   cygwin* | mingw* | pw32*)
11704     # FIXME: the MSVC++ port hasn't been tested in a loooong time
11705     # When not using gcc, we currently assume that we are using
11706     # Microsoft Visual C++.
11707     if test "$GCC" != yes; then
11708       with_gnu_ld=no
11709     fi
11710     ;;
11711   interix*)
11712     # we just hope/assume this is gcc and not c89 (= MSVC++)
11713     with_gnu_ld=yes
11714     ;;
11715   openbsd*)
11716     with_gnu_ld=no
11717     ;;
11718   esac
11719 
11720   ld_shlibs=yes
11721   if test "$with_gnu_ld" = yes; then
11722     # If archive_cmds runs LD, not CC, wlarc should be empty
11723     wlarc='${wl}'
11724 
11725     # Set some defaults for GNU ld with shared library support. These
11726     # are reset later if shared libraries are not supported. Putting them
11727     # here allows them to be overridden if necessary.
11728     runpath_var=LD_RUN_PATH
11729     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
11730     export_dynamic_flag_spec='${wl}--export-dynamic'
11731     # ancient GNU ld didn't support --whole-archive et. al.
11732     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
11733 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11734       else
11735   	whole_archive_flag_spec=
11736     fi
11737     supports_anon_versioning=no
11738     case `$LD -v 2>/dev/null` in
11739       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11740       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11741       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11742       *\ 2.11.*) ;; # other 2.11 versions
11743       *) supports_anon_versioning=yes ;;
11744     esac
11745 
11746     # See if GNU ld supports shared libraries.
11747     case $host_os in
11748     aix3* | aix4* | aix5*)
11749       # On AIX/PPC, the GNU linker is very broken
11750       if test "$host_cpu" != ia64; then
11751 	ld_shlibs=no
11752 	cat <<EOF 1>&2
11753 
11754 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11755 *** to be unable to reliably create shared libraries on AIX.
11756 *** Therefore, libtool is disabling shared libraries support.  If you
11757 *** really care for shared libraries, you may want to modify your PATH
11758 *** so that a non-GNU linker is found, and then restart.
11759 
11760 EOF
11761       fi
11762       ;;
11763 
11764     amigaos*)
11765       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)'
11766       hardcode_libdir_flag_spec='-L$libdir'
11767       hardcode_minus_L=yes
11768 
11769       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11770       # that the semantics of dynamic libraries on AmigaOS, at least up
11771       # to version 4, is to share data among multiple programs linked
11772       # with the same dynamic library.  Since this doesn't match the
11773       # behavior of shared libraries on other platforms, we can't use
11774       # them.
11775       ld_shlibs=no
11776       ;;
11777 
11778     beos*)
11779       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11780 	allow_undefined_flag=unsupported
11781 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11782 	# support --undefined.  This deserves some investigation.  FIXME
11783 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11784       else
11785 	ld_shlibs=no
11786       fi
11787       ;;
11788 
11789     cygwin* | mingw* | pw32*)
11790       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11791       # as there is no search path for DLLs.
11792       hardcode_libdir_flag_spec='-L$libdir'
11793       allow_undefined_flag=unsupported
11794       always_export_symbols=no
11795       enable_shared_with_static_runtimes=yes
11796       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11797 
11798       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11799         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11800 	# If the export-symbols file already is a .def file (1st line
11801 	# is EXPORTS), use it as is; otherwise, prepend...
11802 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11803 	  cp $export_symbols $output_objdir/$soname.def;
11804 	else
11805 	  echo EXPORTS > $output_objdir/$soname.def;
11806 	  cat $export_symbols >> $output_objdir/$soname.def;
11807 	fi~
11808 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11809       else
11810 	ld_shlibs=no
11811       fi
11812       ;;
11813 
11814     interix3*)
11815       hardcode_direct=no
11816       hardcode_shlibpath_var=no
11817       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11818       export_dynamic_flag_spec='${wl}-E'
11819       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11820       # Instead, shared libraries are loaded at an image base (0x10000000 by
11821       # default) and relocated if they conflict, which is a slow very memory
11822       # consuming and fragmenting process.  To avoid this, we pick a random,
11823       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11824       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11825       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11826       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'
11827       ;;
11828 
11829     linux*)
11830       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11831 	tmp_addflag=
11832 	case $cc_basename,$host_cpu in
11833 	pgcc*)				# Portland Group C compiler
11834 	  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'
11835 	  tmp_addflag=' $pic_flag'
11836 	  ;;
11837 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
11838 	  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'
11839 	  tmp_addflag=' $pic_flag -Mnomain' ;;
11840 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
11841 	  tmp_addflag=' -i_dynamic' ;;
11842 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
11843 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
11844 	ifc* | ifort*)			# Intel Fortran compiler
11845 	  tmp_addflag=' -nofor_main' ;;
11846 	esac
11847 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11848 
11849 	if test $supports_anon_versioning = yes; then
11850 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
11851   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11852   $echo "local: *; };" >> $output_objdir/$libname.ver~
11853 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11854 	fi
11855       else
11856 	ld_shlibs=no
11857       fi
11858       ;;
11859 
11860     netbsd*)
11861       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11862 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11863 	wlarc=
11864       else
11865 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11866 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11867       fi
11868       ;;
11869 
11870     solaris*)
11871       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
11872 	ld_shlibs=no
11873 	cat <<EOF 1>&2
11874 
11875 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11876 *** create shared libraries on Solaris systems.  Therefore, libtool
11877 *** is disabling shared libraries support.  We urge you to upgrade GNU
11878 *** binutils to release 2.9.1 or newer.  Another option is to modify
11879 *** your PATH or compiler configuration so that the native linker is
11880 *** used, and then restart.
11881 
11882 EOF
11883       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11884 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11885 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11886       else
11887 	ld_shlibs=no
11888       fi
11889       ;;
11890 
11891     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11892       case `$LD -v 2>&1` in
11893         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 
11894 	ld_shlibs=no
11895 	cat <<_LT_EOF 1>&2
11896 
11897 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11898 *** reliably create shared libraries on SCO systems.  Therefore, libtool
11899 *** is disabling shared libraries support.  We urge you to upgrade GNU
11900 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11901 *** your PATH or compiler configuration so that the native linker is
11902 *** used, and then restart.
11903 
11904 _LT_EOF
11905 	;;
11906 	*)
11907 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11908 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
11909 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
11910 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
11911 	  else
11912 	    ld_shlibs=no
11913 	  fi
11914 	;;
11915       esac
11916       ;;
11917 
11918     sunos4*)
11919       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11920       wlarc=
11921       hardcode_direct=yes
11922       hardcode_shlibpath_var=no
11923       ;;
11924 
11925     *)
11926       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11927 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11928 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11929       else
11930 	ld_shlibs=no
11931       fi
11932       ;;
11933     esac
11934 
11935     if test "$ld_shlibs" = no; then
11936       runpath_var=
11937       hardcode_libdir_flag_spec=
11938       export_dynamic_flag_spec=
11939       whole_archive_flag_spec=
11940     fi
11941   else
11942     # PORTME fill in a description of your system's linker (not GNU ld)
11943     case $host_os in
11944     aix3*)
11945       allow_undefined_flag=unsupported
11946       always_export_symbols=yes
11947       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'
11948       # Note: this linker hardcodes the directories in LIBPATH if there
11949       # are no directories specified by -L.
11950       hardcode_minus_L=yes
11951       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11952 	# Neither direct hardcoding nor static linking is supported with a
11953 	# broken collect2.
11954 	hardcode_direct=unsupported
11955       fi
11956       ;;
11957 
11958     aix4* | aix5*)
11959       if test "$host_cpu" = ia64; then
11960 	# On IA64, the linker does run time linking by default, so we don't
11961 	# have to do anything special.
11962 	aix_use_runtimelinking=no
11963 	exp_sym_flag='-Bexport'
11964 	no_entry_flag=""
11965       else
11966 	# If we're using GNU nm, then we don't want the "-C" option.
11967 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
11968 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
11969 	  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'
11970 	else
11971 	  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'
11972 	fi
11973 	aix_use_runtimelinking=no
11974 
11975 	# Test if we are trying to use run time linking or normal
11976 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11977 	# need to do runtime linking.
11978 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11979 	  for ld_flag in $LDFLAGS; do
11980   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11981   	    aix_use_runtimelinking=yes
11982   	    break
11983   	  fi
11984 	  done
11985 	  ;;
11986 	esac
11987 
11988 	exp_sym_flag='-bexport'
11989 	no_entry_flag='-bnoentry'
11990       fi
11991 
11992       # When large executables or shared objects are built, AIX ld can
11993       # have problems creating the table of contents.  If linking a library
11994       # or program results in "error TOC overflow" add -mminimal-toc to
11995       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11996       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11997 
11998       archive_cmds=''
11999       hardcode_direct=yes
12000       hardcode_libdir_separator=':'
12001       link_all_deplibs=yes
12002 
12003       if test "$GCC" = yes; then
12004 	case $host_os in aix4.[012]|aix4.[012].*)
12005 	# We only want to do this on AIX 4.2 and lower, the check
12006 	# below for broken collect2 doesn't work under 4.3+
12007 	  collect2name=`${CC} -print-prog-name=collect2`
12008 	  if test -f "$collect2name" && \
12009   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
12010 	  then
12011   	  # We have reworked collect2
12012   	  hardcode_direct=yes
12013 	  else
12014   	  # We have old collect2
12015   	  hardcode_direct=unsupported
12016   	  # It fails to find uninstalled libraries when the uninstalled
12017   	  # path is not listed in the libpath.  Setting hardcode_minus_L
12018   	  # to unsupported forces relinking
12019   	  hardcode_minus_L=yes
12020   	  hardcode_libdir_flag_spec='-L$libdir'
12021   	  hardcode_libdir_separator=
12022 	  fi
12023 	  ;;
12024 	esac
12025 	shared_flag='-shared'
12026 	if test "$aix_use_runtimelinking" = yes; then
12027 	  shared_flag="$shared_flag "'${wl}-G'
12028 	fi
12029       else
12030 	# not using gcc
12031 	if test "$host_cpu" = ia64; then
12032   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12033   	# chokes on -Wl,-G. The following line is correct:
12034 	  shared_flag='-G'
12035 	else
12036 	  if test "$aix_use_runtimelinking" = yes; then
12037 	    shared_flag='${wl}-G'
12038 	  else
12039 	    shared_flag='${wl}-bM:SRE'
12040 	  fi
12041 	fi
12042       fi
12043 
12044       # It seems that -bexpall does not export symbols beginning with
12045       # underscore (_), so it is better to generate a list of symbols to export.
12046       always_export_symbols=yes
12047       if test "$aix_use_runtimelinking" = yes; then
12048 	# Warning - without using the other runtime loading flags (-brtl),
12049 	# -berok will link without error, but may produce a broken library.
12050 	allow_undefined_flag='-berok'
12051        # Determine the default libpath from the value encoded in an empty executable.
12052        cat >conftest.$ac_ext <<_ACEOF
12053 /* confdefs.h.  */
12054 _ACEOF
12055 cat confdefs.h >>conftest.$ac_ext
12056 cat >>conftest.$ac_ext <<_ACEOF
12057 /* end confdefs.h.  */
12058 
12059 int
12060 main ()
12061 {
12062 
12063   ;
12064   return 0;
12065 }
12066 _ACEOF
12067 rm -f conftest.$ac_objext conftest$ac_exeext
12068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12069   (eval $ac_link) 2>conftest.er1
12070   ac_status=$?
12071   grep -v '^ *+' conftest.er1 >conftest.err
12072   rm -f conftest.er1
12073   cat conftest.err >&5
12074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075   (exit $ac_status); } &&
12076 	 { ac_try='test -z "$ac_c_werror_flag"
12077 			 || test ! -s conftest.err'
12078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12079   (eval $ac_try) 2>&5
12080   ac_status=$?
12081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082   (exit $ac_status); }; } &&
12083 	 { ac_try='test -s conftest$ac_exeext'
12084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12085   (eval $ac_try) 2>&5
12086   ac_status=$?
12087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088   (exit $ac_status); }; }; then
12089   
12090 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12091 }'`
12092 # Check for a 64-bit object if we didn't find anything.
12093 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12094 }'`; fi
12095 else
12096   echo "$as_me: failed program was:" >&5
12097 sed 's/^/| /' conftest.$ac_ext >&5
12098 
12099 fi
12100 rm -f conftest.err conftest.$ac_objext \
12101       conftest$ac_exeext conftest.$ac_ext
12102 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12103 
12104        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12105 	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"
12106        else
12107 	if test "$host_cpu" = ia64; then
12108 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12109 	  allow_undefined_flag="-z nodefs"
12110 	  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"
12111 	else
12112 	 # Determine the default libpath from the value encoded in an empty executable.
12113 	 cat >conftest.$ac_ext <<_ACEOF
12114 /* confdefs.h.  */
12115 _ACEOF
12116 cat confdefs.h >>conftest.$ac_ext
12117 cat >>conftest.$ac_ext <<_ACEOF
12118 /* end confdefs.h.  */
12119 
12120 int
12121 main ()
12122 {
12123 
12124   ;
12125   return 0;
12126 }
12127 _ACEOF
12128 rm -f conftest.$ac_objext conftest$ac_exeext
12129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12130   (eval $ac_link) 2>conftest.er1
12131   ac_status=$?
12132   grep -v '^ *+' conftest.er1 >conftest.err
12133   rm -f conftest.er1
12134   cat conftest.err >&5
12135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136   (exit $ac_status); } &&
12137 	 { ac_try='test -z "$ac_c_werror_flag"
12138 			 || test ! -s conftest.err'
12139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140   (eval $ac_try) 2>&5
12141   ac_status=$?
12142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143   (exit $ac_status); }; } &&
12144 	 { ac_try='test -s conftest$ac_exeext'
12145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12146   (eval $ac_try) 2>&5
12147   ac_status=$?
12148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149   (exit $ac_status); }; }; then
12150   
12151 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12152 }'`
12153 # Check for a 64-bit object if we didn't find anything.
12154 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12155 }'`; fi
12156 else
12157   echo "$as_me: failed program was:" >&5
12158 sed 's/^/| /' conftest.$ac_ext >&5
12159 
12160 fi
12161 rm -f conftest.err conftest.$ac_objext \
12162       conftest$ac_exeext conftest.$ac_ext
12163 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12164 
12165 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12166 	  # Warning - without using the other run time loading flags,
12167 	  # -berok will link without error, but may produce a broken library.
12168 	  no_undefined_flag=' ${wl}-bernotok'
12169 	  allow_undefined_flag=' ${wl}-berok'
12170 	  # Exported symbols can be pulled into shared objects from archives
12171 	  whole_archive_flag_spec='$convenience'
12172 	  archive_cmds_need_lc=yes
12173 	  # This is similar to how AIX traditionally builds its shared libraries.
12174 	  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'
12175 	fi
12176       fi
12177       ;;
12178 
12179     amigaos*)
12180       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)'
12181       hardcode_libdir_flag_spec='-L$libdir'
12182       hardcode_minus_L=yes
12183       # see comment about different semantics on the GNU ld section
12184       ld_shlibs=no
12185       ;;
12186 
12187     bsdi[45]*)
12188       export_dynamic_flag_spec=-rdynamic
12189       ;;
12190 
12191     cygwin* | mingw* | pw32*)
12192       # When not using gcc, we currently assume that we are using
12193       # Microsoft Visual C++.
12194       # hardcode_libdir_flag_spec is actually meaningless, as there is
12195       # no search path for DLLs.
12196       hardcode_libdir_flag_spec=' '
12197       allow_undefined_flag=unsupported
12198       # Tell ltmain to make .lib files, not .a files.
12199       libext=lib
12200       # Tell ltmain to make .dll files, not .so files.
12201       shrext_cmds=".dll"
12202       # FIXME: Setting linknames here is a bad hack.
12203       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
12204       # The linker will automatically build a .lib file if we build a DLL.
12205       old_archive_From_new_cmds='true'
12206       # FIXME: Should let the user specify the lib program.
12207       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
12208       fix_srcfile_path='`cygpath -w "$srcfile"`'
12209       enable_shared_with_static_runtimes=yes
12210       ;;
12211 
12212     darwin* | rhapsody*)
12213       case $host_os in
12214         rhapsody* | darwin1.[012])
12215          allow_undefined_flag='${wl}-undefined ${wl}suppress'
12216          ;;
12217        *) # Darwin 1.3 on
12218          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12219            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12220          else
12221            case ${MACOSX_DEPLOYMENT_TARGET} in
12222              10.[012])
12223                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12224                ;;
12225              10.*)
12226                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
12227                ;;
12228            esac
12229          fi
12230          ;;
12231       esac
12232       archive_cmds_need_lc=no
12233       hardcode_direct=no
12234       hardcode_automatic=yes
12235       hardcode_shlibpath_var=unsupported
12236       whole_archive_flag_spec=''
12237       link_all_deplibs=yes
12238     if test "$GCC" = yes ; then
12239     	output_verbose_link_cmd='echo'
12240         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12241       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12242       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12243       archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12244       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}'
12245     else
12246       case $cc_basename in
12247         xlc*)
12248          output_verbose_link_cmd='echo'
12249          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
12250          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12251           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12252          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12253           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}'
12254           ;;
12255        *)
12256          ld_shlibs=no
12257           ;;
12258       esac
12259     fi
12260       ;;
12261 
12262     dgux*)
12263       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12264       hardcode_libdir_flag_spec='-L$libdir'
12265       hardcode_shlibpath_var=no
12266       ;;
12267 
12268     freebsd1*)
12269       ld_shlibs=no
12270       ;;
12271 
12272     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12273     # support.  Future versions do this automatically, but an explicit c++rt0.o
12274     # does not break anything, and helps significantly (at the cost of a little
12275     # extra space).
12276     freebsd2.2*)
12277       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12278       hardcode_libdir_flag_spec='-R$libdir'
12279       hardcode_direct=yes
12280       hardcode_shlibpath_var=no
12281       ;;
12282 
12283     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12284     freebsd2*)
12285       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12286       hardcode_direct=yes
12287       hardcode_minus_L=yes
12288       hardcode_shlibpath_var=no
12289       ;;
12290 
12291     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12292     freebsd* | kfreebsd*-gnu | dragonfly*)
12293       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12294       hardcode_libdir_flag_spec='-R$libdir'
12295       hardcode_direct=yes
12296       hardcode_shlibpath_var=no
12297       ;;
12298 
12299     hpux9*)
12300       if test "$GCC" = yes; then
12301 	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'
12302       else
12303 	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'
12304       fi
12305       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12306       hardcode_libdir_separator=:
12307       hardcode_direct=yes
12308 
12309       # hardcode_minus_L: Not really in the search PATH,
12310       # but as the default location of the library.
12311       hardcode_minus_L=yes
12312       export_dynamic_flag_spec='${wl}-E'
12313       ;;
12314 
12315     hpux10*)
12316       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12317 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12318       else
12319 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12320       fi
12321       if test "$with_gnu_ld" = no; then
12322 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12323 	hardcode_libdir_separator=:
12324 
12325 	hardcode_direct=yes
12326 	export_dynamic_flag_spec='${wl}-E'
12327 
12328 	# hardcode_minus_L: Not really in the search PATH,
12329 	# but as the default location of the library.
12330 	hardcode_minus_L=yes
12331       fi
12332       ;;
12333 
12334     hpux11*)
12335       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12336 	case $host_cpu in
12337 	hppa*64*)
12338 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12339 	  ;;
12340 	ia64*)
12341 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12342 	  ;;
12343 	*)
12344 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12345 	  ;;
12346 	esac
12347       else
12348 	case $host_cpu in
12349 	hppa*64*)
12350 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12351 	  ;;
12352 	ia64*)
12353 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12354 	  ;;
12355 	*)
12356 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12357 	  ;;
12358 	esac
12359       fi
12360       if test "$with_gnu_ld" = no; then
12361 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12362 	hardcode_libdir_separator=:
12363 
12364 	case $host_cpu in
12365 	hppa*64*|ia64*)
12366 	  hardcode_libdir_flag_spec_ld='+b $libdir'
12367 	  hardcode_direct=no
12368 	  hardcode_shlibpath_var=no
12369 	  ;;
12370 	*)
12371 	  hardcode_direct=yes
12372 	  export_dynamic_flag_spec='${wl}-E'
12373 
12374 	  # hardcode_minus_L: Not really in the search PATH,
12375 	  # but as the default location of the library.
12376 	  hardcode_minus_L=yes
12377 	  ;;
12378 	esac
12379       fi
12380       ;;
12381 
12382     irix5* | irix6* | nonstopux*)
12383       if test "$GCC" = yes; then
12384 	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'
12385       else
12386 	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'
12387 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
12388       fi
12389       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12390       hardcode_libdir_separator=:
12391       link_all_deplibs=yes
12392       ;;
12393 
12394     netbsd*)
12395       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12396 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12397       else
12398 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12399       fi
12400       hardcode_libdir_flag_spec='-R$libdir'
12401       hardcode_direct=yes
12402       hardcode_shlibpath_var=no
12403       ;;
12404 
12405     newsos6)
12406       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12407       hardcode_direct=yes
12408       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12409       hardcode_libdir_separator=:
12410       hardcode_shlibpath_var=no
12411       ;;
12412 
12413     openbsd*)
12414       hardcode_direct=yes
12415       hardcode_shlibpath_var=no
12416       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12417 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12418 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12419 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12420 	export_dynamic_flag_spec='${wl}-E'
12421       else
12422        case $host_os in
12423 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12424 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12425 	   hardcode_libdir_flag_spec='-R$libdir'
12426 	   ;;
12427 	 *)
12428 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12429 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12430 	   ;;
12431        esac
12432       fi
12433       ;;
12434 
12435     os2*)
12436       hardcode_libdir_flag_spec='-L$libdir'
12437       hardcode_minus_L=yes
12438       allow_undefined_flag=unsupported
12439       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'
12440       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12441       ;;
12442 
12443     osf3*)
12444       if test "$GCC" = yes; then
12445 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12446 	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'
12447       else
12448 	allow_undefined_flag=' -expect_unresolved \*'
12449 	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'
12450       fi
12451       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12452       hardcode_libdir_separator=:
12453       ;;
12454 
12455     osf4* | osf5*)	# as osf3* with the addition of -msym flag
12456       if test "$GCC" = yes; then
12457 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12458 	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'
12459 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12460       else
12461 	allow_undefined_flag=' -expect_unresolved \*'
12462 	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'
12463 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
12464 	$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'
12465 
12466 	# Both c and cxx compiler support -rpath directly
12467 	hardcode_libdir_flag_spec='-rpath $libdir'
12468       fi
12469       hardcode_libdir_separator=:
12470       ;;
12471 
12472     solaris*)
12473       no_undefined_flag=' -z text'
12474       if test "$GCC" = yes; then
12475 	wlarc='${wl}'
12476 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12477 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12478 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
12479       else
12480 	wlarc=''
12481 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12482 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12483   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
12484       fi
12485       hardcode_libdir_flag_spec='-R$libdir'
12486       hardcode_shlibpath_var=no
12487       case $host_os in
12488       solaris2.[0-5] | solaris2.[0-5].*) ;;
12489       *)
12490  	# The compiler driver will combine linker options so we
12491  	# cannot just pass the convience library names through
12492  	# without $wl, iff we do not link with $LD.
12493  	# Luckily, gcc supports the same syntax we need for Sun Studio.
12494  	# Supported since Solaris 2.6 (maybe 2.5.1?)
12495  	case $wlarc in
12496  	'')
12497  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
12498  	*)
12499  	  whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
12500  	esac ;;
12501       esac
12502       link_all_deplibs=yes
12503       ;;
12504 
12505     sunos4*)
12506       if test "x$host_vendor" = xsequent; then
12507 	# Use $CC to link under sequent, because it throws in some extra .o
12508 	# files that make .init and .fini sections work.
12509 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12510       else
12511 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12512       fi
12513       hardcode_libdir_flag_spec='-L$libdir'
12514       hardcode_direct=yes
12515       hardcode_minus_L=yes
12516       hardcode_shlibpath_var=no
12517       ;;
12518 
12519     sysv4)
12520       case $host_vendor in
12521 	sni)
12522 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12523 	  hardcode_direct=yes # is this really true???
12524 	;;
12525 	siemens)
12526 	  ## LD is ld it makes a PLAMLIB
12527 	  ## CC just makes a GrossModule.
12528 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12529 	  reload_cmds='$CC -r -o $output$reload_objs'
12530 	  hardcode_direct=no
12531         ;;
12532 	motorola)
12533 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12534 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12535 	;;
12536       esac
12537       runpath_var='LD_RUN_PATH'
12538       hardcode_shlibpath_var=no
12539       ;;
12540 
12541     sysv4.3*)
12542       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12543       hardcode_shlibpath_var=no
12544       export_dynamic_flag_spec='-Bexport'
12545       ;;
12546 
12547     sysv4*MP*)
12548       if test -d /usr/nec; then
12549 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12550 	hardcode_shlibpath_var=no
12551 	runpath_var=LD_RUN_PATH
12552 	hardcode_runpath_var=yes
12553 	ld_shlibs=yes
12554       fi
12555       ;;
12556 
12557     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
12558       no_undefined_flag='${wl}-z,text'
12559       archive_cmds_need_lc=no
12560       hardcode_shlibpath_var=no
12561       runpath_var='LD_RUN_PATH'
12562 
12563       if test "$GCC" = yes; then
12564 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12565 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12566       else
12567 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12568 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12569       fi
12570       ;;
12571 
12572     sysv5* | sco3.2v5* | sco5v6*)
12573       # Note: We can NOT use -z defs as we might desire, because we do not
12574       # link with -lc, and that would cause any symbols used from libc to
12575       # always be unresolved, which means just about no library would
12576       # ever link correctly.  If we're not using GNU ld we use -z text
12577       # though, which does catch some bad symbols but isn't as heavy-handed
12578       # as -z defs.
12579       no_undefined_flag='${wl}-z,text'
12580       allow_undefined_flag='${wl}-z,nodefs'
12581       archive_cmds_need_lc=no
12582       hardcode_shlibpath_var=no
12583       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12584       hardcode_libdir_separator=':'
12585       link_all_deplibs=yes
12586       export_dynamic_flag_spec='${wl}-Bexport'
12587       runpath_var='LD_RUN_PATH'
12588 
12589       if test "$GCC" = yes; then
12590 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12591 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12592       else
12593 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12594 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12595       fi
12596       ;;
12597 
12598     uts4*)
12599       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12600       hardcode_libdir_flag_spec='-L$libdir'
12601       hardcode_shlibpath_var=no
12602       ;;
12603 
12604     *)
12605       ld_shlibs=no
12606       ;;
12607     esac
12608   fi
12609 
12610 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
12611 echo "${ECHO_T}$ld_shlibs" >&6
12612 test "$ld_shlibs" = no && can_build_shared=no
12613 
12614 #
12615 # Do we need to explicitly link libc?
12616 #
12617 case "x$archive_cmds_need_lc" in
12618 x|xyes)
12619   # Assume -lc should be added
12620   archive_cmds_need_lc=yes
12621 
12622   if test "$enable_shared" = yes && test "$GCC" = yes; then
12623     case $archive_cmds in
12624     *'~'*)
12625       # FIXME: we may have to deal with multi-command sequences.
12626       ;;
12627     '$CC '*)
12628       # Test whether the compiler implicitly links with -lc since on some
12629       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12630       # to ld, don't add -lc before -lgcc.
12631       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12632 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12633       $rm conftest*
12634       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12635 
12636       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12637   (eval $ac_compile) 2>&5
12638   ac_status=$?
12639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640   (exit $ac_status); } 2>conftest.err; then
12641         soname=conftest
12642         lib=conftest
12643         libobjs=conftest.$ac_objext
12644         deplibs=
12645         wl=$lt_prog_compiler_wl
12646 	pic_flag=$lt_prog_compiler_pic
12647         compiler_flags=-v
12648         linker_flags=-v
12649         verstring=
12650         output_objdir=.
12651         libname=conftest
12652         lt_save_allow_undefined_flag=$allow_undefined_flag
12653         allow_undefined_flag=
12654         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12655   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12656   ac_status=$?
12657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658   (exit $ac_status); }
12659         then
12660 	  archive_cmds_need_lc=no
12661         else
12662 	  archive_cmds_need_lc=yes
12663         fi
12664         allow_undefined_flag=$lt_save_allow_undefined_flag
12665       else
12666         cat conftest.err 1>&5
12667       fi
12668       $rm conftest*
12669       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
12670 echo "${ECHO_T}$archive_cmds_need_lc" >&6
12671       ;;
12672     esac
12673   fi
12674   ;;
12675 esac
12676 
12677 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12678 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12679 library_names_spec=
12680 libname_spec='lib$name'
12681 soname_spec=
12682 shrext_cmds=".so"
12683 postinstall_cmds=
12684 postuninstall_cmds=
12685 finish_cmds=
12686 finish_eval=
12687 shlibpath_var=
12688 shlibpath_overrides_runpath=unknown
12689 version_type=none
12690 dynamic_linker="$host_os ld.so"
12691 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12692 if test "$GCC" = yes; then
12693   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12694   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12695     # if the path contains ";" then we assume it to be the separator
12696     # otherwise default to the standard path separator (i.e. ":") - it is
12697     # assumed that no part of a normal pathname contains ";" but that should
12698     # okay in the real world where ";" in dirpaths is itself problematic.
12699     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12700   else
12701     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12702   fi
12703 else
12704   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12705 fi
12706 need_lib_prefix=unknown
12707 hardcode_into_libs=no
12708 
12709 # when you set need_version to no, make sure it does not cause -set_version
12710 # flags to be left without arguments
12711 need_version=unknown
12712 
12713 case $host_os in
12714 aix3*)
12715   version_type=linux
12716   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12717   shlibpath_var=LIBPATH
12718 
12719   # AIX 3 has no versioning support, so we append a major version to the name.
12720   soname_spec='${libname}${release}${shared_ext}$major'
12721   ;;
12722 
12723 aix4* | aix5*)
12724   version_type=linux
12725   need_lib_prefix=no
12726   need_version=no
12727   hardcode_into_libs=yes